/external/openssh/ |
D | md5crypt.c | 57 MD5_CTX ctx, ctx1; in md5_crypt() local 92 MD5_Init(&ctx1); in md5_crypt() 93 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt() 94 MD5_Update(&ctx1, sp, sl); in md5_crypt() 95 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt() 96 MD5_Final(final, &ctx1); in md5_crypt() 122 MD5_Init(&ctx1); in md5_crypt() 124 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt() 126 MD5_Update(&ctx1, final, 16); in md5_crypt() 129 MD5_Update(&ctx1, sp, sl); in md5_crypt() [all …]
|
/external/libepoxy/test/ |
D | wgl_per_context_funcptrs.c | 47 static HGLRC ctx1, ctx2, current_context; variable 59 if (current_context != ctx1) { in override_glCreateShader_ctx1() 81 if (current_context == ctx1) { in override_wglGetProcAddress() 103 if (ctx == ctx1) { in test_createshader() 123 ctx1 = wglCreateContext(hdc); in test_function() 125 if (!ctx1 || !ctx2) { in test_function() 130 if (!wglMakeCurrent(hdc, ctx1)) { in test_function() 144 test_createshader(hdc, ctx1); in test_function() 145 test_createshader(hdc, ctx1); in test_function() 148 test_createshader(hdc, ctx1); in test_function() [all …]
|
/external/libchrome/crypto/ |
D | secure_hash_unittest.cc | 53 std::unique_ptr<crypto::SecureHash> ctx1( in TEST() local 55 ctx1->Update(input1.data(), input1.size()); in TEST() 57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone()); in TEST() 63 ctx1->Update(input2.data(), input2.size()); in TEST() 64 ctx1->Finish(output1, sizeof(output1)); in TEST() 92 std::unique_ptr<crypto::SecureHash> ctx1( in TEST() local 94 ctx1->Update(input1.data(), input1.size()); in TEST() 95 ctx1->Update(input2.data(), input2.size()); in TEST() 96 ctx1->Finish(output1, sizeof(output1)); in TEST()
|
/external/adhd/cras/src/tests/ |
D | dsp_unittest.cc | 62 struct cras_dsp_context *ctx1, *ctx3, *ctx4; in TEST_F() local 63 ctx1 = cras_dsp_context_new(44100, "playback"); /* wrong purpose */ in TEST_F() 67 cras_dsp_set_variable_string(ctx1, "variable", "foo"); in TEST_F() 71 cras_dsp_load_pipeline(ctx1); in TEST_F() 76 ASSERT_EQ(NULL, cras_dsp_get_pipeline(ctx1)); in TEST_F() 93 cras_dsp_context_free(ctx1); in TEST_F()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_spin_batch.c | 77 const uint32_t ctx1 = (flags & RESUBMIT_NEW_CTX) ? in spin_resubmit() local 85 .rsvd1 = ctx1, in spin_resubmit() 93 if (ctx0 != ctx1) in spin_resubmit() 94 gem_context_set_all_engines(fd, ctx1); in spin_resubmit() 96 for_each_context_engine(fd, ctx1, other) { in spin_resubmit() 114 if (ctx1 != ctx0) in spin_resubmit() 115 gem_context_destroy(fd, ctx1); in spin_resubmit()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ExecutorsTest.kt | 82 val ctx1 = newSingleThreadContext("Ctx1") in <lambda>() constant 84 runBlocking(ctx1) { in <lambda>() 91 ctx1.close() in <lambda>()
|
/external/selinux/libsepol/src/ |
D | mls.c | 672 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local 673 ctx1 = malloc(sizeof(context_struct_t)); in sepol_mls_contains() 675 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains() 677 context_init(ctx1); in sepol_mls_contains() 680 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0) in sepol_mls_contains() 686 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains() 687 context_destroy(ctx1); in sepol_mls_contains() 689 free(ctx1); in sepol_mls_contains() 699 context_destroy(ctx1); in sepol_mls_contains() 701 free(ctx1); in sepol_mls_contains()
|
D | kernel_to_conf.c | 2572 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local 2577 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_conf() 2578 if (!ctx1) { in write_selinux_netif_rules_to_conf() 2584 free(ctx1); 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() 2591 free(ctx1); in write_selinux_netif_rules_to_conf()
|
D | kernel_to_cil.c | 2700 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local 2705 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_cil() 2706 if (!ctx1) { in write_selinux_netif_rules_to_cil() 2712 free(ctx1); 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() 2719 free(ctx1); in write_selinux_netif_rules_to_cil()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-context-04.kt | 13 newSingleThreadContext("Ctx1").use { ctx1 -> in <lambda>() method 15 runBlocking(ctx1) { in <lambda>()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 171 bssl::ScopedEVP_CIPHER_CTX ctx1; in TestOperation() local 172 ASSERT_TRUE(EVP_CipherInit_ex(ctx1.get(), cipher, nullptr, nullptr, nullptr, in TestOperation() 176 ASSERT_TRUE(EVP_CIPHER_CTX_ctrl(ctx1.get(), EVP_CTRL_AEAD_SET_IVLEN, in TestOperation() 179 ASSERT_EQ(iv.size(), EVP_CIPHER_CTX_iv_length(ctx1.get())); in TestOperation() 184 EVP_CIPHER_CTX *ctx = ctx1.get(); in TestOperation() 186 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation()
|
/external/python/cpython3/Lib/test/ |
D | test_context.py | 147 ctx1 = contextvars.Context() 165 returned_ctx = ctx1.run(func1) 166 self.assertEqual(ctx1, returned_ctx) 236 ctx1 = contextvars.copy_context() 237 self.assertIn(c, ctx1) 244 self.assertIn(c, ctx1) 245 self.assertEqual(ctx1[c], 'spam2') 246 self.assertEqual(ctx1.get(c, 'aa'), 'spam2') 247 self.assertEqual(len(ctx1), 1) 248 self.assertEqual(list(ctx1.items()), [(c, 'spam2')]) [all …]
|
D | test_ssl.py | 2138 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) 2139 ctx1.load_verify_locations(capath=CAPATH) 2143 with ctx1.wrap_socket(s, server_hostname='localhost') as ss: 2145 self.assertIs(ss.context, ctx1) 2146 self.assertIs(ss._sslobj.context, ctx1)
|
/external/boringssl/src/crypto/digest_extra/ |
D | digest_test.cc | 305 SHA256_CTX ctx1; in TEST() local 306 SHA256_Init(&ctx1); in TEST() 307 SHA256_Update(&ctx1, blocks, sizeof(blocks)); in TEST() 313 EXPECT_TRUE(0 == OPENSSL_memcmp(ctx1.h, ctx2.h, sizeof(ctx1.h))); in TEST()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.h | 516 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);
|
D | wpa_auth_i.h | 165 void (*eapol_status_cb)(void *ctx1, void *ctx2);
|
D | wpa_auth.c | 5234 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() 5484 sm->eapol_status_cb_ctx1 = ctx1; in wpa_auth_resend_group_m1()
|
/external/mesa3d/src/gallium/frontends/wgl/ |
D | stw_context.c | 95 struct stw_context *ctx1; in DrvShareLists() local 104 ctx1 = stw_lookup_context_locked( dhglrc1 ); in DrvShareLists() 107 if (ctx1 && ctx2 && ctx2->st->share) { in DrvShareLists() 108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists() 109 ctx1->shared = TRUE; in DrvShareLists()
|
/external/u-boot/arch/x86/cpu/i386/ |
D | interrupt.c | 108 cs = regs->context.ctx1.xcs; in dump_regs() 109 eip = regs->context.ctx1.eip; in dump_regs() 110 eflags = regs->context.ctx1.eflags; in dump_regs()
|
/external/u-boot/arch/x86/include/asm/ |
D | ptrace.h | 71 } ctx1; member
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ServerImplTest.java | 708 Context ctx1 = capturedContexts.poll(); in interceptors() local 709 assertEquals("value1", key1.get(ctx1)); in interceptors() 710 assertNull(key2.get(ctx1)); in interceptors() 711 assertNull(key3.get(ctx1)); in interceptors()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 328 const int ctx1 = vp9_get_pred_context_single_ref_p2(xd); in read_ref_frames() local 329 const int bit1 = vpx_read(r, fc->single_ref_prob[ctx1][1]); in read_ref_frames() 330 if (counts) ++counts->single_ref[ctx1][1][bit1]; in read_ref_frames()
|
/external/libaom/libaom/av1/encoder/ |
D | interp_search.c | 451 const int ctx1 = av1_get_pred_context_switchable_interp(xd, 1); in find_best_non_dual_interp_filter() local 455 cpi->frame_probs.switchable_interp_probs[update_type][ctx1]; in find_best_non_dual_interp_filter()
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 1629 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLSv1) 1632 with closing(ctx1.wrap_socket(s)) as ss: 1634 self.assertIs(ss.context, ctx1) 1635 self.assertIs(ss._sslobj.context, ctx1)
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 2332 static void restore_tk(void *ctx1, void *ctx2) in restore_tk() argument 2334 struct hostapd_data *hapd = ctx1; in restore_tk()
|