Lines Matching refs:ParseFieldResult
37 struct ParseFieldResult { struct
46 PERFETTO_ALWAYS_INLINE ParseFieldResult
48 ParseFieldResult res{ParseFieldResult::kAbort, buffer, Field{}}; in ParseOneField()
138 res.parse_res = ParseFieldResult::kSkip; in ParseOneField()
146 res.parse_res = ParseFieldResult::kSkip; in ParseOneField()
150 res.parse_res = ParseFieldResult::kOk; in ParseOneField()
174 ParseFieldResult res; in ReadField()
178 } while (PERFETTO_UNLIKELY(res.parse_res == ParseFieldResult::kSkip)); in ReadField()
184 ParseFieldResult res; in ParseAllFields()
187 PERFETTO_DCHECK(res.parse_res != ParseFieldResult::kOk || res.next != cur); in ParseAllFields()
189 if (PERFETTO_UNLIKELY(res.parse_res == ParseFieldResult::kSkip)) { in ParseAllFields()
191 } else if (PERFETTO_UNLIKELY(res.parse_res == ParseFieldResult::kAbort)) { in ParseAllFields()
194 PERFETTO_DCHECK(res.parse_res == ParseFieldResult::kOk); in ParseAllFields()