/bionic/libc/tools/ |
D | bionic_utils.py | 13 def D(msg): argument 16 print msg 18 def D2(msg): argument 21 print msg 23 def D3(msg): argument 26 print msg 28 def D4(msg): argument 31 print msg 45 def E(self, msg): argument 46 print "%d: %s" % (self.lineno, msg) [all …]
|
/bionic/libc/bionic/ |
D | __cmsg_nxthdr.cpp | 31 cmsghdr* __cmsg_nxthdr(msghdr* msg, cmsghdr* cmsg) { in __cmsg_nxthdr() argument 34 size_t len = reinterpret_cast<char*>(ptr+1) - reinterpret_cast<char*>(msg->msg_control); in __cmsg_nxthdr() 35 if (len > msg->msg_controllen) { in __cmsg_nxthdr()
|
D | libc_logging.cpp | 427 static int __libc_write_stderr(const char* tag, const char* msg) { in __libc_write_stderr() argument 438 vec[2].iov_base = const_cast<char*>(msg); in __libc_write_stderr() 439 vec[2].iov_len = strlen(msg) + 1; in __libc_write_stderr() 489 static int __libc_write_log(int priority, const char* tag, const char* msg) { in __libc_write_log() argument 495 return __libc_write_stderr(tag, msg); in __libc_write_log() 517 vec[5].iov_base = const_cast<char*>(msg); in __libc_write_log() 518 vec[5].iov_len = strlen(msg) + 1; in __libc_write_log() 524 return __libc_write_stderr(tag, msg); in __libc_write_log() 534 vec[2].iov_base = const_cast<char*>(msg); in __libc_write_log() 535 vec[2].iov_len = strlen(msg) + 1; in __libc_write_log() [all …]
|
D | strerror_r.cpp | 15 const char* msg; member 19 for (size_t i = 0; strings[i].msg != NULL; ++i) { in __code_string_lookup() 21 return strings[i].msg; in __code_string_lookup()
|
D | system_properties.cpp | 476 static int send_prop_msg(const prop_msg *msg) in send_prop_msg() argument 495 const int num_bytes = TEMP_FAILURE_RETRY(send(fd, msg, sizeof(prop_msg), 0)); in send_prop_msg() 640 prop_msg msg; in __system_property_set() local 641 memset(&msg, 0, sizeof msg); in __system_property_set() 642 msg.cmd = PROP_MSG_SETPROP; in __system_property_set() 643 strlcpy(msg.name, key, sizeof msg.name); in __system_property_set() 644 strlcpy(msg.value, value, sizeof msg.value); in __system_property_set() 646 const int err = send_prop_msg(&msg); in __system_property_set()
|
/bionic/libc/dns/nameser/ |
D | ns_parse.c | 47 static void setsection(ns_msg *msg, ns_sect sect); 105 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() argument 106 const u_char *eom = msg + msglen; in ns_initparse() 109 handle->_msg = msg; in ns_initparse() 111 if (msg + NS_INT16SZ > eom) in ns_initparse() 113 NS_GET16(handle->_id, msg); in ns_initparse() 114 if (msg + NS_INT16SZ > eom) in ns_initparse() 116 NS_GET16(handle->_flags, msg); in ns_initparse() 118 if (msg + NS_INT16SZ > eom) in ns_initparse() 120 NS_GET16(handle->_counts[i], msg); in ns_initparse() [all …]
|
D | ns_name.c | 414 ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src, in ns_name_unpack() argument 417 return (ns_name_unpack2(msg, eom, src, dst, dstsiz, NULL)); in ns_name_unpack() 429 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, in ns_name_unpack2() argument 441 if (srcp < msg || srcp >= eom) { in ns_name_unpack2() 478 if (l >= eom - msg) { /* Out of range. */ in ns_name_unpack2() 482 srcp = msg + l; in ns_name_unpack2() 490 if (checked >= eom - msg) { in ns_name_unpack2() 535 const u_char **cpp, **lpp, *eob, *msg; in ns_name_pack() local 544 if ((msg = *dnptrs++) != NULL) { in ns_name_pack() 550 msg = NULL; in ns_name_pack() [all …]
|
D | ns_print.c | 66 static int addname(const u_char *msg, size_t msglen, 114 ns_sprintrrf(const u_char *msg, size_t msglen, in ns_sprintrrf() argument 180 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 207 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 211 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 282 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 300 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 304 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 389 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 408 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() [all …]
|
/bionic/libc/kernel/tools/ |
D | utils.py | 11 def panic(msg): argument 13 sys.stderr.write( msg ) 16 def D(msg): argument 19 print msg 21 def D2(msg): argument 24 print msg 26 def D3(msg): argument 29 print msg 31 def D4(msg): argument 34 print msg [all …]
|
/bionic/linker/ |
D | debugger.cpp | 229 debugger_msg_t msg; in send_debuggerd_packet() local 230 msg.action = DEBUGGER_ACTION_CRASH; in send_debuggerd_packet() 231 msg.tid = gettid(); in send_debuggerd_packet() 232 msg.abort_msg_address = reinterpret_cast<uintptr_t>(g_abort_message); in send_debuggerd_packet() 233 msg.original_si_code = (info != nullptr) ? info->si_code : 0; in send_debuggerd_packet() 234 int ret = TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))); in send_debuggerd_packet() 235 if (ret == sizeof(msg)) { in send_debuggerd_packet()
|
D | linker_environ.cpp | 53 const char* msg = "FATAL: kernel did not supply AT_SECURE\n"; in __init_AT_SECURE() local 54 write(2, msg, strlen(msg)); in __init_AT_SECURE()
|
D | dlfcn.cpp | 42 static void __bionic_format_dlerror(const char* msg, const char* detail) { in __bionic_format_dlerror() argument 44 strlcpy(buffer, msg, __BIONIC_DLERROR_BUFFER_SIZE); in __bionic_format_dlerror()
|
/bionic/libc/include/android/ |
D | set_abort_message.h | 36 void android_set_abort_message(const char* msg);
|
/bionic/libc/kernel/uapi/linux/ |
D | msg.h | 31 struct msg *msg_first; 32 struct msg *msg_last;
|
D | ipmi.h | 100 struct ipmi_msg msg; member 117 struct ipmi_msg msg; member
|
D | i2o-dev.h | 46 __u32 msg; member 51 void __user *msg; member
|
D | netlink.h | 106 struct nlmsghdr msg; member
|
/bionic/libc/private/ |
D | libc_logging.h | 69 char msg[0]; member 111 __LIBC_HIDDEN__ __noreturn void __fortify_chk_fail(const char* msg, uint32_t event_tag);
|
/bionic/libc/dns/resolv/ |
D | res_data.c | 151 p_query(const u_char *msg) { in p_query() argument 152 fp_query(msg, stdout); in p_query() 156 fp_query(const u_char *msg, FILE *file) { in fp_query() argument 157 fp_nquery(msg, PACKETSZ, file); in fp_query() 161 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() argument 165 res_pquery(&_nres, msg, len, file); in fp_nquery()
|
D | res_comp.c | 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() argument 107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand()
|
D | res_debug.c | 287 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() argument 292 if (ns_initparse(msg, len, &handle) < 0) { in res_pquery() 359 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) { in p_cdnname() argument 363 if ((n = dn_expand(msg, msg + len, cp, name, (int)sizeof name)) < 0) in p_cdnname() 373 p_cdname(const u_char *cp, const u_char *msg, FILE *file) { in p_cdname() argument 374 return (p_cdnname(cp, msg, PACKETSZ, file)); in p_cdname() 381 p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, in p_fqnname() argument 387 if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0) in p_fqnname() 402 p_fqname(const u_char *cp, const u_char *msg, FILE *file) { in p_fqname() argument 406 n = p_fqnname(cp, msg, MAXCDNAME, name, (int)sizeof name); in p_fqname()
|
/bionic/libc/include/sys/ |
D | cdefs_elf.h | 44 #define __warn_references(sym,msg) \ argument
|
D | cdefs.h | 343 #define __errordecl(name, msg) extern void name(void) __attribute__((__error__(msg))) argument 344 #define __warnattr(msg) __attribute__((__warning__(msg))) argument 346 #define __errordecl(name, msg) extern void name(void) argument 347 #define __warnattr(msg) argument
|
D | socket.h | 115 #define CMSG_FIRSTHDR(msg) \ argument 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL)
|
/bionic/libc/kernel/uapi/linux/dvb/ |
D | ca.h | 57 unsigned char msg[256]; member
|