Home
last modified time | relevance | path

Searched refs:tokeq (Results 1 – 2 of 2) sorted by relevance

/external/jsmn/test/
Dtests.c111 check(tokeq(js, tok, 5, JSMN_OBJECT, -1, -1, 2, JSMN_STRING, "x", 1, in test_partial_string()
134 check(tokeq(js, tok, 6, JSMN_ARRAY, -1, -1, 3, JSMN_PRIMITIVE, "1", in test_partial_array()
165 check(tokeq(js, toklarge, 4, JSMN_ARRAY, -1, -1, 3, JSMN_PRIMITIVE, "1", in test_array_nomem()
184 check(tokeq(js, tok, 4, JSMN_PRIMITIVE, "key1", JSMN_STRING, "value", 0, in test_unquoted_keys()
231 check(tokeq(js, tokens, 3, JSMN_OBJECT, -1, -1, 1, JSMN_STRING, "a", 1, in test_input_length()
Dtestutil.h64 static int tokeq(const char *s, jsmntok_t *tokens, int numtok, ...) { in tokeq() function