Searched refs:JSMN_ARRAY (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/ntp/libjsmn/
H A Djsmn.h20 JSMN_ARRAY = 2, enumerator in enum:__anon6293
H A Djsmn.c180 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY);
187 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY);
244 tokens[parser->toksuper].type != JSMN_ARRAY &&
250 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) {
H A Djsmn_test.c61 check(t[0].type == JSMN_ARRAY);
70 check(t[2].type == JSMN_ARRAY && t[2].start == 5 && t[2].end == 7);
76 check(t[0].type == JSMN_ARRAY && t[0].start == 0 && t[0].end == 7);
276 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
281 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
283 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE);
287 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY
289 && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE
296 check(r >= 0 && tok[0].type == JSMN_ARRAY
298 && tok[3].type == JSMN_ARRAY
559 #define JSMN_ARRAY macro
[all...]
/freebsd-12-stable/lib/libpmc/pmu-events/
H A Djsmn.h15 JSMN_ARRAY = 2, enumerator in enum:__anon8698
H A Djsmn.c196 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY);
202 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY);
H A Djson.c141 [JSMN_ARRAY] = "array",
H A Djevents.c530 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array");
/freebsd-12-stable/contrib/ntp/libjsmn/example/
H A Dsimple.c61 if (t[i+1].type != JSMN_ARRAY) {
H A Djsondump.c34 } else if (t->type == JSMN_ARRAY) {
/freebsd-12-stable/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1155 case JSMN_ARRAY:

Completed in 70 milliseconds