/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/openscreen/util/crypto/ |
D | secure_hash_unittest.cc | 49 SecureHash ctx1(EVP_sha256()); in TEST() local 50 std::vector<uint8_t> output1(ctx1.GetHashLength()); in TEST() 51 ctx1.Update(input1); in TEST() 53 SecureHash ctx2 = ctx1; in TEST() 56 SecureHash ctx3 = ctx1; in TEST() 63 ctx1.Update(input2); in TEST() 64 ctx1.Finish(output1.data()); in TEST() 87 SecureHash ctx1(EVP_sha256()); in TEST() local 88 std::vector<uint8_t> output1(ctx1.GetHashLength()); in TEST() 89 ctx1.Update(input1); in TEST() [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/llvm-project/mlir/test/Bindings/Python/ |
D | context_managers.py | 29 ctx1 = Context() 30 with Location.unknown(ctx1) as loc1: 31 assert Context.current is ctx1 35 with ctx1: 36 assert Context.current is ctx1 47 assert Context.current is ctx1 63 ctx1 = Context() 64 m = Module.create(Location.unknown(ctx1)) 70 with Location.unknown(ctx1) as loc1: 80 with ctx1:
|
/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 | 86 val ctx1 = newSingleThreadContext("Ctx1") in <lambda>() constant 88 runBlocking(ctx1) { in <lambda>() 95 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/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 …]
|
/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/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/ |
D | digest_test.cc | 300 SHA256_CTX ctx1; in TEST() local 301 SHA256_Init(&ctx1); in TEST() 302 SHA256_Update(&ctx1, blocks, sizeof(blocks)); in TEST() 308 EXPECT_TRUE(0 == OPENSSL_memcmp(ctx1.h, ctx2.h, sizeof(ctx1.h))); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 178 bssl::ScopedEVP_CIPHER_CTX ctx1; in TestOperation() local 179 ASSERT_TRUE(EVP_CipherInit_ex(ctx1.get(), cipher, nullptr, nullptr, nullptr, in TestOperation() 183 ASSERT_TRUE(EVP_CIPHER_CTX_ctrl(ctx1.get(), EVP_CTRL_AEAD_SET_IVLEN, in TestOperation() 186 ASSERT_EQ(iv.size(), EVP_CIPHER_CTX_iv_length(ctx1.get())); in TestOperation() 191 EVP_CIPHER_CTX *ctx = ctx1.get(); in TestOperation() 193 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 178 bssl::ScopedEVP_CIPHER_CTX ctx1; in TestOperation() local 179 ASSERT_TRUE(EVP_CipherInit_ex(ctx1.get(), cipher, nullptr, nullptr, nullptr, in TestOperation() 183 ASSERT_TRUE(EVP_CIPHER_CTX_ctrl(ctx1.get(), EVP_CTRL_AEAD_SET_IVLEN, in TestOperation() 186 ASSERT_EQ(iv.size(), EVP_CIPHER_CTX_iv_length(ctx1.get())); in TestOperation() 191 EVP_CIPHER_CTX *ctx = ctx1.get(); in TestOperation() 193 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.h | 550 void (*cb)(void *ctx1, void *ctx2), 551 void *ctx1, void *ctx2); 553 void (*cb)(void *ctx1, void *ctx2), 554 void *ctx1, void *ctx2); 556 void (*cb)(void *ctx1, void *ctx2), 557 void *ctx1, void *ctx2);
|
D | wpa_auth_i.h | 166 void (*eapol_status_cb)(void *ctx1, void *ctx2);
|
/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/libchrome/base/trace_event/ |
D | heap_profiler_allocation_context_tracker_unittest.cc | 320 AllocationContext ctx1; in TEST_F() local 322 ->GetContextSnapshot(&ctx1)); in TEST_F() 323 ASSERT_EQ(kContext1, ctx1.type_name); in TEST_F()
|
/external/angle/src/tests/gl_tests/ |
D | MultithreadingTest.cpp | 238 EGLContext ctx1 = window->createContext(EGL_NO_CONTEXT); in TEST_P() local 242 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx1)); in TEST_P() 245 EXPECT_EGL_TRUE(eglDestroyContext(dpy, ctx1)); in TEST_P()
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | IR.cpp | 34 bool mlirContextEqual(MlirContext ctx1, MlirContext ctx2) { in mlirContextEqual() argument 35 return unwrap(ctx1) == unwrap(ctx2); in mlirContextEqual()
|
/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/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()
|