Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libc/dns/nameser/
Dns_parse.c75 int ns_msg_getflag(ns_msg handle, int flag) { in ns_msg_getflag() argument
76 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); in ns_msg_getflag()
105 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() argument
109 handle->_msg = msg; in ns_initparse()
110 handle->_eom = eom; in ns_initparse()
113 NS_GET16(handle->_id, msg); in ns_initparse()
116 NS_GET16(handle->_flags, msg); in ns_initparse()
120 NS_GET16(handle->_counts[i], msg); in ns_initparse()
123 if (handle->_counts[i] == 0) in ns_initparse()
124 handle->_sections[i] = NULL; in ns_initparse()
[all …]
/bionic/tests/
Ddlfcn_test.cpp68 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); in TEST() local
69 ASSERT_TRUE(handle != NULL); in TEST()
72 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
77 dlclose(handle); in TEST()
81 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST() local
82 ASSERT_TRUE(handle == NULL); in TEST()
83 handle = dlopen("libtest_simple.so", RTLD_NOW); in TEST()
85 ASSERT_TRUE(handle != NULL); in TEST()
87 ASSERT_TRUE(handle == handle2); in TEST()
88 ASSERT_EQ(0, dlclose(handle)); in TEST()
[all …]
Datexit_test.cpp30 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); in TEST() local
31 ASSERT_TRUE(handle != NULL); in TEST()
33 void* sym = dlsym(handle, "register_atexit"); in TEST()
37 ASSERT_EQ(0, dlclose(handle)); in TEST()
/bionic/libc/kernel/uapi/linux/
Dfirewire-cdev.h70 __u32 handle; member
86 __u32 handle; member
110 __u32 handle; member
194 __u32 handle; member
201 __u32 handle; member
206 __u32 handle; member
221 __u32 handle; member
225 __u32 handle; member
239 __u32 handle; member
244 __u32 handle; member
[all …]
Dion.h51 ion_user_handle_t handle; member
55 ion_user_handle_t handle; member
60 ion_user_handle_t handle; member
Dnbd.h57 char handle[8]; member
66 char handle[8]; member
Dbinder.h54 __u32 handle; member
97 __u32 handle; member
126 __u32 handle; member
/bionic/libc/kernel/uapi/drm/
Darmada_drm.h27 uint32_t handle; member
34 uint32_t handle; member
45 uint32_t handle; member
Domap_drm.h54 uint32_t handle; member
64 uint32_t handle; member
69 uint32_t handle; member
76 uint32_t handle; member
Dvmwgfx_drm.h127 uint32_t handle; member
144 uint32_t handle; member
156 uint32_t handle; member
174 uint32_t handle; member
216 uint32_t handle; member
229 uint32_t handle; member
239 uint32_t handle; member
256 uint32_t handle; member
301 uint32_t handle; member
326 uint32_t handle; member
[all …]
Dtegra_drm.h29 __u32 handle; member
32 __u32 handle; member
84 __u32 handle; member
92 __u32 handle; member
97 __u32 handle; member
106 __u32 handle; member
Dmsm_drm.h54 uint32_t handle; member
57 uint32_t handle; member
67 uint32_t handle; member
74 uint32_t handle; member
105 uint32_t handle; member
Dqxl_drm.h39 uint32_t handle; member
44 uint32_t handle; member
77 uint32_t handle; member
105 uint32_t handle; member
Dnouveau_drm.h35 uint32_t handle; member
61 uint32_t handle; member
114 uint32_t handle; member
119 uint32_t handle; member
Di915_drm.h384 __u32 handle; member
389 __u32 handle; member
397 __u32 handle; member
406 __u32 handle; member
415 __u32 handle; member
421 __u32 handle; member
427 __u32 handle; member
450 __u32 handle; member
471 __u32 handle; member
529 __u32 handle; member
[all …]
Ddrm.h147 void *handle; member
156 void *handle; member
287 drm_context_t handle; member
297 drm_drawable_t handle; member
305 drm_drawable_t handle; member
371 unsigned long handle; member
377 unsigned long handle; member
397 unsigned long handle; member
409 __u32 handle; member
414 __u32 handle; member
[all …]
Dexynos_drm.h26 unsigned int handle; member
30 unsigned int handle; member
36 unsigned int handle; member
44 unsigned int handle; member
209 __u32 handle[EXYNOS_DRM_PLANAR_MAX]; member
Ddrm_mode.h284 __u32 handle; member
330 __u32 handle; member
341 __u32 handle; member
374 uint32_t handle; member
380 __u32 handle; member
386 uint32_t handle; member
Dradeon_drm.h752 uint32_t handle; member
779 uint32_t handle; member
785 uint32_t handle; member
791 uint32_t handle; member
800 uint32_t handle; member
806 uint32_t handle; member
811 uint32_t handle; member
816 uint32_t handle; member
825 uint32_t handle; member
846 uint32_t handle; member
[all …]
/bionic/libc/include/
Ddlfcn.h47 extern int dlclose(void* handle);
49 extern void* dlsym(void* handle, const char* symbol);
/bionic/libdl/
Dlibdl.c27 void* dlsym(void* handle __unused, const char* symbol __unused) { return 0; } in dlsym()
29 int dlclose(void* handle __unused) { return 0; } in dlclose()
/bionic/linker/
Ddlfcn.cpp86 void* dlsym(void* handle, const char* symbol) { in dlsym() argument
90 if (handle == nullptr) { in dlsym()
103 if (handle == RTLD_DEFAULT) { in dlsym()
105 } else if (handle == RTLD_NEXT) { in dlsym()
114 sym = dlsym_handle_lookup(reinterpret_cast<soinfo*>(handle), &found, symbol); in dlsym()
157 int dlclose(void* handle) { in dlclose() argument
159 do_dlclose(reinterpret_cast<soinfo*>(handle)); in dlclose()
/bionic/libc/bionic/
DNetdClient.cpp28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { in netdClientInitFunction() argument
30 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
/bionic/libc/dns/resolv/
Dres_debug.c158 ns_msg *handle, ns_sect section, in do_section() argument
180 opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode); in do_section()
183 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()
253 n = ns_sprintrr(handle, &rr, NULL, NULL, in do_section()
288 ns_msg handle; in res_pquery() local
292 if (ns_initparse(msg, len, &handle) < 0) { in res_pquery()
296 opcode = ns_msg_getflag(handle, ns_f_opcode); in res_pquery()
297 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
298 id = ns_msg_id(handle); in res_pquery()
299 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
[all …]
/bionic/libc/include/arpa/
Dnameser.h150 #define ns_msg_id(handle) ((handle)._id + 0) argument
151 #define ns_msg_base(handle) ((handle)._msg + 0) argument
152 #define ns_msg_end(handle) ((handle)._eom + 0) argument
153 #define ns_msg_size(handle) ((size_t)((handle)._eom - (handle)._msg)) argument
154 #define ns_msg_count(handle, section) ((handle)._counts[section] + 0) argument

12