Home
last modified time | relevance | path

Searched refs:localContext (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_context_test.cpp83 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
88 localContext.BuildInvalidAnalyses(i); in TEST_F()
89 EXPECT_TRUE(localContext.AreAnalysesValid(i)); in TEST_F()
95 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
98 auto* oldCfg = localContext.cfg(); in TEST_F()
99 auto* oldDefUse = localContext.get_def_use_mgr(); in TEST_F()
100 localContext.BuildInvalidAnalyses(IRContext::kAnalysisCFG | in TEST_F()
102 auto* newCfg = localContext.cfg(); in TEST_F()
103 auto* newDefUse = localContext.get_def_use_mgr(); in TEST_F()
110 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dir_context_test.cpp83 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
88 localContext.BuildInvalidAnalyses(i); in TEST_F()
89 EXPECT_TRUE(localContext.AreAnalysesValid(i)); in TEST_F()
95 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
98 auto* oldCfg = localContext.cfg(); in TEST_F()
99 auto* oldDefUse = localContext.get_def_use_mgr(); in TEST_F()
100 localContext.BuildInvalidAnalyses(IRContext::kAnalysisCFG | in TEST_F()
102 auto* newCfg = localContext.cfg(); in TEST_F()
103 auto* newDefUse = localContext.get_def_use_mgr(); in TEST_F()
110 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dir_context_test.cpp82 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
87 localContext.BuildInvalidAnalyses(i); in TEST_F()
88 EXPECT_TRUE(localContext.AreAnalysesValid(i)); in TEST_F()
94 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
97 auto* oldCfg = localContext.cfg(); in TEST_F()
98 auto* oldDefUse = localContext.get_def_use_mgr(); in TEST_F()
99 localContext.BuildInvalidAnalyses(IRContext::kAnalysisCFG | in TEST_F()
101 auto* newCfg = localContext.cfg(); in TEST_F()
102 auto* newDefUse = localContext.get_def_use_mgr(); in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
[all …]
/external/skia/modules/svg/src/
DSkSVGNode.cpp29 SkSVGRenderContext localContext(ctx, this); in render() local
31 if (this->onPrepareToRender(&localContext)) { in render()
32 this->onRender(localContext); in render()
37 SkSVGRenderContext localContext(ctx); in asPaint() local
39 return this->onPrepareToRender(&localContext) && this->onAsPaint(localContext, paint); in asPaint()
43 SkSVGRenderContext localContext(ctx); in asPath() local
44 if (!this->onPrepareToRender(&localContext)) { in asPath()
48 SkPath path = this->onAsPath(localContext); in asPath()
50 if (const auto* clipPath = localContext.clipPath()) { in asPath()
DSkSVGSVG.cpp14 SkSVGRenderContext localContext(ctx, this); in renderNode() local
15 SkSVGRenderContext::BorrowedNode node = localContext.findNodeById(iri); in renderNode()
20 if (this->onPrepareToRender(&localContext)) { in renderNode()
24 node->render(localContext); in renderNode()
DSkSVGText.cpp480 SkSVGRenderContext localContext(ctx); in renderText() local
482 if (this->onPrepareToRender(&localContext)) { in renderText()
483 this->onShapeText(localContext, tctx, xs); in renderText()
/external/OpenCL-CTS/test_conformance/api/
Dtest_context_destructor_callback.cpp33 clContextWrapper localContext = in test_context_destructor_callback() local
43 localContext, context_destructor_callback, (void *)&callbackOrders[0]); in test_context_destructor_callback()
47 localContext, context_destructor_callback, (void *)&callbackOrders[1]); in test_context_destructor_callback()
51 localContext, context_destructor_callback, (void *)&callbackOrders[2]); in test_context_destructor_callback()
55 localContext.reset(); in test_context_destructor_callback()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceFilter.java64 static final ThreadLocal<Context> localContext = new ThreadLocal<>(); field in GuiceFilter
112 localContext.remove(); in reset()
124 Context previous = GuiceFilter.localContext.get(); in doFilter()
163 Context context = localContext.get(); in getContext()
209 final Context previous = localContext.get(); in open()
210 localContext.set(this); in open()
214 localContext.set(previous); in open()
DFilterChainInvocation.java70 GuiceFilter.Context previous = GuiceFilter.localContext.get(); in doFilter()
75 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doFilter()
104 GuiceFilter.localContext.set(previous); in doFilter()
DServletScopes.java78 if (null == GuiceFilter.localContext.get()) { in scope()
238 null == GuiceFilter.localContext.get(),
291 return (GuiceFilter.localContext.get() != null)
297 final GuiceFilter.Context context = GuiceFilter.localContext.get();
379 null == GuiceFilter.localContext.get(),
DServletDefinition.java285 GuiceFilter.Context previous = GuiceFilter.localContext.get(); in doServiceImpl()
288 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doServiceImpl()
292 GuiceFilter.localContext.set(previous); in doServiceImpl()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DThreadLocalContextStorage.java31 private static final ThreadLocal<Context> localContext = new ThreadLocal<Context>(); field in ThreadLocalContextStorage
36 localContext.set(toAttach); in doAttach()
54 return localContext.get(); in current()
/external/angle/src/tests/egl_tests/
DEGLContextASANTest.cpp149 EGLContext localContext = context; in TEST_P() local
152 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, localContext)); in TEST_P()
172 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, localContext)); in TEST_P()
179 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, localContext)); in TEST_P()
/external/guice/core/src/com/google/inject/internal/
DInjectorImpl.java134 localContext = parent.localContext; in InjectorImpl()
139 localContext = new ThreadLocal<>(); in InjectorImpl()
1100 private final ThreadLocal<Object[]> localContext;
1104 return (InternalContext) localContext.get()[0];
1124 Object[] reference = localContext.get();
1127 localContext.set(reference);