Home
last modified time | relevance | path

Searched refs:jsmn_parse (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ntp/libjsmn/
H A Djsmn_test.c52 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty()
59 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty()
66 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty()
74 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty()
91 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple()
103 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple()
108 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple()
122 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive()
130 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive()
138 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive()
[all …]
H A DREADME.md137 jsmn_parse(&parser, js, tokens, 10);
142 A non-negative reutrn value of `jsmn_parse` is the number of tokens actually
155 `jsmn_parse` once more. If you read json data from the stream, you can
156 periodically call `jsmn_parse` and check if return value is `JSON_ERROR_PART`.
H A Djsmn.h68 jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
H A Djsmn.c153 jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len, in jsmn_parse() function
/freebsd/lib/libpmc/pmu-events/
H A Djsmn.h62 jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js,
H A Djson.c99 res = jsmn_parse(&parser, *map, *size, tokens, in parse_json()
H A Djsmn.c175 jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len, in jsmn_parse() function
/freebsd/contrib/ntp/libjsmn/example/
H A Dsimple.c29 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); in main()
H A Djsondump.c94 r = jsmn_parse(&p, js, jslen, tok, tokcount); in main()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1385 rc = jsmn_parse(&jsm, buf, len, ctx->tok, JSMN_MAXTOK); in json_parse_record()