Home
last modified time | relevance | path

Searched refs:JSMN_ERROR_INVAL (Results 1 – 3 of 3) sorted by relevance

/external/jsmn/test/
Dtests.c34 check(parse("{\"a\"\n0}", JSMN_ERROR_INVAL, 3)); in test_object()
35 check(parse("{\"a\", 0}", JSMN_ERROR_INVAL, 3)); in test_object()
36 check(parse("{\"a\": {2}}", JSMN_ERROR_INVAL, 3)); in test_object()
37 check(parse("{\"a\": {2: 3}}", JSMN_ERROR_INVAL, 3)); in test_object()
38 check(parse("{\"a\": {\"a\": 2 3}}", JSMN_ERROR_INVAL, 5)); in test_object()
55 check(parse("{\"a\": 1]", JSMN_ERROR_INVAL, 3)); in test_array()
93 check(parse("{\"a\":\"str\\uFFGFstr\"}", JSMN_ERROR_INVAL, 3)); in test_string()
94 check(parse("{\"a\":\"str\\u@FfF\"}", JSMN_ERROR_INVAL, 3)); in test_string()
95 check(parse("{{\"a\":[\"\\u028\"]}", JSMN_ERROR_INVAL, 4)); in test_string()
305 check(parse(js, JSMN_ERROR_INVAL, 2)); in test_unmatched_brackets()
[all …]
/external/jsmn/
Djsmn.h64 JSMN_ERROR_INVAL = -2, enumerator
166 return JSMN_ERROR_INVAL; in jsmn_parse_primitive()
251 return JSMN_ERROR_INVAL; in jsmn_parse_string()
260 return JSMN_ERROR_INVAL; in jsmn_parse_string()
299 return JSMN_ERROR_INVAL; in jsmn_parse()
319 return JSMN_ERROR_INVAL; in jsmn_parse()
325 return JSMN_ERROR_INVAL; in jsmn_parse()
333 return JSMN_ERROR_INVAL; in jsmn_parse()
344 return JSMN_ERROR_INVAL; in jsmn_parse()
353 return JSMN_ERROR_INVAL; in jsmn_parse()
[all …]
DREADME.md166 * `JSMN_ERROR_INVAL` - bad token, JSON string is corrupted