Home
last modified time | relevance | path

Searched refs:msg_flags (Results 1 – 25 of 91) sorted by relevance

1234

/external/ltp/utils/sctp/func_tests/
Dtest_sctp_sendrecvmsg.c85 int offset, msg_flags; in main() local
178 msg_flags = 0; in main()
181 &sinfo, &msg_flags); in main()
185 test_check_buf_notification(big_buffer, error, msg_flags, in main()
201 msg_flags = 0; in main()
204 &sinfo, &msg_flags); in main()
206 test_check_buf_notification(big_buffer, error, msg_flags, in main()
215 msg_flags = 0; in main()
218 &sinfo, &msg_flags); in main()
219 test_check_buf_data(big_buffer, error, msg_flags, &sinfo, in main()
[all …]
Dtest_timetolive.c198 outmessage.msg_flags = 0; in main()
272 outmessage.msg_flags = 0; in main()
344 } while (!(inmessage.msg_flags & MSG_EOR)); in main()
Dtest_assoc_abort.c124 outmessage.msg_flags = 0; in main()
187 outmessage.msg_flags = 0; in main()
Dtest_assoc_shutdown.c124 outmessage.msg_flags = 0; in main()
188 outmessage.msg_flags = 0; in main()
Dtest_inaddr_any.c156 outmessage.msg_flags = 0; in main()
204 outmessage.msg_flags = 0; in main()
Dtest_fragments.c148 outmessage.msg_flags = 0; in main()
259 if (inmessage.msg_flags & MSG_EOR) { in main()
/external/vulkan-validation-layers/layers/
Dvk_layer_config.cpp251 VK_LAYER_EXPORT void print_msg_flags(VkFlags msgFlags, char *msg_flags) { in print_msg_flags() argument
254 msg_flags[0] = 0; in print_msg_flags()
256 strcat(msg_flags, "DEBUG"); in print_msg_flags()
260 if (separator) strcat(msg_flags, ","); in print_msg_flags()
261 strcat(msg_flags, "INFO"); in print_msg_flags()
265 if (separator) strcat(msg_flags, ","); in print_msg_flags()
266 strcat(msg_flags, "WARN"); in print_msg_flags()
270 if (separator) strcat(msg_flags, ","); in print_msg_flags()
271 strcat(msg_flags, "PERF"); in print_msg_flags()
275 if (separator) strcat(msg_flags, ","); in print_msg_flags()
[all …]
Dvk_layer_logging.h390 char msg_flags[30]; in log_callback() local
392 print_msg_flags(msgFlags, msg_flags); in log_callback()
394 … "%s(%s): object: 0x%" PRIx64 " type: %d location: %lu msgCode: %d: %s\n", pLayerPrefix, msg_flags, in log_callback()
405 char msg_flags[30]; in win32_debug_output_msg() local
408 print_msg_flags(msgFlags, msg_flags); in win32_debug_output_msg()
411 msg_flags, (size_t)srcObject, objType, location, msgCode, pMsg); in win32_debug_output_msg()
/external/ltp/utils/sctp/lib/
Drecvmsg.c57 int *msg_flags) in sctp_recvmsg() argument
77 error = recvmsg(s, &inmsg, msg_flags ? *msg_flags : 0); in sctp_recvmsg()
83 if (msg_flags) in sctp_recvmsg()
84 *msg_flags = inmsg.msg_flags; in sctp_recvmsg()
Dsendmsg.c51 outmsg.msg_flags = 0; in sctp_sendmsg()
94 outmsg.msg_flags = 0; in sctp_send()
/external/ltp/utils/sctp/testlib/
Dsctputil.c112 if (!(MSG_NOTIFICATION & msg->msg_flags)) { in test_print_message()
181 test_check_buf_notification(void *buf, int datalen, int msg_flags, in test_check_buf_notification() argument
187 if (!(msg_flags & MSG_NOTIFICATION)) in test_check_buf_notification()
226 msg->msg_flags, expected_datalen, in test_check_msg_notification()
234 test_check_buf_data(void *buf, int datalen, int msg_flags, in test_check_buf_data() argument
239 if (msg_flags & MSG_NOTIFICATION) in test_check_buf_data()
251 if ((msg_flags & ~0x80000000) != expected_msg_flags) in test_check_buf_data()
253 "expecting:0x%x", msg_flags, expected_msg_flags); in test_check_buf_data()
296 test_check_buf_data(msg->msg_iov[0].iov_base, datalen, msg->msg_flags, in test_check_msg_data()
/external/strace/
Dmmsghdr.c184 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
198 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
217 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
230 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
Dfetch_struct_msghdr.c76 p_native->msg_flags = in MPERS_PRINTER_DECL()
77 v_compat.msg_flags; in MPERS_PRINTER_DECL()
Dfetch_struct_mmsghdr.c76 p_native->msg_hdr.msg_flags = in MPERS_PRINTER_DECL()
77 v_compat.msg_hdr.msg_flags; in MPERS_PRINTER_DECL()
Dmsghdr.c391 PRINT_FIELD_FLAGS(", ", *msg, msg_flags, msg_flags, "MSG_???"); in print_struct_msghdr()
440 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
469 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
Dnet.c222 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
234 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
259 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
285 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
/external/iputils/ninfod/
Dni_ifaddrs.c151 msg.msg_flags = 0; in nl_recvmsg()
154 || (msg.msg_flags & MSG_TRUNC)) in nl_recvmsg()
157 *flags = msg.msg_flags; in nl_recvmsg()
169 int msg_flags; in nl_getmsg() local
179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); in nl_getmsg()
180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg()
/external/dnsmasq/src/
Dnetlink.c89 msg.msg_flags = 0; in netlink_recv()
94 if (rc != -1 && (msg.msg_flags & MSG_TRUNC)) in netlink_recv()
107 msg.msg_flags = 0; in netlink_recv()
116 if (msg.msg_flags & MSG_TRUNC) in netlink_recv()
Ddhcp.c123 msg.msg_flags = 0; in dhcp_packet()
129 if (!(msg.msg_flags & MSG_TRUNC)) in dhcp_packet()
150 msg.msg_flags = 0; in dhcp_packet()
156 if ((msg.msg_flags & MSG_TRUNC) || sz < (ssize_t)(sizeof(*mess) - sizeof(mess->options))) in dhcp_packet()
175 if (!(msg.msg_flags & MSG_BCAST)) in dhcp_packet()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg03.c86 msg.msg_flags = 0; in client()
124 msg.msg_flags = 0; in server()
/external/libnfnetlink/src/
Dlibnfnetlink.c499 msg.msg_flags = 0; in nfnl_sendiov()
523 u_int16_t msg_flags) in nfnl_fill_hdr() argument
532 nlh->nlmsg_flags = msg_flags; in nfnl_fill_hdr()
697 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen()
726 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen()
815 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk()
858 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk()
/external/libchrome/base/posix/
Dunix_domain_socket_linux.cc159 if (msg.msg_flags & MSG_TRUNC || msg.msg_flags & MSG_CTRUNC) { in RecvMsgWithFlags()
/external/strace/tests/
Dmmsg_name.c112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
196 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
/external/strace/tests-m32/
Dmmsg_name.c112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
196 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
/external/strace/tests-mx32/
Dmmsg_name.c112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
196 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()

1234