Home
last modified time | relevance | path

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

/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
101 localContext.BuildInvalidAnalyses(i); in TEST_F()
104 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
115 localContext.BuildInvalidAnalyses(i); in TEST_F()
120 Pass::Status s = pass.Run(&localContext); in TEST_F()
122 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
[all …]
/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
101 localContext.BuildInvalidAnalyses(i); in TEST_F()
104 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
115 localContext.BuildInvalidAnalyses(i); in TEST_F()
120 Pass::Status s = pass.Run(&localContext); in TEST_F()
122 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/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
101 localContext.BuildInvalidAnalyses(i); in TEST_F()
104 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() local
115 localContext.BuildInvalidAnalyses(i); in TEST_F()
120 Pass::Status s = pass.Run(&localContext); in TEST_F()
122 EXPECT_TRUE(localContext.AreAnalysesValid(built_analyses)); in TEST_F()
[all …]
/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 error = clReleaseContext(localContext); in test_context_destructor_callback()
60 localContext = NULL; in test_context_destructor_callback()
/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()
DSkSVGText.cpp478 SkSVGRenderContext localContext(ctx); in renderText() local
480 if (this->onPrepareToRender(&localContext)) { in renderText()
481 this->onShapeText(localContext, tctx, xs); in renderText()
/external/skqp/experimental/svg/model/
DSkSVGNode.cpp21 SkSVGRenderContext localContext(ctx); in render() local
23 if (this->onPrepareToRender(&localContext)) { in render()
24 this->onRender(localContext); in render()
29 SkSVGRenderContext localContext(ctx); in asPaint() local
31 return this->onPrepareToRender(&localContext) && this->onAsPaint(localContext, paint); in asPaint()
35 SkSVGRenderContext localContext(ctx); in asPath() local
36 if (!this->onPrepareToRender(&localContext)) { in asPath()
40 SkPath path = this->onAsPath(localContext); in asPath()
42 if (const auto* clipPath = localContext.clipPath()) { in asPath()
/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.cpp145 EGLContext localContext = context; in TEST_P() local
148 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, localContext)); in TEST_P()
168 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, localContext)); in TEST_P()
175 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);
/external/llvm-project/flang/lib/Semantics/
Dcheck-call.cpp716 evaluate::FoldingContext localContext{context, messages}; in CheckExplicitInterface() local
721 *actual, dummy, proc, localContext, scope, intrinsic); in CheckExplicitInterface()
/external/llvm-project/flang/lib/Evaluate/
Dintrinsics.cpp2109 FoldingContext localContext{context, localMessages}; in Probe() local
2114 intrinsic.Match(call, defaults_, arguments, localContext)}) { in Probe()