Searched refs:JSMN_STRING (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/ntp/libjsmn/
H A Djsmn.h21 JSMN_STRING = 3 enumerator in enum:__anon4877
H A Djsmn_test.c69 check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3);
94 check(TOKEN_EQ(tokens[1], 2, 3, JSMN_STRING));
123 check(r >= 0 && tok[0].type == JSMN_STRING
131 check(r >= 0 && tok[0].type == JSMN_STRING
139 check(r >= 0 && tok[0].type == JSMN_STRING
147 check(r >= 0 && tok[0].type == JSMN_STRING
155 check(r >= 0 && tok[0].type == JSMN_STRING
172 check(r >= 0 && tok[0].type == JSMN_STRING
173 && tok[1].type == JSMN_STRING);
180 check(r >= 0 && tok[0].type == JSMN_STRING
560 #define JSMN_STRING macro
[all...]
H A Djsmn.c108 jsmn_fill_token(token, JSMN_STRING, start+1, parser->pos);
269 (t->type == JSMN_STRING && t->size != 0)) {
/freebsd-11-stable/contrib/ntp/libjsmn/example/
H A Dsimple.c15 if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start &&
H A Djsondump.c20 } else if (t->type == JSMN_STRING) {
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1190 if (ctx->tok[tid].type != JSMN_STRING) { /* Blooper! */
1248 tid = json_object_lookup(ctx, tid, key, JSMN_STRING);
1261 tid = json_object_lookup(ctx, tid, key, JSMN_STRING);

Completed in 116 milliseconds