/external/libepoxy/test/ |
D | wgl_per_context_funcptrs.c | 47 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/openscreen/util/crypto/ |
D | secure_hash_unittest.cc | 53 SecureHash ctx2 = ctx1; in TEST() local 54 std::vector<uint8_t> output2(ctx2.GetHashLength()); in TEST() 66 ctx2.Update(input2); in TEST() 67 ctx2.Finish(output2.data()); in TEST() 94 SecureHash ctx2(EVP_sha256()); in TEST() local 95 std::vector<uint8_t> output2(ctx2.GetHashLength()); in TEST() 97 ctx2.Update(input3); in TEST() 98 ctx2.Finish(output2.data()); in TEST()
|
/external/libchrome/crypto/ |
D | secure_hash_unittest.cc | 57 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-project/mlir/test/Bindings/Python/ |
D | context_managers.py | 39 with Context() as ctx2: 40 assert Context.current is ctx2 84 with Context() as ctx2: 85 assert Context.current is ctx2
|
/external/llvm/test/CodeGen/BPF/ |
D | intrinsics.ll | 4 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/llvm-project/llvm/test/CodeGen/BPF/ |
D | objdump_intrinsics.ll | 5 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
|
D | intrinsics.ll | 5 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/ |
D | ExecutorsTest.kt | 87 val ctx2 = newSingleThreadContext("Ctx2") in <lambda>() constant 90 withContext(ctx2) { in <lambda>() 96 ctx2.close() in <lambda>()
|
/external/selinux/libsepol/src/ |
D | mls.c | 672 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()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-context-04.kt | 14 newSingleThreadContext("Ctx2").use { ctx2 -> in <lambda>() method 17 withContext(ctx2) { in <lambda>()
|
/external/boringssl/src/crypto/cmac/ |
D | cmac_test.cc | 65 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/rust/crates/quiche/deps/boringssl/src/crypto/cmac/ |
D | cmac_test.cc | 65 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/ |
D | stw_context.c | 96 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/ |
D | digest_test.cc | 309 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/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/ |
D | digest_test.cc | 304 SHA256_CTX ctx2; in TEST() local 305 SHA256_Init(&ctx2); in TEST() 306 SHA256_TransformBlocks(ctx2.h, blocks, sizeof(blocks) / SHA256_CBLOCK); in TEST() 308 EXPECT_TRUE(0 == OPENSSL_memcmp(ctx1.h, ctx2.h, sizeof(ctx1.h))); in TEST()
|
/external/python/cpython3/Lib/test/ |
D | test_context.py | 148 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 …]
|
/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/libchrome/base/trace_event/ |
D | heap_profiler_allocation_context_tracker_unittest.cc | 327 AllocationContext ctx2; in TEST_F() local 329 ->GetContextSnapshot(&ctx2)); in TEST_F() 330 ASSERT_EQ(kContext2, ctx2.type_name); in TEST_F()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 190 bssl::ScopedEVP_CIPHER_CTX ctx2; in TestOperation() local 193 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation() 194 ctx = ctx2.get(); in TestOperation()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 190 bssl::ScopedEVP_CIPHER_CTX ctx2; in TestOperation() local 193 ASSERT_TRUE(EVP_CIPHER_CTX_copy(ctx2.get(), ctx1.get())); in TestOperation() 194 ctx = ctx2.get(); in TestOperation()
|
/external/angle/src/tests/gl_tests/ |
D | MultithreadingTest.cpp | 239 EGLContext ctx2 = window->createContext(EGL_NO_CONTEXT); in TEST_P() local 241 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx2)); in TEST_P() 244 EXPECT_EGL_TRUE(eglDestroyContext(dpy, ctx2)); 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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ServerImplTest.java | 713 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/llvm-project/mlir/include/mlir-c/ |
D | IR.h | 86 MLIR_CAPI_EXPORTED bool mlirContextEqual(MlirContext ctx1, MlirContext ctx2);
|