Home
last modified time | relevance | path

Searched refs:JSMN_STRING (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/ntp/libjsmn/
H A Djsmn_test.c69 check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3); in test_empty()
94 check(TOKEN_EQ(tokens[1], 2, 3, JSMN_STRING)); in test_simple()
123 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
131 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
139 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
147 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
155 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
172 check(r >= 0 && tok[0].type == JSMN_STRING in test_string()
173 && tok[1].type == JSMN_STRING); in test_string()
180 check(r >= 0 && tok[0].type == JSMN_STRING in test_string()
[all …]
H A Djsmn.h21 JSMN_STRING = 3 enumerator
H A Djsmn.c108 jsmn_fill_token(token, JSMN_STRING, start+1, parser->pos); in jsmn_parse_string()
269 (t->type == JSMN_STRING && t->size != 0)) { in jsmn_parse()
H A DREADME.md103 JSMN_STRING = 3
/freebsd/lib/libpmc/pmu-events/
H A Djsmn.h16 JSMN_STRING = 3 enumerator
H A Djson.c141 [JSMN_STRING] = "string"
H A Djsmn.c138 jsmn_fill_token(token, JSMN_STRING, start+1, in jsmn_parse_string()
H A Djevents.c578 EXPECT(field->type == JSMN_STRING, tok + j, in json_events()
581 EXPECT(val->type == JSMN_STRING, tok + j + 1, in json_events()
/freebsd/contrib/ntp/libjsmn/example/
H A Dsimple.c15 if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start && in jsoneq()
H A Djsondump.c20 } else if (t->type == JSMN_STRING) { in dump()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1209 if (ctx->tok[tid].type != JSMN_STRING) { /* Blooper! */ in json_object_lookup()
1267 tid = json_object_lookup(ctx, tid, key, JSMN_STRING); in json_object_lookup_string()
1280 tid = json_object_lookup(ctx, tid, key, JSMN_STRING); in json_object_lookup_string_default()