Searched refs:numtok (Results 1 – 1 of 1) sorted by relevance
/external/jsmn/test/ |
D | testutil.h | 6 static int vtokeq(const char *s, jsmntok_t *t, int numtok, va_list ap) { in vtokeq() argument 7 if (numtok > 0) { in vtokeq() 14 for (i = 0; i < numtok; i++) { in vtokeq() 62 static int tokeq(const char *s, jsmntok_t *tokens, int numtok, ...) { in tokeq() argument 65 va_start(args, numtok); in tokeq() 66 ok = vtokeq(s, tokens, numtok, args); in tokeq() 71 static int parse(const char *s, int status, int numtok, ...) { in parse() argument 76 jsmntok_t *t = malloc(numtok * sizeof(jsmntok_t)); in parse() 79 r = jsmn_parse(&p, s, strlen(s), t, numtok); in parse() 86 va_start(args, numtok); in parse() [all …]
|