Home
last modified time | relevance | path

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

/external/strace/tests/
Dnet-y-unix.c111 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
112 if (accept_fd < 0) in main()
114 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
119 accept_fd, accept_inode); in main()
140 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
144 accept_fd, accept_inode, text, in main()
147 assert(close(accept_fd) == 0); in main()
148 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()
182 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
183 if (accept_fd < 0) in main()
[all …]
Dnet-yy-unix.c112 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
113 if (accept_fd < 0) in main()
115 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
120 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
139 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
143 accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, in main()
150 assert(close(accept_fd) == 0); in main()
152 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
185 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
186 if (accept_fd < 0) in main()
[all …]
Dnet-yy-inet.c110 const int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
111 if (accept_fd < 0) in main()
119 accept_fd, listen_port, connect_port); in main()
123 if (getpeername(accept_fd, accept_sa, len)) in main()
128 accept_fd, listen_port, connect_port, connect_port, in main()
161 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_WAITALL, in main()
165 accept_fd, listen_port, connect_port, text, in main()
168 assert(close(accept_fd) == 0); in main()
170 accept_fd, listen_port, connect_port); in main()
/external/strace/tests-mx32/
Dnet-yy-unix.c112 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
113 if (accept_fd < 0) in main()
115 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
120 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
139 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
143 accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, in main()
150 assert(close(accept_fd) == 0); in main()
152 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
185 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
186 if (accept_fd < 0) in main()
[all …]
Dnet-y-unix.c111 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
112 if (accept_fd < 0) in main()
114 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
119 accept_fd, accept_inode); in main()
140 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
144 accept_fd, accept_inode, text, in main()
147 assert(close(accept_fd) == 0); in main()
148 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()
182 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
183 if (accept_fd < 0) in main()
[all …]
Dnet-yy-inet.c110 const int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
111 if (accept_fd < 0) in main()
119 accept_fd, listen_port, connect_port); in main()
123 if (getpeername(accept_fd, accept_sa, len)) in main()
128 accept_fd, listen_port, connect_port, connect_port, in main()
161 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_WAITALL, in main()
165 accept_fd, listen_port, connect_port, text, in main()
168 assert(close(accept_fd) == 0); in main()
170 accept_fd, listen_port, connect_port); in main()
/external/strace/tests-m32/
Dnet-y-unix.c111 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
112 if (accept_fd < 0) in main()
114 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
119 accept_fd, accept_inode); in main()
140 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
144 accept_fd, accept_inode, text, in main()
147 assert(close(accept_fd) == 0); in main()
148 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()
182 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
183 if (accept_fd < 0) in main()
[all …]
Dnet-yy-unix.c112 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
113 if (accept_fd < 0) in main()
115 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
120 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
139 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
143 accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, in main()
150 assert(close(accept_fd) == 0); in main()
152 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
185 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
186 if (accept_fd < 0) in main()
[all …]
Dnet-yy-inet.c110 const int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
111 if (accept_fd < 0) in main()
119 accept_fd, listen_port, connect_port); in main()
123 if (getpeername(accept_fd, accept_sa, len)) in main()
128 accept_fd, listen_port, connect_port, connect_port, in main()
161 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_WAITALL, in main()
165 accept_fd, listen_port, connect_port, text, in main()
168 assert(close(accept_fd) == 0); in main()
170 accept_fd, listen_port, connect_port); in main()
/external/libmojo/mojo/edk/system/
Dchannel_posix.cc284 ScopedPlatformHandle accept_fd; in OnFileCanReadWithoutBlocking() local
285 ServerAcceptConnection(handle_.get(), &accept_fd); in OnFileCanReadWithoutBlocking()
286 if (!accept_fd.is_valid()) { in OnFileCanReadWithoutBlocking()
290 handle_ = std::move(accept_fd); in OnFileCanReadWithoutBlocking()
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c222 int accept_fd; in ThreadedStartServer() local
252 if ((accept_fd = accept(threaded_server_fd, (struct sockaddr*)(&sa), in ThreadedStartServer()
260 close(accept_fd); in ThreadedStartServer()