Lines Matching refs:symbol
18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() argument
21 *symbol = input[0]; in BrotliParseAsUTF8()
22 if (*symbol > 0) { in BrotliParseAsUTF8()
30 *symbol = (((input[0] & 0x1F) << 6) | in BrotliParseAsUTF8()
32 if (*symbol > 0x7F) { in BrotliParseAsUTF8()
41 *symbol = (((input[0] & 0x0F) << 12) | in BrotliParseAsUTF8()
44 if (*symbol > 0x7FF) { in BrotliParseAsUTF8()
54 *symbol = (((input[0] & 0x07) << 18) | in BrotliParseAsUTF8()
58 if (*symbol > 0xFFFF && *symbol <= 0x10FFFF) { in BrotliParseAsUTF8()
63 *symbol = 0x110000 | input[0]; in BrotliParseAsUTF8()
74 int symbol; in BrotliIsMostlyUTF8() local
76 BrotliParseAsUTF8(&symbol, &data[(pos + i) & mask], length - i); in BrotliIsMostlyUTF8()
78 if (symbol < 0x110000) size_utf8 += bytes_read; in BrotliIsMostlyUTF8()