Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Support/
H A DConvertUTF.cpp550 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
551 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
555 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
562 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
570 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
573 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
624 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
625 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
647 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
666 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
[all …]