/bionic/libc/include/sys/ |
H A D | msg.h | 32 #include <linux/msg.h>
|
H A D | cdefs.h | 338 #define __errorattr(msg) __attribute__((__error__(msg))) 339 #define __warnattr(msg) __attribute__((__warning__(msg))) 341 #define __errorattr(msg) 342 #define __warnattr(msg) 345 #define __errordecl(name, msg) extern void name(void) __errorattr(msg)
|
H A D | socket.h | 115 #define CMSG_FIRSTHDR(msg) \ 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL)
|
/bionic/libc/include/android/ |
H A D | set_abort_message.h | 36 void android_set_abort_message(const char* msg);
|
/bionic/libc/bionic/ |
H A D | __cmsg_nxthdr.cpp | 31 cmsghdr* __cmsg_nxthdr(msghdr* msg, cmsghdr* cmsg) { argument 34 size_t len = reinterpret_cast<char*>(ptr+1) - reinterpret_cast<char*>(msg->msg_control); 35 if (len > msg->msg_controllen) {
|
H A D | strerror_r.cpp | 20 const char* msg; member in struct:Pair 24 for (size_t i = 0; strings[i].msg != NULL; ++i) { 26 return strings[i].msg;
|
H A D | libc_logging.cpp | 430 static int __libc_write_stderr(const char* tag, const char* msg) { argument 441 vec[2].iov_base = const_cast<char*>(msg); 442 vec[2].iov_len = strlen(msg); 491 static int __libc_write_log(int priority, const char* tag, const char* msg) { argument 496 return __libc_write_stderr(tag, msg); 518 vec[5].iov_base = const_cast<char*>(msg); 519 vec[5].iov_len = strlen(msg) + 1; 525 return __libc_write_stderr(tag, msg); 535 vec[2].iov_base = const_cast<char*>(msg); 536 vec[2].iov_len = strlen(msg) 612 __fortify_chk_fail(const char* msg, uint32_t tag) argument 620 char msg[1024]; local 652 android_set_abort_message(const char* msg) argument [all...] |
H A D | system_properties.cpp | 481 static int send_prop_msg(const prop_msg *msg) argument 500 const int num_bytes = TEMP_FAILURE_RETRY(send(fd, msg, sizeof(prop_msg), 0)); 675 prop_msg msg; 676 memset(&msg, 0, sizeof msg); 677 msg.cmd = PROP_MSG_SETPROP; 678 strlcpy(msg.name, key, sizeof msg.name); 679 strlcpy(msg.value, value, sizeof msg [all...] |
/bionic/tools/bionicbb/ |
H A D | tasks.py | 37 def process_message(msg, dry_run): 39 body = gmail.get_body(msg) 42 logging.fatal('No Gerrit info found: %s', msg.subject) 103 for msg in gmail.get_all_messages(gmail_service, label_id): 104 msg = msg_service.get(userId='me', id=msg['id']).execute() 105 if process_message(msg, dry_run) and not dry_run: 106 msg_service.trash(userId='me', id=msg['id']).execute()
|
H A D | gmail.py | 22 def get_body(msg): 23 if 'attachmentId' in msg['payload']['body']: 26 b64_body = msg['payload']['body']['data']
|
/bionic/libc/dns/nameser/ |
H A 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) { argument 106 const u_char *eom = msg + msglen; 109 handle->_msg = msg; 111 if (msg + NS_INT16SZ > eom) 113 NS_GET16(handle->_id, msg); 114 if (msg + NS_INT16SZ > eom) 116 NS_GET16(handle->_flags, msg); 118 if (msg + NS_INT16SZ > eom) 120 NS_GET16(handle->_counts[i], msg); 266 setsection(ns_msg *msg, ns_sect sect) argument [all...] |
H A D | ns_name.c | 408 ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src, argument 411 return (ns_name_unpack2(msg, eom, src, dst, dstsiz, NULL)); 415 * ns_name_unpack2(msg, eom, src, dst, dstsiz, *dstlen) 423 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, argument 435 if (srcp < msg || srcp >= eom) { 472 if (l >= eom - msg) { /* Out of range. */ 476 srcp = msg + l; 484 if (checked >= eom - msg) { 529 const u_char **cpp, **lpp, *eob, *msg; local 538 if ((msg 628 ns_name_uncompress(const u_char *msg, const u_char *eom, const u_char *src, char *dst, size_t dstsiz) argument 933 dn_find(const u_char *domain, const u_char *msg, const u_char * const *dnptrs, const u_char * const *lastdnptr) argument [all...] |
H A D | ns_print.c | 60 static int addname(const u_char *msg, size_t msglen, 108 ns_sprintrrf(const u_char *msg, size_t msglen, argument 174 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 201 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 205 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 276 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 294 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 298 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 383 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); 402 T(addname(msg, msgle 1177 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument [all...] |
/bionic/libm/ |
H A D | freebsd-compat.h | 29 #define __warn_references(sym,msg) /* ignored */
|
/bionic/tests/ |
H A D | __cxa_thread_atexit_test.cpp | 27 void set_message(const std::string& msg) { argument 28 message = msg; 46 std::string msg("dtor called."); 48 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg)); 55 void set_message(const std::string& msg) { argument 56 message = msg;
|
/bionic/libc/kernel/uapi/linux/ |
H A D | msg.h | 31 struct msg * msg_first; 32 struct msg * msg_last;
|
H A D | ipmi.h | 100 struct ipmi_msg msg; member in struct:ipmi_req 117 struct ipmi_msg msg; member in struct:ipmi_recv
|
/bionic/libc/private/ |
H A D | libc_logging.h | 69 char msg[0]; member in struct:abort_msg_t 111 __LIBC_HIDDEN__ __noreturn void __fortify_chk_fail(const char* msg, uint32_t event_tag);
|
/bionic/linker/ |
H A D | debugger.cpp | 236 debugger_msg_t msg; local 237 msg.action = DEBUGGER_ACTION_CRASH; 238 msg.tid = gettid(); 239 msg.abort_msg_address = reinterpret_cast<uintptr_t>(g_abort_message); 240 msg.original_si_code = (info != nullptr) ? info->si_code : 0; 241 ret = TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))); 242 if (ret == sizeof(msg)) {
|
/bionic/libc/kernel/tools/ |
H A D | utils.py | 10 def panic(msg): 12 sys.stderr.write(msg) 24 def write(self,msg): 25 self.line += msg 26 logging.debug("write '%s'" % msg)
|
/bionic/libc/kernel/uapi/linux/dvb/ |
H A D | ca.h | 57 unsigned char msg[256]; member in struct:ca_msg
|
/bionic/libc/dns/resolv/ |
H A D | res_data.c | 151 p_query(const u_char *msg) { argument 152 fp_query(msg, stdout); 156 fp_query(const u_char *msg, FILE *file) { argument 157 fp_nquery(msg, PACKETSZ, file); 161 fp_nquery(const u_char *msg, int len, FILE *file) { argument 165 res_pquery(&_nres, msg, len, file);
|
H A D | res_comp.c | 98 * 'msg' is a pointer to the begining of the message, 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, argument 107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz);
|
H A D | res_debug.c | 279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { argument 284 if (ns_initparse(msg, len, &handle) < 0) { 351 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) { argument 355 if ((n = dn_expand(msg, msg + len, cp, name, (int)sizeof name)) < 0) 365 p_cdname(const u_char *cp, const u_char *msg, FILE *file) { argument 366 return (p_cdnname(cp, msg, PACKETSZ, file)); 373 p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, argument 379 if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0) 394 p_fqname(const u_char *cp, const u_char *msg, FIL argument [all...] |
/bionic/libc/upstream-openbsd/android/include/ |
H A D | openbsd-compat.h | 39 #define __warn_references(sym,msg)
|