/third_party/cef/tests/ceftests/ |
D | request_context_unittest.cc | 15 CefRefPtr<CefRequestContext> context1 = CefRequestContext::GetGlobalContext(); in TEST() local 16 EXPECT_TRUE(context1.get()); in TEST() 17 EXPECT_TRUE(context1->IsGlobal()); in TEST() 18 EXPECT_TRUE(context1->IsSame(context1)); in TEST() 19 EXPECT_TRUE(context1->IsSharingWith(context1)); in TEST() 27 EXPECT_TRUE(context1->IsSame(context2)); in TEST() 28 EXPECT_TRUE(context2->IsSame(context1)); in TEST() 29 EXPECT_TRUE(context1->IsSharingWith(context2)); in TEST() 30 EXPECT_TRUE(context2->IsSharingWith(context1)); in TEST() 46 CefRefPtr<CefRequestContext> context1 = in TEST() local [all …]
|
/third_party/skia/tests/ |
D | EGLImageTest.cpp | 64 sk_sp<GrDirectContext> context1 = GrDirectContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 69 if (!context1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 83 context1->flushAndSubmit(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 87 context1.get(), kSize, kSize, kRGBA_8888_SkColorType, GrMipmapped::kNo, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 92 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 112 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 136 context1->resetContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
/third_party/flutter/skia/tests/ |
D | EGLImageTest.cpp | 66 sk_sp<GrContext> context1 = GrContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 72 if (!context1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 73 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 79 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 86 context1->flush(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 89 context1->createBackendTexture(kSize, kSize, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 95 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 107 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 115 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 139 context1->resetContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | transformation_add_function_test.cpp | 642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST() 654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST() 655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST() 658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 664 context1.get(), transformation_context1, 30, 0)); in TEST() 712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | transformation_add_function_test.cpp | 642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST() 654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST() 655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST() 658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 664 context1.get(), transformation_context1, 30, 0)); in TEST() 712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() [all …]
|
/third_party/spirv-tools/test/fuzz/ |
D | transformation_add_function_test.cpp | 642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST() 654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST() 655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST() 658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() 664 context1.get(), transformation_context1, 30, 0)); in TEST() 712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local 871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST() [all …]
|
/third_party/libsoup/tests/ |
D | context-test.c | 264 GMainContext *context1, *context2; in do_multicontext_test() local 273 context1 = g_main_context_new (); in do_multicontext_test() 274 loop1 = g_main_loop_new (context1, FALSE); in do_multicontext_test() 278 g_main_context_push_thread_default (context1); in do_multicontext_test() 285 g_main_context_pop_thread_default (context1); in do_multicontext_test() 293 g_main_context_push_thread_default (context1); in do_multicontext_test() 295 g_main_context_pop_thread_default (context1); in do_multicontext_test() 311 g_main_context_push_thread_default (context1); in do_multicontext_test() 313 g_main_context_pop_thread_default (context1); in do_multicontext_test() 325 g_main_context_unref (context1); in do_multicontext_test()
|
/third_party/boost/libs/compute/test/ |
D | test_context.cpp | 44 boost::compute::context context1(device); in BOOST_AUTO_TEST_CASE() local 45 BOOST_VERIFY(cl_context(context1) != cl_context()); in BOOST_AUTO_TEST_CASE() 47 boost::compute::context context2(std::move(context1)); in BOOST_AUTO_TEST_CASE() 49 BOOST_VERIFY(cl_context(context1) == cl_context()); in BOOST_AUTO_TEST_CASE()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLDisplayPowerPreferenceTest.cpp | 211 EGLContext context1; in runMultiDisplay() local 213 initializeContextForDisplay(display1, &context1); in runMultiDisplay() 214 eglMakeCurrent(display1, EGL_NO_SURFACE, EGL_NO_SURFACE, context1); in runMultiDisplay() 228 eglMakeCurrent(display1, EGL_NO_SURFACE, EGL_NO_SURFACE, context1); in runMultiDisplay() 232 terminateContext(display1, context1); in runMultiDisplay()
|
D | EGLMultiContextTest.cpp | 116 EGLContext context1 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P() local 119 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, context1)); in TEST_P() 125 EXPECT_EGL_TRUE(eglDestroyContext(dpy, context1)); in TEST_P()
|
/third_party/node/test/parallel/ |
D | test-vm-module-basic.js | 59 const context1 = createContext({ }); constant 62 const m1 = new SourceTextModule('1', { context: context1 }); 64 const m2 = new SourceTextModule('2', { context: context1 });
|
/third_party/typescript/tests/baselines/reference/ |
D | arrayLiterals.js | 25 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,… variable 72 var context1 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }]; variable
|
D | arrayLiterals.symbols | 45 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,… 46 >context1 : Symbol(context1, Decl(arrayLiterals.ts, 23, 3))
|
D | arrayLiterals.types | 79 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,… 80 >context1 : { [n: number]: { a: string; b: number; }; }
|
D | arrayLiterals.errors.txt | 31 …var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3…
|
/third_party/typescript/tests/cases/conformance/expressions/arrayLiterals/ |
D | arrayLiterals.ts | 24 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,… variable
|
/third_party/ffmpeg/libavcodec/ |
D | amfenc.c | 217 AMFContext1 *context1 = NULL; in amf_init_context() local 317 res = ctx->context->pVtbl->QueryInterface(ctx->context, &guid, (void**)&context1); in amf_init_context() 320 res = context1->pVtbl->InitVulkan(context1, NULL); in amf_init_context() 321 context1->pVtbl->Release(context1); in amf_init_context()
|
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/ |
D | main.cc | 546 auto context1 = std::make_shared<mindspore::Context>(); in RunWithSharedMemoryPool() local 547 if (context1 == nullptr) { in RunWithSharedMemoryPool() 551 auto &device_list1 = context1->MutableDeviceInfo(); in RunWithSharedMemoryPool() 565 auto build_ret = model1->Build(model_buf, size, mindspore::kMindIR, context1); in RunWithSharedMemoryPool()
|
/third_party/grpc/test/cpp/interop/ |
D | interop_client.cc | 899 ClientContext context1; in DoCacheableUnary() local 901 context1.set_cacheable(true); in DoCacheableUnary() 904 context1.AddMetadata("x-user-ip", "1.2.3.4"); in DoCacheableUnary() 906 serviceStub_.Get()->CacheableUnaryCall(&context1, request, &response1); in DoCacheableUnary() 907 if (!AssertStatusOk(s1, context1.debug_error_string())) { in DoCacheableUnary()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TransformFeedbackTest.cpp | 1593 auto context1 = eglGetCurrentContext(); in TEST_P() local 1599 eglMakeCurrent(display, surface, surface, context1); in TEST_P() 1623 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
|
D | StateChangeTest.cpp | 389 EGLContext context1 = window->getContext(); in TEST_P() local 437 eglMakeCurrent(display, surface, surface, context1); in TEST_P() 448 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TransformFeedbackTest.cpp | 2319 auto context1 = eglGetCurrentContext(); in TEST_P() local 2325 eglMakeCurrent(display, surface, surface, context1); in TEST_P() 2349 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 2507 auto context1 = eglGetCurrentContext(); in TEST_P() local 2509 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P() 2546 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
|
D | FramebufferTest.cpp | 3757 EGLContext context1 = eglGetCurrentContext(); in TEST_P() local 3759 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P() 3798 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
|
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 4955 String context1[] = { in TestCharsetCallbacks() local 4968 for (int i = 0; i < context1.length; i++) { in TestCharsetCallbacks() 4972 …rResult.unmappableForLength(1), CharsetCallback.FROM_U_CALLBACK_ESCAPE, context1[i]); // This call… in TestCharsetCallbacks()
|