Home
last modified time | relevance | path

Searched refs:ctx2 (Results 1 – 25 of 26) sorted by relevance

12

/external/libepoxy/test/
Dwgl_per_context_funcptrs.c47 static HGLRC ctx1, ctx2, current_context; variable
69 if (current_context != ctx2) { in override_glCreateShader_ctx2()
84 assert(current_context == ctx2); in override_wglGetProcAddress()
107 assert(ctx == ctx2); in test_createshader()
124 ctx2 = wglCreateContext(hdc); in test_function()
125 if (!ctx1 || !ctx2) { in test_function()
146 test_createshader(hdc, ctx2); in test_function()
147 test_createshader(hdc, ctx2); in test_function()
149 test_createshader(hdc, ctx2); in test_function()
153 wglDeleteContext(ctx2); in test_function()
/external/libchrome/crypto/
Dsecure_hash_unittest.cc57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone()); in TEST() local
58 std::unique_ptr<crypto::SecureHash> ctx3(ctx2->Clone()); in TEST()
66 ctx2->Update(input2.data(), input2.size()); in TEST()
67 ctx2->Finish(output2, sizeof(output2)); in TEST()
99 std::unique_ptr<crypto::SecureHash> ctx2( in TEST() local
102 ctx2->Update(input3.data(), input3.size()); in TEST()
103 ctx2->Finish(output2, sizeof(output2)); in TEST()
/external/llvm/test/CodeGen/BPF/
Dintrinsics.ll4 define i32 @ld_b(i64 %foo, i64* nocapture %bar, i8* %ctx, i8* %ctx2) #0 {
9 %5 = tail call i64 @llvm.bpf.load.byte(i8* %ctx2, i64 %foo) #2
23 define i32 @ld_h(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
26 %3 = tail call i64 @llvm.bpf.load.half(i8* %ctx2, i64 %2) #2
38 define i32 @ld_w(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
41 %3 = tail call i64 @llvm.bpf.load.word(i8* %ctx2, i64 %2) #2
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/BPF/
Dobjdump_intrinsics.ll5 define i32 @ld_b(i64 %foo, i64* nocapture %bar, i8* %ctx, i8* %ctx2) #0 {
10 %5 = tail call i64 @llvm.bpf.load.byte(i8* %ctx2, i64 %foo) #2
26 define i32 @ld_h(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
29 %3 = tail call i64 @llvm.bpf.load.half(i8* %ctx2, i64 %2) #2
43 define i32 @ld_w(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
46 %3 = tail call i64 @llvm.bpf.load.word(i8* %ctx2, i64 %2) #2
Dintrinsics.ll5 define i32 @ld_b(i64 %foo, i64* nocapture %bar, i8* %ctx, i8* %ctx2) #0 {
10 %5 = tail call i64 @llvm.bpf.load.byte(i8* %ctx2, i64 %foo) #2
26 define i32 @ld_h(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
29 %3 = tail call i64 @llvm.bpf.load.half(i8* %ctx2, i64 %2) #2
43 define i32 @ld_w(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
46 %3 = tail call i64 @llvm.bpf.load.word(i8* %ctx2, i64 %2) #2
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DExecutorsTest.kt83 val ctx2 = newSingleThreadContext("Ctx2") in <lambda>() constant
86 withContext(ctx2) { in <lambda>()
92 ctx2.close() in <lambda>()
/external/selinux/libsepol/src/
Dmls.c672 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local
674 ctx2 = malloc(sizeof(context_struct_t)); in sepol_mls_contains()
675 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains()
678 context_init(ctx2); in sepol_mls_contains()
683 if (mls_from_string(handle, &policydb->p, mls2, ctx2) < 0) in sepol_mls_contains()
686 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains()
688 context_destroy(ctx2); in sepol_mls_contains()
690 free(ctx2); in sepol_mls_contains()
700 context_destroy(ctx2); in sepol_mls_contains()
702 free(ctx2); in sepol_mls_contains()
Dkernel_to_conf.c2572 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local
2582 ctx2 = context_to_str(pdb, &netif->context[1]); in write_selinux_netif_rules_to_conf()
2583 if (!ctx2) { in write_selinux_netif_rules_to_conf()
2589 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf()
2592 free(ctx2); in write_selinux_netif_rules_to_conf()
Dkernel_to_cil.c2700 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local
2710 ctx2 = context_to_str(pdb, &netif->context[1]); in write_selinux_netif_rules_to_cil()
2711 if (!ctx2) { in write_selinux_netif_rules_to_cil()
2717 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2720 free(ctx2); in write_selinux_netif_rules_to_cil()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-context-04.kt14 newSingleThreadContext("Ctx2").use { ctx2 -> in <lambda>() method
17 withContext(ctx2) { in <lambda>()
/external/boringssl/src/crypto/cmac/
Dcmac_test.cc65 bssl::UniquePtr<CMAC_CTX> ctx2(CMAC_CTX_new()); in test() local
66 ASSERT_TRUE(ctx2); in test()
67 ASSERT_TRUE(CMAC_CTX_copy(ctx2.get(), ctx.get())); in test()
68 ASSERT_TRUE(CMAC_Update(ctx2.get(), msg + chunk, msg_len - chunk)); in test()
70 ASSERT_TRUE(CMAC_Final(ctx2.get(), out, &out_len)); in test()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_context.c96 struct stw_context *ctx2; in DrvShareLists() local
105 ctx2 = stw_lookup_context_locked( dhglrc2 ); in DrvShareLists()
107 if (ctx1 && ctx2 && ctx2->st->share) { in DrvShareLists()
108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists()
110 ctx2->shared = TRUE; in DrvShareLists()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc309 SHA256_CTX ctx2; in TEST() local
310 SHA256_Init(&ctx2); in TEST()
311 SHA256_TransformBlocks(ctx2.h, blocks, sizeof(blocks) / SHA256_CBLOCK); in TEST()
313 EXPECT_TRUE(0 == OPENSSL_memcmp(ctx1.h, ctx2.h, sizeof(ctx1.h))); in TEST()
/external/python/cpython3/Lib/test/
Dtest_context.py148 ctx2 = contextvars.Context()
157 ctx2.run(func2)
253 ctx2 = contextvars.copy_context()
254 self.assertNotIn(c, ctx2)
256 ctx2[c]
257 self.assertEqual(ctx2.get(c, 'aa'), 'aa')
258 self.assertEqual(len(ctx2), 0)
259 self.assertEqual(list(ctx2), [])
325 ctx2 = ctx1.copy()
326 self.assertEqual(ctx2[c], 10)
[all …]
Dtest_ssl.py2140 ctx2 = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2141 ctx2.load_verify_locations(capath=CAPATH)
2147 ss.context = ctx2
2148 self.assertIs(ss.context, ctx2)
2149 self.assertIs(ss._sslobj.context, ctx2)
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.h516 void (*cb)(void *ctx1, void *ctx2),
517 void *ctx1, void *ctx2);
519 void (*cb)(void *ctx1, void *ctx2),
520 void *ctx1, void *ctx2);
522 void (*cb)(void *ctx1, void *ctx2),
523 void *ctx1, void *ctx2);
Dwpa_auth_i.h165 void (*eapol_status_cb)(void *ctx1, void *ctx2);
Dwpa_auth.c5234 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m1() argument
5235 void *ctx1, void *ctx2) in wpa_auth_resend_m1()
5256 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m3() argument
5257 void *ctx1, void *ctx2) in wpa_auth_resend_m3()
5435 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_group_m1() argument
5436 void *ctx1, void *ctx2) in wpa_auth_resend_group_m1()
5485 sm->eapol_status_cb_ctx2 = ctx2; in wpa_auth_resend_group_m1()
/external/u-boot/arch/x86/cpu/i386/
Dinterrupt.c101 cs = regs->context.ctx2.xcs; in dump_regs()
102 eip = regs->context.ctx2.eip; in dump_regs()
103 eflags = regs->context.ctx2.eflags; in dump_regs()
/external/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc183 bssl::ScopedEVP_CIPHER_CTX ctx2; in TestOperation() local
186 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation()
187 ctx = ctx2.get(); in TestOperation()
/external/u-boot/arch/x86/include/asm/
Dptrace.h77 } ctx2; member
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerImplTest.java713 Context ctx2 = capturedContexts.poll(); in interceptors() local
714 assertEquals("value1", key1.get(ctx2)); in interceptors()
715 assertEquals("value2", key2.get(ctx2)); in interceptors()
716 assertNull(key3.get(ctx2)); in interceptors()
/external/python/cpython2/Lib/test/
Dtest_ssl.py1630 ctx2 = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1636 ss.context = ctx2
1637 self.assertIs(ss.context, ctx2)
1638 self.assertIs(ss._sslobj.context, ctx2)
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java471 …static native int X509_check_issued(long ctx, OpenSSLX509Certificate holder, long ctx2, OpenSSLX50… in X509_check_issued() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java485 …static native int X509_check_issued(long ctx, OpenSSLX509Certificate holder, long ctx2, OpenSSLX50… in X509_check_issued() argument

12