Searched refs:jsmn_parse (Results 1 – 7 of 7) sorted by relevance
/external/jsmn/test/ |
D | tests.c | 151 r = jsmn_parse(&p, js, i, tok, sizeof(tok)/sizeof(tok[0])); in test_partial_string() 177 r = jsmn_parse(&p, js, i, tok, sizeof(tok)/sizeof(tok[0])); in test_partial_array() 208 r = jsmn_parse(&p, js, strlen(js), toksmall, i); in test_array_nomem() 213 r = jsmn_parse(&p, js, strlen(js), toklarge, 10); in test_array_nomem() 236 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_unquoted_keys() 262 r = jsmn_parse(&p, js, strlen(js), tokens, 128); in test_issue_22() 283 r = jsmn_parse(&p, js, 8, tokens, 10); in test_input_length() 298 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); in test_count() 302 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); in test_count() 306 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 2); in test_count() [all …]
|
D | testutil.h | 79 r = jsmn_parse(&p, s, strlen(s), t, numtok); in parse()
|
/external/jsmn/ |
D | README.md | 139 jsmn_parse(&parser, js, strlen(js), tokens, 10); 144 A non-negative return value of `jsmn_parse` is the number of tokens actually 157 `jsmn_parse` once more. If you read json data from the stream, you can 158 periodically call `jsmn_parse` and check if return value is `JSMN_ERROR_PART`.
|
D | jsmn.h | 69 int jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
|
D | jsmn.c | 151 int jsmn_parse(jsmn_parser *parser, const char *js, size_t len, in jsmn_parse() function
|
/external/jsmn/example/ |
D | simple.c | 30 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); in main()
|
D | jsondump.c | 109 r = jsmn_parse(&p, js, jslen, tok, tokcount); in main()
|