Home
last modified time | relevance | path

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

/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.cc458 CefRefPtr<CefRequestContext> context2 = in TEST() local
460 EXPECT_TRUE(context2.get()); in TEST()
482 ValidateGet(context2, event); in TEST()
557 CefRefPtr<CefRequestContext> context2 = in TEST() local
559 EXPECT_TRUE(context2.get()); in TEST()
580 ValidateGet(context2, event); in TEST()
/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/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/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.js61 const context2 = createContext({ }); constant
67 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/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/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_config.c313 char *context2; in hostapd_config_read_wpa_psk() local
354 context2 = NULL; in hostapd_config_read_wpa_psk()
355 name = str_token(token, "=", &context2); in hostapd_config_read_wpa_psk()
358 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()
DStateChangeTest.cpp479 EGLContext context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() local
480 ASSERT_NE(context2, EGL_NO_CONTEXT); in TEST_P()
481 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
504 eglMakeCurrent(display, surface, surface, context2); in TEST_P()
516 eglDestroyContext(display, context2); in TEST_P()
/third_party/libdrm/include/drm/
Dradeon_drm.h430 drm_radeon_context2_regs_t context2; member
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java5009 String context2[] = { in TestCharsetCallbacks() local
5022 for (int i = 0; i < context2.length; i++) { in TestCharsetCallbacks()
5026 …oderResult.malformedForLength(1), CharsetCallback.TO_U_CALLBACK_ESCAPE, context2[i]); // This call… in TestCharsetCallbacks()
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs37995 const context2 = contextStorage.getStore();
37996 if (typeof context2 === `undefined`)
37998 return context2.stdout.write(chunk, encoding, cb);
38002 const context2 = contextStorage.getStore();
38003 if (typeof context2 === `undefined`)
38005 return context2.stderr.write(chunk, encoding, cb);