17 references to Utf8Utility
System.Private.CoreLib (17)
src\runtime\src\libraries\Common\src\System\HexConverter.cs (1)
339
if (!
Utf8Utility
.AllBytesInVector128AreAscii(vec))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.Utf8.cs (2)
24
if (!
Utf8Utility
.AllBytesInUInt64AreAscii(a | b))
29
if (!
Utf8Utility
.UInt64OrdinalIgnoreCaseAscii(a, b))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (6)
322
if (!
Utf8Utility
.AllBytesInUInt64AreAscii(nextBlockAsUInt64))
327
?
Utf8Utility
.ConvertAllAsciiBytesInUInt64ToUppercase(nextBlockAsUInt64)
328
:
Utf8Utility
.ConvertAllAsciiBytesInUInt64ToLowercase(nextBlockAsUInt64);
381
if (!
Utf8Utility
.AllBytesInUInt32AreAscii(nextBlockAsUInt32))
386
?
Utf8Utility
.ConvertAllAsciiBytesInUInt32ToUppercase(nextBlockAsUInt32)
387
:
Utf8Utility
.ConvertAllAsciiBytesInUInt32ToLowercase(nextBlockAsUInt32);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (5)
62
operationStatus =
Utf8Utility
.TranscodeToUtf8(
153
operationStatus =
Utf8Utility
.TranscodeToUtf16(
248
operationStatus =
Utf8Utility
.TranscodeToUtf16(
826
Utf8Utility
.GetIndexOfFirstInvalidUtf8Sequence(value, out _);
835
Utf8Utility
.GetIndexOfFirstInvalidUtf8Sequence(value, out _) < 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (3)
426
Utf8Utility
.TranscodeToUtf8(pChars, charsLength, pBytes, bytesLength, out char* pInputBufferRemaining, out byte* pOutputBufferRemaining);
628
Utf8Utility
.TranscodeToUtf16(pBytes, bytesLength, pChars, charsLength, out byte* pInputBufferRemaining, out char* pOutputBufferRemaining);
746
byte* ptrToFirstInvalidByte =
Utf8Utility
.GetPointerToFirstInvalidByte(pBytes, bytesLength, out int utf16CodeUnitCountAdjustment, out _);