Searched refs:asyncContext (Results 1 – 6 of 6) sorted by relevance
| /external/skia/gm/ |
| D | asyncrescaleandread.cpp | 141 auto* asyncContext = new AsyncContext(); in readAndScaleRGBA() local 165 asyncContext); in readAndScaleRGBA() 167 while (!asyncContext->fCalled) { in readAndScaleRGBA() 180 asyncContext); in readAndScaleRGBA() 184 while (!asyncContext->fCalled) { in readAndScaleRGBA() 190 if (!asyncContext->fResult) { in readAndScaleRGBA() 193 SkPixmap pixmap(ii, asyncContext->fResult->data(0), asyncContext->fResult->rowBytes(0)); in readAndScaleRGBA() 195 return SkImages::RasterFromPixmap(pixmap, releasePixels, asyncContext); in readAndScaleRGBA() 217 AsyncContext asyncContext; in readAndScaleYUVA() local 244 &asyncContext); in readAndScaleYUVA() [all …]
|
| /external/grpc-grpc-java/servlet/src/test/java/io/grpc/servlet/ |
| D | ServletServerBuilderTest.java | 49 AsyncContext asyncContext = mock(AsyncContext.class); in scheduledExecutorService() local 56 doReturn(asyncContext).when(request).startAsync(request, response); in scheduledExecutorService() 75 doReturn(request).when(asyncContext).getRequest(); in scheduledExecutorService() 76 doReturn(response).when(asyncContext).getResponse(); in scheduledExecutorService() 83 verify(asyncContext).setTimeout(1); in scheduledExecutorService()
|
| /external/skia/tests/graphite/ |
| D | ReadWritePixelsGraphiteTest.cpp | 537 AsyncContext asyncContext; in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() local 556 &asyncContext); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 557 if (!asyncContext.fCalled) { in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 560 while (!asyncContext.fCalled) { in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 564 if (!asyncContext.fResult) { in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 567 SkRectMemcpy(pixels.writable_addr(), pixels.rowBytes(), asyncContext.fResult->data(0), in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 568 asyncContext.fResult->rowBytes(0), pixels.info().minRowBytes(), in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 616 AsyncContext asyncContext; in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() local 625 &asyncContext); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 626 if (!asyncContext.fCalled) { in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() [all …]
|
| /external/grpc-grpc-java/servlet/src/main/java/io/grpc/servlet/ |
| D | AsyncServletOutputStreamWriter.java | 84 AsyncContext asyncContext, in AsyncServletOutputStreamWriter() argument 104 ServletOutputStream outputStream = asyncContext.getResponse().getOutputStream(); in AsyncServletOutputStreamWriter() 112 asyncContext.getResponse().flushBuffer(); in AsyncServletOutputStreamWriter() 119 asyncContext.complete(); in AsyncServletOutputStreamWriter()
|
| /external/skia/src/gpu/graphite/ |
| D | Context.cpp | 867 } asyncContext; in readPixels() local 886 asyncCallback, &asyncContext}; in readPixels() 894 {textureProxy, rect, pm.info(), asyncCallback, &asyncContext}, in readPixels() 903 while (!asyncContext.fCalled) { in readPixels() 910 SkASSERT(asyncContext.fCalled); in readPixels() 911 if (!asyncContext.fResult) { in readPixels() 914 SkRectMemcpy(pm.writable_addr(), pm.rowBytes(), asyncContext.fResult->data(0), in readPixels() 915 asyncContext.fResult->rowBytes(0), pm.info().minRowBytes(), in readPixels()
|
| /external/skia/tests/ |
| D | ReadWritePixelsGpuTest.cpp | 749 AsyncContext asyncContext; in image_async_read_pixels() local 763 async_callback, &asyncContext); in image_async_read_pixels() 765 while (!asyncContext.fCalled) { in image_async_read_pixels() 768 if (!asyncContext.fResult) { in image_async_read_pixels() 771 SkRectMemcpy(pixels.writable_addr(), pixels.rowBytes(), asyncContext.fResult->data(0), in image_async_read_pixels() 772 asyncContext.fResult->rowBytes(0), pixels.info().minRowBytes(), in image_async_read_pixels() 1461 AsyncContext asyncContext; in DEF_GANESH_TEST_FOR_GL_CONTEXT() local 1467 &asyncContext); in DEF_GANESH_TEST_FOR_GL_CONTEXT() 1471 if (!asyncContext.fCalled) { in DEF_GANESH_TEST_FOR_GL_CONTEXT() 1474 if (!asyncContext.fResult) { in DEF_GANESH_TEST_FOR_GL_CONTEXT() [all …]
|