Home
last modified time | relevance | path

Searched refs:AsyncContext (Results 1 - 6 of 6) sorted by relevance

/third_party/node/src/
H A Dnode_api.cc531 * Compared to node::AsyncResource, the resource object in AsyncContext is
532 * gc-able. AsyncContext holds a weak reference to the resource object.
533 * AsyncContext::MakeCallback doesn't implicitly set the receiver of the
536 class AsyncContext { class
538 AsyncContext(node_jsvm_env env, in AsyncContext() function in v8impl::__anon15407::AsyncContext
549 this, AsyncContext::WeakCallback, v8::WeakCallbackType::kParameter); in AsyncContext()
559 ~AsyncContext() { in ~AsyncContext()
612 static void WeakCallback(const v8::WeakCallbackInfo<AsyncContext>& data) { in WeakCallback()
613 AsyncContext* async_context = data.GetParameter(); in WeakCallback()
621 explicit CallbackScope(AsyncContext* async_contex
[all...]
/third_party/skia/gm/
H A Dasyncrescaleandread.cpp26 struct AsyncContext { struct
36 auto context = static_cast<AsyncContext*>(c); in async_callback()
50 auto* asyncContext = new AsyncContext(); in do_read_and_scale()
65 auto releasePixels = [](const void*, void* c) { delete static_cast<AsyncContext*>(c); }; in do_read_and_scale()
84 AsyncContext asyncContext; in do_read_and_scale_yuv()
419 auto* asyncContext = new AsyncContext(); in DEF_SIMPLE_GM_CAN_FAIL()
439 delete static_cast<AsyncContext*>(c); in DEF_SIMPLE_GM_CAN_FAIL()
/third_party/node/deps/v8/src/d8/
H A Dasync-hooks-wrapper.h24 struct AsyncContext { struct
84 std::stack<AsyncContext> asyncContexts;
H A Dasync-hooks-wrapper.cc50 AsyncContext ctx; in AsyncHooks()
210 AsyncContext ctx; in ShellPromiseHook()
/third_party/skia/tests/
H A DVkProtectedContextTest.cpp141 struct AsyncContext { struct
147 auto context = static_cast<AsyncContext*>(c); in async_callback()
166 AsyncContext cbContext; in DEF_GPUTEST()
H A DReadWritePixelsGpuTest.cpp556 struct AsyncContext { struct
566 auto context = static_cast<AsyncContext*>(c); in async_callback()
578 AsyncContext context; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
646 AsyncContext asyncContext; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
740 AsyncContext cbContext; in DEF_GPUTEST()
1260 AsyncContext asyncContext; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()

Completed in 7 milliseconds