Home
last modified time | relevance | path

Searched refs:handle2 (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dcoverage-module-unloaded.cpp33 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/
Dcoverage-module-unloaded.cc33 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/
Dlib674.c35 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()
Dlib544.c77 CURL *handle2; in test() local
78 handle2 = curl_easy_duphandle(curl); in test()
81 curl = handle2; in test()
/external/rust/crates/tokio/tests/
Dsync_once_cell.rs59 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/
Dsystem_property_unittest.cc53 { 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/
Di915_suspend.c49 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()
Dgem_userptr_blits.c641 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/
Dprime_self_import.c57 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()
Dprime_mmap.c448 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/
Dsocket_handle_waiter_posix_unittest.cc53 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/
Durlapi.c1327 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/
Dsession-util.h52 TPM2_HANDLE handle2,
98 TPM2_HANDLE handle2,
107 TPM2_HANDLE handle2,
Dsapi-session-util.c108 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/
Dmessage_unittest.cc342 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/
Dcordz_handle_test.cc128 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/
Dcore_impl.cc42 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/
Dlock_test.cc214 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/
Dlock_unittest.cc241 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/
Dscalar_promote.ll81 %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/
Dtjunittest.c394 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/
Dactivity_analyzer_unittest.cc221 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/
Dscalar-promote.ll98 %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/
Deager_service_impl_test.cc1192 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/
DCoreImplTest.java182 SharedBufferHandle handle2 = handle.duplicate(null); in testGetCore() local
184 addHandleToClose(handle2); in testGetCore()
186 Assert.assertEquals(core, handle2.getCore()); in testGetCore()

12