Home | History | Annotate | Download | only in json

Lines Matching refs:code_point

28 // Try to escape the |code_point| if it is a known special character. If
31 bool EscapeSpecialCodePoint(uint32 code_point, std::string* dest) {
35 switch (code_point) {
80 uint32 code_point;
81 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) {
82 code_point = kReplacementCodePoint;
86 if (EscapeSpecialCodePoint(code_point, dest))
90 if (code_point < 32)
91 base::StringAppendF(dest, kU16EscapeFormat, code_point);
93 WriteUnicodeCharacter(code_point, dest);