Searched defs:handle (Results 1 - 25 of 37) sorted by relevance

12

/bionic/tests/libs/
H A Ddlopen_testlib_dlopen_from_ctor.cpp20 void* handle = dlopen("libc.so", RTLD_NOW); local
21 dlclose(handle);
H A Ddlopen_b.cpp10 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); local
11 if (handle != nullptr) {
13 return handle;
H A Dnamespaces_root.cpp38 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); local
39 if (handle == nullptr) {
43 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string"));
H A Dbionic_tests_zipalign.cpp41 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) { argument
43 int32_t return_value = StartIteration(handle, &cookie, nullptr, nullptr);
66 static bool CreateAlignedZip(ZipArchiveHandle& handle, FILE* zip_dst, uint32_t alignment) { argument
70 if (!GetEntries(handle, &entries)) {
92 ZipArchiveStreamEntry::Create(handle, *zip_entry));
137 ZipArchiveHandle handle; local
139 int32_t return_value = OpenArchive(argv[2], &handle);
141 CloseArchive(handle);
152 bool success = CreateAlignedZip(handle, zip_dst, static_cast<uint32_t>(alignment));
154 CloseArchive(handle);
[all...]
/bionic/libc/bionic/
H A DNetdClient.cpp28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { argument
30 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol));
/bionic/libc/kernel/uapi/drm/
H A Darmada_drm.h27 uint32_t handle; member in struct:drm_armada_gem_create
34 uint32_t handle; member in struct:drm_armada_gem_mmap
45 uint32_t handle; member in struct:drm_armada_gem_pwrite
H A Domap_drm.h54 uint32_t handle; member in struct:drm_omap_gem_new
64 uint32_t handle; member in struct:drm_omap_gem_cpu_prep
69 uint32_t handle; member in struct:drm_omap_gem_cpu_fini
76 uint32_t handle; member in struct:drm_omap_gem_info
H A Dqxl_drm.h39 uint32_t handle; member in struct:drm_qxl_alloc
44 uint32_t handle; member in struct:drm_qxl_map
77 uint32_t handle; member in struct:drm_qxl_update_area
105 uint32_t handle; member in struct:drm_qxl_alloc_surf
H A Dvirtgpu_drm.h37 uint32_t handle; member in struct:drm_virtgpu_map
112 uint32_t handle; member in struct:drm_virtgpu_3d_wait
H A Dmsm_drm.h56 __u32 handle; member in struct:drm_msm_gem_new
60 __u32 handle; member in struct:drm_msm_gem_info
71 __u32 handle; member in struct:drm_msm_gem_cpu_prep
77 __u32 handle; member in struct:drm_msm_gem_cpu_fini
110 __u32 handle; member in struct:drm_msm_gem_submit_bo
H A Dnouveau_drm.h37 uint32_t handle; member in struct:drm_nouveau_gem_info
64 uint32_t handle; member in struct:drm_nouveau_gem_pushbuf_bo
116 uint32_t handle; member in struct:drm_nouveau_gem_cpu_prep
121 uint32_t handle; member in struct:drm_nouveau_gem_cpu_fini
H A Dtegra_drm.h29 __u32 handle; member in struct:drm_tegra_gem_create
32 __u32 handle; member in struct:drm_tegra_gem_mmap
85 __u32 handle; member in struct:drm_tegra_cmdbuf
94 __u32 handle; member in struct:drm_tegra_reloc::__anon180
99 __u32 handle; member in struct:drm_tegra_reloc::__anon181
107 __u32 handle; member in struct:drm_tegra_waitchk
137 __u32 handle; member in struct:drm_tegra_gem_set_tiling
145 __u32 handle; member in struct:drm_tegra_gem_get_tiling
155 __u32 handle; member in struct:drm_tegra_gem_set_flags
160 __u32 handle; member in struct:drm_tegra_gem_get_flags
[all...]
/bionic/tests/
H A Datexit_test.cpp42 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 Dpthread_dlfcn_test.cpp43 void* handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); local
44 ASSERT_TRUE(handle != nullptr) << dlerror();
46 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork"));
66 EXPECT_EQ(0, dlclose(handle));
H A Ddlfcn_test.cpp71 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_LAZY | RTLD_LOCAL); local
72 ASSERT_TRUE(handle != nullptr) << dlerror();
81 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT"));
89 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT"));
97 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT"));
104 dlclose(handle);
111 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); local
112 ASSERT_TRUE(handle != nullptr) << dlerror();
121 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT"));
129 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAUL
151 void* handle = dlopen("libtest_empty.so", RTLD_NOW); local
164 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); local
177 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); local
192 void* handle = dlopen(soname, RTLD_NOW); local
222 void* handle = dlopen("libtest_ifunc.so", RTLD_NOW); local
248 void* handle = dlopen("libtest_ifunc.so", RTLD_NOW); local
273 void* handle = nullptr; local
313 void* handle = dlopen("libtest_check_order_dlsym.so", RTLD_NOW | RTLD_GLOBAL); local
358 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
382 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
423 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
469 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
500 void* handle = dlopen("libtest_two_parents_parent1.so", RTLD_NOW | RTLD_LOCAL); local
544 void* handle = dlopen("libtest_check_order_reloc_root.so", RTLD_NOW | RTLD_NOLOAD); local
567 void* handle = dlopen("libtest_simple.so", RTLD_NOW); local
591 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_GLOBAL); local
616 void* handle = dlopen("libtest_with_dependency_loop.so", RTLD_NOW); local
640 void* handle = dlopen("libtest_nodelete_1.so", RTLD_NOW | RTLD_NODELETE); local
673 void* handle = dlopen("libtest_nodelete_2.so", RTLD_NOW); local
700 void* handle = dlopen("libtest_nodelete_dt_flags_1.so", RTLD_NOW); local
712 void* handle = dlopen("libtest_dlsym_df_1_global.so", RTLD_NOW); local
885 void* handle = dlopen("libgnu-hash-table-library.so", RTLD_NOW); local
908 void* handle = dlopen("libsysv-hash-table-library.so", RTLD_NOW); local
929 void* handle; local
970 void* handle = dlopen("libtest_dlsym_weak_func.so", RTLD_NOW); local
981 void* handle = dlopen("libtest_dlopen_weak_undefined_func.so", RTLD_NOW); local
1006 void* handle = dlopen("libtest_dlopen_from_ctor_main.so", RTLD_NOW); local
1015 void* handle = dlopen("libtest_versioned_uselibv1.so", RTLD_NOW); local
1025 void* handle = dlopen("libtest_versioned_uselibv2.so", RTLD_NOW); local
1035 void* handle = dlopen("libtest_versioned_uselibv2_other.so", RTLD_NOW); local
1045 void* handle = dlopen("libtest_versioned_uselibv3_other.so", RTLD_NOW); local
1055 void* handle = dlopen("libtest_versioned_lib.so", RTLD_NOW); local
1065 void* handle = dlopen("libtest_versioned_lib.so", RTLD_NOW); local
1095 void* handle = dlopen("libtest_dt_runpath_d.so", RTLD_NOW); local
1109 void* handle = dlopen(PATH_TO_SYSTEM_LIB "libtest_dt_runpath_d.so", RTLD_NOW); local
[all...]
/bionic/libc/dns/nameser/
H A Dns_parse.c75 int ns_msg_getflag(ns_msg handle, int flag) { argument
76 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
105 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument
109 handle->_msg = msg;
110 handle->_eom = eom;
113 NS_GET16(handle->_id, msg);
116 NS_GET16(handle->_flags, msg);
120 NS_GET16(handle->_counts[i], msg);
123 if (handle->_counts[i] == 0)
124 handle
141 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument
204 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument
[all...]
H A Dns_print.c88 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, argument
94 n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle),
1117 /* XXX need to handle \nnn form. */
/bionic/libc/kernel/uapi/linux/
H A Dfsl_hypervisor.h65 __u32 handle; member in struct:fsl_hv_ioctl_prop
H A Dion.h51 ion_user_handle_t handle; member in struct:ion_allocation_data
55 ion_user_handle_t handle; member in struct:ion_fd_data
60 ion_user_handle_t handle; member in struct:ion_handle_data
H A Dnbd.h56 char handle[8]; member in struct:nbd_request
65 char handle[8]; member in struct:nbd_reply
H A Dndctl.h96 __u32 handle; member in struct:nd_cmd_ars_status::nd_ars_record
H A Dbinder.h54 __u32 handle; member in union:flat_binder_object::__anon228
97 __u32 handle; member in union:binder_transaction_data::__anon229
126 __u32 handle; member in struct:binder_handle_cookie
/bionic/linker/
H A Ddlfcn.cpp90 void* dlsym_impl(void* handle, const char* symbol, const char* version, void* caller_addr) { argument
93 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) {
101 void* dlsym(void* handle, const char* symbol) { argument
103 return dlsym_impl(handle, symbol, nullptr, caller_addr);
106 void* dlvsym(void* handle, const char* symbol, const char* version) { argument
108 return dlsym_impl(handle, symbol, version, caller_addr);
116 int dlclose(void* handle) { argument
118 int result = do_dlclose(handle);
/bionic/libc/include/
H A Dnsswitch.h204 void *handle; /* handle from dlopen() */ member in struct:__anon54
/bionic/libc/kernel/uapi/linux/android/
H A Dbinder.h55 __u32 handle; member in union:flat_binder_object::__anon194
99 __u32 handle; member in union:binder_transaction_data::__anon195
127 __u32 handle; member in struct:binder_handle_cookie

Completed in 296 milliseconds

12