Lines Matching refs:TOKEN_STRING
33 #define TOKEN_STRING(js, t, s) \ macro
97 check(TOKEN_STRING(js, tokens[0], js)); in test_simple()
98 check(TOKEN_STRING(js, tokens[1], "a")); in test_simple()
99 check(TOKEN_STRING(js, tokens[2], "0")); in test_simple()
125 check(TOKEN_STRING(js, tok[0], "boolVar")); in test_primitive()
126 check(TOKEN_STRING(js, tok[1], "true")); in test_primitive()
133 check(TOKEN_STRING(js, tok[0], "boolVar")); in test_primitive()
134 check(TOKEN_STRING(js, tok[1], "false")); in test_primitive()
141 check(TOKEN_STRING(js, tok[0], "intVar")); in test_primitive()
142 check(TOKEN_STRING(js, tok[1], "12345")); in test_primitive()
149 check(TOKEN_STRING(js, tok[0], "floatVar")); in test_primitive()
150 check(TOKEN_STRING(js, tok[1], "12.345")); in test_primitive()
157 check(TOKEN_STRING(js, tok[0], "nullVar")); in test_primitive()
158 check(TOKEN_STRING(js, tok[1], "null")); in test_primitive()
174 check(TOKEN_STRING(js, tok[0], "strVar")); in test_string()
175 check(TOKEN_STRING(js, tok[1], "hello world")); in test_string()
182 check(TOKEN_STRING(js, tok[0], "strVar")); in test_string()
183 check(TOKEN_STRING(js, tok[1], "escapes: \\/\\r\\n\\t\\b\\f\\\"\\\\")); in test_string()
190 check(TOKEN_STRING(js, tok[0], "strVar")); in test_string()
191 check(TOKEN_STRING(js, tok[1], "")); in test_string()
206 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
212 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
219 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
220 check(TOKEN_STRING(js, tok[1], "value")); in test_partial_string()
227 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
228 check(TOKEN_STRING(js, tok[1], "value")); in test_partial_string()
229 check(TOKEN_STRING(js, tok[2], "y")); in test_partial_string()
230 check(TOKEN_STRING(js, tok[3], "value y")); in test_partial_string()
249 check(TOKEN_STRING(js, tok[0], "key1")); in test_unquoted_keys()
250 check(TOKEN_STRING(js, tok[1], "value")); in test_unquoted_keys()
251 check(TOKEN_STRING(js, tok[2], "key2")); in test_unquoted_keys()
252 check(TOKEN_STRING(js, tok[3], "123")); in test_unquoted_keys()
441 check(TOKEN_STRING(js, tokens[0], "{\"a\": 0}")); in test_input_length()
442 check(TOKEN_STRING(js, tokens[1], "a")); in test_input_length()
443 check(TOKEN_STRING(js, tokens[2], "0")); in test_input_length()
593 check(TOKEN_STRING(js, tokens[0], "a")); in test_nonstrict()
594 check(TOKEN_STRING(js, tokens[1], "0")); in test_nonstrict()