Home
last modified time | relevance | path

Searched refs:GetCurrentContext (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/node/src/
Dnode_realm-inl.h14 return GetCurrent(isolate->GetCurrentContext()); in GetCurrent()
25 return GetCurrent(info.GetIsolate()->GetCurrentContext()); in GetCurrent()
30 return GetCurrent(info.GetIsolate()->GetCurrentContext()); in GetCurrent()
48 return GetBindingData<T>(info.GetIsolate()->GetCurrentContext()); in GetBindingData()
55 return GetBindingData<T>(info.GetIsolate()->GetCurrentContext()); in GetBindingData()
/third_party/node/test/cctest/
Dtest_linked_binding.cc33 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
74 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
118 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
144 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
195 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
223 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
279 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
317 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
354 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
Dtest_report.cc65 Local<Context> context = isolate_->GetCurrentContext(); in TEST_F()
96 Local<Context> context = isolate_->GetCurrentContext(); in TEST_F()
104 node::GetCurrentEnvironment(isolate->GetCurrentContext()), in TEST_F()
/third_party/node/test/addons/request-interrupt/
Dbinding.cc21 Environment* env = node::GetCurrentEnvironment(isolate->GetCurrentContext()); in ScheduleInterrupt()
39 Environment* env = node::GetCurrentEnvironment(isolate->GetCurrentContext()); in ScheduleInterruptWithJS()
50 Local<Context> ctx = isolate->GetCurrentContext(); in ScheduleInterruptWithJS()
/third_party/node/test/addons/report-api/
Dbinding.cc30 node::GetCurrentEnvironment(isolate->GetCurrentContext()), in TriggerReportEnv()
47 Local<Context> context = isolate->GetCurrentContext(); in TriggerReportNoContext()
50 if (isolate->GetCurrentContext().IsEmpty()) { in TriggerReportNoContext()
/third_party/cef/libcef/renderer/
Dv8_impl.cc108 context = isolate_->GetCurrentContext(); in GetContextState()
514 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in FunctionCallbackImpl()
554 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in AccessorNameGetterCallbackImpl()
592 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in AccessorNameSetterCallbackImpl()
636 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in InterceptorGetterCallbackImpl()
669 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in InterceptorSetterCallbackImpl()
787 CefRefPtr<CefV8Context> context = CefV8Context::GetCurrentContext(); in MessageListenerCallbackImpl()
916 CefRefPtr<CefV8Context> CefV8Context::GetCurrentContext() { in GetCurrentContext() function in CefV8Context
922 context = new CefV8ContextImpl(isolate, isolate->GetCurrentContext()); in GetCurrentContext()
1313 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in CreateObject()
[all …]
/third_party/node/test/addons/callback-scope/
Dbinding.cc29 fn->Call(isolate->GetCurrentContext(), args[0], 0, nullptr); in RunInCallbackScope()
43 local->Resolve(isolate->GetCurrentContext(), in Callback()
55 isolate->GetCurrentContext()).ToLocalChecked()); in TestResolveAsync()
/third_party/node/deps/v8/src/d8/
Dd8-console.cc23 if (!arg->ToString(isolate->GetCurrentContext()).ToLocal(&str_obj)) return; in WriteToFile()
83 if (!arg->ToString(isolate_->GetCurrentContext()).ToLocal(&label)) return; in Time()
108 if (!arg->ToString(isolate_->GetCurrentContext()).ToLocal(&label)) return; in TimeEnd()
130 if (!arg->ToString(isolate_->GetCurrentContext()).ToLocal(&label)) return; in TimeStamp()
Dd8-test.cc133 sum += args[1]->Int32Value(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
136 sum += args[2]->Uint32Value(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
139 sum += args[3]->IntegerValue(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
142 sum += args[4]->IntegerValue(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
145 sum += args[5]->NumberValue(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
150 sum += args[6]->NumberValue(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
257 ->Get(isolate->GetCurrentContext(), in AddAllSequenceSlowCallback()
261 double value = element->ToNumber(isolate->GetCurrentContext()) in AddAllSequenceSlowCallback()
449 sum += args[1]->Int32Value(isolate->GetCurrentContext()).FromJust(); in Add32BitIntSlowCallback()
452 sum += args[2]->Uint32Value(isolate->GetCurrentContext()).FromJust(); in Add32BitIntSlowCallback()
[all …]
Dd8-posix.cc178 ->Get(isolate->GetCurrentContext(), Integer::New(isolate, j)) in Init()
218 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
228 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
513 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust()); in SetUMask()
568 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in MakeDirectory()
Dasync-hooks-wrapper.cc125 Local<Context> currentContext = isolate->GetCurrentContext(); in CreateHook()
184 Local<Context> currentContext = isolate->GetCurrentContext(); in ShellPromiseHook()
250 Local<Context> context = v8_isolate->GetCurrentContext(); in PromiseHookDispatch()
/third_party/node/deps/v8/src/extensions/
Dstatistics-extension.cc34 ->Set(isolate->GetCurrentContext(), in AddCounter()
44 ->Set(isolate->GetCurrentContext(), in AddNumber()
56 ->Set(isolate->GetCurrentContext(), in AddNumber64()
Dgc-extension.cc52 auto ctx = isolate->GetCurrentContext(); in Parse()
114 ctx_(isolate, isolate->GetCurrentContext()), in AsyncGC()
161 auto resolver = v8::Promise::Resolver::New(isolate->GetCurrentContext()) in GC()
Dcputracemark-extension.cc32 args[0]->Uint32Value(args.GetIsolate()->GetCurrentContext()).ToChecked(); in Mark()
/third_party/cef/tests/cefclient/renderer/
Dperformance_test_tests.cc127 CefRefPtr<CefV8Value> obj = CefV8Context::GetCurrentContext()->GetGlobal(); in PERF_TEST_FUNC()
152 CefRefPtr<CefV8Context> context = CefV8Context::GetCurrentContext(); in PERF_TEST_FUNC()
340 CefRefPtr<CefV8Context> context = CefV8Context::GetCurrentContext(); in PERF_TEST_FUNC()
349 CefRefPtr<CefV8Context> context = CefV8Context::GetCurrentContext(); in PERF_TEST_FUNC()
/third_party/node/test/addons/async-hello-world/
Dbinding.cc34 v8::Local<v8::Object> global = isolate->GetCurrentContext()->Global(); in AfterAsync()
45 callback->Call(isolate->GetCurrentContext(), in AfterAsync()
/third_party/node/test/addons/new-target/
Dbinding.cc14 auto context = isolate->GetCurrentContext(); in Initialize()
/third_party/node/benchmark/napi/function_args/
Dbinding.cc38 v = array->Get(args.GetIsolate()->GetCurrentContext(), in CallWithArray()
53 Local<Context> context = isolate->GetCurrentContext(); in CallWithObject()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp38 GetCurrentContext = in EGLFunctions()
54 PFNEGLGETCURRENTCONTEXTPROC GetCurrentContext; member in __anona28479c90111::EGLFunctions
140 EGLContext ctx = egl.GetCurrentContext(); in CreateEGLImage()
/third_party/node/test/addons/repl-domain-abort/
Dbinding.cc40 node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), in Method()
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/
DGalliumContext.h34 context_id GetCurrentContext() { return fCurrentContext; }; in GetCurrentContext() function
/third_party/node/test/addons/uv-handle-leak/
Dbinding.cc31 Local<Context> context = isolate->GetCurrentContext(); in LeakHandle()
/third_party/node/test/addons/heap-profiler/
Dbinding.cc21 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in Initialize()
/third_party/node/deps/v8/tools/v8windbg/src/
Djs-stack.cc12 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&sp_host_context)); in GetJSStackFrames()
33 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&sp_ctx)); in Call()
/third_party/node/deps/v8/src/inspector/
Dv8-console.cc45 m_context(m_isolate->GetCurrentContext()), in ConsoleHelper()
478 info.GetIsolate()->GetCurrentContext()) in memoryGetterCallback()
599 if (!obj->GetOwnPropertyNames(isolate->GetCurrentContext()).ToLocal(&names)) in keysCallback()
614 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in valuesCallback()
763 ->Get(isolate->GetCurrentContext(), in queryObjectsCallback()
786 info.GetReturnValue().Set(object->get(isolate->GetCurrentContext())); in inspectedObject()
941 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in accessorGetterCallback()
970 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in accessorSetterCallback()

12345