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

/netbsd-current/external/bsd/ntp/dist/libjsmn/
H A Djsmn.h21 JSMN_OBJECT = 1, enumerator in enum:__anon128
H A Djsmn.c182 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY);
189 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY);
247 tokens[parser->toksuper].type != JSMN_OBJECT) {
252 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) {
270 if (t->type == JSMN_OBJECT ||
H A Djsmn_test.c56 check(t[0].type == JSMN_OBJECT);
70 check(t[0].type == JSMN_OBJECT && t[0].start == 0 && t[0].end == 8);
79 check(t[1].type == JSMN_OBJECT && t[1].start == 1 && t[1].end == 3);
80 check(t[2].type == JSMN_OBJECT && t[2].start == 4 && t[2].end == 6);
95 check(TOKEN_EQ(tokens[0], 0, 8, JSMN_OBJECT));
386 } else if (tokens[i].type == JSMN_OBJECT) {
560 #define JSMN_OBJECT JSMN_OBJECT_NONSTRICT macro
/netbsd-current/external/bsd/ntp/dist/libjsmn/example/
H A Dsimple.c38 if (r < 1 || t[0].type != JSMN_OBJECT) {
H A Djsondump.c25 } else if (t->type == JSMN_OBJECT) {
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_gpsdjson.c1154 case JSMN_OBJECT:
1187 ctx->tok[tid].type != JSMN_OBJECT)
1374 if (JSMN_OBJECT != ctx->tok[0].type)

Completed in 167 milliseconds