Searched refs:jsmn_parse (Results 1 – 6 of 6) sorted by relevance
/external/jsmn/test/ |
D | tests.c | 108 r = jsmn_parse(&p, js, i, tok, sizeof(tok) / sizeof(tok[0])); in test_partial_string() 131 r = jsmn_parse(&p, js, i, tok, sizeof(tok) / sizeof(tok[0])); in test_partial_array() 158 r = jsmn_parse(&p, js, strlen(js), toksmall, i); in test_array_nomem() 163 r = jsmn_parse(&p, js, strlen(js), toklarge, 10); in test_array_nomem() 182 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_unquoted_keys() 208 r = jsmn_parse(&p, js, strlen(js), tokens, 128); in test_issue_22() 229 r = jsmn_parse(&p, js, 8, tokens, 10); in test_input_length() 242 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); in test_count() 246 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); in test_count() 250 check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 2); in test_count() [all …]
|
D | testutil.h | 81 r = jsmn_parse(&p, s, strlen(s), t, numtok); in parse()
|
/external/jsmn/ |
D | README.md | 92 r = jsmn_parse(&p, s, strlen(s), t, 128); 153 jsmn_parse(&parser, js, strlen(js), tokens, 10); 158 A non-negative return value of `jsmn_parse` is the number of tokens actually 171 `jsmn_parse` once more. If you read json data from the stream, you can 172 periodically call `jsmn_parse` and check if return value is `JSMN_ERROR_PART`.
|
D | jsmn.h | 105 JSMN_API int jsmn_parse(jsmn_parser *parser, const char *js, const size_t len, 271 JSMN_API int jsmn_parse(jsmn_parser *parser, const char *js, const size_t len, in jsmn_parse() function
|
/external/jsmn/example/ |
D | simple.c | 30 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, in main()
|
D | jsondump.c | 117 r = jsmn_parse(&p, js, jslen, tok, tokcount); in main()
|