Lines Matching refs:JSMN_ARRAY
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()
316 check(toklarge[0].type == JSMN_ARRAY && toklarge[0].size == 3); in test_array_nomem()
317 check(toklarge[3].type == JSMN_ARRAY && toklarge[3].size == 2); in test_array_nomem()
374 } else if (tokens[i].type == JSMN_ARRAY) { in test_issue_22()
573 #define JSMN_ARRAY JSMN_ARRAY_NONSTRICT macro