Searched refs:ToLocal (Results 1 - 25 of 39) sorted by relevance

12

/external/v8/src/
H A Dapi.h191 static inline Local<Context> ToLocal(
193 static inline Local<Value> ToLocal(
195 static inline Local<Name> ToLocal(
197 static inline Local<String> ToLocal(
199 static inline Local<Symbol> ToLocal(
201 static inline Local<RegExp> ToLocal(
203 static inline Local<Object> ToLocal(
205 static inline Local<Object> ToLocal(
207 static inline Local<Array> ToLocal(
209 static inline Local<Map> ToLocal(
326 inline bool ToLocal(v8::internal::MaybeHandle<v8::internal::Object> maybe, function in namespace:v8
[all...]
H A Dapi-arguments-inl.h28 f(v8::Utils::ToLocal(name), info); \
72 f(v8::Utils::ToLocal(name), v8::Utils::ToLocal(value), info);
87 f(index, v8::Utils::ToLocal(value), info);
101 f(v8::Utils::ToLocal(name), v8::Utils::ToLocal(value), info);
H A Daccessors.cc136 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(result, isolate)));
161 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(result, isolate)));
232 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(result, isolate)));
257 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(res, isolate)));
283 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(id, isolate)));
308 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(source, isolate)));
332 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(source, isolate)));
357 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(res, isolate)));
384 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(res, isolate)));
410 info.GetReturnValue().Set(Utils::ToLocal(Handl
[all...]
H A Ddate.h101 int64_t local_ms = ToLocal(time_ms);
107 int64_t ToLocal(int64_t time_ms) { function in class:v8::internal::DateCache
H A Dapi.cc223 Utils::ToLocal(scriptName),
229 Utils::ToLocal(source_map_url),
367 .ToLocal(&source_string)) {
376 if (!ScriptCompiler::Compile(context, &source).ToLocal(&script)) return false;
788 return Utils::ToLocal(isolate->eternal_handles()->Get(index));
971 return Utils::ToLocal(result);
1177 Utils::ToLocal(obj)->SetCallHandler(callback, data, fast_handler);
1185 return Utils::ToLocal(obj);
1211 return Utils::ToLocal(i::Handle<i::FunctionTemplateInfo>(
1331 return Utils::ToLocal(resul
[all...]
H A Dd8.cc387 source_type).ToLocal(&script)) {
397 if (!maybe_result.ToLocal(&result)) {
562 if (CreateRealm(args).ToLocal(&context)) {
609 .ToLocal(&script)) {
615 if (!script->BindToCurrentContext()->Run(realm).ToLocal(&result)) {
665 .ToLocal(&str_obj)) {
826 if (transfer->Get(context, i).ToLocal(&element)) {
861 if (Shell::DeserializeValue(isolate, *data, &offset).ToLocal(&data_value)) {
933 .ToLocal(&sourceline)) {
952 .ToLocal(
[all...]
H A Di18n.cc46 v8::Utils::ToLocal(Handle<String>::cast(object)));
724 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale));
787 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale));
850 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale));
909 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale));
H A Dmessages.cc121 v8::Local<v8::Value> api_exception_obj = v8::Utils::ToLocal(exception);
144 : v8::Utils::ToLocal(callback_data));
/external/v8/test/fuzzer/
H A Djson.cc25 .ToLocal(&source)) {
/external/v8/samples/
H A Dshell.cc187 if (!ReadFile(args.GetIsolate(), *file).ToLocal(&source)) {
211 if (!ReadFile(args.GetIsolate(), *file).ToLocal(&source)) {
295 .ToLocal(&source)) {
307 if (!ReadFile(isolate, str).ToLocal(&source)) {
356 if (!v8::Script::Compile(context, source, &origin).ToLocal(&script)) {
363 if (!script->Run(context).ToLocal(&result)) {
416 if (try_catch->StackTrace(context).ToLocal(&stack_trace_string) &&
H A Dprocess.cc206 if (!context->Global()->Get(context, process_name).ToLocal(&process_val) ||
234 if (!Script::Compile(context, script).ToLocal(&compiled_script)) {
243 if (!compiled_script->Run(context).ToLocal(&result)) {
308 if (!process->Call(context, context->Global(), argc, argv).ToLocal(&result)) {
709 if (!ReadFile(isolate, file).ToLocal(&source)) {
/external/pdfium/fpdfsdk/src/jsapi/
H A Dfxjs_v8.cpp403 .ToLocal(&compiled_script)) {
410 if (!compiled_script->Run(context).ToLocal(&result)) {
426 if (!objTempl->NewInstance(context).ToLocal(&obj))
441 if (!pObjDef->GetInstanceTemplate()->NewInstance(context).ToLocal(&obj))
563 FXJS_WSToJSString(pIsolate, PropertyName)).ToLocal(&val))
573 if (!pObj->GetPropertyNames(pIsolate->GetCurrentContext()).ToLocal(&val))
674 if (!pArray->Get(pIsolate->GetCurrentContext(), index).ToLocal(&val))
/external/v8/test/cctest/wasm/
H A Dtest-wasm-trap-position.cc47 Local<v8::Value> localExc = Utils::ToLocal(exc);
H A Dtest-wasm-stack.cc60 Local<v8::Value> localExc = Utils::ToLocal(exc);
/external/v8/src/wasm/
H A Dwasm-js.cc197 args.GetReturnValue().Set(v8::Utils::ToLocal(object.ToHandleChecked()));
331 if (!v8::Promise::Resolver::New(context).ToLocal(&resolver)) return;
332 resolver->Resolve(context, Utils::ToLocal(module_obj.ToHandleChecked()));
353 return_value.Set(Utils::ToLocal(module_obj.ToHandleChecked()));
374 GetRawBufferSource(Utils::ToLocal(source.ToHandleChecked()), &thrower);
/external/v8/test/cctest/
H A Dcctest.h343 .ToLocal(&result)) {
408 .ToLocal(&result)) {
428 .ToLocal(&result)) {
H A Dtest-date.cc113 int64_t actual = date_cache->ToLocal(time);
H A Dtest-global-handles.cc360 local = v8::Utils::ToLocal(eternal_handles->Get(indices[i]));
/external/v8/src/profiler/
H A Dheap-profiler.cc61 class_id, Utils::ToLocal(Handle<Object>(wrapper)));
H A Dsampling-heap-profiler.cc108 Local<v8::Value> loc = v8::Utils::ToLocal(obj);
/external/v8/test/cctest/heap/
H A Dtest-alloc.cc115 info.GetReturnValue().Set(v8::Utils::ToLocal(
/external/v8/src/debug/
H A Ddebug.cc59 return v8::Utils::ToLocal(native_context);
2407 return v8::Utils::ToLocal(exec_state_);
2417 return v8::Utils::ToLocal(event_data_);
2440 return scope.Escape(v8::Utils::ToLocal(Handle<String>::cast(json)));
2442 return v8::Utils::ToLocal(response_json_);
2479 return v8::Utils::ToLocal(exec_state_);
2484 return v8::Utils::ToLocal(event_data_);
2494 return v8::Utils::ToLocal(callback_data_);
/external/v8/src/runtime/
H A Druntime-i18n.cc71 v8::String::Utf8Value locale_id(v8::Utils::ToLocal(locale_id_str));
189 v8::Utils::ToLocal(Handle<String>::cast(locale_id)));
400 v8::String::Utf8Value utf8_date(v8::Utils::ToLocal(date_string));
490 v8::String::Utf8Value utf8_number(v8::Utils::ToLocal(number_string));
H A Druntime-compiler.cc316 return callback(v8::Utils::ToLocal(context));
H A Druntime-test.cc259 if (!desc->NewInstance(v8_isolate->GetCurrentContext()).ToLocal(&obj)) {

Completed in 494 milliseconds

12