Lines Matching defs:codepoint
1352 // byte sequence is; while doing this initialize |codepoint|
1358 uint32_t codepoint;
1362 codepoint = c & 0x1f;
1365 codepoint = c & 0x0f;
1367 codepoint = c & 0x07;
1374 // belonging to this Unicode character into |codepoint|.
1383 codepoint = (codepoint << 6) | (c & 0x3f);
1389 if (codepoint < 0x7f)
1392 if (codepoint > 0x10ffff)
1398 if (codepoint < 0xffff) {
1400 PrintHex(static_cast<uint16_t>(codepoint), out_);
1403 codepoint -= 0x10000;
1406 PrintHex(static_cast<uint16_t>((codepoint >> 10) + 0xd800), out_);
1409 PrintHex(static_cast<uint16_t>((codepoint & 0x3ff) + 0xdc00), out_);
1862 // byte sequence is; while doing this initialize |codepoint|
1868 uint32_t codepoint;
1872 codepoint = c & 0x1f;
1875 codepoint = c & 0x0f;
1877 codepoint = c & 0x07;
1884 // belonging to this Unicode character into |codepoint|.
1893 codepoint = (codepoint << 6) | (c & 0x3f);
1899 if (codepoint <= 0x7f)
1902 if (codepoint > 0x10ffff)
1908 if (codepoint < 0xffff) {
1909 output->push_back(codepoint);
1912 codepoint -= 0x10000;
1913 output->push_back((codepoint >> 10) + 0xd800); // high surrogate
1914 output->push_back((codepoint & 0x3ff) + 0xdc00); // low surrogate