Searched refs:JSMN_ARRAY (Results 1 – 11 of 11) sorted by relevance
61 check(t[0].type == JSMN_ARRAY); in test_empty()70 check(t[2].type == JSMN_ARRAY && t[2].start == 5 && t[2].end == 7); in test_empty()76 check(t[0].type == JSMN_ARRAY && t[0].start == 0 && t[0].end == 7); in test_empty()276 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()281 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()283 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE); in test_partial_array()287 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()289 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE in test_partial_array()296 check(r >= 0 && tok[0].type == JSMN_ARRAY in test_partial_array()298 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE in test_partial_array()[all …]
180 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()187 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()244 tokens[parser->toksuper].type != JSMN_ARRAY && in jsmn_parse()250 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) { in jsmn_parse()
20 JSMN_ARRAY = 2, enumerator
102 JSMN_ARRAY = 2,
15 JSMN_ARRAY = 2, enumerator
207 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()217 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()
139 [JSMN_ARRAY] = "array",
547 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array"); in json_events()
61 if (t[i+1].type != JSMN_ARRAY) { in main()
34 } else if (t->type == JSMN_ARRAY) { in dump()
1174 case JSMN_ARRAY: in json_token_skip()