/third_party/eudev/src/libudev/ |
D | libudev-monitor.c | 543 struct msghdr smsg; in udev_monitor_receive_device() local 562 memzero(&smsg, sizeof(struct msghdr)); in udev_monitor_receive_device() 563 smsg.msg_iov = &iov; in udev_monitor_receive_device() 564 smsg.msg_iovlen = 1; in udev_monitor_receive_device() 565 smsg.msg_control = cred_msg; in udev_monitor_receive_device() 566 smsg.msg_controllen = sizeof(cred_msg); in udev_monitor_receive_device() 567 smsg.msg_name = &snl; in udev_monitor_receive_device() 568 smsg.msg_namelen = sizeof(snl); in udev_monitor_receive_device() 570 buflen = recvmsg(udev_monitor->sock, &smsg, 0); in udev_monitor_receive_device() 577 if (buflen < 32 || (smsg.msg_flags & MSG_TRUNC)) { in udev_monitor_receive_device() [all …]
|
/third_party/lwip/test/unit/api/ |
D | test_sockets.c | 288 struct msghdr smsg; in test_sockets_msgapi_tcp() local 379 memset(&smsg, 0, sizeof(smsg)); in test_sockets_msgapi_tcp() 380 smsg.msg_iov = siovs; in test_sockets_msgapi_tcp() 381 smsg.msg_iovlen = 8; in test_sockets_msgapi_tcp() 394 ret = lwip_sendmsg(s1, &smsg, 0); in test_sockets_msgapi_tcp() 401 test_sockets_msgapi_update_iovs(&smsg, (size_t)ret); in test_sockets_msgapi_tcp() 444 static void test_sockets_msgapi_udp_send_recv_loop(int s, struct msghdr *smsg, struct msghdr *rmsg) in test_sockets_msgapi_udp_send_recv_loop() argument 450 ret = lwip_sendmsg(s, smsg, 0); in test_sockets_msgapi_udp_send_recv_loop() 482 struct msghdr smsg; in test_sockets_msgapi_udp() local 521 memset(&smsg, 0, sizeof(smsg)); in test_sockets_msgapi_udp() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedsend/ |
D | mq_timedsend01.c | 183 if (tv->mqt_send(*tc->fd, smsg, tc->len, tc->prio, NULL) < 0) { in do_test() 192 msg_ptr = smsg; in do_test() 251 if (rmsg[j] != smsg[j]) { in do_test() 254 rmsg[j], i, smsg[j]); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
D | mq.h | 18 static char smsg[MAX_MSGSIZE]; variable 53 smsg[i] = i; in setup_common()
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
D | mq_timedreceive01.c | 169 if (tv->mqt_send(*tc->fd, smsg, tc->len, tc->prio, NULL) < 0) { in do_test() 215 if (rmsg[j] != smsg[j]) { in do_test() 218 rmsg[j], i, smsg[j]); in do_test()
|
/third_party/toybox/toys/pending/ |
D | crond.c | 78 char *smsg; in loginfo() local 89 smsg = xzalloc(++used); in loginfo() 90 vsnprintf(smsg, used, msg, s); in loginfo() 93 smsg[used-1] = '\n'; in loginfo() 94 writeall((loglevel > 8) ? 2 : 1, smsg, used); in loginfo() 95 } else syslog((loglevel > 8) ? LOG_ERR : LOG_INFO, "%s", smsg); in loginfo() 96 free(smsg); in loginfo()
|
/third_party/eudev/src/udev/ |
D | udev-ctrl.c | 352 struct msghdr smsg = { in udev_ctrl_receive_msg() local 396 size = recvmsg(conn->sock, &smsg, 0); in udev_ctrl_receive_msg() 402 cmsg_close_all(&smsg); in udev_ctrl_receive_msg() 404 cmsg = CMSG_FIRSTHDR(&smsg); in udev_ctrl_receive_msg()
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify01.c | 155 TEST(mq_timedsend(*tc->fd, smsg, MSG_LENGTH, 0, in do_test()
|
/third_party/libsoup/tests/ |
D | server-test.c | 853 SoupMessage *smsg; member 863 soup_server_unpause_message (usd->server, usd->smsg); in idle_unpause_message() 879 usd->smsg = msg; in unhandled_server_callback()
|
/third_party/libsoup/ |
D | ChangeLog.pre-git | 2805 since smsg->method is now an interned string just like with a
|