Home
last modified time | relevance | path

Searched refs:new_sock (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/multiprocessing/
Dresource_sharer.py30 new_sock = sock.dup()
32 share = new_sock.share(pid)
34 self._id = _resource_sharer.register(send, new_sock.close)
/external/mtools/
Dfloppyd.c767 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/
Dunix_socket.cc899 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/
Dmsan_test.cc914 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()