Searched refs:JSMN_ARRAY (Results 1 – 5 of 5) sorted by relevance
/external/jsmn/test/ |
D | tests.c | 11 check(parse("[]", 1, 1, JSMN_ARRAY, 0, 2, 0)); in test_empty() 12 check(parse("[{},{}]", 3, 3, JSMN_ARRAY, 0, 7, 2, JSMN_OBJECT, 1, 3, 0, in test_empty() 21 JSMN_ARRAY, 5, 7, 0)); in test_object() 54 check(parse("[10]", 2, 2, JSMN_ARRAY, -1, -1, 1, JSMN_PRIMITIVE, "10")); in test_array() 90 JSMN_STRING, "a", 1, JSMN_ARRAY, -1, -1, 1, JSMN_STRING, in test_string() 134 check(tokeq(js, tok, 6, JSMN_ARRAY, -1, -1, 3, JSMN_PRIMITIVE, "1", in test_partial_array() 135 JSMN_PRIMITIVE, "true", JSMN_ARRAY, -1, -1, 2, JSMN_PRIMITIVE, in test_partial_array() 165 check(tokeq(js, toklarge, 4, JSMN_ARRAY, -1, -1, 3, JSMN_PRIMITIVE, "1", in test_array_nomem() 166 JSMN_PRIMITIVE, "true", JSMN_ARRAY, -1, -1, 2, JSMN_PRIMITIVE, in test_array_nomem()
|
/external/jsmn/ |
D | jsmn.h | 55 JSMN_ARRAY = 2, enumerator 307 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse() 316 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse() 384 tokens[parser->toksuper].type != JSMN_ARRAY && in jsmn_parse() 390 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) { in jsmn_parse()
|
D | README.md | 117 JSMN_ARRAY = 2,
|
/external/jsmn/example/ |
D | simple.c | 63 if (t[i + 1].type != JSMN_ARRAY) { in main()
|
D | jsondump.c | 56 } else if (t->type == JSMN_ARRAY) { in dump()
|