| /third_party/ulib/jemalloc/test/include/test/ |
| A D | mq.h | 64 a_mq_msg_type *msg; \ 67 msg = ql_first(&mq->msgs); \ 68 if (msg != NULL) { \ 73 return (msg); \ 78 a_mq_msg_type *msg; \ 81 msg = a_prefix##tryget(mq); \ 82 if (msg != NULL) \ 83 return (msg); \ 89 if (msg != NULL) \ 90 return (msg); \ [all …]
|
| /third_party/uapp/dash/src/ |
| A D | error.c | 127 doformat(errs, msg, ap); in exvwarning2() 146 if (msg) { in exverror() 150 TRACEV((msg, aq)); in exverror() 155 if (msg) in exverror() 157 exvwarning(-1, msg, ap); in exverror() 166 sh_error(const char *msg, ...) in sh_error() argument 172 va_start(ap, msg); in sh_error() 173 exverror(EXERROR, msg, ap); in sh_error() 180 exerror(int cond, const char *msg, ...) in exerror() argument 184 va_start(ap, msg); in exerror() [all …]
|
| A D | mknodes.c | 519 error(const char *msg, ...) in error() argument 523 va_start(va, msg); in error() 526 (void) vfprintf(stderr, msg, va); in error()
|
| A D | mkinit.c | 472 error(char *msg) in error() argument 476 fprintf(stderr, "%s\n", msg); in error()
|
| /third_party/ulib/jemalloc/test/unit/ |
| A D | mq.c | 15 mq_msg_t msg; in mq_gen() local 22 mq_put(&mq, &msg); in mq_gen() 24 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); in mq_gen() 26 mq_put(&mq, &msg); in mq_gen() 27 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); in mq_gen() 40 mq_msg_t *msg = mq_get(mq); in thd_receiver_start() local 41 assert_ptr_not_null(msg, "mq_get() should never return NULL"); in thd_receiver_start() 42 dallocx(msg, 0); in thd_receiver_start() 54 mq_msg_t *msg; in thd_sender_start() local 58 msg = (mq_msg_t *)p; in thd_sender_start() [all …]
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | newfs_msdos.c | 43 #define argto1(arg, lo, msg) argtou(arg, lo, 0xff, msg) argument 44 #define argto2(arg, lo, msg) argtou(arg, lo, 0xffff, msg) argument 45 #define argto4(arg, lo, msg) argtou(arg, lo, 0xffffffff, msg) argument 46 #define argtox(arg, lo, msg) argtou(arg, lo, UINT_MAX, msg) argument 167 static unsigned int argtou(const char* arg, unsigned int lo, unsigned int hi, const char* msg) { in argtou() argument 174 errx(1, "%s: bad %s", arg, msg); in argtou() 181 static off_t argtooff(const char* arg, const char* msg) { in argtooff() argument 189 errx(1, "%s: bad %s", arg, msg); in argtooff() 193 errx(1, "%s: bad %s", arg, msg); in argtooff() 220 errx(1, "%s: not supported yet %s", arg, msg); in argtooff()
|
| /third_party/ulib/musl/src/stdio/ |
| A D | perror.c | 6 void perror(const char* msg) { in perror() argument 12 if (msg && *msg) { in perror() 13 fwrite(msg, strlen(msg), 1, f); in perror()
|
| /third_party/ulib/musl/src/network/ |
| A D | herror.c | 5 void herror(const char* msg) { in herror() argument 6 fprintf(stderr, "%s%s%s", msg ? msg : "", msg ? ": " : "", hstrerror(h_errno)); in herror()
|
| A D | ns_parse.c | 31 int ns_initparse(const unsigned char* msg, int msglen, ns_msg* handle) { in ns_initparse() argument 34 handle->_msg = msg; in ns_initparse() 35 handle->_eom = msg + msglen; in ns_initparse() 38 NS_GET16(handle->_id, msg); in ns_initparse() 39 NS_GET16(handle->_flags, msg); in ns_initparse() 41 NS_GET16(handle->_counts[i], msg); in ns_initparse() 44 handle->_sections[i] = msg; in ns_initparse() 45 r = ns_skiprr(msg, handle->_eom, i, handle->_counts[i]); in ns_initparse() 48 msg += r; in ns_initparse() 53 if (msg != handle->_eom) in ns_initparse() [all …]
|
| A D | res_send.c | 6 int __res_send(const unsigned char* msg, int msglen, unsigned char* answer, int anslen) { in __res_send() argument 7 int r = __res_msend(1, &msg, &msglen, &answer, &anslen, anslen); in __res_send()
|
| /third_party/ulib/uboringssl/include/openssl/ |
| A D | type_check.h | 68 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg) argument 70 #define OPENSSL_COMPILE_ASSERT(cond, msg) \ 71 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)] OPENSSL_UNUSED
|
| /third_party/ulib/musl/src/string/ |
| A D | strerror_r.c | 6 char* msg = strerror(err); in strerror_r() local 7 size_t l = strlen(msg); in strerror_r() 10 memcpy(buf, msg, buflen - 1); in strerror_r() 15 memcpy(buf, msg, l + 1); in strerror_r()
|
| /third_party/ulib/musl/src/signal/ |
| A D | psignal.c | 5 void psignal(int sig, const char* msg) { in psignal() argument 7 if (msg) in psignal() 8 fprintf(stderr, "%s: %s\n", msg, s); in psignal()
|
| A D | psiginfo.c | 5 void psiginfo(const siginfo_t* si, const char* msg) { in psiginfo() argument 7 if (msg) in psiginfo() 8 fprintf(stderr, "%s: %s\n", msg, s); in psiginfo()
|
| /third_party/ulib/musl/src/internal/ |
| A D | locale_impl.h | 28 #define LCTRANS(msg, lc, loc) __lctrans(msg, (loc)->cat[(lc)]) argument 29 #define LCTRANS_CUR(msg) __lctrans_cur(msg) argument
|
| /third_party/dev/ethernet/e1000/ |
| A D | e1000_mbx.c | 55 u32 E1000_UNUSEDARG *msg, in e1000_null_mbx_transact() argument 73 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() argument 85 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_mbx() 99 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() argument 110 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_mbx() 261 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_posted_mbx() 288 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_posted_mbx() 478 E1000_WRITE_REG_ARRAY(hw, E1000_VMBMEM(0), i, msg[i]); in e1000_write_mbx_vf() 514 msg[i] = E1000_READ_REG_ARRAY(hw, E1000_VMBMEM(0), i); in e1000_read_mbx_vf() 699 E1000_WRITE_REG_ARRAY(hw, E1000_VMBMEM(vf_number), i, msg[i]); in e1000_write_mbx_pf() [all …]
|
| /third_party/ulib/musl/src/locale/ |
| A D | __lctrans.c | 5 const char* __lctrans_cur(const char* msg) { in __lctrans_cur() argument 6 return __lctrans(msg, CURRENT_LOCALE->cat[LC_MESSAGES]); in __lctrans_cur()
|
| A D | locale_map.c | 6 const char* __lctrans(const char* msg, const struct __locale_map* lm) { in __lctrans() argument 9 trans = __mo_lookup(lm->map, lm->map_size, msg); in __lctrans() 10 return trans ? trans : msg; in __lctrans()
|
| /third_party/ulib/backtrace/ |
| A D | print.c | 69 error_callback (void *data, const char *msg, int errnum) in error_callback() argument 75 fprintf (stderr, "libbacktrace: %s", msg); in error_callback()
|
| A D | btest.c | 203 error_callback_one (void *vdata, const char *msg, int errnum) in error_callback_one() argument 207 fprintf (stderr, "%s", msg); in error_callback_one() 237 error_callback_two (void *vdata, const char *msg, int errnum) in error_callback_two() argument 241 fprintf (stderr, "%s", msg); in error_callback_two() 271 error_callback_three (void *vdata, const char *msg, int errnum) in error_callback_three() argument 275 fprintf (stderr, "%s", msg); in error_callback_three() 696 error_callback_create (void *data ATTRIBUTE_UNUSED, const char *msg, in error_callback_create() argument 699 fprintf (stderr, "%s", msg); in error_callback_create()
|
| /third_party/ulib/musl/src/passwd/ |
| A D | nscd_query.c | 20 struct msghdr msg = { in __nscd_query() local 54 if (sendmsg(fd, &msg, 0) < 0) in __nscd_query()
|
| /third_party/lib/acpica/source/common/ |
| A D | getopt.c | 59 #define ACPI_OPTION_ERROR(msg, badchar) \ argument 60 if (AcpiGbl_Opterr) {AcpiLogError ("%s%c\n", msg, badchar);}
|
| /third_party/ulib/musl/stubs/ |
| A D | socketstubs.c | 77 static ssize_t stub_sendmsg(int fd, const struct msghdr* msg, int flags) { in stub_sendmsg() argument 83 static ssize_t stub_recvmsg(int fd, struct msghdr* msg, int flags) { in stub_recvmsg() argument
|
| /third_party/ulib/backtrace/include/backtrace/ |
| A D | backtrace.h | 65 typedef void (*backtrace_error_callback) (void *data, const char *msg,
|
| /third_party/uapp/dash/src/bltin/ |
| A D | test.c | 243 syntax(const char *op, const char *msg) in syntax() argument 246 error("%s: %s", op, msg); in syntax() 248 error("%s", msg); in syntax()
|