Home
last modified time | relevance | path

Searched refs:ReadDictRes (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/trace_processor/importers/json/
Djson_trace_tokenizer.cc111 ReadDictRes ReadOneJsonDict(const char* start, in ReadOneJsonDict()
143 return ReadDictRes::kEndOfTrace; in ReadOneJsonDict()
149 return ReadDictRes::kFoundDict; in ReadOneJsonDict()
161 return ReadDictRes::kEndOfArray; in ReadOneJsonDict()
166 return ReadDictRes::kNeedsMoreData; in ReadOneJsonDict()
299 ReadDictRes dict_res = ReadOneJsonDict(s, end, &dict_str, &s); in ExtractValueForJsonKey()
300 if (dict_res == ReadDictRes::kNeedsMoreData || in ExtractValueForJsonKey()
301 dict_res == ReadDictRes::kEndOfArray || in ExtractValueForJsonKey()
302 dict_res == ReadDictRes::kEndOfTrace) { in ExtractValueForJsonKey()
544 if (res == ReadDictRes::kEndOfArray) in ParseInternal()
[all …]
Djson_trace_tokenizer_unittest.cc33 ReadDictRes result = ReadOneJsonDict(start, end, &value, &next); in TEST()
35 ASSERT_EQ(result, ReadDictRes::kFoundDict); in TEST()
64 ReadDictRes::kFoundDict); in TEST()
70 ASSERT_EQ(ReadOneJsonDict(next, end, &value, &next), ReadDictRes::kFoundDict); in TEST()
84 ReadDictRes::kNeedsMoreData); in TEST()
Djson_trace_tokenizer.h37 enum class ReadDictRes { enum
50 ReadDictRes ReadOneJsonDict(const char* start,