Lines Matching refs:index
52 // capture index or -1 on failure.
128 // If tag <= 0 then it is the negation of a start index of a substring of
135 // the negation of an index into the replacement string.
142 // tag == REPLACEMENT_STRING: data is index into array of substrings
457 int index = 0;
460 index = search.Search(subject, index);
461 if (index < 0) return;
462 indices->push_back(index);
463 index += pattern_length;
593 for (int index : *indices) {
595 if (subject_pos < index) {
597 subject_pos, index - subject_pos);
598 result_pos += index - subject_pos;
608 subject_pos = index + pattern_len;
884 Handle<String> subject, int32_t index,
889 CHECK_LE(0, index);
890 CHECK_GE(subject->length(), index);
892 return RegExp::Exec(isolate, regexp, subject, index, last_match_info,
898 int32_t index, Handle<RegExpMatchInfo> last_match_info,
902 CHECK_LE(0, index);
903 CHECK_GE(subject->length(), index);
905 return RegExp::ExperimentalOneshotExec(isolate, regexp, subject, index,
916 int32_t index = 0;
917 CHECK(args[2].ToInt32(&index));
920 isolate, RegExpExec(isolate, regexp, subject, index, last_match_info,
929 int32_t index = 0;
930 CHECK(args[2].ToInt32(&index));
933 isolate, RegExpExec(isolate, regexp, subject, index, last_match_info,
942 int32_t index = 0;
943 CHECK(args[2].ToInt32(&index));
947 ExperimentalOneshotExec(isolate, regexp, subject, index, last_match_info,
957 int32_t index = 0;
958 CHECK(args[2].ToInt32(&index));
962 ExperimentalOneshotExec(isolate, regexp, subject, index, last_match_info,
1152 DCHECK_GE(capture_ix, 1); // Explicit groups start at index 1.
1262 // Arguments array to replace function is match, captures, index and
1538 const int index = match_indices->Capture(0);
1546 builder.AppendString(factory->NewSubString(subject, 0, index));
1548 // Compute the parameter list consisting of the match, captures, index,
1586 argv[cursor++] = handle(Smi::FromInt(index), isolate);