Home | History | Annotate | Download | only in Lex

Lines Matching full:utf8

363 /// convert the UTF32 to UTF8 or UTF16. This is a subroutine of
417 // Now that we've parsed/checked the UCN, we convert from UTF32->UTF8.
421 typedef uint8_t UTF8;
436 // Once the bits are split out into bytes of UTF8, this is a mask OR-ed
438 static const UTF8 firstByteMark[5] = {
444 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
445 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
446 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6;
447 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]);
1099 ConvertUTF8toUTF32(reinterpret_cast<UTF8 const **>(&start),
1100 reinterpret_cast<UTF8 const *>(begin),
1407 // Skip 8 of u8 marker for utf8 strings.
1553 const UTF8 *ErrorPtrTmp;