Home
last modified time | relevance | path

Searched refs:GetCurrentContext (Results 1 - 25 of 102) sorted by relevance

12345

/third_party/node/src/
H A 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()
52 return GetBindingData<T>(info.GetIsolate()->GetCurrentContext()); in GetBindingData()
59 return GetBindingData<T>(info.GetIsolate()->GetCurrentContext()); in GetBindingData()
H A Dnode_errors.h103 ->ToObject(isolate->GetCurrentContext()) \
105 e->Set(isolate->GetCurrentContext(), \
/third_party/node/test/cctest/
H A 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()
H A 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()
H A Dtest_environment.cc145 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
162 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
191 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
412 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F()
/third_party/node/test/addons/report-api/
H A 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/node/test/addons/request-interrupt/
H A 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/callback-scope/
H A 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/
H A 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()
H A 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()) in Add32BitIntSlowCallback()
[all...]
H A 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()
H A 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/
H A 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()
H A Dstatistics-extension.cc34 ->Set(isolate->GetCurrentContext(), in AddCounter()
44 ->Set(isolate->GetCurrentContext(), in AddNumber()
56 ->Set(isolate->GetCurrentContext(), in AddNumber64()
H A Dcputracemark-extension.cc32 args[0]->Uint32Value(args.GetIsolate()->GetCurrentContext()).ToChecked(); in Mark()
/third_party/node/test/addons/async-hello-world/
H A 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/
H A Dbinding.cc14 auto context = isolate->GetCurrentContext(); in Initialize()
/third_party/node/test/addons/repl-domain-abort/
H A Dbinding.cc40 node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), in Method()
/third_party/node/benchmark/napi/function_args/
H A Dbinding.cc38 v = array->Get(args.GetIsolate()->GetCurrentContext(), in CallWithArray()
53 Local<Context> context = isolate->GetCurrentContext(); in CallWithObject()
/third_party/node/test/addons/heap-profiler/
H A Dbinding.cc21 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in Initialize()
/third_party/node/test/addons/uv-handle-leak/
H A Dbinding.cc31 Local<Context> context = isolate->GetCurrentContext(); in LeakHandle()
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/
H A DGalliumContext.h34 context_id GetCurrentContext() { return fCurrentContext; }; in GetCurrentContext() function in GalliumContext
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DEGLImageWrappingTests.cpp38 GetCurrentContext = in EGLFunctions()
54 PFNEGLGETCURRENTCONTEXTPROC GetCurrentContext; member in __anon20604::EGLFunctions
140 EGLContext ctx = egl.GetCurrentContext(); in CreateEGLImage()
/third_party/node/test/addons/worker-addon/
H A Dbinding.cc42 Local<Context> context = isolate->GetCurrentContext(); in Cleanup()
/third_party/node/deps/v8/tools/v8windbg/src/
H A 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));

Completed in 12 milliseconds

12345