Home
last modified time | relevance | path

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

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