/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/ |
H A D | XmlEncoding.cs | 32 return byteCount / CharSize; in GetCharCount() 39 if ( byteCount == 0 ) { in GetChars() 43 byteCount--; in GetChars() 89 byteCount--; in Convert() 130 bytesUsed += byteCount; in Convert() 153 return byteCount; in GetChars() 173 charsUsed = byteCount; in Convert() 174 bytesUsed = byteCount; in Convert() 343 byteCount--; in GetChars() 384 byteCount--; in Convert() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/src/System/Xml/ |
H A D | XmlEncoding.cs | 43 if (byteCount == 0) in GetChars() 48 byteCount--; in GetChars() 56 if ((byteCount & 1) != 0) in GetChars() 98 if (byteCount == 0) in Convert() 104 byteCount--; in Convert() 153 bytesUsed += byteCount; in Convert() 181 return byteCount; in GetChars() 205 charsUsed = byteCount; in Convert() 206 bytesUsed = byteCount; in Convert() 438 byteCount--; in GetChars() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/ |
H A D | I18N.Rare.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
H A D | I18N.West.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/ |
H A D | I18N.Rare.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
H A D | I18N.West.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/mono/ |
H A D | I18N.Rare.cs | 20 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 29 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 38 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 47 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 56 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 65 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 74 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 83 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 92 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 101 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
H A D | I18N.West.cs | 20 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 29 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 38 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 47 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 56 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 65 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 74 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 83 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 92 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 101 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/ |
H A D | I18N.Rare.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
H A D | I18N.West.cs | 19 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 28 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 37 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 46 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 55 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 64 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 73 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 82 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 91 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument 100 … protected unsafe override void ToBytes(char* chars, int charCount, byte* bytes, int byteCount) { } in ToBytes() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Internal/Utilities/ |
H A D | EncodingHelper.cs | 70 if (byteCount == 0) in DecodeUtf8() 75 return utf8Decoder.GetString(bytes, byteCount); in DecodeUtf8() 82 int prefixedByteCount = byteCount + prefix.Length; in DecodeUtf8Prefixed() 104 private static byte[] AcquireBuffer(int byteCount) in AcquireBuffer() argument 106 if (byteCount > PooledBufferSize) in AcquireBuffer() 108 return new byte[byteCount]; in AcquireBuffer() 155 if (byteCount < 0) in GetStringPortable() 160 byte[] buffer = AcquireBuffer(byteCount); in GetStringPortable() 161 Marshal.Copy((IntPtr)bytes, buffer, 0, byteCount); in GetStringPortable() 244 int byteCount, in GetStringUsingCreateStringFromEncoding() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/ |
H A D | BlobWriter.cs | 90 BlobUtilities.ValidateRange(Length, start, byteCount, nameof(byteCount)); in ToArray() 92 var result = new byte[byteCount]; in ToArray() 105 var array = ToArray(start, byteCount); in ToImmutableArray() 126 if (byteCount < 0) in WriteBytes() 131 int start = Advance(byteCount); in WriteBytes() 135 for (int i = 0; i < byteCount; i++) in WriteBytes() 151 if (byteCount < 0) in WriteBytes() 161 int start = Advance(byteCount); in WriteBytesUnchecked() 185 if (byteCount < 0) in WriteBytes() 190 int start = Advance(byteCount); in WriteBytes() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Text/ |
H A D | DBCSDecoder.cs | 138 if (byteIndex < 0 || byteCount < 0) in GetChars() 141 if (bytes.Length - byteIndex < byteCount) in GetChars() 168 if (byteCount < 0 || charCount < 0) in GetChars() 169 …throw new ArgumentOutOfRangeException(byteCount < 0 ? nameof(byteCount) : nameof(charCount), SR.Ar… in GetChars() 174 …byte lastByte = byteCount > 0 && !flush && IsLastByteALeadByte(bytes, byteCount) ? bytes[byteCount… in GetChars() 177 byteCount--; in GetChars() 181 if (byteCount <= 0) in GetChars() 208 if (byteIndex < 0 || byteCount < 0) in Convert() 214 if (bytes.Length - byteIndex < byteCount) in Convert() 244 if (byteCount < 0 || charCount < 0) in Convert() [all …]
|
/dports/games/passage/Passage_v4_UnixSource/minorGems/graphics/ |
H A D | loadFile.cpp | 49 long byteCount; in loadRawFile() local 68 for( byteCount = 0; byteCount< sizeInBytes; byteCount=byteCount+4) { in loadRawFile() 70 unsigned char alpha = byteDestPtr[byteCount+3]; in loadRawFile() 72 byteDestPtr[byteCount+3] = byteDestPtr[byteCount+2]; in loadRawFile() 73 byteDestPtr[byteCount+2] = byteDestPtr[byteCount+1]; in loadRawFile() 74 byteDestPtr[byteCount+1] = byteDestPtr[byteCount]; in loadRawFile() 76 byteDestPtr[byteCount] = alpha; in loadRawFile()
|
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/graphics/ |
H A D | loadFile.cpp | 49 long byteCount; in loadRawFile() local 68 for( byteCount = 0; byteCount< sizeInBytes; byteCount=byteCount+4) { in loadRawFile() 70 unsigned char alpha = byteDestPtr[byteCount+3]; in loadRawFile() 72 byteDestPtr[byteCount+3] = byteDestPtr[byteCount+2]; in loadRawFile() 73 byteDestPtr[byteCount+2] = byteDestPtr[byteCount+1]; in loadRawFile() 74 byteDestPtr[byteCount+1] = byteDestPtr[byteCount]; in loadRawFile() 76 byteDestPtr[byteCount] = alpha; in loadRawFile()
|
/dports/comms/java-simple-serial-connector/java-simple-serial-connector-2.8.0/src/java/jssc/ |
H A D | SerialPort.java | 588 return readBytes(byteCount); in readBytes() 607 return readString(byteCount); in readString() 683 return readIntArray(byteCount); in readIntArray() 698 if(byteCount <= 0){ in readBytes() 701 return readBytes(byteCount); in readBytes() 716 if(byteCount <= 0){ in readString() 719 return readString(byteCount); in readString() 734 if(byteCount <= 0){ in readHexString() 752 if(byteCount <= 0){ in readHexString() 770 if(byteCount <= 0){ in readHexStringArray() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Text/ |
H A D | Latin1Encoding.cs | 76 int byteCount = 0; in GetByteCount() 139 byteCount++; in GetByteCount() 145 return byteCount; in GetByteCount() 205 if (byteCount == 0) in GetBytes() 214 if (byteCount < charCount) in GetBytes() 389 if (charCount < byteCount) in GetChars() 395 byteCount = charCount; in GetChars() 414 return byteCount; in GetChars() 431 if (byteCount > 0x7fffffff) in GetMaxByteCount() 433 return (int)byteCount; in GetMaxByteCount() [all …]
|
H A D | DecoderNLS.cs | 108 if (byteIndex < 0 || byteCount < 0) in GetChars() 112 if (bytes.Length - byteIndex < byteCount) in GetChars() 126 return GetChars(pBytes + byteIndex, byteCount, in GetChars() 130 public unsafe override int GetChars(byte* bytes, int byteCount, in GetChars() argument 138 if (byteCount < 0 || charCount < 0) in GetChars() 139 … throw new ArgumentOutOfRangeException((byteCount < 0 ? nameof(byteCount) : nameof(charCount)), in GetChars() 161 if (byteIndex < 0 || byteCount < 0) in Convert() 169 if (bytes.Length - byteIndex < byteCount) in Convert() 190 public unsafe override void Convert(byte* bytes, int byteCount, in Convert() argument 199 if (byteCount < 0 || charCount < 0) in Convert() [all …]
|
H A D | ASCIIEncoding.cs | 191 if (charCount < 0 || byteCount < 0) in GetBytes() 265 if (byteCount == 0) in GetChars() 398 int byteCount = 0; in GetByteCount() 454 byteCount++; in GetByteCount() 460 return byteCount; in GetByteCount() 538 if (byteCount == 0) in GetBytes() 787 if (charCount < byteCount) in GetChars() 899 if (byteCount > 0x7fffffff) in GetMaxByteCount() 901 return (int)byteCount; in GetMaxByteCount() 907 if (byteCount < 0) in GetMaxCharCount() [all …]
|
H A D | Decoder.cs | 193 if (byteCount < 0 || charCount < 0) in GetChars() 194 … throw new ArgumentOutOfRangeException((byteCount < 0 ? nameof(byteCount) : nameof(charCount)), in GetChars() 198 byte[] arrByte = new byte[byteCount]; in GetChars() 201 for (index = 0; index < byteCount; index++) in GetChars() 259 if (byteIndex < 0 || byteCount < 0) in Convert() 267 if (bytes.Length - byteIndex < byteCount) in Convert() 275 bytesUsed = byteCount; in Convert() 283 completed = (bytesUsed == byteCount && in Convert() 315 if (byteCount < 0 || charCount < 0) in Convert() 316 … throw new ArgumentOutOfRangeException((byteCount < 0 ? nameof(byteCount) : nameof(charCount)), in Convert() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Text/ |
H A D | Latin1Encoding.cs | 76 int byteCount = 0; in GetByteCount() 139 byteCount++; in GetByteCount() 145 return byteCount; in GetByteCount() 205 if (byteCount == 0) in GetBytes() 214 if (byteCount < charCount) in GetBytes() 389 if (charCount < byteCount) in GetChars() 395 byteCount = charCount; in GetChars() 414 return byteCount; in GetChars() 431 if (byteCount > 0x7fffffff) in GetMaxByteCount() 433 return (int)byteCount; in GetMaxByteCount() [all …]
|
H A D | DecoderNLS.cs | 108 if (byteIndex < 0 || byteCount < 0) in GetChars() 112 if (bytes.Length - byteIndex < byteCount) in GetChars() 126 return GetChars(pBytes + byteIndex, byteCount, in GetChars() 130 public unsafe override int GetChars(byte* bytes, int byteCount, in GetChars() argument 138 if (byteCount < 0 || charCount < 0) in GetChars() 139 … throw new ArgumentOutOfRangeException((byteCount < 0 ? nameof(byteCount) : nameof(charCount)), in GetChars() 161 if (byteIndex < 0 || byteCount < 0) in Convert() 169 if (bytes.Length - byteIndex < byteCount) in Convert() 190 public unsafe override void Convert(byte* bytes, int byteCount, in Convert() argument 199 if (byteCount < 0 || charCount < 0) in Convert() [all …]
|
H A D | ASCIIEncoding.cs | 191 if (charCount < 0 || byteCount < 0) in GetBytes() 265 if (byteCount == 0) in GetChars() 398 int byteCount = 0; in GetByteCount() 454 byteCount++; in GetByteCount() 460 return byteCount; in GetByteCount() 538 if (byteCount == 0) in GetBytes() 787 if (charCount < byteCount) in GetChars() 899 if (byteCount > 0x7fffffff) in GetMaxByteCount() 901 return (int)byteCount; in GetMaxByteCount() 907 if (byteCount < 0) in GetMaxCharCount() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encoding.CodePages/src/System/Text/ |
H A D | DecoderNLS.cs | 144 if (byteIndex < 0 || byteCount < 0) in GetChars() 147 if (bytes.Length - byteIndex < byteCount) in GetChars() 165 return GetChars(pBytes + byteIndex, byteCount, in GetChars() 169 public override unsafe int GetChars(byte* bytes, int byteCount, in GetChars() argument 176 if (byteCount < 0 || charCount < 0) in GetChars() 177 …throw new ArgumentOutOfRangeException((byteCount < 0 ? nameof(byteCount): nameof(charCount)), SR.A… in GetChars() 197 if (byteIndex < 0 || byteCount < 0) in Convert() 203 if (bytes.Length - byteIndex < byteCount) in Convert() 228 public override unsafe void Convert(byte* bytes, int byteCount, in Convert() argument 236 if (byteCount < 0 || charCount < 0) in Convert() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/I18N/CJK/ |
H A D | ISO2022JP.cs | 90 return byteCount; in GetMaxCharCount() 318 byteCount--; in GetBytesImpl() 336 byteCount--; in GetBytesImpl() 377 byteCount--; in GetBytesImpl() 403 byteCount--; in GetBytesImpl() 412 byteCount--; in GetBytesImpl() 445 byteCount--; in GetBytesInternal() 467 byteCount--; in GetBytesInternal() 519 byteCount--; in GetBytesInternal() 551 byteCount--; in GetBytesInternal() [all …]
|