Lines Matching refs:snippets
191 ExpectedSnippet<0> snippets[] = { in TEST() local
208 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
212 snippets[i].code_snippet, kFunctionName); in TEST()
217 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
228 ExpectedSnippet<0> snippets[] = { in TEST() local
236 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
240 snippets[i].code_snippet, kFunctionName); in TEST()
245 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
256 ExpectedSnippet<2> snippets[] = { in TEST() local
295 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
299 snippets[i].code_snippet, kFunctionName); in TEST()
304 callable(snippets[i].parameter(0), snippets[i].parameter(1)) in TEST()
306 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
317 ExpectedSnippet<1> snippets[] = { in TEST() local
340 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
344 snippets[i].code_snippet, kFunctionName); in TEST()
349 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
350 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
361 ExpectedSnippet<2> snippets[] = { in TEST() local
397 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
401 snippets[i].code_snippet, kFunctionName); in TEST()
406 callable(snippets[i].parameter(0), snippets[i].parameter(1)) in TEST()
408 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
419 ExpectedSnippet<1> snippets[] = { in TEST() local
448 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
452 snippets[i].code_snippet, kFunctionName); in TEST()
457 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
458 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
469 ExpectedSnippet<2> snippets[] = { in TEST() local
506 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
510 snippets[i].code_snippet, kFunctionName); in TEST()
515 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
516 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
527 ExpectedSnippet<1> snippets[] = { in TEST() local
541 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
545 snippets[i].code_snippet, kFunctionName); in TEST()
550 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
551 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
562 ExpectedSnippet<0> snippets[] = { in TEST() local
585 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
587 BytecodeGraphTester tester(isolate, zone, snippets[i].code_snippet); in TEST()
590 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
601 ExpectedSnippet<0> snippets[] = { in TEST() local
624 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
626 BytecodeGraphTester tester(isolate, zone, snippets[i].code_snippet); in TEST()
629 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
640 ExpectedSnippet<1> snippets[] = { in TEST() local
652 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
654 BytecodeGraphTester tester(isolate, zone, snippets[i].code_snippet); in TEST()
657 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
658 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
669 ExpectedSnippet<0> snippets[] = { in TEST() local
703 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
705 BytecodeGraphTester tester(isolate, zone, snippets[i].code_snippet); in TEST()
708 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
724 ExpectedSnippet<0> snippets[] = { in TEST() local
749 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
753 snippets[i].code_snippet, kFunctionName); in TEST()
758 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
769 ExpectedSnippet<1> snippets[] = { in TEST() local
781 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
785 snippets[i].code_snippet, kFunctionName); in TEST()
790 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
791 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
802 ExpectedSnippet<1> snippets[] = { in TEST() local
819 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
823 snippets[i].code_snippet, kFunctionName); in TEST()
828 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
829 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
840 ExpectedSnippet<1> snippets[] = { in TEST() local
874 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
878 snippets[i].code_snippet, kFunctionName); in TEST()
883 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
884 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
895 ExpectedSnippet<1> snippets[] = { in TEST() local
914 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
918 snippets[i].code_snippet, kFunctionName); in TEST()
923 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
924 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
935 ExpectedSnippet<0> snippets[] = { in TEST() local
969 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
972 SNPrintF(script, "%s %s({});", snippets[i].code_snippet, kFunctionName); in TEST()
977 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1001 ExpectedSnippet<0> snippets[] = { in TEST() local
1006 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1009 SNPrintF(script, "%s %s %s", function_prologue, snippets[i].code_snippet, in TEST()
1015 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1038 ExpectedSnippet<0> snippets[] = { in TEST() local
1048 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1051 SNPrintF(script, "%s %s %s", function_prologue, snippets[i].code_snippet, in TEST()
1057 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1082 ExpectedSnippet<0> snippets[] = { in TEST() local
1092 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1095 SNPrintF(script, "%s %s %s", function_prologue, snippets[i].code_snippet, in TEST()
1101 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1111 ExpectedSnippet<0> snippets[] = { in TEST() local
1123 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1127 snippets[i].code_snippet, kFunctionName); in TEST()
1131 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1142 ExpectedSnippet<0> snippets[] = { in TEST() local
1176 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1180 snippets[i].code_snippet, kFunctionName); in TEST()
1184 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1194 ExpectedSnippet<1> snippets[] = { in TEST() local
1205 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1209 snippets[i].code_snippet, kFunctionName); in TEST()
1213 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1214 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1225 ExpectedSnippet<0> snippets[] = { in TEST() local
1237 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1239 BytecodeGraphTester tester(isolate, zone, snippets[i].code_snippet); in TEST()
1242 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1341 ExpectedSnippet<2> snippets[] = { in TEST() local
1369 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1373 snippets[i].code_snippet, kFunctionName); in TEST()
1378 callable(snippets[i].parameter(0), snippets[i].parameter(1)) in TEST()
1380 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1391 ExpectedSnippet<1> snippets[] = { in TEST() local
1402 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1406 snippets[i].code_snippet, kFunctionName); in TEST()
1411 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1412 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1424 ExpectedSnippet<0, const char*> snippets[] = { in TEST() local
1433 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1437 snippets[i].code_snippet, kFunctionName); in TEST()
1440 v8::Local<v8::String> expected_string = v8_str(snippets[i].return_value()); in TEST()
1454 ExpectedSnippet<0> snippets[] = { in TEST() local
1495 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1498 SNPrintF(script, "%s", snippets[i].code_snippet); in TEST()
1503 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1514 ExpectedSnippet<1> snippets[] = { in TEST() local
1561 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1564 SNPrintF(script, "%s", snippets[i].code_snippet); in TEST()
1569 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1570 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1581 ExpectedSnippet<0> snippets[] = { in TEST() local
1590 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1593 SNPrintF(script, "%s\n%s();", snippets[i].code_snippet, kFunctionName); in TEST()
1598 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1609 ExpectedSnippet<3> snippets[] = { in TEST() local
1634 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1637 SNPrintF(script, "%s\n%s();", snippets[i].code_snippet, kFunctionName); in TEST()
1643 callable(snippets[i].parameter(0), snippets[i].parameter(1), in TEST()
1644 snippets[i].parameter(2)) in TEST()
1646 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1657 ExpectedSnippet<0> snippets[] = { in TEST() local
1674 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1678 snippets[i].code_snippet, kFunctionName); in TEST()
1683 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1694 ExpectedSnippet<0> snippets[] = { in TEST() local
1715 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1719 snippets[i].code_snippet, kFunctionName); in TEST()
1724 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1735 ExpectedSnippet<0> snippets[] = { in TEST() local
1781 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1785 snippets[i].code_snippet, kFunctionName); in TEST()
1789 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1800 ExpectedSnippet<1> snippets[] = { in TEST() local
1861 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1865 snippets[i].code_snippet, kFunctionName); in TEST()
1870 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1871 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1882 ExpectedSnippet<1> snippets[] = { in TEST() local
1893 size_t num_snippets = sizeof(snippets) / sizeof(snippets[0]); in TEST()
1897 snippets[i].code_snippet, kFunctionName); in TEST()
1902 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1903 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1925 ExpectedSnippet<1> snippets[] = { in TEST() local
1942 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
1945 snippets[i].code_snippet, kFunctionName); in TEST()
1950 callable(snippets[i].parameter(0)).ToHandleChecked(); in TEST()
1951 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
1975 ExpectedSnippet<2> snippets[] = { in TEST() local
2002 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2005 snippets[i].code_snippet, kFunctionName); in TEST()
2010 callable(snippets[i].parameter(0), snippets[i].parameter(1)) in TEST()
2012 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
2023 ExpectedSnippet<0> snippets[] = { in TEST() local
2045 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2048 snippets[i].code_snippet, kFunctionName); in TEST()
2053 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
2064 ExpectedSnippet<0> snippets[] = { in TEST() local
2094 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2097 snippets[i].code_snippet, kFunctionName); in TEST()
2102 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
2113 ExpectedSnippet<0> snippets[] = { in TEST() local
2131 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2134 snippets[i].code_snippet, kFunctionName); in TEST()
2139 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
2150 ExpectedSnippet<0> snippets[] = { in TEST() local
2212 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2215 snippets[i].code_snippet, kFunctionName); in TEST()
2220 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()
2230 ExpectedSnippet<0> snippets[] = { in TEST() local
2284 for (size_t i = 0; i < arraysize(snippets); i++) { in TEST()
2287 snippets[i].code_snippet, kFunctionName); in TEST()
2292 CHECK(return_value->SameValue(*snippets[i].return_value())); in TEST()