Home
last modified time | relevance | path

Searched refs:context2 (Results 1 – 25 of 27) sorted by relevance

12

/third_party/cef/tests/ceftests/
Drequest_context_unittest.cc21 CefRefPtr<CefRequestContext> context2 = CefRequestContext::GetGlobalContext(); in TEST() local
22 EXPECT_TRUE(context2.get()); in TEST()
23 EXPECT_TRUE(context2->IsGlobal()); in TEST()
24 EXPECT_TRUE(context2->IsSame(context2)); in TEST()
25 EXPECT_TRUE(context2->IsSharingWith(context2)); 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()
54 CefRefPtr<CefRequestContext> context2 = in TEST() local
[all …]
Dpreference_unittest.cc457 CefRefPtr<CefRequestContext> context2 = in TEST() local
459 EXPECT_TRUE(context2.get()); in TEST()
481 ValidateGet(context2, event); in TEST()
556 CefRefPtr<CefRequestContext> context2 = in TEST() local
558 EXPECT_TRUE(context2.get()); in TEST()
579 ValidateGet(context2, event); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp643 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
650 MakeUnique<FactManager>(context2.get()), validator_options); in TEST()
740 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
742 ApplyAndCheckFreshIds(add_livesafe_function, context2.get(), in TEST()
745 context2.get(), validator_options, kConsoleMessageConsumer)); in TEST()
751 context2.get(), transformation_context2, 30, 100)); in TEST()
811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
869 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
876 MakeUnique<FactManager>(context2.get()), validator_options); in TEST()
927 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dtransformation_add_function_test.cpp643 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
650 MakeUnique<FactManager>(context2.get()), validator_options); in TEST()
740 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
742 ApplyAndCheckFreshIds(add_livesafe_function, context2.get(), in TEST()
745 context2.get(), validator_options, kConsoleMessageConsumer)); in TEST()
751 context2.get(), transformation_context2, 30, 100)); in TEST()
811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST()
869 const auto context2 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
876 MakeUnique<FactManager>(context2.get()), validator_options); in TEST()
927 ASSERT_TRUE(add_livesafe_function.IsApplicable(context2.get(), in TEST()
[all …]
/third_party/selinux/libselinux/src/
Dprocattr.c219 char **prev_context, *context2 = NULL; in setprocattrcon_raw() local
256 context2 = strdup(context); in setprocattrcon_raw()
257 if (!context2) in setprocattrcon_raw()
260 ret = write(fd, context2, strlen(context2) + 1); in setprocattrcon_raw()
272 free(context2); in setprocattrcon_raw()
277 *prev_context = context2; in setprocattrcon_raw()
/third_party/libsoup/tests/
Dcontext-test.c264 GMainContext *context1, *context2; in do_multicontext_test() local
275 context2 = g_main_context_new (); in do_multicontext_test()
276 loop2 = g_main_loop_new (context2, FALSE); in do_multicontext_test()
287 g_main_context_push_thread_default (context2); in do_multicontext_test()
291 g_main_context_pop_thread_default (context2); in do_multicontext_test()
302 g_main_context_push_thread_default (context2); in do_multicontext_test()
304 g_main_context_pop_thread_default (context2); in do_multicontext_test()
326 g_main_context_unref (context2); in do_multicontext_test()
/third_party/boost/libs/compute/test/
Dtest_context.cpp47 boost::compute::context context2(std::move(context1)); in BOOST_AUTO_TEST_CASE() local
48 BOOST_VERIFY(cl_context(context2) != cl_context()); in BOOST_AUTO_TEST_CASE()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDisplayPowerPreferenceTest.cpp220 EGLContext context2; in runMultiDisplay() local
222 initializeContextForDisplay(display2, &context2); in runMultiDisplay()
223 eglMakeCurrent(display2, EGL_NO_SURFACE, EGL_NO_SURFACE, context2); in runMultiDisplay()
235 terminateContext(display2, context2); in runMultiDisplay()
DEGLSyncTest.cpp381 EGLContext context2 = getEGLWindow()->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P() local
382 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, context2)); in TEST_P()
412 EXPECT_EGL_TRUE(eglDestroyContext(display, context2)); in TEST_P()
465 EGLContext context2 = getEGLWindow()->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P() local
466 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, context2)); in TEST_P()
505 EXPECT_EGL_TRUE(eglDestroyContext(display, context2)); in TEST_P()
DEGLMultiContextTest.cpp117 EGLContext context2 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P() local
120 EXPECT_EGL_TRUE(eglDestroyContext(dpy, context2)); in TEST_P()
/third_party/typescript/tests/baselines/reference/
DarrayLiterals.js26 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }]; variable
73 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }]; variable
DarrayLiterals.symbols57 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }];
58 >context2 : Symbol(context2, Decl(arrayLiterals.ts, 24, 3))
DarrayLiterals.types100 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }];
101 >context2 : ({ a: string; b: number; c: string; } | { a: string; b: number; c: number; })[]
DarrayLiterals.errors.txt40 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }];
/third_party/node/test/parallel/
Dtest-vm-module-basic.js60 const context2 = createContext({ }); constant
66 const m3 = new SourceTextModule('3', { context: context2 });
/third_party/typescript/tests/cases/conformance/expressions/arrayLiterals/
DarrayLiterals.ts25 var context2 = [{ a: '', b: 0, c: '' }, { a: "", b: 3, c: 0 }]; variable
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp1594 auto context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() local
1595 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
1597 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
1614 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
1641 eglDestroyContext(display, context2); in TEST_P()
DStateChangeTest.cpp417 EGLContext context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() local
418 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
419 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
442 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
454 eglDestroyContext(display, context2); in TEST_P()
/third_party/grpc/test/cpp/interop/
Dinterop_client.cc914 ClientContext context2; in DoCacheableUnary() local
916 context2.set_cacheable(true); in DoCacheableUnary()
917 context2.AddMetadata("x-user-ip", "1.2.3.4"); in DoCacheableUnary()
919 serviceStub_.Get()->CacheableUnaryCall(&context2, request, &response2); in DoCacheableUnary()
920 if (!AssertStatusOk(s2, context2.debug_error_string())) { in DoCacheableUnary()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_config.c283 char *context2; in hostapd_config_read_wpa_psk() local
323 context2 = NULL; in hostapd_config_read_wpa_psk()
324 name = str_token(token, "=", &context2); in hostapd_config_read_wpa_psk()
327 value = str_token(token, "", &context2); in hostapd_config_read_wpa_psk()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_config.c283 char *context2; in hostapd_config_read_wpa_psk() local
323 context2 = NULL; in hostapd_config_read_wpa_psk()
324 name = str_token(token, "=", &context2); in hostapd_config_read_wpa_psk()
327 value = str_token(token, "", &context2); in hostapd_config_read_wpa_psk()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp2320 auto context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() local
2321 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
2323 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
2340 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
2367 eglDestroyContext(display, context2); in TEST_P()
DWebGLCompatibilityTest.cpp2509 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P() local
2510 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
2511 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
2547 eglDestroyContext(display, context2); in TEST_P()
DFramebufferTest.cpp3759 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P() local
3760 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
3761 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
3805 eglDestroyContext(display, context2); in TEST_P()
/third_party/libdrm/include/drm/
Dradeon_drm.h430 drm_radeon_context2_regs_t context2; member

12