Home | History | Annotate | Download | only in cctest

Lines Matching refs:captures

411   // Check that we don't allow more than kMaxCapture captures
413 const char* kTooManyCaptures = "Too many captures
705 int* captures) {
712 captures,
730 int captures[4] = {42, 37, 87, 117};
742 captures);
745 CHECK_EQ(-1, captures[0]);
746 CHECK_EQ(-1, captures[1]);
747 CHECK_EQ(-1, captures[2]);
748 CHECK_EQ(-1, captures[3]);
775 int captures[4] = {42, 37, 87, 117};
786 captures);
789 CHECK_EQ(0, captures[0]);
790 CHECK_EQ(3, captures[1]);
791 CHECK_EQ(-1, captures[2]);
792 CHECK_EQ(-1, captures[3]);
803 captures);
832 int captures[4] = {42, 37, 87, 117};
845 captures);
848 CHECK_EQ(0, captures[0]);
849 CHECK_EQ(3, captures[1]);
850 CHECK_EQ(-1, captures[2]);
851 CHECK_EQ(-1, captures[3]);
863 captures);
1289 int captures[2];
1296 captures);
1299 CHECK_EQ(0, captures[0]);
1300 CHECK_EQ(42, captures[1]);
1351 int captures[5];
1357 CHECK(IrregexpInterpreter::Match(isolate, array, f1_16, captures, 0));
1358 CHECK_EQ(0, captures[0]);
1359 CHECK_EQ(3, captures[1]);
1360 CHECK_EQ(1, captures[2]);
1361 CHECK_EQ(2, captures[3]);
1362 CHECK_EQ(84, captures[4]);
1368 CHECK(!IrregexpInterpreter::Match(isolate, array, f2_16, captures, 0));
1369 CHECK_EQ(42, captures[0]);