Home
last modified time | relevance | path

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

/bionic/tests/
Dfdtrack_test.cpp232 FDTRACK_TEST(socket, socket(AF_UNIX, SOCK_STREAM, 0));
303 int listener = socket(AF_INET, SOCK_STREAM, 0); in CreateListener()
318 int connector = socket(AF_INET, SOCK_STREAM, 0); in CreateListener()
Dnetdb_test.cpp57 if (p->ai_socktype == SOCK_STREAM) { in TEST()
74 ASSERT_EQ(SOCK_STREAM, ai->ai_socktype); in TEST()
84 hints.ai_socktype = SOCK_STREAM; in TEST()
95 ASSERT_EQ(SOCK_STREAM, tai->ai_socktype); in TEST()
/bionic/libc/bionic/
Dandroid_profiling_dynamic.cpp128 ScopedFd sock_fd{ socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0 /*protocol*/) }; in HandleTracedPerfSignal()
Dsystem_property_set.cpp57 socket_.reset(::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0)); in PropertyServiceConnection()
/bionic/tests/headers/posix/
Dsys_socket_h.c91 MACRO(SOCK_STREAM); in sys_socket_h()
/bionic/libc/include/sys/
Dsocket.h49 #define SOCK_STREAM 1 macro
/bionic/libc/dns/net/
Dgetaddrinfo.c178 { PF_INET6, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
182 { PF_INET, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
185 { PF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 },
1168 case SOCK_STREAM: in get_port()
1197 case SOCK_STREAM: in get_port()
/bionic/libc/dns/resolv/
Dres_send.c806 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
/bionic/libc/stdio/
Dstdio.cpp1185 if (socketpair(AF_LOCAL, SOCK_CLOEXEC | SOCK_STREAM, 0, fds) == -1) return nullptr; in popen()