Home | History | Annotate | Download | only in Lex

Lines Matching defs:UTF8

378 /// convert the UTF32 to UTF8 or UTF16. This is a subroutine of
432 // Now that we've parsed/checked the UCN, we convert from UTF32->UTF8.
436 typedef uint8_t UTF8;
451 // Once the bits are split out into bytes of UTF8, this is a mask OR-ed
453 static const UTF8 firstByteMark[5] = {
460 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
463 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
466 *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
469 *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]);
1336 llvm::ConvertUTF8toUTF32(reinterpret_cast<llvm::UTF8 const **>(&start),
1337 reinterpret_cast<llvm::UTF8 const *>(begin),
1644 // Skip 8 of u8 marker for utf8 strings.
1815 const llvm::UTF8 *ErrorPtrTmp;