Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-dlerror.c30 const char* msg; in TEST_IMPL() local
36 msg = uv_dlerror(&lib); in TEST_IMPL()
37 ASSERT_NOT_NULL(msg); in TEST_IMPL()
43 msg = uv_dlerror(&lib); in TEST_IMPL()
44 ASSERT_NOT_NULL(msg); in TEST_IMPL()
48 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL()
50 ASSERT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL()
53 msg = uv_dlerror(&lib); in TEST_IMPL()
54 ASSERT_NOT_NULL(msg); in TEST_IMPL()
58 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL()
[all …]
H A Dtest-pipe-sendmsg.c112 struct msghdr msg; in TEST_IMPL() local
126 memset(&msg, 0, sizeof(msg)); in TEST_IMPL()
127 msg.msg_iov = (struct iovec*) &buf; in TEST_IMPL()
128 msg.msg_iovlen = 1; in TEST_IMPL()
129 msg.msg_flags = 0; in TEST_IMPL()
131 msg.msg_control = (void*) scratch; in TEST_IMPL()
132 msg.msg_controllen = CMSG_LEN(sizeof(send_fds)); in TEST_IMPL()
133 ASSERT_GE(sizeof(scratch), msg.msg_controllen); in TEST_IMPL()
135 cmsg = CMSG_FIRSTHDR(&msg); in TEST_IMPL()
138 cmsg->cmsg_len = msg.msg_controllen; in TEST_IMPL()
[all …]
H A Dtask.h88 #define FATAL(msg) \ argument
94 msg); \
/libuv/src/unix/
H A Dqnx.c34 mem_info_t msg; in get_mem_info() local
36 memset(&msg, 0, sizeof(msg)); in get_mem_info()
37 msg.i.type = _MEM_INFO; in get_mem_info()
38 msg.i.fd = -1; in get_mem_info()
40 if (MsgSend(MEMMGR_COID, &msg.i, sizeof(msg.i), &msg.o, sizeof(msg.o)) in get_mem_info()
42 *totalmem = msg.o.info.__posix_tmi_total; in get_mem_info()
43 *freemem = msg.o.info.posix_tmi_length; in get_mem_info()
H A Dsignal.c184 uv__signal_msg_t msg; in uv__signal_handler() local
189 memset(&msg, 0, sizeof msg); in uv__signal_handler()
201 msg.signum = signum; in uv__signal_handler()
202 msg.handle = handle; in uv__signal_handler()
209 r = write(handle->loop->signal_pipefd[1], &msg, sizeof msg); in uv__signal_handler()
212 assert(r == sizeof msg || in uv__signal_handler()
436 uv__signal_msg_t* msg; in uv__signal_event() local
473 msg = (uv__signal_msg_t*) (buf + i); in uv__signal_event()
474 handle = msg->handle; in uv__signal_event()
476 if (msg->signum == handle->signum) { in uv__signal_event()
H A Dstream.c782 struct msghdr msg; in uv__try_write() local
794 msg.msg_name = NULL; in uv__try_write()
795 msg.msg_namelen = 0; in uv__try_write()
796 msg.msg_iov = iov; in uv__try_write()
798 msg.msg_flags = 0; in uv__try_write()
990 for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) { in uv__stream_recv_cmsg()
1028 struct msghdr msg; in uv__read() local
1069 msg.msg_flags = 0; in uv__read()
1071 msg.msg_iovlen = 1; in uv__read()
1072 msg.msg_name = NULL; in uv__read()
[all …]
H A Dos390-syscalls.c148 } msg; in init_message_queue() local
160 msg.header = 1; in init_message_queue()
161 if (msgsnd(lst->msg_queue, &msg, sizeof(msg.body), 0) != 0) in init_message_queue()
165 if (msgrcv(lst->msg_queue, &msg, sizeof(msg.body), 0, 0) != sizeof(msg.body)) in init_message_queue()
H A Dos390.c751 _RFIM msg; in os390_message_queue_handler() local
756 msglen = msgrcv(ep->msg_queue, &msg, sizeof(msg), 0, IPC_NOWAIT); in os390_message_queue_handler()
765 if (msg.__rfim_event == _RFIM_ATTR || msg.__rfim_event == _RFIM_WRITE) in os390_message_queue_handler()
767 else if (msg.__rfim_event == _RFIM_RENAME || msg.__rfim_event == _RFIM_UNLINK) in os390_message_queue_handler()
769 else if (msg.__rfim_event == 156) in os390_message_queue_handler()
784 __a2e_l(msg.__rfim_utok, sizeof(msg.__rfim_utok)); in os390_message_queue_handler()
785 handle = *(uv_fs_event_t**)(msg.__rfim_utok); in os390_message_queue_handler()
H A Dcore.c717 ssize_t uv__recvmsg(int fd, struct msghdr* msg, int flags) { in uv__recvmsg() argument
725 rc = recvmsg(fd, msg, flags | MSG_CMSG_CLOEXEC); in uv__recvmsg()
734 rc = recvmsg(fd, msg, flags); in uv__recvmsg()
737 if (msg->msg_controllen == 0) in uv__recvmsg()
739 for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) in uv__recvmsg()
H A Dinternal.h255 ssize_t uv__recvmsg(int fd, struct msghdr *msg, int flags);
/libuv/src/win/
H A Ddl.c95 char* msg; in uv__dlerror() local
120 msg = lib->errmsg; in uv__dlerror()
126 msg, in uv__dlerror()
128 LocalFree(msg); in uv__dlerror()
H A Dtty.c2323 MSG msg; local
2361 while (GetMessage(&msg, NULL, 0, 0)) {
2362 TranslateMessage(&msg);
2363 DispatchMessage(&msg);
/libuv/src/
H A Duv-common.c231 #define UV_STRERROR_GEN_R(name, msg) \ argument
233 snprintf(buf, buflen, "%s", msg); break;
244 #define UV_STRERROR_GEN(name, msg) case UV_ ## name: return msg; argument
/libuv/docs/code/uvwget/
H A Dmain.c64 switch (message->msg) { in check_multi_info()

Completed in 35 milliseconds