Home
last modified time | relevance | path

Searched refs:extraBytesToRead (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp575 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
576 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
580 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
587 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
595 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
598 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
649 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
650 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
672 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
691 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
[all …]