Home
last modified time | relevance | path

Searched refs:capture_count (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/runtime/
Druntime-regexp.cc25 bool Compile(Handle<String> replacement, int capture_count,
94 Vector<Char> characters, int capture_count, in ParseReplacementPattern() argument
155 if (capture_ref > capture_count) { in ParseReplacementPattern()
165 if (double_digit_ref <= capture_count) { in ParseReplacementPattern()
176 DCHECK(capture_ref <= capture_count); in ParseReplacementPattern()
206 bool CompiledReplacement::Compile(Handle<String> replacement, int capture_count, in Compile() argument
215 capture_count, subject_length, zone()); in Compile()
219 capture_count, subject_length, zone()); in Compile()
475 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithString() local
482 compiled_replacement.Compile(replacement, capture_count, subject_length); in StringReplaceGlobalRegExpWithString()
[all …]
Druntime-strings.cc342 int capture_count = regexp->CaptureCount(); in RUNTIME_FUNCTION() local
361 RegExpImpl::SetLastMatchInfo(regexp_info, subject, capture_count, in RUNTIME_FUNCTION()
/external/v8/src/regexp/
Dregexp-parser.cc644 int capture_count = captures_started(); in ScanForCaptures() local
666 if (current() != '?') capture_count++; in ScanForCaptures()
670 capture_count_ = capture_count; in ScanForCaptures()
1497 int capture_count = parser.captures_started(); in ParseRegExp() local
1498 result->simple = tree->IsAtom() && parser.simple() && capture_count == 0; in ParseRegExp()
1501 result->capture_count = capture_count; in ParseRegExp()
Dregexp-ast.h448 RegExpLookaround(RegExpTree* body, bool is_positive, int capture_count, in RegExpLookaround() argument
452 capture_count_(capture_count), in RegExpLookaround()
466 int capture_count() { return capture_count_; } in capture_count() function
Djsregexp.cc169 !(flags & JSRegExp::kSticky) && parse_result.capture_count == 0) { in Compile()
183 IrregexpInitialize(re, pattern, flags, parse_result.capture_count); in Compile()
452 int capture_count) { in IrregexpInitialize() argument
458 capture_count); in IrregexpInitialize()
607 int capture_count = in IrregexpExec() local
610 last_match_info, subject, capture_count, output_registers); in IrregexpExec()
630 int capture_count, in SetLastMatchInfo() argument
633 int capture_register_count = (capture_count + 1) * 2; in SetLastMatchInfo()
970 RegExpCompiler(Isolate* isolate, Zone* zone, int capture_count,
999 int capture_count,
[all …]
Djsregexp.h117 int capture_count,
1530 capture_count(0) { } in RegExpCompileData()
1537 int capture_count; member
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl_locking_unittest.cc273 capture_count++; in IncreaseCaptureCounter()
278 return capture_count; in GetCaptureCounter()
288 return capture_count - render_count; in CaptureMinusRenderCounters()
297 return (render_count > threshold && capture_count > threshold); in BothCountersExceedeThreshold()
303 int capture_count GUARDED_BY(crit_) = 0;
/external/v8/src/
Dfactory.h679 int capture_count);
Dfactory.cc2366 int capture_count) { in SetRegExpIrregexpData() argument
2378 Smi::FromInt(capture_count)); in SetRegExpIrregexpData()