Lines Matching full:capture_count
26 bool Compile(Handle<String> replacement, int capture_count,
95 Vector<Char> characters, int capture_count,
156 if (capture_ref > capture_count) {
166 if (double_digit_ref <= capture_count) {
177 DCHECK(capture_ref <= capture_count);
207 bool CompiledReplacement::Compile(Handle<String> replacement, int capture_count,
216 capture_count, subject_length, zone());
220 capture_count, subject_length, zone());
489 int capture_count = regexp->CaptureCount();
496 compiled_replacement.Compile(replacement, capture_count, subject_length);
558 RegExpImpl::SetLastMatchInfo(last_match_info, subject, capture_count,
593 int capture_count = regexp->CaptureCount();
626 RegExpImpl::SetLastMatchInfo(last_match_info, subject, capture_count,
940 int capture_count = regexp->CaptureCount();
951 int capture_registers = (capture_count + 1) * 2;
963 RegExpImpl::SetLastMatchInfo(last_match_array, subject, capture_count,
1018 isolate->factory()->NewFixedArray(3 + capture_count);
1021 for (int i = 1; i <= capture_count; i++) {
1034 elements->set(capture_count + 1, Smi::FromInt(match_start));
1035 elements->set(capture_count + 2, *subject);
1052 RegExpImpl::SetLastMatchInfo(last_match_array, subject, capture_count,
1058 int capture_registers = (capture_count + 1) * 2;