Searched refs:JsonEscaping (Results 1 – 4 of 4) sorted by relevance
94 return (c & ~(JsonEscaping::kMaxHighSurrogate - in IsHighSurrogate()95 JsonEscaping::kMinHighSurrogate)) in IsHighSurrogate()96 == JsonEscaping::kMinHighSurrogate; in IsHighSurrogate()106 return (c & ~(JsonEscaping::kMaxLowSurrogate - in IsLowSurrogate()107 JsonEscaping::kMinLowSurrogate)) in IsLowSurrogate()108 == JsonEscaping::kMinLowSurrogate; in IsLowSurrogate()117 return (c & 0xfffff800) == JsonEscaping::kMinHighSurrogate; in IsSurrogate()126 return (cp & ~(JsonEscaping::kMinSupplementaryCodePoint - 1)) in IsSupplementalCodePoint()127 < JsonEscaping::kMaxCodePoint; in IsSupplementalCodePoint()133 return cp <= JsonEscaping::kMaxCodePoint; in IsValidCodePoint()[all …]
42 class JsonEscaping {76 JsonEscaping() {} in JsonEscaping() function77 virtual ~JsonEscaping() {} in ~JsonEscaping()83 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(JsonEscaping);
139 JsonEscaping::Escape(&source, &sink_); in RenderString()174 JsonEscaping::Escape(&source, &sink_); in WritePrefix()
423 if (code >= JsonEscaping::kMinHighSurrogate && in ParseUnicodeEscape()424 code <= JsonEscaping::kMaxHighSurrogate) { in ParseUnicodeEscape()442 if (low_code >= JsonEscaping::kMinLowSurrogate && in ParseUnicodeEscape()443 low_code <= JsonEscaping::kMaxLowSurrogate) { in ParseUnicodeEscape()446 JsonEscaping::kMinSupplementaryCodePoint; in ParseUnicodeEscape()