Searched refs:JSMN_ARRAY (Results 1 - 3 of 3) sorted by relevance

/external/jsmn/
H A Djsmn.h18 JSMN_ARRAY = 2, enumerator in enum:__anon22744
H A Djsmn_test.c61 check(t[0].type == JSMN_ARRAY);
70 check(t[2].type == JSMN_ARRAY && t[2].start == 5 && t[2].end == 7);
76 check(t[0].type == JSMN_ARRAY && t[0].start == 0 && t[0].end == 7);
266 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
271 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
273 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE);
277 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
279 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE
286 check(r >= 0 && tok[0].type == JSMN_ARRAY
288 && tok[3].type == JSMN_ARRAY
573 #define JSMN_ARRAY macro
[all...]
H A Djsmn.c180 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY);
187 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY);

Completed in 226 milliseconds