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()
222 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
229 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
230 check(TOKEN_STRING(js, tok[1], "value")); in test_partial_string()
237 check(TOKEN_STRING(js, tok[0], "x")); in test_partial_string()
238 check(TOKEN_STRING(js, tok[1], "value")); in test_partial_string()
239 check(TOKEN_STRING(js, tok[2], "y")); in test_partial_string()
240 check(TOKEN_STRING(js, tok[3], "value y")); in test_partial_string()
259 check(TOKEN_STRING(js, tok[0], "key1")); in test_unquoted_keys()
260 check(TOKEN_STRING(js, tok[1], "value")); in test_unquoted_keys()
261 check(TOKEN_STRING(js, tok[2], "key2")); in test_unquoted_keys()
262 check(TOKEN_STRING(js, tok[3], "123")); in test_unquoted_keys()
449 check(TOKEN_STRING(js, tokens[0], "{\"a\": 0}")); in test_input_length()
450 check(TOKEN_STRING(js, tokens[1], "a")); in test_input_length()
451 check(TOKEN_STRING(js, tokens[2], "0")); in test_input_length()
579 check(TOKEN_STRING(js, tokens[0], "a")); in test_nonstrict()
580 check(TOKEN_STRING(js, tokens[1], "0")); in test_nonstrict()