Lines Matching refs:capture_count
73 Handle<String> replacement, int capture_count,
146 FixedArray* capture_name_map, int capture_count, in ParseReplacementPattern() argument
209 if (capture_ref > capture_count) { in ParseReplacementPattern()
219 if (double_digit_ref <= capture_count) { in ParseReplacementPattern()
230 DCHECK(capture_ref <= capture_count); in ParseReplacementPattern()
279 (1 <= capture_index && capture_index <= capture_count)); in ParseReplacementPattern()
314 Handle<String> replacement, int capture_count, in Compile() argument
322 if (capture_count > 0) { in Compile()
333 capture_name_map, capture_count, in Compile()
338 capture_name_map, capture_count, in Compile()
610 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithString() local
626 isolate, regexp, replacement, capture_count, subject_length); in StringReplaceGlobalRegExpWithString()
688 RegExpImpl::SetLastMatchInfo(isolate, last_match_info, subject, capture_count, in StringReplaceGlobalRegExpWithString()
723 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithEmptyString() local
756 RegExpImpl::SetLastMatchInfo(isolate, last_match_info, subject, capture_count, in StringReplaceGlobalRegExpWithEmptyString()
1103 const int capture_count = capture_map->length() >> 1; in ConstructNamedCaptureGroupsObject() local
1104 for (int i = 0; i < capture_count; i++) { in ConstructNamedCaptureGroupsObject()
1111 DCHECK(1 <= capture_ix && capture_ix <= capture_count); in ConstructNamedCaptureGroupsObject()
1133 int capture_count = regexp->CaptureCount(); in SearchRegExpMultiple() local
1144 int capture_registers = (capture_count + 1) * 2; in SearchRegExpMultiple()
1157 capture_count, last_match); in SearchRegExpMultiple()
1216 has_named_captures ? 4 + capture_count : 3 + capture_count; in SearchRegExpMultiple()
1222 for (int i = 1; i <= capture_count; i++) { in SearchRegExpMultiple()
1265 capture_count, in SearchRegExpMultiple()
1271 int capture_registers = (capture_count + 1) * 2; in SearchRegExpMultiple()