Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 15 of 15) 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.c70 _event_getmsg_helper(td_thrhandle_t const * handle, void * bkpt_addr) in _event_getmsg_helper() argument
74 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); in _event_getmsg_helper()
79 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
110 td_thr_get_info(td_thrhandle_t const * handle, td_thrinfo_t * info) in td_thr_get_info() argument
112 info->ti_tid = handle->tid; in td_thr_get_info()
113 info->ti_lid = handle->tid; // Our pthreads uses kernel ids for tids in td_thr_get_info()
121 td_thr_event_enable(td_thrhandle_t const * handle, td_event_e event) in td_thr_event_enable() argument
159 td_thrhandle_t handle; in td_ta_thr_iter() local
167 handle.pid = agent->pid; in td_ta_thr_iter()
172 handle.tid = atoi(entry->d_name); in td_ta_thr_iter()
[all …]
/bionic/libc/include/
Ddlfcn.h36 extern int dlclose(void* handle);
38 extern void* dlsym(void* handle, const char* symbol);
Dnsswitch.h210 void *handle; /* handle from dlopen() */ member
/bionic/linker/
Ddlfcn.c75 void *dlsym(void *handle, const char *symbol) in dlsym() argument
83 if(unlikely(handle == 0)) { in dlsym()
92 if(handle == RTLD_DEFAULT) { in dlsym()
94 } else if(handle == RTLD_NEXT) { in dlsym()
97 sym = lookup_in_library((soinfo*) handle, symbol); in dlsym()
98 base = ((soinfo*) handle)->base; in dlsym()
120 int dlclose(void *handle) in dlclose() argument
123 (void)unload_library((soinfo*)handle); in dlclose()
/bionic/libdl/
Dlibdl.c22 void *dlsym(void *handle, const char *symbol) { return 0; } in dlsym() argument
23 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/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/libc/kernel/common/linux/
Dbinder.h40 signed long handle; member
80 size_t handle; member
Dtelephony.h42 int handle; member
/bionic/libc/docs/
DOVERVIEW.TXT162 pthread_cleanup_pop(), which can be used to handle cleanups that happen when
309 timers, it'd better handle timeout events directly instead.
/bionic/libc/kernel/
DREADME.TXT135 handle all complex C-preprocessor conditional expression appropriately.