Home | History | Annotate | Download | only in cctest

Lines Matching refs:captures

418   // Check that we don't allow more than kMaxCapture captures
420 const char* kTooManyCaptures = "Too many captures";
712 int* captures) {
719 captures,
737 int captures[4] = {42, 37, 87, 117};
749 captures);
752 CHECK_EQ(-1, captures[0]);
753 CHECK_EQ(-1, captures[1]);
754 CHECK_EQ(-1, captures[2]);
755 CHECK_EQ(-1, captures[3]);
782 int captures[4] = {42, 37, 87, 117};
793 captures);
796 CHECK_EQ(0, captures[0]);
797 CHECK_EQ(3, captures[1]);
798 CHECK_EQ(-1, captures[2]);
799 CHECK_EQ(-1, captures[3]);
810 captures);
839 int captures[4] = {42, 37, 87, 117};
853 captures);
856 CHECK_EQ(0, captures[0]);
857 CHECK_EQ(3, captures[1]);
858 CHECK_EQ(-1, captures[2]);
859 CHECK_EQ(-1, captures[3]);
872 captures);
1298 int captures[2];
1305 captures);
1308 CHECK_EQ(0, captures[0]);
1309 CHECK_EQ(42, captures[1]);
1360 int captures[5];
1366 CHECK(IrregexpInterpreter::Match(isolate, array, f1_16, captures, 0));
1367 CHECK_EQ(0, captures[0]);
1368 CHECK_EQ(3, captures[1]);
1369 CHECK_EQ(1, captures[2]);
1370 CHECK_EQ(2, captures[3]);
1371 CHECK_EQ(84, captures[4]);
1377 CHECK(!IrregexpInterpreter::Match(isolate, array, f2_16, captures, 0));
1378 CHECK_EQ(42, captures[0]);