Home
last modified time | relevance | path

Searched refs:match_indices (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-regexp.cc309 Node* match_indices; in RegExpPrototypeExecBodyWithoutResult() local
320 match_indices = CallStub(exec_callable, context, regexp, string, in RegExpPrototypeExecBodyWithoutResult()
322 var_result.Bind(match_indices); in RegExpPrototypeExecBodyWithoutResult()
326 GotoIfNot(WordEqual(match_indices, null), &successful_match); in RegExpPrototypeExecBodyWithoutResult()
340 match_indices, RegExpMatchInfo::kFirstCaptureIndex + 1); in RegExpPrototypeExecBodyWithoutResult()
366 Node* const match_indices = indices_or_null; in RegExpPrototypeExecBody() local
368 ConstructNewResultFromMatchInfo(context, regexp, match_indices, string); in RegExpPrototypeExecBody()
1344 Node* const match_indices = RegExpExec(context, receiver, string); in TF_BUILTIN() local
1348 SelectBooleanConstant(WordNotEqual(match_indices, NullConstant())); in TF_BUILTIN()
1614 Node* const match_indices = RegExpPrototypeExecBodyWithoutResult( in RegExpPrototypeMatchBody() local
[all …]
/external/v8/src/runtime/
Druntime-regexp.cc474 int32_t match_indices[] = {indices->at(matches - 1), in StringReplaceGlobalAtomRegExpWithString() local
476 RegExpImpl::SetLastMatchInfo(last_match_info, subject, 0, match_indices); in StringReplaceGlobalAtomRegExpWithString()
1116 Handle<RegExpMatchInfo> match_indices = in StringReplaceNonGlobalRegExpWithFunction() local
1119 const int index = match_indices->Capture(0); in StringReplaceNonGlobalRegExpWithFunction()
1120 const int end_of_match = match_indices->Capture(1); in StringReplaceNonGlobalRegExpWithFunction()
1130 const int m = match_indices->NumberOfCaptureRegisters() / 2; in StringReplaceNonGlobalRegExpWithFunction()
1138 RegExpUtils::GenericCaptureGetter(isolate, match_indices, j, &ok); in StringReplaceNonGlobalRegExpWithFunction()
1207 auto match_indices = Handle<RegExpMatchInfo>::cast(match_indices_obj); in RegExpReplace() local
1209 const int start_index = match_indices->Capture(0); in RegExpReplace()
1210 const int end_index = match_indices->Capture(1); in RegExpReplace()
[all …]