Searched refs:EXPECT (Results 1 – 1 of 1) sorted by relevance
/tools/perf/pmu-events/ |
D | jevents.c | 304 #define EXPECT(e, t, m) do { if (!(e)) { \ macro 569 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array"); in json_events() 583 EXPECT(obj->type == JSMN_OBJECT, obj, "expected object"); in json_events() 590 EXPECT(field->type == JSMN_STRING, tok + j, in json_events() 593 EXPECT(val->type == JSMN_STRING, tok + j + 1, in json_events() 732 EXPECT(tok - tokens == len, tok, "unexpected objects at end"); in json_events()
|