Searched refs:JSMN_STRING (Results 1 – 6 of 6) sorted by relevance
/external/jsmn/test/ |
D | tests.c | 18 check(parse("{\"a\":0}", 3, 3, JSMN_OBJECT, 0, 7, 1, JSMN_STRING, "a", 1, in test_object() 20 check(parse("{\"a\":[]}", 3, 3, JSMN_OBJECT, 0, 8, 1, JSMN_STRING, "a", 1, in test_object() 22 check(parse("{\"a\":{},\"b\":{}}", 5, 5, JSMN_OBJECT, -1, -1, 2, JSMN_STRING, in test_object() 23 "a", 1, JSMN_OBJECT, -1, -1, 0, JSMN_STRING, "b", 1, JSMN_OBJECT, in test_object() 26 JSMN_OBJECT, -1, -1, 3, JSMN_STRING, "Day", 1, JSMN_PRIMITIVE, in test_object() 27 "26", JSMN_STRING, "Month", 1, JSMN_PRIMITIVE, "9", JSMN_STRING, in test_object() 30 JSMN_STRING, "a", 1, JSMN_PRIMITIVE, "0", JSMN_STRING, "b", 1, in test_object() 31 JSMN_STRING, "c", 0)); in test_object() 63 JSMN_STRING, "boolVar", 1, JSMN_PRIMITIVE, "true")); in test_primitive() 65 JSMN_STRING, "boolVar", 1, JSMN_PRIMITIVE, "false")); in test_primitive() [all …]
|
D | testutil.h | 18 if (type == JSMN_STRING) { in vtokeq()
|
/external/jsmn/ |
D | jsmn.h | 56 JSMN_STRING = 3, enumerator 219 jsmn_fill_token(token, JSMN_STRING, start + 1, parser->pos); in jsmn_parse_string() 420 (t->type == JSMN_STRING && t->size != 0)) { in jsmn_parse()
|
D | README.md | 118 JSMN_STRING = 3,
|
/external/jsmn/example/ |
D | simple.c | 16 if (tok->type == JSMN_STRING && (int)strlen(s) == tok->end - tok->start && in jsoneq()
|
D | jsondump.c | 37 } else if (t->type == JSMN_STRING) { in dump()
|