Home
last modified time | relevance | path

Searched refs:asyncContext (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/gm/
Dasyncrescaleandread.cpp50 auto* asyncContext = new AsyncContext(); in do_read_and_scale() local
52 asyncContext); in do_read_and_scale()
56 while (!asyncContext->fCalled) { in do_read_and_scale()
61 if (!asyncContext->fResult) { in do_read_and_scale()
64 SkPixmap pixmap(ii, asyncContext->fResult->data(0), asyncContext->fResult->rowBytes(0)); in do_read_and_scale()
66 return SkImage::MakeFromRaster(pixmap, releasePixels, asyncContext); in do_read_and_scale()
84 AsyncContext asyncContext; in do_read_and_scale_yuv() local
86 rescaleGamma, rescaleMode, async_callback, &asyncContext); in do_read_and_scale_yuv()
90 while (!asyncContext.fCalled) { in do_read_and_scale_yuv()
95 if (!asyncContext.fResult) { in do_read_and_scale_yuv()
[all …]
/third_party/node/src/api/
Dcallback.cc27 async_context asyncContext) in CallbackScope() argument
30 asyncContext)), in CallbackScope()
50 const async_context& asyncContext, in InternalCallbackScope() argument
53 async_context_(asyncContext), in InternalCallbackScope()
76 if (asyncContext.async_id != 0 && !skip_hooks_) { in InternalCallbackScope()
79 AsyncWrap::EmitBefore(env, asyncContext.async_id); in InternalCallbackScope()
162 async_context asyncContext) { in InternalMakeCallback() argument
183 InternalCallbackScope scope(env, resource, asyncContext, flags); in InternalMakeCallback()
192 args[0] = v8::Number::New(env->isolate(), asyncContext.async_id); in InternalMakeCallback()
223 async_context asyncContext) { in MakeCallback() argument
[all …]
Dhooks.cc223 void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) { in EmitAsyncDestroy() argument
224 EmitAsyncDestroy(Environment::GetCurrent(isolate), asyncContext); in EmitAsyncDestroy()
227 void EmitAsyncDestroy(Environment* env, async_context asyncContext) { in EmitAsyncDestroy() argument
228 AsyncWrap::EmitDestroy(env, asyncContext.async_id); in EmitAsyncDestroy()
/third_party/node/test/addons/callback-scope/
Dbinding.cc20 node::async_context asyncContext = { in RunInCallbackScope() local
25 node::CallbackScope scope(isolate, args[0].As<v8::Object>(), asyncContext); in RunInCallbackScope()
/third_party/skia/tests/
DReadWritePixelsGpuTest.cpp646 AsyncContext asyncContext; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
660 async_callback, &asyncContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
662 while (!asyncContext.fCalled) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
665 if (!asyncContext.fResult) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
668 SkRectMemcpy(pixels.writable_addr(), pixels.rowBytes(), asyncContext.fResult->data(0), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
669 asyncContext.fResult->rowBytes(0), pixels.info().minRowBytes(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1260 AsyncContext asyncContext; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1266 &asyncContext); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1270 if (!asyncContext.fCalled) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1273 if (!asyncContext.fResult) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/third_party/node/src/
Dnode.h970 async_context asyncContext);
972 async_context asyncContext);
995 async_context asyncContext);
998 async_context asyncContext);
1027 async_context asyncContext);
1034 async_context asyncContext);
1041 async_context asyncContext);
Dnode_internals.h196 async_context asyncContext);
212 const async_context& asyncContext,