/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | coverage-module-unloaded.cpp | 33 void *handle2 = dlopen(argv[2], RTLD_LAZY); // %dynamiclib2 in main() local 34 assert(handle2); in main() 35 void (*bar2)() = (void (*)())dlsym(handle2, "bar"); in main() 42 dlclose(bar1 < bar2 ? handle1 : handle2); in main() 44 dlclose(bar1 < bar2 ? handle2 : handle1); in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | coverage-module-unloaded.cc | 33 void *handle2 = dlopen(argv[2], RTLD_LAZY); // %dynamiclib2 in main() local 34 assert(handle2); in main() 35 void (*bar2)() = (void (*)())dlsym(handle2, "bar"); in main() 42 dlclose(bar1 < bar2 ? handle1 : handle2); in main() 44 dlclose(bar1 < bar2 ? handle2 : handle1); in main()
|
/external/curl/tests/libtest/ |
D | lib674.c | 35 CURL *handle2; in test() local 70 handle2 = curl_easy_duphandle(handle); in test() 71 res = curl_easy_perform(handle2); in test() 72 curl_easy_cleanup(handle2); in test()
|
D | lib544.c | 77 CURL *handle2; in test() local 78 handle2 = curl_easy_duphandle(curl); in test() 81 curl = handle2; in test()
|
/external/rust/crates/tokio/tests/ |
D | sync_once_cell.rs | 59 let handle2 = rt.spawn(async { ONCE.get_or_init(func2).await }); in get_or_init() localVariable 65 let result2 = handle2.await.unwrap(); in get_or_init() 85 let handle2 = rt.spawn(async { ONCE.get_or_init(func_panic).await }); in get_or_init_panic() localVariable 90 let result2 = handle2.await.unwrap(); in get_or_init_panic() 143 let handle2 = rt.spawn(async { advance_time_and_set(&ONCE, 10).await }); in set_while_initializing() localVariable 148 let result2 = handle2.await.unwrap(); in set_while_initializing() 167 let handle2 = rt.spawn(async { ONCE.get_or_try_init(func_ok).await }); in get_or_try_init() localVariable 175 let result2 = handle2.await.unwrap(); in get_or_try_init()
|
/external/perfetto/src/profiling/memory/ |
D | system_property_unittest.cc | 53 { auto handle2 = prop.SetAll(); } in TEST() local 78 auto handle2 = prop.SetProperty("system_server"); in TEST() local 94 { auto handle2 = prop.SetProperty("system_server"); } in TEST() local 109 { auto handle2 = prop.SetProperty("system_server"); } in TEST() local 126 auto handle2 = prop.SetProperty("system_server"); in TEST() local
|
/external/igt-gpu-tools/tests/i915/ |
D | i915_suspend.c | 49 uint32_t handle1, handle2, handle_tiled; in test_fence_restore() local 56 handle2 = gem_create(fd, OBJECT_SIZE); in test_fence_restore() 74 ptr2 = gem_mmap__gtt(fd, handle2, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_fence_restore() 75 gem_set_domain(fd, handle2, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT); in test_fence_restore() 100 gem_close(fd, handle2); in test_fence_restore()
|
D | gem_userptr_blits.c | 641 uint32_t handle1 = 0, handle2 = 0; in test_forked_access() local 657 gem_userptr(fd, ptr2, sizeof(linear), 0, userptr_flags, &handle2); in test_forked_access() 659 igt_assert(handle2); in test_forked_access() 665 igt_assert_eq(copy(fd, handle1, handle2), 0); in test_forked_access() 669 gem_userptr_sync(fd, handle2); in test_forked_access() 672 gem_close(fd, handle2); in test_forked_access() 870 check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2) in check_bo() argument 875 ptr2 = umap(fd2, handle2); in check_bo() 1536 uint32_t handle, handle2; in test_overlap() local 1543 ret = __gem_userptr(fd, ptr, PAGE_SIZE, 0, userptr_flags, &handle2); in test_overlap() [all …]
|
/external/igt-gpu-tools/tests/ |
D | prime_self_import.c | 57 check_bo(int fd1, uint32_t handle1, int fd2, uint32_t handle2) in check_bo() argument 64 ptr2 = gem_mmap__cpu(fd2, handle2, 0, BO_SIZE, PROT_READ | PROT_WRITE); in check_bo() 67 gem_set_domain(fd2, handle2, I915_GEM_DOMAIN_CPU, I915_GEM_DOMAIN_CPU); in check_bo() 115 uint32_t handle1, handle2, handle_import; in test_with_two_bos() local 124 handle2 = gem_create(fd1, BO_SIZE); in test_with_two_bos() 132 dma_buf_fd = prime_handle_to_fd(fd1, handle2); in test_with_two_bos() 134 check_bo(fd1, handle2, fd2, handle_import); in test_with_two_bos() 136 gem_close(fd1, handle2); in test_with_two_bos()
|
D | prime_mmap.c | 448 uint32_t handle1, handle2; in test_aperture_limit() local 462 handle2 = gem_create(fd, size1); in test_aperture_limit() 463 fill_bo(handle2, BO_SIZE); in test_aperture_limit() 464 dma_buf_fd2 = prime_handle_to_fd(fd, handle2); in test_aperture_limit() 477 gem_close(fd, handle2); in test_aperture_limit()
|
/external/openscreen/platform/impl/ |
D | socket_handle_waiter_posix_unittest.cc | 53 SocketHandle handle2{2}; in TEST() local 56 const SocketHandle& handle2_ref = handle2; in TEST() 74 SocketHandle handle2{2}; in TEST() local 78 const SocketHandle& handle2_ref = handle2; in TEST()
|
/external/curl/lib/ |
D | urlapi.c | 1327 CURLU *handle2; in curl_url_set() local 1330 handle2 = curl_url(); in curl_url_set() 1331 if(!handle2) in curl_url_set() 1333 result = parseurl(part, handle2, flags); in curl_url_set() 1335 mv_urlhandle(handle2, u); in curl_url_set() 1337 curl_url_cleanup(handle2); in curl_url_set() 1344 handle2 = curl_url(); in curl_url_set() 1345 if(!handle2) in curl_url_set() 1347 result = parseurl(part, handle2, flags); in curl_url_set() 1349 mv_urlhandle(handle2, u); in curl_url_set() [all …]
|
/external/tpm2-tss/test/integration/ |
D | session-util.h | 52 TPM2_HANDLE handle2, 98 TPM2_HANDLE handle2, 107 TPM2_HANDLE handle2,
|
D | sapi-session-util.c | 108 TPM2_HANDLE handle2, in compute_session_auth() argument 122 rval = tpm_calc_phash(sysContext, handle1, handle2, handle3, in compute_session_auth() 167 TPM2_HANDLE handle2, in compute_command_hmac() argument 171 TPM2_HANDLE handles[3] = {handle1, handle2, handle3}; in compute_command_hmac() 206 handle2, in compute_command_hmac() 219 TPM2_HANDLE handle2, in check_response_hmac() argument 223 TPM2_HANDLE handles[3] = {handle1, handle2, handle3}; in check_response_hmac() 258 handle2, in check_response_hmac() 343 TPM2_HANDLE handle2, in tpm_calc_phash() argument 373 rval = tpm_handle_to_name(tcti_context, handle2, &name2); in tpm_calc_phash()
|
/external/perfetto/src/protozero/ |
D | message_unittest.cc | 342 MessageHandle<FakeRootMessage> handle2(ignored_msg); in TEST_F() local 343 handle2 = MessageHandle<FakeRootMessage>(msg2); in TEST_F() 344 handle2->AppendBytes(1 /* field_id */, kTestBytes, 2 /* size */); in TEST_F() 350 handle_swp = std::move(handle2); in TEST_F() 417 MessageHandle<FakeRootMessage> handle2{}; in TEST_F() local 419 handle2 = std::move(handle1); in TEST_F()
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | cordz_handle_test.cc | 128 auto* handle2 = new CordzHandle(); in TEST() local 130 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle2)); in TEST() 132 EXPECT_TRUE(snapshot2.DiagnosticsHandleIsSafeToInspect(handle2)); in TEST() 134 CordzHandle::Delete(handle2); in TEST()
|
/external/libchrome/mojo/public/java/system/ |
D | core_impl.cc | 42 MojoHandle handle2; in JNI_CoreImpl_CreateMessagePipe() local 43 MojoResult result = MojoCreateMessagePipe(options, &handle1, &handle2); in JNI_CoreImpl_CreateMessagePipe() 44 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in JNI_CoreImpl_CreateMessagePipe() 62 MojoHandle handle2; in JNI_CoreImpl_CreateDataPipe() local 63 MojoResult result = MojoCreateDataPipe(options, &handle1, &handle2); in JNI_CoreImpl_CreateDataPipe() 64 return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2); in JNI_CoreImpl_CreateDataPipe()
|
/external/sfntly/cpp/src/test/ |
D | lock_test.cc | 214 PlatformThreadHandle handle2 = kNullThreadHandle; in MutexFourThreads() local 218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads() 224 PlatformThread::Join(handle2); in MutexFourThreads()
|
/external/libchrome/base/synchronization/ |
D | lock_unittest.cc | 241 PlatformThreadHandle handle2; in TEST() local 245 ASSERT_TRUE(PlatformThread::Create(0, &thread2, &handle2)); in TEST() 251 PlatformThread::Join(handle2); in TEST()
|
/external/llvm/test/Transforms/LICM/ |
D | scalar_promote.ll | 81 %handle2 = alloca i8* 87 store i8* %tmp, i8** %handle2 92 %offsetx2 = load i8*, i8** %handle2 95 store i8* %newoffsetx2, i8** %handle2 100 ; Should have promoted 'handle2' accesses.
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 394 tjhandle handle2 = tjInitCompress(); in compTest() local 396 if (!handle2) THROW_TJ(); in compTest() 404 TRY_TJ(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp, in compTest() 406 tjDestroy(handle2); in compTest() 456 tjhandle handle2 = tjInitDecompress(); in _decompTest() local 458 if (!handle2) THROW_TJ(); in _decompTest() 477 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 479 tjDestroy(handle2); in _decompTest()
|
/external/libchrome/base/debug/ |
D | activity_analyzer_unittest.cc | 221 SharedMemoryHandle handle2; in TEST_F() local 228 handle2 = shmem->handle().Duplicate(); in TEST_F() 229 ASSERT_TRUE(handle2.IsValid()); in TEST_F() 237 GlobalActivityAnalyzer::CreateWithSharedMemoryHandle(handle2, in TEST_F()
|
/external/llvm-project/llvm/test/Transforms/LICM/ |
D | scalar-promote.ll | 98 %handle2 = alloca i8* 104 store i8* %tmp, i8** %handle2 109 %offsetx2 = load i8*, i8** %handle2 112 store i8* %newoffsetx2, i8** %handle2 117 ; Should have promoted 'handle2' accesses.
|
/external/tensorflow/tensorflow/core/distributed_runtime/eager/ |
D | eager_service_impl_test.cc | 1192 TensorHandle* handle2 = nullptr; in TEST_F() local 1193 TF_ASSERT_OK(packed_handle->ExtractPackedHandle(2, &handle2)); in TEST_F() 1194 EXPECT_EQ(handle2->Type(), TensorHandle::REMOTE); in TEST_F() 1195 EXPECT_EQ(handle2->op_device()->name(), device2); in TEST_F() 1198 TF_ASSERT_OK(handle2->RemoteAddress(handle2->device(), in TEST_F()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 182 SharedBufferHandle handle2 = handle.duplicate(null); in testGetCore() local 184 addHandleToClose(handle2); in testGetCore() 186 Assert.assertEquals(core, handle2.getCore()); in testGetCore()
|