Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 30) sorted by relevance

12

/bionic/libc/tools/
Dbionic_utils.py13 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.cpp31 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()
Dlibc_logging.cpp427 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 …]
Dstrerror_r.cpp15 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()
Dsystem_properties.cpp476 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/
Dns_parse.c47 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 …]
Dns_name.c414 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 …]
Dns_print.c66 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/
Dutils.py11 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/
Ddebugger.cpp229 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()
Dlinker_environ.cpp53 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()
Ddlfcn.cpp42 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/
Dset_abort_message.h36 void android_set_abort_message(const char* msg);
/bionic/libc/kernel/uapi/linux/
Dmsg.h31 struct msg *msg_first;
32 struct msg *msg_last;
Dipmi.h100 struct ipmi_msg msg; member
117 struct ipmi_msg msg; member
Di2o-dev.h46 __u32 msg; member
51 void __user *msg; member
Dnetlink.h106 struct nlmsghdr msg; member
/bionic/libc/private/
Dlibc_logging.h69 char msg[0]; member
111 __LIBC_HIDDEN__ __noreturn void __fortify_chk_fail(const char* msg, uint32_t event_tag);
/bionic/libc/dns/resolv/
Dres_data.c151 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()
Dres_comp.c104 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()
Dres_debug.c287 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/
Dcdefs_elf.h44 #define __warn_references(sym,msg) \ argument
Dcdefs.h343 #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
Dsocket.h115 #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/
Dca.h57 unsigned char msg[256]; member

12