Lines Matching refs:JSMN_STRING

69 	check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3);  in test_empty()
94 check(TOKEN_EQ(tokens[1], 2, 3, JSMN_STRING)); in test_simple()
123 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
131 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
139 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
147 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
155 check(r >= 0 && tok[0].type == JSMN_STRING in test_primitive()
172 check(r >= 0 && tok[0].type == JSMN_STRING in test_string()
173 && tok[1].type == JSMN_STRING); in test_string()
180 check(r >= 0 && tok[0].type == JSMN_STRING in test_string()
181 && tok[1].type == JSMN_STRING); in test_string()
188 check(r >= 0 && tok[0].type == JSMN_STRING in test_string()
189 && tok[1].type == JSMN_STRING); in test_string()
205 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_STRING); in test_partial_string()
221 check(r == JSMN_ERROR_PART && tok[0].type == JSMN_STRING); in test_partial_string()
227 check(r >= 0 && tok[0].type == JSMN_STRING in test_partial_string()
228 && tok[1].type == JSMN_STRING); in test_partial_string()
234 check(r >= 0 && tok[0].type == JSMN_STRING in test_partial_string()
235 && tok[1].type == JSMN_STRING && tok[2].type == JSMN_STRING in test_partial_string()
236 && tok[3].type == JSMN_STRING); in test_partial_string()
257 && tok[1].type == JSMN_STRING && tok[2].type == JSMN_PRIMITIVE in test_unquoted_keys()
290 && tok[5].type == JSMN_STRING); in test_partial_array()
299 && tok[5].type == JSMN_STRING); in test_partial_array()
380 if (tokens[i].type == JSMN_STRING || tokens[i].type == JSMN_PRIMITIVE) { in test_issue_22()
560 #define JSMN_STRING JSMN_STRING_NONSTRICT macro