Lines Matching refs:capture_index
98 static inline ReplacementPart SubjectCapture(int capture_index) { in SubjectCapture()
99 return ReplacementPart(SUBJECT_CAPTURE, capture_index); in SubjectCapture()
267 const int capture_index = LookupNamedCapture( in ParseReplacementPattern() local
278 DCHECK(capture_index == -1 || in ParseReplacementPattern()
279 (1 <= capture_index && capture_index <= capture_count)); in ParseReplacementPattern()
285 (capture_index == -1) in ParseReplacementPattern()
287 : ReplacementPart::SubjectCapture(capture_index)); in ParseReplacementPattern()
981 const int capture_index = LookupNamedCapture( in GetNamedCapture() local
985 if (capture_index == -1) { in GetNamedCapture()
990 DCHECK(1 <= capture_index && capture_index <= CaptureCount()); in GetNamedCapture()
995 GetCapture(capture_index, &capture_exists), in GetNamedCapture()