Lines Matching defs:code_point
32 // Try to escape the |code_point| if it is a known special character. If
35 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) {
39 switch (code_point) {
93 uint32_t code_point;
94 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) {
95 code_point = kReplacementCodePoint;
99 if (EscapeSpecialCodePoint(code_point, dest))
103 if (code_point < 32)
104 base::StringAppendF(dest, kU16EscapeFormat, code_point);
106 WriteUnicodeCharacter(code_point, dest);