Searched refs:JSMN_STRING (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/ntp/libjsmn/ |
H A D | jsmn_test.c | 69 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 D | jsmn.h | 21 JSMN_STRING = 3 enumerator
|
H A D | jsmn.c | 108 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 D | README.md | 103 JSMN_STRING = 3
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | jsmn.h | 16 JSMN_STRING = 3 enumerator
|
H A D | json.c | 141 [JSMN_STRING] = "string"
|
H A D | jsmn.c | 138 jsmn_fill_token(token, JSMN_STRING, start+1, in jsmn_parse_string()
|
H A D | jevents.c | 578 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 D | simple.c | 15 if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start && in jsoneq()
|
H A D | jsondump.c | 20 } else if (t->type == JSMN_STRING) { in dump()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_gpsdjson.c | 1209 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()
|