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

12

/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/tests/
H A Datexit_test.cpp30 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); local
31 ASSERT_TRUE(handle != NULL);
33 void* sym = dlsym(handle, "register_atexit");
37 ASSERT_EQ(0, dlclose(handle));
H A Ddlfcn_test.cpp66 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); local
67 ASSERT_TRUE(handle != NULL);
70 void* sym = dlsym(handle, "getRandomNumber");
75 dlclose(handle);
79 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); local
80 ASSERT_TRUE(handle == NULL);
81 handle = dlopen("libtest_simple.so", RTLD_NOW);
83 ASSERT_TRUE(handle != NULL);
85 ASSERT_TRUE(handle == handle2);
86 ASSERT_EQ(0, dlclose(handle));
232 void* handle = dlopen("no-elf-hash-table-library.so", RTLD_NOW); local
241 void* handle; local
282 void* handle = dlopen("libtest_dlsym_weak_func.so",RTLD_NOW); local
[all...]
H A Ddlext_test.cpp206 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); local
207 if (handle == NULL) {
324 void* handle; local
326 handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_);
328 handle = dlopen(lib, RTLD_NOW);
330 if (handle == NULL) {
/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 Dmsm_drm.h54 uint32_t handle; member in struct:drm_msm_gem_new
57 uint32_t handle; member in struct:drm_msm_gem_info
67 uint32_t handle; member in struct:drm_msm_gem_cpu_prep
74 uint32_t handle; member in struct:drm_msm_gem_cpu_fini
105 uint32_t handle; member in struct:drm_msm_gem_submit_bo
H A Dnouveau_drm.h35 uint32_t handle; member in struct:drm_nouveau_gem_info
61 uint32_t handle; member in struct:drm_nouveau_gem_pushbuf_bo
114 uint32_t handle; member in struct:drm_nouveau_gem_cpu_prep
119 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
84 __u32 handle; member in struct:drm_tegra_cmdbuf
92 __u32 handle; member in struct:drm_tegra_reloc::__anon158
97 __u32 handle; member in struct:drm_tegra_reloc::__anon159
106 __u32 handle; member in struct:drm_tegra_waitchk
H A Dexynos_drm.h26 unsigned int handle; member in struct:drm_exynos_gem_create
30 unsigned int handle; member in struct:drm_exynos_gem_map_off
36 unsigned int handle; member in struct:drm_exynos_gem_mmap
44 unsigned int handle; member in struct:drm_exynos_gem_info
209 __u32 handle[EXYNOS_DRM_PLANAR_MAX]; member in struct:drm_exynos_ipp_queue_buf
H A Ddrm_mode.h284 __u32 handle; member in struct:drm_mode_fb_cmd
330 __u32 handle; member in struct:drm_mode_cursor
341 __u32 handle; member in struct:drm_mode_cursor2
374 uint32_t handle; member in struct:drm_mode_create_dumb
380 __u32 handle; member in struct:drm_mode_map_dumb
386 uint32_t handle; member in struct:drm_mode_destroy_dumb
H A Dvmwgfx_drm.h127 uint32_t handle; member in struct:drm_vmw_fence_rep
144 uint32_t handle; member in struct:drm_vmw_dmabuf_rep
156 uint32_t handle; member in struct:drm_vmw_unref_dmabuf_arg
174 uint32_t handle; member in struct:drm_vmw_control_stream_arg
216 uint32_t handle; member in struct:drm_vmw_fence_wait_arg
229 uint32_t handle; member in struct:drm_vmw_fence_signaled_arg
239 uint32_t handle; member in struct:drm_vmw_fence_arg
256 uint32_t handle; member in struct:drm_vmw_fence_event_arg
301 uint32_t handle; member in struct:drm_vmw_shader_arg
326 uint32_t handle; member in struct:drm_vmw_gb_surface_create_rep
365 uint32_t handle; member in struct:drm_vmw_synccpu_arg
[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.c94 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, argument
100 n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle),
1123 /* 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.h57 char handle[8]; member in struct:nbd_request
66 char handle[8]; member in struct:nbd_reply
H A Dbinder.h54 __u32 handle; member in union:flat_binder_object::__anon199
97 __u32 handle; member in union:binder_transaction_data::__anon200
126 __u32 handle; member in struct:binder_handle_cookie
H A Dfirewire-cdev.h70 __u32 handle; member in struct:fw_cdev_event_request
86 __u32 handle; member in struct:fw_cdev_event_request2
110 __u32 handle; member in struct:fw_cdev_event_iso_resource
194 __u32 handle; member in struct:fw_cdev_send_response
201 __u32 handle; member in struct:fw_cdev_allocate
206 __u32 handle; member in struct:fw_cdev_deallocate
221 __u32 handle; member in struct:fw_cdev_add_descriptor
225 __u32 handle; member in struct:fw_cdev_remove_descriptor
239 __u32 handle; member in struct:fw_cdev_create_iso_context
244 __u32 handle; member in struct:fw_cdev_set_iso_channels
265 __u32 handle; member in struct:fw_cdev_queue_iso
279 __u32 handle; member in struct:fw_cdev_start_iso
282 __u32 handle; member in struct:fw_cdev_stop_iso
286 __u32 handle; member in struct:fw_cdev_flush_iso
306 __u32 handle; member in struct:fw_cdev_allocate_iso_resource
[all...]
H A Dtelephony.h50 int handle; member in struct:phone_capability
/bionic/linker/
H A Ddlfcn.cpp86 void* dlsym(void* handle, const char* symbol) { argument
90 if (handle == NULL) {
91 __bionic_format_dlerror("dlsym library handle is null", NULL);
103 if (handle == RTLD_DEFAULT) {
105 } else if (handle == RTLD_NEXT) {
114 sym = dlsym_handle_lookup(reinterpret_cast<soinfo*>(handle), &found, symbol);
157 int dlclose(void* handle) { argument
159 do_dlclose(reinterpret_cast<soinfo*>(handle));
/bionic/libc/include/
H A Dnsswitch.h204 void *handle; /* handle from dlopen() */ member in struct:__anon45
/bionic/libc/dns/resolv/
H A Dres_debug.c158 ns_msg *handle, ns_sect section,
180 opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode);
183 if (ns_parserr(handle, section, rrnum, &rr)) {
253 n = ns_sprintrr(handle, &rr, NULL, NULL,
288 ns_msg handle; local
292 if (ns_initparse(msg, len, &handle) < 0) {
296 opcode = ns_msg_getflag(handle, ns_f_opcode);
297 rcode = ns_msg_getflag(handle, ns_f_rcode);
298 id = ns_msg_id(handle);
299 qdcount = ns_msg_count(handle, ns_s_q
157 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument
[all...]
H A Dres_cache.c77 * - the client calls _resolv_cache_get() to obtain a handle to the cache.
1008 answer_getNegativeTTL(ns_msg handle) { argument
1013 nscount = ns_msg_count(handle, ns_s_ns);
1015 if ((ns_parserr(&handle, ns_s_ns, n, &rr) == 0) && (ns_rr_type(rr) == ns_t_soa)) {
1064 ns_msg handle; local
1070 if (ns_initparse(answer, answerlen, &handle) >= 0) {
1072 ancount = ns_msg_count(handle, ns_s_an);
1076 result = answer_getNegativeTTL(handle);
1079 if (ns_parserr(&handle, ns_s_an, n, &rr) == 0) {

Completed in 719 milliseconds

12