Home
last modified time | relevance | path

Searched refs:JsonEscaping (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Djson_escaping.cc94 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 …]
Djson_escaping.h42 class JsonEscaping {
76 JsonEscaping() {} in JsonEscaping() function
77 virtual ~JsonEscaping() {} in ~JsonEscaping()
83 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(JsonEscaping);
Djson_objectwriter.cc139 JsonEscaping::Escape(&source, &sink_); in RenderString()
174 JsonEscaping::Escape(&source, &sink_); in WritePrefix()
Djson_stream_parser.cc423 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()