system\convert.cs (33)
125(RuntimeType)typeof(Int32),
146private const Int32 base64LineBreakPosition = 76;
1061if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32"));
1071if (value < Int32.MinValue || value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32"));
1078if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32"));
1115return Int32.Parse(value, CultureInfo.CurrentCulture);
1121return Int32.Parse(value, NumberStyles.Integer, provider);
2371public static Byte[] FromBase64CharArray(Char[] inArray, Int32 offset, Int32 length) {
2420private static unsafe Byte[] FromBase64CharPtr(Char* inputPtr, Int32 inputLength) {
2430Int32 lastChar = inputPtr[inputLength - 1];
2431if (lastChar != (Int32) ' ' && lastChar != (Int32) '\n' && lastChar != (Int32) '\r' && lastChar != (Int32) '\t')
2437Int32 resultLength = FromBase64_ComputeResultLength(inputPtr, inputLength);
2448Int32 actualResultLength;
2474private static unsafe Int32 FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) {
2560if ((Int32) (endDestPtr - destPtr) < 3)
2607Int32 lastChar = *(inputPtr);
2608if (lastChar != (Int32) ' ' && lastChar != (Int32) '\n' && lastChar != (Int32) '\r' && lastChar != (Int32) '\t')
2622if ((Int32) (endDestPtr - destPtr) < 1) // Autch! We underestimated the output length!
2643return (Int32) (destPtr - startDestPtr);
2654private static unsafe Int32 FromBase64_ComputeResultLength(Char* inputPtr, Int32 inputLength) {
2662Int32 usefulInputLength = inputLength;
2663Int32 padding = 0;
system\io\bufferedstream.cs (70)
67private const Int32 _DefaultBufferSize = 4096;
74private readonly Int32 _bufferSize; // Length of internal buffer (not counting the shadow buffer).
76private Int32 _readPos; // Read pointer within shared buffer.
77private Int32 _readLen; // Number of bytes read in buffer from _stream.
78private Int32 _writePos; // Write pointer within shared buffer.
84private Task<Int32> _lastSyncCompletedReadTask; // The last successful Task returned from ReadAsync
100public BufferedStream(Stream stream, Int32 bufferSize) {
172private const Int32 MaxShadowBufferSize = 81920; // Make sure not to get to the Large Object Heap.
205internal Int32 BufferSize {
335return Task.FromCancellation<Int32>(cancellationToken);
344BufferedStream _this, Stream stream, Int32 writePos, Int32 readPos, Int32 readLen) {
466private Int32 ReadFromBuffer(Byte[] array, Int32 offset, Int32 count) {
468Int32 readBytes = _readLen - _readPos;
486private Int32 ReadFromBuffer(Byte[] array, Int32 offset, Int32 count, out Exception error) {
500public override int Read([In, Out] Byte[] array, Int32 offset, Int32 count) {
515Int32 bytesFromBuffer = ReadFromBuffer(array, offset, count);
528Int32 alreadySatisfied = bytesFromBuffer;
566public override IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) {
583Int32 bytesFromBuffer = 0;
628private IAsyncResult BeginReadFromUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state,
629Int32 bytesAlreadySatisfied, Task semaphoreLockTask) {
631Task<Int32> readOp = ReadFromUnderlyingStreamAsync(buffer, offset, count, CancellationToken.None,
637public override Int32 EndRead(IAsyncResult asyncResult) {
641Contract.Ensures(Contract.Result<Int32>() >= 0);
647return TaskToApm.End<Int32>(asyncResult);
651private Task<Int32> LastSyncCompletedReadTask(Int32 val) {
653Task<Int32> t = _lastSyncCompletedReadTask;
659t = Task.FromResult<Int32>(val);
665public override Task<Int32> ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) {
679return Task.FromCancellation<Int32>(cancellationToken);
684Int32 bytesFromBuffer = 0;
710: Task.FromException<Int32>(error);
731private async Task<Int32> ReadFromUnderlyingStreamAsync(Byte[] array, Int32 offset, Int32 count,
733Int32 bytesAlreadySatisfied,
753Int32 bytesFromBuffer = ReadFromBuffer(array, offset, count);
803public override Int32 ReadByte() {
821Int32 b = _buffer[_readPos++];
826private void WriteToBuffer(Byte[] array, ref Int32 offset, ref Int32 count) {
828Int32 bytesToWrite = Math.Min(_bufferSize - _writePos, count);
842private void WriteToBuffer(Byte[] array, ref Int32 offset, ref Int32 count, out Exception error) {
855public override void Write(Byte[] array, Int32 offset, Int32 count) {
935Int32 totalUserBytes;
995public override IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) {
1053private IAsyncResult BeginWriteToUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state,
1077public override Task WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) {
1091return Task.FromCancellation<Int32>(cancellationToken);
1141private async Task WriteToUnderlyingStreamAsync(Byte[] array, Int32 offset, Int32 count,
1166Int32 totalUserBytes;
1305_readPos = (Int32) (newPos - (oldPos - _readPos));
system\io\stream.cs (13)
136public Task CopyToAsync(Stream destination, Int32 bufferSize)
143public virtual Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
162private async Task CopyToAsyncInternal(Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
347var bytesRead = thisTask._stream.Read(thisTask._buffer, thisTask._offset, thisTask._count);
426private Task<Int32> BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count)
428return TaskFactory<Int32>.FromAsyncTrim(
722private Task BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count)
999private Int32 _bytesRead;
1001internal SynchronousAsyncResult(Int32 bytesRead, Object asyncStateObject) {
1042internal static Int32 EndRead(IAsyncResult asyncResult) {
system\io\streamwriter.cs (15)
53private const Int32 DontCopyOnWriteLineThreshold = 512;
474Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine,
488for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy
543Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine,
574for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy
631private static async Task WriteAsyncInternal(StreamWriter _this, Char[] buffer, Int32 index, Int32 count,
632Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine,
662for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy
812private Int32 CharPos_Prop {
821Char[] sCharBuffer, Int32 sCharPos) {
838Char[] charBuffer, Int32 charPos, bool haveWrittenPreamble,
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
87typeof(Int32),
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (9)
37public Int32 Compare(KeyValuePair<TKey, TValue> x, KeyValuePair<TKey, TValue> y)
66if (((UInt32)Int32.MaxValue) < data.Size)
81private ConstantSplittableMap(KeyValuePair<TKey, TValue>[] items, Int32 firstItemIndex, Int32 lastItemIndex)
89private KeyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<KeyValuePair<TKey, TValue>> data)
93Int32 i = 0;
102private KeyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<IKeyValuePair<TKey, TValue>> data)
106Int32 i = 0;
181int pivot = (Int32)(((Int64)firstItemIndex + (Int64)lastItemIndex) / (Int64)2);
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (60)
417internal Int32 binaryFormatterMajorVersion = 1;
418internal Int32 binaryFormatterMinorVersion = 0;
420internal Int32 topId;
421internal Int32 headerId;
422internal Int32 majorVersion;
423internal Int32 minorVersion;
429internal SerializationHeaderRecord(BinaryHeaderEnum binaryHeaderEnum, Int32 topId, Int32 headerId, Int32 majorVersion, Int32 minorVersion)
498internal Int32 assemId;
506internal void Set(Int32 assemId, String assemblyString)
549internal Int32 assemId;
550internal Int32 assemblyIndex;
592internal Int32 objectId;
593internal Int32 mapId;
599internal void Set(Int32 objectId, Int32 mapId)
766sout.WriteInt32((Int32)messageEnum);
1044sout.WriteInt32((Int32)messageEnum);
1184internal Int32 objectId;
1191internal void Set(Int32 objectId, String value)
1234internal Int32 objectId;
1235internal Int32 value;
1276internal Int32 crossAppDomainArrayIndex;
1367internal Int32 objectId;
1369internal Int32 numMembers;
1371internal Int32 assemId;
1382internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, Int32 assemId)
1461internal Int32 objectId;
1463internal Int32 numMembers;
1467internal Int32[] memberAssemIds;
1468internal Int32 assemId;
1499internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, Int32 assemId)
1548memberAssemIds = new Int32[numMembers];
1614internal Int32 objectId;
1615internal Int32 rank;
1616internal Int32[] lengthA;
1617internal Int32[] lowerBoundA;
1638internal void Set(Int32 objectId, Int32 rank, Int32[] lengthA, Int32[] lowerBoundA, BinaryTypeEnum binaryTypeEnum, Object typeInformation, BinaryArrayTypeEnum binaryArrayTypeEnum, int assemId)
1717lowerBoundA = new Int32[rank];
1727lowerBoundA = new Int32[rank];
1737lowerBoundA = new Int32[rank];
1745lengthA = new Int32[rank];
1746lowerBoundA = new Int32[rank];
1887internal Int32 idRef;
1893internal void Set(Int32 idRef)
2081internal Int32 objectId;
2085internal ObjectMap(String objectName, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo)
2111internal ObjectMap(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
2167internal static ObjectMap Create(String name, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo)
2174internal static ObjectMap Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
system\string.cs (11)
977return SplitInternal(separator, Int32.MaxValue, StringSplitOptions.None);
999return SplitInternal(separator, Int32.MaxValue, options);
1051return Split(separator, Int32.MaxValue, options);
1055public String[] Split(String[] separator, Int32 count, StringSplitOptions options) {
1100private String[] InternalSplitKeepEmptyEntries(Int32 [] sepList, Int32 [] lengthList, Int32 numReplaces, int count) {
1136private String[] InternalSplitOmitEmptyEntries(Int32[] sepList, Int32[] lengthList, Int32 numReplaces, int count) {
1244Int32 currentSepLength = separator.Length;
system\timezoneinfo.cs (39)
1465static private DaylightTimeStruct GetDaylightTime(Int32 year, AdjustmentRule rule) {
1538static private Boolean GetIsDaylightSavingsFromUtc(DateTime time, Int32 Year, TimeSpan utc, AdjustmentRule rule, out Boolean isAmbiguousLocalDst, TimeZoneInfo zone) {
2056Int32 year;
2209static private DateTime TransitionTimeToDateTime(Int32 year, TransitionTime transitionTime) {
2217Int32 day = DateTime.DaysInMonth(year, transitionTime.Month);
2245Int32 daysInMonth = DateTime.DaysInMonth(year, transitionTime.Month);
2343Int32 first = (Int32)dynamicKey.GetValue(c_firstEntryValue, -1, RegistryValueOptions.None);
2344Int32 last = (Int32)dynamicKey.GetValue(c_lastEntryValue, -1, RegistryValueOptions.None);
2388for (Int32 i = first + 1; i < last; i++) {
2604if (!Int32.TryParse(resources[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out resourceId)) {
3290public Int32 Month {
3297public Int32 Week {
3303public Int32 Day {
3381Int32 month,
3382Int32 day) {
3390Int32 month,
3391Int32 week,
3400Int32 month,
3401Int32 week,
3402Int32 day,
3429Int32 month,
3430Int32 week,
3431Int32 day,
3473ValidateTransitionTime(m_timeOfDay, (Int32)m_month, (Int32)m_week, (Int32)m_day, m_dayOfWeek);
3684Int32 fixedDate = (time.IsFixedDateRule ? 1 : 0);
3730private void SkipVersionNextDataFields(Int32 depth /* starting depth in the nested brackets ('[', ']')*/) {
3899Int32 token = GetNextInt32Value(canEndWithoutSeparator);
3915private Int32 GetNextInt32Value(Boolean canEndWithoutSeparator) {
3917Int32 value;
3918if (!Int32.TryParse(token, NumberStyles.AllowLeadingSign /* "[sign]digits" */, CultureInfo.InvariantCulture, out value)) {
4071Int32 isFixedDate = GetNextInt32Value(false);
4082Int32 month = GetNextInt32Value(false);
4085Int32 day = GetNextInt32Value(false);
4095Int32 week = GetNextInt32Value(false);
4096Int32 dayOfWeek = GetNextInt32Value(false);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (32)
45private Int32[] _keyValues;
60Type typeofProp = typeof(Int32?);
69new PropertyMetadata((Int32?)null, propCallback),
76new PropertyMetadata((Int32?)null, propCallback),
83new PropertyMetadata((Int32?)null, propCallback),
107public Int32Animation(Int32 toValue, Duration duration)
119public Int32Animation(Int32 toValue, Duration duration, FillBehavior fillBehavior)
132public Int32Animation(Int32 fromValue, Int32 toValue, Duration duration)
145public Int32Animation(Int32 fromValue, Int32 toValue, Duration duration, FillBehavior fillBehavior)
218protected override Int32 GetCurrentValueCore(Int32 defaultOriginValue, Int32 defaultDestinationValue, AnimationClock animationClock)
235Int32 from = new Int32();
236Int32 to = new Int32();
237Int32 accumulated = new Int32();
238Int32 foundation = new Int32();
352Int32 accumulator = AnimatedTypeHelpers.SubtractInt32(to, from);
377_keyValues = new Int32[2];
384_keyValues = new Int32[2];
391_keyValues = new Int32[1];
398_keyValues = new Int32[1];
404_keyValues = new Int32[1];
425Int32? typedValue = (Int32?)value;
445public Int32? From
449return (Int32?)GetValue(FromProperty);
465public Int32? To
469return (Int32?)GetValue(ToProperty);
485public Int32? By
489return (Int32?)GetValue(ByProperty);
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (7)
57void IStream.Read(Byte[] buffer, Int32 bufferSize, IntPtr bytesReadPtr)
59Int32 bytesRead = _ioStream.Read(buffer, 0, (int) bufferSize);
79void IStream.Seek(Int64 offset, Int32 origin, IntPtr newPositionPtr)
165void IStream.Write(Byte[] buffer, Int32 bufferSize, IntPtr bytesWrittenPtr)
206void IStream.Commit(Int32 flags)
217void IStream.LockRegion(Int64 offset, Int64 byteCount, Int32 lockType)
239void IStream.UnlockRegion(Int64 offset, Int64 byteCount, Int32 lockType)
src\Framework\MS\Internal\Printing\UnsafeNativeMethods.cs (1)
21Int32
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (9)
2173int firstItemInViewportIndex = Int32.MinValue, lastItemInViewportIndex = Int32.MaxValue, firstItemInViewportChildIndex = Int32.MinValue, firstItemInExtendedViewportIndex = Int32.MinValue;
3948CleanupContainers(Int32.MaxValue, Int32.MaxValue, itemsControl);
11878if (Int32.TryParse(a[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out flushDepth))
11887if (Int32.TryParse(a[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out luThreshold))
11889_luThreshold = (luThreshold <= 0) ? Int32.MaxValue : luThreshold;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
121typeof(Int32),
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (12)
271internal static Int32 GetInt32( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) {
280return (Int32) result;
551Int32 temp = GetInt32_Unchecked( sink, getters, ordinal );
1440internal static void SetInt32( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, Int32 value ) {
1604case ExtendedClrTypeCode.Int32: SetInt32_Unchecked( sink, setters, ordinal, (Int32) value ); break;
2500if ( bufferLength > Int32.MaxValue ) {
2569if ( bufferLength > Int32.MaxValue ) {
2583if ( bufferLength > Int32.MaxValue ) {
2690if ( bufferLength > Int32.MaxValue ) {
3122private static Int32 GetInt32_Unchecked( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal ) {
3125Int32 result = getters.GetInt32( sink, ordinal );
3362private static void SetInt32_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Int32 value ) {
fx\src\data\System\Data\Common\AdapterUtil.cs (7)
2241major = Int32.Parse(parts[0], NumberStyles.None, CultureInfo.InvariantCulture);
2242minor = Int32.Parse(parts[1], NumberStyles.None, CultureInfo.InvariantCulture);
2243build = Int32.Parse(parts[2], NumberStyles.None, CultureInfo.InvariantCulture);
2244Int32.Parse(parts[3], NumberStyles.None, CultureInfo.InvariantCulture);
2445static internal IntPtr IntPtrOffset(IntPtr pbase, Int32 offset) {
2459lval = Math.Min((long)Int32.MaxValue, lval);
2460lval = Math.Max((long)Int32.MinValue, lval);
fx\src\data\System\Data\Common\System.Data_BID.cs (201)
77internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1) {
83internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) {
89internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) {
95internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4) {
103System.Int32 a1,
110internal static void PoolerScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1) {
128internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1) {
146internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2) {
155internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2) {
173internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, System.Int32 a2) {
182internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, string fmtPrintfW3, System.Int32 a4) {
203internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1) {
215internal static void NotificationsTrace(string fmtPrintfW, string fmtPrintfW2, System.Int32 a1) {
221internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, string fmtPrintfW2) {
227internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) {
233internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) {
245internal static void NotificationsTrace(string fmtPrintfW, string fmtPrintfW2, string fmtPrintfW3, System.Int32 a1) {
257internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, string fmtPrintfW3, string fmtPrintfW4) {
264internal static void CorrelationTrace(string fmtPrintfW, System.Int32 a1) {
285internal static void CorrelationTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) {
301[BidArgumentType(typeof(System.Int32))] System.Data.Odbc.ODBC32.RetCode a1) {
309[BidArgumentType(typeof(System.Int32))] System.Data.Odbc.ODBC32.RetCode a1,
335internal static void Trace(string fmtPrintfW, System.Data.OleDb.OleDbHResult a1, System.Int32 a2) {
348internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) {
354internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5) {
360internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.UInt32 a4, System.Int32 a5, System.UInt32 a6, System.UInt32 a7) {
371System.Int32 a1,
381internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) {
390internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3) {
404internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2) {
417internal static void Trace(string fmtPrintfW, System.Int32 a1) {
423internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) {
429internal static void Trace(string fmtPrintfW, System.Int32 a1, System.IntPtr a2, System.IntPtr a3) {
435internal static void Trace(string fmtPrintfW, System.Int32 a1, System.IntPtr a2) {
441internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3) {
447internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) {
453internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4) {
459internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6) {
465internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) {
471internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) {
477internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4) {
483internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) {
489internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.Int32 a5, System.Int32 a6, System.Int32 a7) {
495internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5) {
501internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int64 a2) {
507internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3) {
513internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6) {
519internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int64 a2, System.Int32 a3, System.Int32 a4) {
525internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.Int32 a4) {
531internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8) {
537internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4) {
547internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2) {
556internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2) {
565internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3) {
574internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) {
583internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) {
592internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4) {
601internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) {
610internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4) {
629internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5);
633internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3);
637internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.UInt32 a4, System.Int32 a5, System.UInt32 a6, System.UInt32 a7);
649internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3);
653internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3);
661internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4);
674internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1);
683internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, string fmtPrintfW2, System.Int32 a1);
688internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2);
693internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3);
697internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2);
701internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2, System.IntPtr a3);
705internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2);
709internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3);
713internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3);
717internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4);
721internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6);
725internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3);
729internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Boolean a2);
733internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4);
741internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4);
745internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3);
749internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.Int32 a5, System.Int32 a6, System.Int32 a7);
753internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5);
757internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2);
761internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3);
769internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6);
773internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2, System.Int32 a3, System.Int32 a4);
777internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.Int32 a4);
781internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8);
785internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4);
796internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2);
800internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2);
804internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3);
808internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3);
812internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3);
816internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4);
820internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3);
824internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4);
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (7)
52retcode = SetConnectionAttribute2(ODBC32.SQL_ATTR.LOGIN_TIMEOUT, (IntPtr)connectionTimeout, (Int32)ODBC32.SQL_IS.UINTEGER);
73retcode = UnsafeNativeMethods.SQLSetConnectAttrW(this, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_OFF, (Int32)ODBC32.SQL_IS.UINTEGER);
119retcode = SetConnectionAttribute2(isolationAttribute, (IntPtr)sql_iso, (Int32)ODBC32.SQL_IS.INTEGER);
175retcode = UnsafeNativeMethods.SQLSetConnectAttrW(handle, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_ON, (Int32)ODBC32.SQL_IS.UINTEGER);
247internal ODBC32.RetCode SetConnectionAttribute2(ODBC32.SQL_ATTR attribute, IntPtr value, Int32 length) {
253internal ODBC32.RetCode SetConnectionAttribute3(ODBC32.SQL_ATTR attribute, string buffer, Int32 length) {
259internal ODBC32.RetCode SetConnectionAttribute4(ODBC32.SQL_ATTR attribute, System.Transactions.IDtcTransaction transaction, Int32 length) {
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (3)
168static private readonly NativeDBType D_Error = new NativeDBType(0xff, 4, true, false, OleDbType.Error, NativeDBType.ERROR, S_ERROR, typeof(System.Int32), NativeDBType.ERROR, DbType.Int32 ); // 10 - integer4
173static private readonly NativeDBType D_Integer = new NativeDBType( 10, 4, true, false, OleDbType.Integer, NativeDBType.I4, S_I4, typeof(System.Int32), NativeDBType.I4, DbType.Int32 ); // 15 - integer4
185static private readonly NativeDBType D_UnsignedSmallInt = new NativeDBType( 5, 2, true, false, OleDbType.UnsignedSmallInt, NativeDBType.UI2, S_UI2, typeof(System.Int32), NativeDBType.UI2, DbType.UInt16 ); // 26 - unsigned integer2
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (17)
146override public Int32 FieldCount {
196override public object this[Int32 index] {
307DataColumn ordinal = new DataColumn("ColumnOrdinal", typeof(System.Int32));
308DataColumn size = new DataColumn("ColumnSize", typeof(System.Int32));
313DataColumn providerType = new DataColumn("ProviderType", typeof(System.Int32));
774if (dataIndex > Int32.MaxValue) {
789override public Int64 GetBytes(int ordinal, Int64 dataIndex, byte[] buffer, Int32 bufferIndex, Int32 length) {
818override public Int64 GetChars(int ordinal, Int64 dataIndex, char[] buffer, Int32 bufferIndex, Int32 length) {
944override public Int32 GetInt32(int ordinal) {
962override public Int32 GetOrdinal(String name) {
1037override public Int32 GetValues(object[] values) {
1353if (maxRows is Int32) {
1729private Int32 IndexOf(Hashtable hash, string name) { // MDAC 67385
2013using (OleDbDataReader dataReader = new OleDbDataReader(_connection, _command, Int32.MinValue, 0)) {
2164if (hiddenColumns is Int32) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
514else if (comVal is Int32)
515sqlVal = new SqlInt32((Int32)comVal);
749(10, 255, 4, true, false, false, TdsEnums.SQLINT4, TdsEnums.SQLINTN, MetaTypeName.INT, typeof(System.Int32), typeof(SqlInt32), SqlDbType.Int, DbType.Int32, 0);
fx\src\data\System\Data\SqlClient\TdsParser.cs (23)
808Int32 threadID = TdsParserStaticMethods.GetCurrentThreadIdForTdsLoginOnly();
2410_defaultCodePage = Int32.Parse(stringCodePage, NumberStyles.Integer, CultureInfo.InvariantCulture);
2425Int32 packetSize = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture);
2447_defaultLCID = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture);
3545Debug.Assert(valLen < (ulong)(Int32.MaxValue), "ProcessReturnValue received data size > 2Gb");
3547int intlen = valLen > (ulong)(Int32.MaxValue) ? Int32.MaxValue : (int)valLen;
3550intlen = Int32.MaxValue; // If plp data, read it all
4183col.length = Int32.MaxValue;
4738if (!TryReadSqlValue(data, md, md.metaType.IsPlp ? (Int32.MaxValue) : (int)len, stateObj,
5082value.Int32 = (Int32)longValue;
5305length = Int32.MaxValue;
5866WriteInt((Int32)value, stateObj);
6014WriteInt((Int32)value, stateObj);
7208if (outSSPILength > Int32.MaxValue) {
7214length += (Int32)outSSPILength;
7602if (s_maxSSPILength > Int32.MaxValue) {
7663if (dtcLength <= Int32.MaxValue) {
10574WriteInt((Int32)value, stateObj);
10798return SerializeLong((Int32)value, stateObj);
11336if (stateObj._longlenleft > Int32.MaxValue)
11337bytesSkipped = Int32.MaxValue;
Profile\ProfileManager.cs (4)
123return Provider.GetAllProfiles(authenticationOption, 0, Int32.MaxValue, out totalRecords);
146return Provider.GetAllInactiveProfiles(authenticationOption, userInactiveSinceDate, 0, Int32.MaxValue, out totalRecords);
176return Provider.FindProfilesByUserName(authenticationOption, usernameToMatch, 0, Int32.MaxValue, out totalRecords);
224return Provider.FindInactiveProfilesByUserName(authenticationOption, usernameToMatch, userInactiveSinceDate, 0, Int32.MaxValue, out totalRecords);
UI\WebControls\basecomparevalidator.cs (11)
207value = Int32.Parse(text, CultureInfo.InvariantCulture);
342day = Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture);
343month = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture);
345year = Int32.Parse(m.Groups[2].Value, CultureInfo.InvariantCulture);
348year = GetFullYear(Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture));
363day = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture);
364month = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture);
367day = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture);
368month = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture);
371year = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture);
373year = GetFullYear(Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture));
UI\WebControls\TreeView.cs (6)
2328return Int32.Parse(s.Substring(i + 1), CultureInfo.InvariantCulture);
3234int nodeIndex = Int32.Parse(nodeIndexString, CultureInfo.InvariantCulture);
3239int lastIndex = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture);
3253int nodeTextLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture);
3261int dataPathLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture);
3370int populateIndex = Int32.Parse(logParts[i], NumberStyles.Integer, CultureInfo.InvariantCulture);