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, unsigned long numtok, in vtokeq() argument 8 if (numtok > 0) { in vtokeq() 16 for (i = 0; i < numtok; i++) { in vtokeq() 64 static int tokeq(const char *s, jsmntok_t *tokens, int numtok, ...) { in tokeq() argument 67 va_start(args, numtok); in tokeq() 68 ok = vtokeq(s, tokens, numtok, args); in tokeq() 73 static int parse(const char *s, int status, int numtok, ...) { in parse() argument 78 jsmntok_t *t = malloc(numtok * sizeof(jsmntok_t)); in parse() 81 r = jsmn_parse(&p, s, strlen(s), t, numtok); in parse() 88 va_start(args, numtok); in parse() [all …]
|