/bionic/libc/include/android/ |
H A D | set_abort_message.h | 36 void android_set_abort_message(const char* msg) __INTRODUCED_IN(21);
|
/bionic/tools/versioner/current/android/ |
H A D | set_abort_message.h | 36 void android_set_abort_message(const char* msg) __INTRODUCED_IN(21);
|
/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 | android_set_abort_message.cpp | 40 char msg[0]; member in struct:abort_msg_t 45 void android_set_abort_message(const char* msg) { argument 59 size_t size = sizeof(abort_msg_t) + strlen(msg) + 1; 67 strcpy(new_abort_message->msg, msg);
|
H A D | sys_msg.cpp | 29 #include <sys/msg.h> 55 ssize_t msgrcv(int id, void* msg, size_t n, long type, int flags) { argument 57 return syscall(SYS_msgrcv, id, msg, n, type, flags); 59 return syscall(SYS_ipc, IPCCALL(1, MSGRCV), id, n, flags, msg, type); 63 int msgsnd(int id, const void* msg, size_t n, int flags) { argument 65 return syscall(SYS_msgsnd, id, msg, n, flags); 67 return syscall(SYS_ipc, MSGSND, id, n, flags, msg, 0);
|
H A D | ifaddrs.cpp | 194 ifaddrmsg* msg = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(hdr)); local 198 while (addr != nullptr && addr->interface_index != static_cast<int>(msg->ifa_index)) { 214 rtattr* rta = IFA_RTA(msg); 218 if (msg->ifa_family == AF_INET || msg->ifa_family == AF_INET6) { 219 new_addr->SetAddress(msg->ifa_family, RTA_DATA(rta), RTA_PAYLOAD(rta)); 220 new_addr->SetNetmask(msg->ifa_family, msg->ifa_prefixlen); 223 if (msg->ifa_family == AF_INET) { 224 new_addr->SetBroadcastAddress(msg [all...] |
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 | bionic_netlink.cpp | 70 rtgenmsg msg; member in struct:NetlinkMessage 76 request.msg.rtgen_family = AF_UNSPEC; // All families.
|
H A D | libc_logging.cpp | 437 static int __libc_write_stderr(const char* tag, const char* msg) { argument 443 vec[2].iov_base = const_cast<char*>(msg); 444 vec[2].iov_len = strlen(msg); 543 int __libc_write_log(int priority, const char* tag, const char* msg) { argument 547 return __libc_write_stderr(tag, msg); 569 vec[5].iov_base = const_cast<char*>(msg); 570 vec[5].iov_len = strlen(msg) + 1; 593 char msg[1024]; local 594 BufferOutputStream os(msg, sizeof(msg)); [all...] |
/bionic/tests/ |
H A D | sys_msg_test.cpp | 32 #include <sys/msg.h> 38 GTEST_LOG_(INFO) << "no <sys/msg.h> support in this kernel\n"; 59 } msg = { 1, "hello world" }; local 60 ASSERT_EQ(0, msgsnd(id, &msg, sizeof(msg), 0)); 65 ASSERT_EQ(sizeof(msg), ds.msg_cbytes); 68 memset(&msg, 0, sizeof(msg)); 69 ASSERT_EQ(static_cast<ssize_t>(sizeof(msg)), msgrcv(id, &msg, sizeo [all...] |
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/linker/ |
H A D | linker_dlwarning.cpp | 55 std::string msg = current_msg; local 57 f(obj, msg.c_str());
|
/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); 107 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument 108 const u_char *eom = msg + msglen; 111 handle->_msg = msg; 113 if (msg + NS_INT16SZ > eom) 115 NS_GET16(handle->_id, msg); 116 if (msg + NS_INT16SZ > eom) 118 NS_GET16(handle->_flags, msg); 120 if (msg + NS_INT16SZ > eom) 122 NS_GET16(handle->_counts[i], msg); 268 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...] |
/bionic/libc/include/sys/ |
H A D | cdefs.h | 184 # define __errorattr(msg) __attribute__((unavailable(msg))) 185 # define __warnattr(msg) __attribute__((deprecated(msg))) 186 # define __warnattr_real(msg) __attribute__((deprecated(msg))) 187 # define __enable_if(cond, msg) __attribute__((enable_if(cond, msg))) 189 # define __errorattr(msg) __attribute__((__error__(msg))) [all...] |
H A D | msg.h | 35 #include <linux/msg.h>
|
/bionic/libm/ |
H A D | freebsd-compat.h | 29 #define __warn_references(sym,msg) /* ignored */
|
/bionic/tools/versioner/current/sys/ |
H A D | cdefs.h | 184 # define __errorattr(msg) __attribute__((unavailable(msg))) 185 # define __warnattr(msg) __attribute__((deprecated(msg))) 186 # define __warnattr_real(msg) __attribute__((deprecated(msg))) 187 # define __enable_if(cond, msg) __attribute__((enable_if(cond, msg))) 189 # define __errorattr(msg) __attribute__((__error__(msg))) [all...] |
H A D | msg.h | 35 #include <linux/msg.h>
|
/bionic/libc/kernel/uapi/linux/ |
H A D | msg.h | 31 struct msg * msg_first; 32 struct msg * msg_last;
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | msg.h | 31 struct msg * msg_first; 32 struct msg * msg_last;
|
/bionic/libc/malloc_debug/tests/ |
H A D | log_fake.cpp | 62 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { argument 66 g_fake_log_buf += msg;
|
/bionic/libc/kernel/tools/ |
H A D | utils.py | 10 def panic(msg): 12 sys.stderr.write(msg) 48 def write(self,msg): 49 self.line += msg 50 logging.debug("write '%s'" % msg)
|