Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/Support/
H A DConvertUTF.c523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
524 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
528 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
535 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
543 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
546 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
597 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
598 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
620 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
639 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
[all …]