Home
last modified time | relevance | path

Searched refs:JSMN_PRIMITIVE (Results 1 – 5 of 5) sorted by relevance

/external/jsmn/test/
Dtests.c19 JSMN_PRIMITIVE, "0")); 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()
28 "Year", 1, JSMN_PRIMITIVE, "12")); in test_object()
30 JSMN_STRING, "a", 1, JSMN_PRIMITIVE, "0", JSMN_STRING, "b", 1, in test_object()
54 check(parse("[10]", 2, 2, JSMN_ARRAY, -1, -1, 1, JSMN_PRIMITIVE, "10")); in test_array()
63 JSMN_STRING, "boolVar", 1, JSMN_PRIMITIVE, "true")); in test_primitive()
65 JSMN_STRING, "boolVar", 1, JSMN_PRIMITIVE, "false")); in test_primitive()
67 JSMN_STRING, "nullVar", 1, JSMN_PRIMITIVE, "null")); in test_primitive()
69 "intVar", 1, JSMN_PRIMITIVE, "12")); in test_primitive()
[all …]
Dtestutil.h22 } else if (type == JSMN_PRIMITIVE) { in vtokeq()
/external/jsmn/
Djsmn.h57 JSMN_PRIMITIVE = 4 enumerator
185 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive()
DREADME.md119 JSMN_PRIMITIVE = 4
/external/jsmn/example/
Djsondump.c34 if (t->type == JSMN_PRIMITIVE) { in dump()