Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_socket_test.cpp126 #define NUM_RECV_MSGS (sizeof(g_RecvMsgs)/sizeof(const char*)) macro
129 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in SendMultiple()
144 struct mmsghdr msgs[NUM_RECV_MSGS]; in TestRecvMMsg()
145 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_RECV_MSGS); in TestRecvMMsg()
147 struct iovec io[NUM_RECV_MSGS]; in TestRecvMMsg()
148 char bufs[NUM_RECV_MSGS][100]; in TestRecvMMsg()
149 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg()
162 ASSERT_EQ(NUM_RECV_MSGS, in TestRecvMMsg()
163 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts))) in TestRecvMMsg()
165 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in TestRecvMMsg()