Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp397 static Boolean isLegalUTF8(const UTF8 *source, int length) { in isLegalUTF8() function
433 return isLegalUTF8(source, length); in isLegalUTF8Sequence()
442 return (length <= sourceEnd - source && isLegalUTF8(source, length)) ? length in getUTF8SequenceSize()
558 if (length > sourceEnd - *source || !isLegalUTF8(*source, length)) in isLegalUTF8String()
580 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
672 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()