• Home
  • Raw
  • Download

Lines Matching refs:isolate

20   HandleScope scope(isolate);  in BUILTIN()
23 if (*recv == isolate->regexp_function()->prototype()) { in BUILTIN()
24 isolate->CountUsage(v8::Isolate::kRegExpPrototypeToString); in BUILTIN()
27 IncrementalStringBuilder builder(isolate); in BUILTIN()
33 isolate, source, in BUILTIN()
34 JSReceiver::GetProperty(isolate, recv, in BUILTIN()
35 isolate->factory()->source_string())); in BUILTIN()
37 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, source_str, in BUILTIN()
38 Object::ToString(isolate, source)); in BUILTIN()
46 isolate, flags, in BUILTIN()
47 JSReceiver::GetProperty(isolate, recv, in BUILTIN()
48 isolate->factory()->flags_string())); in BUILTIN()
50 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, flags_str, in BUILTIN()
51 Object::ToString(isolate, flags)); in BUILTIN()
55 RETURN_RESULT_OR_FAILURE(isolate, builder.Finish()); in BUILTIN()
63 HandleScope scope(isolate); \
65 isolate, isolate->regexp_last_match_info(), i); \
83 HandleScope scope(isolate); in BUILTIN()
84 Handle<Object> obj(isolate->regexp_last_match_info()->LastInput(), isolate); in BUILTIN()
85 return obj->IsUndefined(isolate) ? ReadOnlyRoots(isolate).empty_string() in BUILTIN()
90 HandleScope scope(isolate); in BUILTIN()
91 Handle<Object> value = args.atOrUndefined(isolate, 1); in BUILTIN()
93 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, str, in BUILTIN()
94 Object::ToString(isolate, value)); in BUILTIN()
95 isolate->regexp_last_match_info()->SetLastInput(*str); in BUILTIN()
96 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
104 HandleScope scope(isolate); in BUILTIN()
106 isolate, isolate->regexp_last_match_info(), 0); in BUILTIN()
110 HandleScope scope(isolate); in BUILTIN()
111 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN()
114 return ReadOnlyRoots(isolate).empty_string(); // No captures. in BUILTIN()
123 return *RegExpUtils::GenericCaptureGetter(isolate, match_info, last_capture); in BUILTIN()
127 HandleScope scope(isolate); in BUILTIN()
128 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN()
130 Handle<String> last_subject(match_info->LastSubject(), isolate); in BUILTIN()
131 return *isolate->factory()->NewSubString(last_subject, 0, start_index); in BUILTIN()
135 HandleScope scope(isolate); in BUILTIN()
136 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN()
138 Handle<String> last_subject(match_info->LastSubject(), isolate); in BUILTIN()
140 return *isolate->factory()->NewSubString(last_subject, start_index, len); in BUILTIN()