Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_socket_test.cpp124 #define NUM_RECV_MSGS (sizeof(g_RecvMsgs)/sizeof(const char*)) macro
127 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in SendMultiple()
142 struct mmsghdr msgs[NUM_RECV_MSGS]; in TestRecvMMsg()
143 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_RECV_MSGS); in TestRecvMMsg()
145 struct iovec io[NUM_RECV_MSGS]; in TestRecvMMsg()
146 char bufs[NUM_RECV_MSGS][100]; in TestRecvMMsg()
147 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg()
160 ASSERT_EQ(NUM_RECV_MSGS, in TestRecvMMsg()
161 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts))) in TestRecvMMsg()
163 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg()