Searched refs:listen_socket (Results 1 - 3 of 3) sorted by relevance

/external/lldb/source/Core/
H A DConnectionFileDescriptor.cpp1123 int listen_socket = ::socket (AF_UNIX, SOCK_STREAM, 0);
1124 if (listen_socket == -1)
1138 if (::bind (listen_socket, (struct sockaddr *)&saddr_un, SUN_LEN (&saddr_un)) == 0)
1140 if (::listen (listen_socket, 5) == 0)
1142 m_fd_send = m_fd_recv = ::accept (listen_socket, NULL, 0);
1160 Close (listen_socket, NULL);
/external/toybox/toys/pending/
H A Dtelnetd.c129 static int listen_socket(void) function
317 master_fd = listen_socket();
/external/compiler-rt/lib/msan/tests/
H A Dmsan_test.cc880 int listen_socket = socket(AF_INET, SOCK_STREAM, 0); local
881 ASSERT_LT(0, listen_socket);
888 int res = bind(listen_socket, (struct sockaddr *)&sai, sizeof(sai));
891 res = listen(listen_socket, 1);
895 res = getsockname(listen_socket, (struct sockaddr *)&sai, &sz);
911 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz);
924 close(listen_socket);

Completed in 303 milliseconds