/bionic/tests/libs/ |
H A D | cfi_test_helper2.cpp | 23 void* handle; local 25 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD); 26 CHECK(handle != nullptr); 27 dlclose(handle);
|
H A D | dlopen_testlib_dlopen_from_ctor.cpp | 20 void* handle = dlopen("libc.so", RTLD_NOW); local 21 dlclose(handle);
|
H A D | dlopen_b.cpp | 10 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); local 11 if (handle != nullptr) { 13 return handle;
|
H A D | ld_config_test_helper.cpp | 40 void* handle = dlopen(vdso_name, RTLD_NOW); local 41 if (handle == nullptr) { 45 dlclose(handle);
|
H A D | namespaces_root.cpp | 54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); local 55 if (handle == nullptr) { 59 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string"));
|
H A D | bionic_tests_zipalign.cpp | 42 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) { argument 44 int32_t return_value = StartIteration(handle, &cookie, nullptr, nullptr); 68 static bool CreateAlignedZip(ZipArchiveHandle& handle, FILE* zip_dst, uint32_t alignment) { argument 72 if (!GetEntries(handle, &entries)) { 94 ZipArchiveStreamEntry::Create(handle, *zip_entry)); 139 ZipArchiveHandle handle; local 141 int32_t return_value = OpenArchive(argv[2], &handle); 143 CloseArchive(handle); 154 bool success = CreateAlignedZip(handle, zip_dst, static_cast<uint32_t>(alignment)); 156 CloseArchive(handle); [all...] |
/bionic/libc/bionic/ |
H A D | NetdClient.cpp | 29 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { argument 31 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol));
|
/bionic/libc/kernel/uapi/drm/ |
H A D | vgem_drm.h | 29 __u32 handle; member in struct:drm_vgem_fence_attach
|
H A D | armada_drm.h | 29 __u32 handle; member in struct:drm_armada_gem_create 34 __u32 handle; member in struct:drm_armada_gem_mmap 43 __u32 handle; member in struct:drm_armada_gem_pwrite
|
H A D | omap_drm.h | 49 __u32 handle; member in struct:drm_omap_gem_new 57 __u32 handle; member in struct:drm_omap_gem_cpu_prep 61 __u32 handle; member in struct:drm_omap_gem_cpu_fini 67 __u32 handle; member in struct:drm_omap_gem_info
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/ |
H A D | vgem_drm.h | 29 __u32 handle; member in struct:drm_vgem_fence_attach
|
H A D | armada_drm.h | 29 __u32 handle; member in struct:drm_armada_gem_create 34 __u32 handle; member in struct:drm_armada_gem_mmap 43 __u32 handle; member in struct:drm_armada_gem_pwrite
|
/bionic/tests/ |
H A D | cfi_test.cpp | 40 void* handle; local 41 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); 42 ASSERT_TRUE(handle != nullptr) << dlerror(); 46 #define SYM(type, name) auto name = reinterpret_cast<type>(dlsym(handle, #name)) 107 EXPECT_EQ(handle2, handle); 115 dlclose(handle); 126 void* handle; local 127 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); 128 ASSERT_FALSE(handle != nullptr) << dlerror(); 130 handle [all...] |
H A D | dlfcn_symlink_support.cpp | 57 void* handle = dlopen(source_file_name, RTLD_NOW); local 60 ASSERT_TRUE(handle != nullptr) << dlerror(); 64 dlclose(handle);
|
H A D | atexit_test.cpp | 42 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); local 43 ASSERT_TRUE(handle != nullptr); 47 get_cxx_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_cxx_ctor_called")); 48 get_attr_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_attr_ctor_called")); 55 void* sym = dlsym(handle, "register_atexit"); 59 ASSERT_EQ(0, dlclose(handle));
|
H A D | pthread_dlfcn_test.cpp | 48 void* handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); local 49 ASSERT_TRUE(handle != nullptr) << dlerror(); 51 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); 71 EXPECT_EQ(0, dlclose(handle));
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/ |
H A D | vgem_drm.h | 29 __u32 handle; member in struct:drm_vgem_fence_attach
|
H A D | armada_drm.h | 29 __u32 handle; member in struct:drm_armada_gem_create 34 __u32 handle; member in struct:drm_armada_gem_mmap 43 __u32 handle; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/dns/nameser/ |
H A D | ns_parse.c | 77 int ns_msg_getflag(ns_msg handle, int flag) { argument 78 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); 107 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument 111 handle->_msg = msg; 112 handle->_eom = eom; 115 NS_GET16(handle->_id, msg); 118 NS_GET16(handle->_flags, msg); 122 NS_GET16(handle->_counts[i], msg); 125 if (handle->_counts[i] == 0) 126 handle 143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument 206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | fsl_hypervisor.h | 56 __u32 handle; member in struct:fsl_hv_ioctl_prop
|
H A D | nbd.h | 53 char handle[8]; member in struct:nbd_request 60 char handle[8]; member in struct:nbd_reply
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | fsl_hypervisor.h | 56 __u32 handle; member in struct:fsl_hv_ioctl_prop
|
H A D | nbd.h | 53 char handle[8]; member in struct:nbd_request 60 char handle[8]; member in struct:nbd_reply
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | fsl_hypervisor.h | 56 __u32 handle; member in struct:fsl_hv_ioctl_prop
|
H A D | nbd.h | 53 char handle[8]; member in struct:nbd_request 60 char handle[8]; member in struct:nbd_reply
|