Home
last modified time | relevance | path

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

/bionic/libc/netbsd/nameser/
Dns_parse.c74 int ns_msg_getflag(ns_msg handle, int flag) { in ns_msg_getflag() argument
75 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); in ns_msg_getflag()
103 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() argument
107 memset(handle, 0x5e, sizeof *handle); in ns_initparse()
108 handle->_msg = msg; in ns_initparse()
109 handle->_eom = eom; in ns_initparse()
112 NS_GET16(handle->_id, msg); in ns_initparse()
115 NS_GET16(handle->_flags, msg); in ns_initparse()
119 NS_GET16(handle->_counts[i], msg); in ns_initparse()
122 if (handle->_counts[i] == 0) in ns_initparse()
[all …]
Dns_print.c92 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, in ns_sprintrr() argument
98 n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle), in ns_sprintrr()
/bionic/libthread_db/
Dlibthread_db.c80 _event_getmsg_helper(td_thrhandle_t const * handle, void * bkpt_addr) in _event_getmsg_helper() argument
84 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); in _event_getmsg_helper()
89 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
132 td_thr_get_info(td_thrhandle_t const * handle, td_thrinfo_t * info) in td_thr_get_info() argument
134 info->ti_tid = handle->tid; in td_thr_get_info()
135 info->ti_lid = handle->tid; // Our pthreads uses kernel ids for tids in td_thr_get_info()
145 td_thr_event_enable(td_thrhandle_t const * handle, td_event_e event) in td_thr_event_enable() argument
194 td_thrhandle_t handle; in td_ta_thr_iter() local
202 handle.pid = agent->pid; in td_ta_thr_iter()
207 handle.tid = atoi(entry->d_name); in td_ta_thr_iter()
[all …]
/bionic/libc/include/
Ddlfcn.h47 extern int dlclose(void* handle);
49 extern void* dlsym(void* handle, const char* symbol);
Dnsswitch.h210 void *handle; /* handle from dlopen() */ member
/bionic/libc/kernel/arch-sh/asm/
Dsh_mobile_lcdc.h48 void (*write_index)(void *handle, unsigned long data);
49 void (*write_data)(void *handle, unsigned long data);
50 unsigned long (*read_data)(void *handle);
/bionic/libdl/
Dlibdl.c23 void *dlsym(void *handle, const char *symbol) { return 0; } in dlsym() argument
25 int dlclose(void *handle) { return 0; } in dlclose() argument
Ddltest.c124 void *handle, *symbol; in main() local
128 handle = libname ? dlopen(libname, RTLD_NOW) : RTLD_DEFAULT; in main()
133 symbol = dlsym(handle, symname); in main()
138 dlclose(handle); in main()
/bionic/linker/
Ddlfcn.c76 void *dlsym(void *handle, const char *symbol) in dlsym() argument
84 if(unlikely(handle == 0)) { in dlsym()
93 if(handle == RTLD_DEFAULT) { in dlsym()
95 } else if(handle == RTLD_NEXT) { in dlsym()
104 found = (soinfo*)handle; in dlsym()
158 int dlclose(void *handle) in dlclose() argument
161 (void)unload_library((soinfo*)handle); in dlclose()
/bionic/libc/netbsd/resolv/
Dres_debug.c159 ns_msg *handle, ns_sect section, in do_section() argument
181 opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode); in do_section()
184 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()
207 n = ns_sprintrr(handle, &rr, NULL, NULL, in do_section()
242 ns_msg handle; in res_pquery() local
246 if (ns_initparse(msg, len, &handle) < 0) { in res_pquery()
250 opcode = ns_msg_getflag(handle, ns_f_opcode); in res_pquery()
251 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
252 id = ns_msg_id(handle); in res_pquery()
253 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
[all …]
/bionic/libc/private/
Darpa_nameser.h125 #define ns_msg_id(handle) ((handle)._id + 0) argument
126 #define ns_msg_base(handle) ((handle)._msg + 0) argument
127 #define ns_msg_end(handle) ((handle)._eom + 0) argument
128 #define ns_msg_size(handle) ((size_t)((handle)._eom - (handle)._msg)) argument
129 #define ns_msg_count(handle, section) ((handle)._counts[section] + 0) argument
Dnsswitch.h211 void *handle; /* handle from dlopen() */ member
/bionic/libthread_db/include/
Dthread_db.h145 extern td_err_e td_thr_get_info(td_thrhandle_t const * handle,
148 extern td_err_e td_thr_event_enable(td_thrhandle_t const * handle,
/bionic/libc/kernel/common/linux/
Dbinder.h40 signed long handle; member
80 size_t handle; member
Dtelephony.h42 int handle; member
/bionic/libc/docs/
DOVERVIEW.TXT174 pthread_cleanup_pop(), which can be used to handle cleanups that happen when
321 timers, it'd better handle timeout events directly instead.
/bionic/libc/kernel/
DREADME.TXT135 handle all complex C-preprocessor conditional expression appropriately.