Lines Matching refs:utf8
1375 const uint8_t* utf8 = CheckUtfBytes(bytes, &errorKind); in CheckUtfString() local
1383 if (tmp == utf8) { in CheckUtfString()
1387 if (tmp == utf8) { in CheckUtfString()
1397 " string: '%s'\n input: '%s'", errorKind, *utf8, bytes, oss.str().c_str()); in CheckUtfString()
1407 const uint8_t* utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes() local
1409 switch (*utf8 >> 4) { in CheckUtfBytes()
1426 return utf8; in CheckUtfBytes()
1429 if ((*utf8 & 0x08) == 0) { in CheckUtfBytes()
1432 utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes()
1433 if ((*utf8 & 0xc0) != 0x80) { in CheckUtfBytes()
1435 return utf8; in CheckUtfBytes()
1439 return utf8; in CheckUtfBytes()
1446 utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes()
1447 if ((*utf8 & 0xc0) != 0x80) { in CheckUtfBytes()
1449 return utf8; in CheckUtfBytes()
1457 utf8 = reinterpret_cast<const uint8_t*>(bytes++); in CheckUtfBytes()
1458 if ((*utf8 & 0xc0) != 0x80) { in CheckUtfBytes()
1460 return utf8; in CheckUtfBytes()