Lines Matching refs:context_data

1700   const char* context_data[][2] = {  in TEST()  local
1776 for (int i = 0; context_data[i][0] != NULL; ++i) { in TEST()
1779 int kPrefixLen = i::StrLength(context_data[i][0]); in TEST()
1782 int kSuffixLen = i::StrLength(context_data[i][1]); in TEST()
1790 context_data[i][0], in TEST()
1793 context_data[i][1]); in TEST()
1835 void RunParserSyncTest(const char* context_data[][2], in RunParserSyncTest()
1880 for (int i = 0; context_data[i][0] != NULL; ++i) { in RunParserSyncTest()
1882 int kPrefixLen = i::StrLength(context_data[i][0]); in RunParserSyncTest()
1884 int kSuffixLen = i::StrLength(context_data[i][1]); in RunParserSyncTest()
1891 context_data[i][0], in RunParserSyncTest()
1893 context_data[i][1]); in RunParserSyncTest()
1904 void RunModuleParserSyncTest(const char* context_data[][2], in RunModuleParserSyncTest()
1914 RunParserSyncTest(context_data, statement_data, result, flags, flags_len, in RunModuleParserSyncTest()
1926 const char* context_data[][2] = { in TEST() local
1962 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
1970 const char* context_data[][2] = { in TEST() local
2000 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2005 const char* context_data[][2] = { in TEST() local
2024 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2067 const char* context_data[][2] = { in TEST() local
2080 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
2082 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
2091 const char* context_data[][2] = { in TEST() local
2103 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2111 const char* context_data[][2] = { in TEST() local
2138 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2144 const char* context_data[][2] = { in TEST() local
2172 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2179 const char* context_data[][2] = { in TEST() local
2208 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2215 const char* context_data[][2] = { in TEST() local
2247 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2252 const char* context_data[][2] = { in TEST() local
2288 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
2294 const char* context_data[][2] = { in TEST() local
2306 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2312 const char* context_data[][2] = { in TEST() local
2372 RunParserSyncTest(context_data, statement_data, kSuccess, nullptr, 0, in TEST()
2379 const char* context_data[][2] = { in TEST() local
2433 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2440 const char* context_data[][2] = { in TEST() local
2462 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
2468 const char* context_data[][2] = { in TEST() local
2481 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2486 const char* context_data[][2] = { in TEST() local
2499 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2505 const char* context_data[][2] = { in TEST() local
2517 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2523 const char* context_data[][2] = { in TEST() local
2541 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, always_flags, in TEST()
2548 const char* context_data[][2] = { in TEST() local
2565 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2570 const char* context_data[][2] = { in TEST() local
2584 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2590 const char* context_data[][2] = { in TEST() local
2602 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2608 const char* context_data[][2] = { in TEST() local
2620 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0, in TEST()
2626 const char* context_data[][2] = { in TEST() local
2642 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2648 const char* context_data[][2] = { in TEST() local
2664 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2730 const char* context_data[][2] = { in TEST() local
2759 RunParserSyncTest(context_data, strict_statement_data, kError, NULL, 0, in TEST()
2761 RunParserSyncTest(context_data, non_strict_statement_data, kSuccess, NULL, 0, in TEST()
2767 const char* context_data[][2] = { in TEST() local
2781 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2786 const char* context_data[][2] = { in TEST() local
2798 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2803 const char* context_data[][2] = { in TEST() local
2813 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2818 const char* context_data[][2] = { in TEST() local
2829 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2834 const char* context_data[][2] = { in TEST() local
2868 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2873 const char* context_data[][2] = { in TEST() local
2887 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2892 const char* context_data[][2] = { in TEST() local
2912 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
2917 const char* context_data[][2] = { in TEST() local
2936 RunParserSyncTest(context_data, statement_data, kError); in TEST()
2941 const char* context_data[][2] = { in TEST() local
2999 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
3004 const char* context_data[][2] = { in TEST() local
3024 RunParserSyncTest(context_data, statement_data, kError, empty_flags, 1); in TEST()
3101 const char* context_data[][2] = { in TEST() local
3123 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
3655 const char* context_data[][2] = { in TEST() local
3708 RunParserSyncTest(context_data, assignment_expression_suffix_data, kError); in TEST()
3715 const char* context_data[][2] = { in TEST() local
3820 RunParserSyncTest(context_data, statement_data, kError, flags, in TEST()
3835 const char* context_data[][2] = { in TEST() local
3901 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0, in TEST()
4018 const char* context_data[][2] = { in TEST() local
4040 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0, in TEST()
4046 const char* context_data[][2] = { in TEST() local
4069 RunParserSyncTest(context_data, expression_data, kError, NULL, 0, in TEST()
4075 const char* context_data[][2] = {{"", ""}, in TEST() local
4085 RunParserSyncTest(context_data, success_data, kSuccess, NULL, 0, in TEST()
4108 RunParserSyncTest(context_data, error_data, kError, NULL, 0, in TEST()
4114 const char* context_data[][2] = { in TEST() local
4135 RunParserSyncTest(context_data, expression_data, kSuccess, NULL, 0, in TEST()
4141 const char* context_data[][2] = { in TEST() local
4168 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, in TEST()
4175 const char* context_data[][2] = { in TEST() local
4210 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, in TEST()
4216 const char* context_data[][2] = {{"({", "});"}, in TEST() local
4231 RunParserSyncTest(context_data, object_literal_body_data, kSuccess); in TEST()
4236 const char* context_data[][2] = {{"({", "(x, y) {}});"}, in TEST() local
4305 RunParserSyncTest(context_data, name_data, kSuccess); in TEST()
4310 const char* context_data[][2] = {{"({method(", "){}});"}, in TEST() local
4324 RunParserSyncTest(context_data, params_data, kError); in TEST()
4352 const char* context_data[][2] = in TEST() local
4368 RunParserSyncTest(context_data, data, kError); in TEST()
4373 const char* context_data[][2] = {{"'use strict'; ({", "});"}, in TEST() local
4402 RunParserSyncTest(context_data, params_data, kSuccess); in TEST()
4407 const char* context_data[][2] = {{"(", ");"}, in TEST() local
4425 RunParserSyncTest(context_data, class_data, kSuccess, NULL, 0, in TEST()
4431 const char* context_data[][2] = {{"'use strict'; ", ""}, in TEST() local
4443 RunParserSyncTest(context_data, statement_data, kSuccess); in TEST()
4449 const char* context_data[][2] = {{"(class {", "});"}, in TEST() local
4487 RunParserSyncTest(context_data, class_body_data, kSuccess, NULL, 0, in TEST()
4493 const char* context_data[][2] = {{"(class {", "() {}});"}, in TEST() local
4544 RunParserSyncTest(context_data, name_data, kSuccess, NULL, 0, in TEST()
4550 const char* context_data[][2] = {{"(", ");"}, in TEST() local
4574 RunParserSyncTest(context_data, class_data, kError, NULL, 0, in TEST()
4580 const char* context_data[][2] = {{"", ""}, in TEST() local
4610 RunParserSyncTest(context_data, class_data, kError, NULL, 0, in TEST()
4616 const char* context_data[][2] = {{"class ", "{}"}, in TEST() local
4639 RunParserSyncTest(context_data, class_name, kError, NULL, 0, in TEST()
4645 const char* context_data[][2] = { in TEST() local
4671 RunParserSyncTest(context_data, class_name, kError, NULL, 0, in TEST()
4677 const char* context_data[][2] = {{"class C {", "}"}, in TEST() local
4698 RunParserSyncTest(context_data, class_body_data, kError, NULL, 0, in TEST()
4704 const char* context_data[][2] = {{"class C {", "}"}, in TEST() local
4724 RunParserSyncTest(context_data, class_body_data, kError, NULL, 0, in TEST()
4730 const char* context_data[][2] = {{"class C {", "}"}, in TEST() local
4745 RunParserSyncTest(context_data, class_body_data, kSuccess, NULL, 0, in TEST()
4751 const char* context_data[][2] = {{"class C {", "}"}, in TEST() local
4762 RunParserSyncTest(context_data, class_body_data, kError, NULL, 0, in TEST()
4768 const char* context_data[][2] = {{"class C {", "}"}, in TEST() local
4783 RunParserSyncTest(context_data, class_body_data, kSuccess, NULL, 0, in TEST()
4789 const char* context_data[][2] = {{"", ""}, in TEST() local
4802 RunParserSyncTest(context_data, class_body_data, kError, NULL, 0, in TEST()
4808 const char* context_data[][2] = {{"({", "});"}, in TEST() local
4852 RunParserSyncTest(context_data, name_data, kError); in TEST()
4857 const char* context_data[][2] = {{"({", "});"}, in TEST() local
4873 RunParserSyncTest(context_data, name_data, kSuccess); in TEST()
4882 const char* context_data[][2] = {{"({", "});"}, in TEST() local
4899 RunParserSyncTest(context_data, name_data, kError); in TEST()
4904 const char* context_data[][2] = {{"", ""}, in TEST() local
4912 RunParserSyncTest(context_data, name_data, kError); in TEST()
4917 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
4927 RunParserSyncTest(context_data, data, kSuccess, nullptr, 0, nullptr, 0); in TEST()
4932 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
4947 RunParserSyncTest(context_data, data, kError, nullptr, 0, nullptr, 0); in TEST()
4952 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
4964 RunParserSyncTest(context_data, data, kError); in TEST()
4969 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
4981 RunParserSyncTest(context_data, data, kError); in TEST()
4986 const char* context_data[][2] = {{"", ""}, in TEST() local
4995 RunParserSyncTest(context_data, data, kSuccess); in TEST()
5000 const char* context_data[][2] = {{"", ""}, in TEST() local
5008 RunParserSyncTest(context_data, data, kError); in TEST()
5013 const char* context_data[][2] = {{"", ""}, in TEST() local
5036 RunParserSyncTest(context_data, data, kError, nullptr, 0, always_flags, in TEST()
5042 const char* context_data[][2] = {{"", ""}, in TEST() local
5065 RunParserSyncTest(context_data, data, kError, nullptr, 0, always_flags, in TEST()
5071 const char* context_data[][2] = {{"", ""}, in TEST() local
5082 RunParserSyncTest(context_data, data, kError, nullptr, 0, always_flags, in TEST()
5088 const char* context_data[][2] = {{"", ""}, in TEST() local
5099 RunParserSyncTest(context_data, data, kError, nullptr, 0, always_flags, in TEST()
5105 const char* context_data[][2] = {{"", ""}, in TEST() local
5130 RunParserSyncTest(context_data, data, kError); in TEST()
5135 const char* context_data[][2] = {{"", ""}, in TEST() local
5156 RunParserSyncTest(context_data, data, kSuccess); in TEST()
5161 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
5190 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, NULL, 0); in TEST()
5195 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
5225 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, NULL, 0); in TEST()
5230 const char* context_data[][2] = { in TEST() local
5252 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, NULL, 0); in TEST()
5257 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
5286 RunParserSyncTest(context_data, data, kError, NULL, 0, NULL, 0); in TEST()
5291 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
5306 RunParserSyncTest(context_data, data, kError, NULL, 0, NULL, 0); in TEST()
5311 const char* context_data[][2] = {{"'use strict';(function(", in TEST() local
5337 RunParserSyncTest(context_data, data, kSuccess, nullptr, 0, always_flags, in TEST()
5343 const char* context_data[][2] = {{"'use strict';(function(", in TEST() local
5368 RunParserSyncTest(context_data, data, kError); in TEST()
5373 const char* context_data[][2] = { in TEST() local
5384 RunParserSyncTest(context_data, data, kError, nullptr, 0, always_flags, in TEST()
5415 const char* context_data[][2] = in TEST() local
5431 RunParserSyncTest(context_data, data, kError); in TEST()
5436 const char* context_data[][2] = {{"function fn() { 'use strict';} fn(", ");"}, in TEST() local
5448 RunParserSyncTest(context_data, data, kSuccess); in TEST()
5453 const char* context_data[][2] = {{"function fn() { 'use strict';} fn(", ");"}, in TEST() local
5459 RunParserSyncTest(context_data, data, kError); in TEST()
5464 const char* context_data[][2] = {{"function fn() { 'use strict';", "} fn();"}, in TEST() local
5471 RunParserSyncTest(context_data, data, kError, NULL, 0, NULL, 0); in TEST()
5476 const char* context_data[][2] = { in TEST() local
5494 RunParserSyncTest(context_data, bad_data, kError, NULL, 0, NULL, 0, in TEST()
5501 RunParserSyncTest(context_data, good_data, kSuccess, NULL, 0, NULL, 0, in TEST()
5507 const char* context_data[][2] = {{"({[", "]: 1});"}, in TEST() local
5525 RunParserSyncTest(context_data, error_data, kError, NULL, 0, in TEST()
5537 RunParserSyncTest(context_data, name_data, kSuccess, NULL, 0, in TEST()
5543 const char* context_data[][2] = {{"({", "});"}, in TEST() local
5553 RunParserSyncTest(context_data, error_data, kError, NULL, 0, in TEST()
5808 const char* context_data[][2] = { in TEST() local
5821 RunParserSyncTest(context_data, error_data, kError); in TEST()
5826 const char* context_data[][2] = { in TEST() local
5840 RunParserSyncTest(context_data, error_data, kSuccess); in TEST()
5845 const char* context_data[][2] = {{"'use strict'; if (true)", ""}, in TEST() local
5866 RunParserSyncTest(context_data, statement_data, kError, NULL, 0, in TEST()
5913 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
5950 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0, in TEST()
6249 const char* context_data[][2] = {{"class c { ", " }"}, in TEST() local
6267 RunParserSyncTest(context_data, error_data, kError, NULL, 0, always_flags, in TEST()
6269 RunParserSyncTest(context_data, success_data, kSuccess, NULL, 0, always_flags, in TEST()
6275 const char* context_data[][2] = {{"", ""}, {NULL}}; in TEST() local
6302 RunParserSyncTest(context_data, data, kError, NULL, 0, in TEST()
6431 const char* context_data[][2] = {{"'use strict';", ""}, {"", ""}, in TEST() local
6442 RunParserSyncTest(context_data, data, kError); in TEST()
6600 const char* context_data[][2] = {{"'use strict'; let ", " = {};"}, in TEST() local
6651 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, always_flags, in TEST()
6661 const char* context_data[][2] = {{"'use strict'; let ", " = {};"}, in TEST() local
6740 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
6745 const char* context_data[][2] = {{"'use strict'; let ", " = {};"}, in TEST() local
6760 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
6765 const char* context_data[][2] = { in TEST() local
6780 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
6785 const char* context_data[][2] = { in TEST() local
6798 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
6803 const char* context_data[][2] = {{"'use strict'; var ", ""}, in TEST() local
6825 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
6832 const char* context_data[][2] = { in TEST() local
7000 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, always_flags, in TEST()
7031 const char* context_data[][2] = { in TEST() local
7126 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
7202 const char* context_data[][2] = { in TEST() local
7210 RunParserSyncTest(context_data, error_data, kError, NULL, 0, always_flags, in TEST()
7218 RunParserSyncTest(context_data, success_data, kSuccess, NULL, 0, always_flags, in TEST()
7226 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
7244 RunParserSyncTest(context_data, error_data, kError, NULL, 0, always_flags, in TEST()
7252 const char* context_data[][2] = { in TEST() local
7265 RunParserSyncTest(context_data, error_data, kError, NULL, 0, always_flags, in TEST()
7273 const char* context_data[][2] = {{"'use strict';", ""}, in TEST() local
7285 RunParserSyncTest(context_data, error_data, kError, NULL, 0, always_flags, in TEST()
7386 const char* context_data[][2] = { in TEST() local
7403 RunParserSyncTest(context_data, data, kSuccess); in TEST()
7408 const char* context_data[][2] = { in TEST() local
7420 RunParserSyncTest(context_data, data, kError); in TEST()
7478 const char* context_data[][2] = { in TEST() local
7496 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
7498 RunParserSyncTest(context_data, data, kSuccess); in TEST()
7504 const char* context_data[][2] = { in TEST() local
7520 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, always_flags, in TEST()
7527 const char* context_data[][2] = { in TEST() local
7546 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, always_flags, in TEST()
7557 const char* context_data[][2] = { in TEST() local
7631 RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, in TEST()
7638 const char* context_data[][2] = { in TEST() local
7668 RunParserSyncTest(context_data, data, kSuccess, NULL, 0, always_flags, in TEST()
7699 RunParserSyncTest(context_data, fail_data, kError, NULL, 0, fail_flags, in TEST()
7853 const char* context_data[][2] = { in TEST() local
7857 RunParserSyncTest(context_data, error_data, kError, NULL, 0, NULL, 0); in TEST()