Lines Matching refs:JSRegExp
62 // JSRegExp::kIrregexpCaptureNameMapIndex.
81 bool Compile(Isolate* isolate, Handle<JSRegExp> regexp,
326 bool CompiledReplacement::Compile(Isolate* isolate, Handle<JSRegExp> regexp,
336 DCHECK(JSRegExp::TypeSupportsCaptures(regexp->type_tag()));
546 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> pattern_regexp,
553 DCHECK_EQ(JSRegExp::ATOM, pattern_regexp->type_tag());
625 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp,
643 if (regexp->type_tag() == JSRegExp::ATOM && simple_replace) {
703 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp,
708 if (regexp->type_tag() == JSRegExp::ATOM) {
883 MaybeHandle<Object> RegExpExec(Isolate* isolate, Handle<JSRegExp> regexp,
897 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject,
914 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
927 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
940 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
955 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
972 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
973 DCHECK(regexp->flags() & JSRegExp::kHasIndices);
983 MatchInfoBackedMatch(Isolate* isolate, Handle<JSRegExp> regexp,
989 if (JSRegExp::TypeSupportsCaptures(regexp->type_tag())) {
1167 Handle<JSRegExp> regexp,
1179 if (FLAG_regexp_tier_up && regexp->type_tag() == JSRegExp::IRREGEXP) {
1182 PrintF("Forcing tier-up of JSRegExp object %p in SearchRegExpMultiple\n",
1198 int capture_registers = JSRegExp::RegistersForCaptureCount(capture_count);
1323 int capture_registers = JSRegExp::RegistersForCaptureCount(capture_count);
1349 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> string,
1357 const bool global = (flags & JSRegExp::kGlobal) != 0;
1358 const bool sticky = (flags & JSRegExp::kSticky) != 0;
1428 if (FLAG_regexp_tier_up && regexp->type_tag() == JSRegExp::IRREGEXP) {
1431 PrintF("Forcing tier-up of JSRegExp object %p in RegExpReplace\n",
1469 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
1478 CHECK(regexp->flags() & JSRegExp::kGlobal);
1496 Handle<JSRegExp> regexp = args.at<JSRegExp>(1);
1506 DCHECK_EQ(flags & JSRegExp::kGlobal, 0);
1510 const bool sticky = (flags & JSRegExp::kSticky) != 0;
1558 DCHECK(JSRegExp::TypeSupportsCaptures(regexp->type_tag()));
1824 RegExpReplace(isolate, Handle<JSRegExp>::cast(recv), string, replace));
2000 Handle<JSRegExp> regexp = args.at<JSRegExp>(0);
2005 JSRegExp::Initialize(regexp, source, flags));
2020 auto regexp = JSRegExp::cast(args[0]);
2021 Handle<String> flags = JSRegExp::StringFromFlags(isolate, regexp.flags());