Home | History | Annotate | Download | only in cctest

Lines Matching refs:captures

435   // Check that we don't allow more than kMaxCapture captures
437 const char* kTooManyCaptures = "Too many captures";
718 int* captures) {
725 captures,
746 int captures[4] = {42, 37, 87, 117};
758 captures);
761 CHECK_EQ(-1, captures[0]);
762 CHECK_EQ(-1, captures[1]);
763 CHECK_EQ(-1, captures[2]);
764 CHECK_EQ(-1, captures[3]);
800 int captures[4] = {42, 37, 87, 117};
811 captures);
814 CHECK_EQ(0, captures[0]);
815 CHECK_EQ(3, captures[1]);
816 CHECK_EQ(-1, captures[2]);
817 CHECK_EQ(-1, captures[3]);
828 captures);
866 int captures[4] = {42, 37, 87, 117};
880 captures);
883 CHECK_EQ(0, captures[0]);
884 CHECK_EQ(3, captures[1]);
885 CHECK_EQ(-1, captures[2]);
886 CHECK_EQ(-1, captures[3]);
900 captures);
1335 int captures[2];
1342 captures);
1345 CHECK_EQ(0, captures[0]);
1346 CHECK_EQ(42, captures[1]);
1394 int captures[5];
1400 CHECK(IrregexpInterpreter::Match(isolate, array, f1_16, captures, 0));
1401 CHECK_EQ(0, captures[0]);
1402 CHECK_EQ(3, captures[1]);
1403 CHECK_EQ(1, captures[2]);
1404 CHECK_EQ(2, captures[3]);
1405 CHECK_EQ(84, captures[4]);
1411 CHECK(!IrregexpInterpreter::Match(isolate, array, f2_16, captures, 0));
1412 CHECK_EQ(42, captures[0]);