• Home
  • Raw
  • Download

Lines Matching refs:regexp

470     Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp,  in StringReplaceGlobalRegExpWithString()  argument
475 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithString()
485 if (regexp->TypeTag() == JSRegExp::ATOM && simple_replace) { in StringReplaceGlobalRegExpWithString()
488 isolate, subject, regexp, replacement, last_match_info); in StringReplaceGlobalRegExpWithString()
491 isolate, subject, regexp, replacement, last_match_info); in StringReplaceGlobalRegExpWithString()
495 RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); in StringReplaceGlobalRegExpWithString()
555 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp, in StringReplaceGlobalRegExpWithEmptyString() argument
560 if (regexp->TypeTag() == JSRegExp::ATOM) { in StringReplaceGlobalRegExpWithEmptyString()
564 isolate, subject, regexp, empty_string, last_match_info); in StringReplaceGlobalRegExpWithEmptyString()
567 isolate, subject, regexp, empty_string, last_match_info); in StringReplaceGlobalRegExpWithEmptyString()
571 RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); in StringReplaceGlobalRegExpWithEmptyString()
582 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithEmptyString()
658 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 1); in RUNTIME_FUNCTION()
661 RUNTIME_ASSERT(regexp->GetFlags() & JSRegExp::kGlobal); in RUNTIME_FUNCTION()
669 isolate, subject, regexp, last_match_info); in RUNTIME_FUNCTION()
672 isolate, subject, regexp, last_match_info); in RUNTIME_FUNCTION()
678 return StringReplaceGlobalRegExpWithString(isolate, subject, regexp, in RUNTIME_FUNCTION()
774 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0); in RUNTIME_FUNCTION()
786 RegExpImpl::Exec(regexp, subject, index, last_match_info)); in RUNTIME_FUNCTION()
794 CONVERT_ARG_CHECKED(JSRegExp, regexp, 0); in RUNTIME_FUNCTION()
795 return regexp->flags(); in RUNTIME_FUNCTION()
802 CONVERT_ARG_CHECKED(JSRegExp, regexp, 0); in RUNTIME_FUNCTION()
803 return regexp->source(); in RUNTIME_FUNCTION()
831 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0); in RUNTIME_FUNCTION()
836 JSRegExp::Initialize(regexp, source, flags)); in RUNTIME_FUNCTION()
838 return *regexp; in RUNTIME_FUNCTION()
846 Handle<JSRegExp> regexp, in SearchRegExpMultiple() argument
850 DCHECK_NE(has_capture, regexp->CaptureCount() == 0); in SearchRegExpMultiple()
852 int capture_count = regexp->CaptureCount(); in SearchRegExpMultiple()
860 isolate->heap(), *subject, regexp->data(), &last_match_cache, in SearchRegExpMultiple()
879 RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); in SearchRegExpMultiple()
978 isolate, subject, handle(regexp->data(), isolate), result_fixed_array, in SearchRegExpMultiple()
995 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0); in RUNTIME_FUNCTION()
1003 RUNTIME_ASSERT(regexp->GetFlags() & JSRegExp::kGlobal); in RUNTIME_FUNCTION()
1005 if (regexp->CaptureCount() == 0) { in RUNTIME_FUNCTION()
1006 return SearchRegExpMultiple<false>(isolate, subject, regexp, in RUNTIME_FUNCTION()
1009 return SearchRegExpMultiple<true>(isolate, subject, regexp, last_match_info, in RUNTIME_FUNCTION()