Home
last modified time | relevance | path

Searched refs:handle2 (Results 1 - 15 of 15) sorted by relevance

/third_party/musl/libc-test/src/functional/
H A Ddlopen_ns.c71 void* handle2 = dlopen_ns(&dlns1, dllName, RTLD_NOW); in dlopen_same_so_twice_by_same_ns() local
72 if(!handle2) in dlopen_same_so_twice_by_same_ns()
75 if (handle1 != handle2) in dlopen_same_so_twice_by_same_ns()
81 if(dlclose(handle2)) in dlopen_same_so_twice_by_same_ns()
100 void* handle2 = dlopen_ns(&dlns2, dllName, RTLD_NOW); in dlopen_same_so_by_different_ns() local
101 if(!handle2) in dlopen_same_so_by_different_ns()
104 if (handle1 == handle2) in dlopen_same_so_by_different_ns()
110 if(dlclose(handle2)) in dlopen_same_so_by_different_ns()
130 void* handle2 = dlopen_ns(&dlns2, dllName, RTLD_NOW); in dlopen_same_so_by_different_inherit_ns() local
131 if(!handle2) in dlopen_same_so_by_different_inherit_ns()
196 void* handle2 = dlopen_ns(&inherit_A, dllName, RTLD_LAZY); dlopen_inherit() local
262 void* handle2 = dlopen_ns(&dlns, dllName, RTLD_LAZY); dlopen_test_dlns_create2() local
[all...]
H A Ddlopen.c64 void* handle2 = dlopen(SO_LOAD_BY_GLOBAL, RTLD_GLOBAL); in dlopen_so_used_by_dlsym() local
65 if(!handle2) in dlopen_so_used_by_dlsym()
74 if(dlclose(handle2)) in dlopen_so_used_by_dlsym()
89 void* handle2 = dlopen(SO_FOR_NO_DELETE, RTLD_NOLOAD); in dlopen_nodelete_and_noload() local
90 if(!handle2) in dlopen_nodelete_and_noload()
93 if (handle1 != handle2) { in dlopen_nodelete_and_noload()
H A Ddl_multithread_lock.c310 void* handle2 = dlopen(g_initlibPath, RTLD_NOW); in dl_multithread_lock_0400() local
311 if (!handle2) { in dl_multithread_lock_0400()
319 dlclose(handle2); in dl_multithread_lock_0400()
/third_party/musl/libc-test/src/functionalext/dlns/
H A Ddlns_special_scene.c40 void* handle2 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in dlopen_ns_special_0100() local
41 EXPECT_TRUE("dlopen_ns_special_0100", handle2); in dlopen_ns_special_0100()
47 dlclose(handle2); in dlopen_ns_special_0100()
71 void* handle2 = dlopen_ns(&dlns_normal, dllName, RTLD_LAZY); in dlopen_ns_special_0200() local
72 EXPECT_TRUE("dlopen_ns_special_0200", handle2); in dlopen_ns_special_0200()
78 dlclose(handle2); in dlopen_ns_special_0200()
H A Ddlns_inherit.c269 void* handle2 = dlopen_ns(&dlnsA, libC, RTLD_LAZY); in dlns_inherit_0900() local
270 EXPECT_TRUE("dlns_inherit_0900", handle2); in dlns_inherit_0900()
271 dlclose(handle2); in dlns_inherit_0900()
309 void* handle2 = dlopen_ns(&dlnsC, dllName, RTLD_LAZY); in dlns_inherit_1000() local
310 EXPECT_TRUE("dlns_inherit_1000", handle2); in dlns_inherit_1000()
311 dlclose(handle2); in dlns_inherit_1000()
H A Ddlns_set_fun.c257 void* handle2 = dlopen_ns(&dlns, dllNamePath, RTLD_LAZY); in dlns_set_namespace_permitted_paths_0500() local
258 EXPECT_TRUE("dlns_set_namespace_permitted_paths_0500", handle2); in dlns_set_namespace_permitted_paths_0500()
259 dlclose(handle2); in dlns_set_namespace_permitted_paths_0500()
/third_party/curl/tests/libtest/
H A Dlib674.c37 CURL *handle2; in test() local
73 handle2 = curl_easy_duphandle(handle); in test()
74 res = curl_easy_perform(handle2); in test()
75 curl_easy_cleanup(handle2); in test()
H A Dlib544.c67 CURL *handle2; in test() local
68 handle2 = curl_easy_duphandle(curl); in test()
71 curl = handle2; in test()
/third_party/musl/libc-test/src/functionalext/ldso_cfi/
H A Dldso_cfi_check.c256 void* handle2 = dlopen(LIB_PATH, RTLD_LAZY); in cfi_slowpath_function_test_0007() local
257 EXPECT_PTREQ("cfi_slowpath_function_test_0007", handle, handle2); in cfi_slowpath_function_test_0007()
258 *(void **)(&get_count) = dlsym(handle2, "get_count"); in cfi_slowpath_function_test_0007()
259 *(void **)(&get_type_id) = dlsym(handle2, "get_type_id"); in cfi_slowpath_function_test_0007()
260 *(void **)(&get_address) = dlsym(handle2, "get_address"); in cfi_slowpath_function_test_0007()
261 *(void **)(&get_diag) = dlsym(handle2, "get_diag"); in cfi_slowpath_function_test_0007()
262 *(void **)(&get_global_address) = dlsym(handle2, "get_global_address"); in cfi_slowpath_function_test_0007()
271 dlclose(handle2); in cfi_slowpath_function_test_0007()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_cfi_test.cpp64 void* handle2 = dlopen(LIB_PATH, RTLD_NOW); in HWTEST_F() local
65 ASSERT_EQ(handle, handle2); in HWTEST_F()
66 FuncTypeRetSize getCount = reinterpret_cast<FuncTypeRetSize>(dlsym(handle2, "GetCount")); in HWTEST_F()
68 FuncTypeRetUint64 getTypeId = reinterpret_cast<FuncTypeRetUint64>(dlsym(handle2, "GetTypeId")); in HWTEST_F()
70 FuncTypeRetVoidPtr getAddress = reinterpret_cast<FuncTypeRetVoidPtr>(dlsym(handle2, "GetAddress")); in HWTEST_F()
72 globalAddress = reinterpret_cast<FuncTypeRetVoidPtr>(dlsym(handle2, "GetGlobalAddress")); in HWTEST_F()
82 dlclose(handle2); in HWTEST_F()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A 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()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dlock_test.cc214 PlatformThreadHandle handle2 = kNullThreadHandle; in MutexFourThreads() local
218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads()
224 PlatformThread::Join(handle2); in MutexFourThreads()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/
H A Ddl_iterate_phdr.c113 void *handle2 = dlopen("/data/libtest.so", RTLD_NOW); in dl_iterate_phdr_0300() local
123 dlclose(handle2); in dl_iterate_phdr_0300()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dflag_test.cc861 auto* handle2 = absl::FindCommandLineFlag("retired_flag_on_separate_file");
862 if (handle1 != nullptr && handle2 != nullptr) {
863 return handle1->Name() == handle2->Name();

Completed in 13 milliseconds