Lines Matching refs:numtok
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()
87 ok = vtokeq(s, t, numtok, args); in parse()