Searched refs:new_sock (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/multiprocessing/ |
D | resource_sharer.py | 30 new_sock = sock.dup() 32 share = new_sock.share(pid) 34 self._id = _resource_sharer.register(send, new_sock.close)
|
/external/mtools/ |
D | floppyd.c | 767 int new_sock; in server_main_loop() local 772 while ((new_sock = accept(sock, (struct sockaddr *)&addr, &len)) < 0){} in server_main_loop() 790 serve_client(new_sock, device_name, n_dev, 0); in server_main_loop() 798 close(new_sock); in server_main_loop() 799 new_sock = -1; in server_main_loop()
|
/external/perfetto/src/base/ |
D | unix_socket.cc | 899 std::unique_ptr<UnixSocket> new_sock(new UnixSocket( in OnEvent() local 902 event_listener_->OnNewIncomingConnection(this, std::move(new_sock)); in OnEvent() 943 std::unique_ptr<UnixSocket> new_sock(new UnixSocket( in OnEvent() local 946 event_listener_->OnNewIncomingConnection(this, std::move(new_sock)); in OnEvent()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 914 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); in TEST() local 915 ASSERT_LT(0, new_sock); in TEST() 920 res = getpeername(new_sock, (struct sockaddr *)&sai, &sz); in TEST() 925 close(new_sock); in TEST()
|