Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_socket_test.cpp108 int fd_acc = accept4(fd, reinterpret_cast<struct sockaddr*>(addr), &len, SOCK_CLOEXEC); in TestAccept4() local
109 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestAccept4()
112 AssertCloseOnExec(fd_acc, true); in TestAccept4()
114 close(fd_acc); in TestAccept4()
141 int fd_acc = accept(fd, reinterpret_cast<struct sockaddr*>(addr), &len); in TestRecvMMsg() local
142 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestRecvMMsg()
163 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts))) in TestRecvMMsg()
169 close(fd_acc); in TestRecvMMsg()
209 int fd_acc = accept(fd, reinterpret_cast<struct sockaddr*>(addr), &len); in TestSendMMsg() local
210 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestSendMMsg()
[all …]