Home
last modified time | relevance | path

Searched refs:context1 (Results 1 – 22 of 22) sorted by relevance

/third_party/cef/tests/ceftests/
Drequest_context_unittest.cc15 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/
DEGLImageTest.cpp64 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/
DEGLImageTest.cpp66 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/spirv-tools/test/fuzz/
Dtransformation_add_function_test.cpp642 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/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp642 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/
Dtransformation_add_function_test.cpp642 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/angle2/src/tests/egl_tests/
DEGLDisplayPowerPreferenceTest.cpp211 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()
DEGLMultiContextTest.cpp116 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/
Dtest-vm-module-basic.js59 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/
DarrayLiterals.js25 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
DarrayLiterals.symbols45 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,…
46 >context1 : Symbol(context1, Decl(arrayLiterals.ts, 23, 3))
DarrayLiterals.types79 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,…
80 >context1 : { [n: number]: { a: string; b: number; }; }
DarrayLiterals.errors.txt31 …var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3…
/third_party/ffmpeg/libavcodec/
Damfenc.c217 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/typescript/tests/cases/conformance/expressions/arrayLiterals/
DarrayLiterals.ts24 var context1: { [n: number]: { a: string; b: number; }; } = [{ a: '', b: 0, c: '' }, { a: "", b: 3,… variable
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp1593 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()
DStateChangeTest.cpp389 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/
DTransformFeedbackTest.cpp2319 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()
DWebGLCompatibilityTest.cpp2507 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()
DFramebufferTest.cpp3757 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()
DStateChangeTest.cpp451 EGLContext context1 = window->getContext(); in TEST_P() local
499 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
510 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java4955 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()