Home
last modified time | relevance | path

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

/bionic/tests/
Dfdtrack_test.cpp234 FDTRACK_TEST(socket, socket(AF_UNIX, SOCK_STREAM, 0));
300 int listener = socket(AF_INET, SOCK_STREAM, 0); in CreateListener()
315 int connector = socket(AF_INET, SOCK_STREAM, 0); in CreateListener()
Dnetdb_test.cpp58 if (p->ai_socktype == SOCK_STREAM) { in TEST()
75 ASSERT_EQ(SOCK_STREAM, ai->ai_socktype); in TEST()
85 hints.ai_socktype = SOCK_STREAM; in TEST()
96 ASSERT_EQ(SOCK_STREAM, tai->ai_socktype); in TEST()
/bionic/libc/bionic/
Dandroid_profiling_dynamic.cpp127 ScopedFd sock_fd{ socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0 /*protocol*/) }; in HandleTracedPerfSignal()
Dsystem_property_set.cpp59 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.c803 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
/bionic/libc/stdio/
Dstdio.cpp1187 if (socketpair(AF_LOCAL, SOCK_CLOEXEC | SOCK_STREAM, 0, fds) == -1) return nullptr; in popen()