Searched refs:JSMN_ARRAY (Results 1 – 4 of 4) 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()266 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()271 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()273 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE); in test_partial_array()277 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY in test_partial_array()279 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE in test_partial_array()286 check(r >= 0 && tok[0].type == JSMN_ARRAY in test_partial_array()288 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE in test_partial_array()[all …]
18 JSMN_ARRAY = 2, enumerator
180 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()187 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse()
46 JSMN_ARRAY = 2,