Home | History | Annotate | Download | only in cctest

Lines Matching full:captures

483   // Check that we don't allow more than kMaxCapture captures
485 const char* kTooManyCaptures = "Too many captures";
770 int* captures) {
777 captures,
799 int captures[4] = {42, 37, 87, 117};
811 captures);
814 CHECK_EQ(-1, captures[0]);
815 CHECK_EQ(-1, captures[1]);
816 CHECK_EQ(-1, captures[2]);
817 CHECK_EQ(-1, captures[3]);
854 int captures[4] = {42, 37, 87, 117};
865 captures);
868 CHECK_EQ(0, captures[0]);
869 CHECK_EQ(3, captures[1]);
870 CHECK_EQ(-1, captures[2]);
871 CHECK_EQ(-1, captures[3]);
882 captures);
921 int captures[4] = {42, 37, 87, 117};
935 captures);
938 CHECK_EQ(0, captures[0]);
939 CHECK_EQ(3, captures[1]);
940 CHECK_EQ(-1, captures[2]);
941 CHECK_EQ(-1, captures[3]);
955 captures);
1398 int captures[2];
1405 captures);
1408 CHECK_EQ(0, captures[0]);
1409 CHECK_EQ(42, captures[1]);
1458 int captures[5];
1464 CHECK(IrregexpInterpreter::Match(isolate, array, f1_16, captures, 0));
1465 CHECK_EQ(0, captures[0]);
1466 CHECK_EQ(3, captures[1]);
1467 CHECK_EQ(1, captures[2]);
1468 CHECK_EQ(2, captures[3]);
1469 CHECK_EQ(84, captures[4]);
1475 CHECK(!IrregexpInterpreter::Match(isolate, array, f2_16, captures, 0));
1476 CHECK_EQ(42, captures[0]);