Lines Matching refs:isolate

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