Lines Matching refs:src
13 bool ReadUnicodeCharacter(const char* src,
21 CBU8_NEXT(src, *char_index, src_len, code_point);
32 bool ReadUnicodeCharacter(const char16* src,
36 if (CBU16_IS_SURROGATE(src[*char_index])) {
37 if (!CBU16_IS_SURROGATE_LEAD(src[*char_index]) ||
39 !CBU16_IS_TRAIL(src[*char_index + 1])) {
45 *code_point = CBU16_GET_SUPPLEMENTARY(src[*char_index],
46 src[*char_index + 1]);
50 *code_point = src[*char_index];
57 bool ReadUnicodeCharacter(const wchar_t* src,
62 *code_point = src[*char_index];
108 void PrepareForUTF8Output(const CHAR* src,
114 if (src[0] < 0x80) {
128 void PrepareForUTF16Or32Output(const char* src,
134 if (static_cast<unsigned char>(src[0]) < 0x80) {