Searched refs:send_sock (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/posix/ |
D | unix_domain_socket_unittest.cc | 108 ScopedFD send_sock(fds[1]); in TEST() local 113 ASSERT_TRUE(UnixDomainSocket::SendMsg(send_sock.get(), kHello, sizeof(kHello), in TEST() 135 ScopedFD send_sock(fds[1]); in TEST() local 141 send_sock.get()); in TEST() 142 ASSERT_TRUE(UnixDomainSocket::SendMsg(send_sock.get(), kHello, sizeof(kHello), in TEST() 165 ScopedFD send_sock(fds[1]); in TEST() local 169 send_sock.reset(); in TEST()
|
D | unix_domain_socket.cc | 249 ScopedFD recv_sock, send_sock; in SendRecvMsgWithFlags() local 250 if (!CreateSocketPair(&recv_sock, &send_sock)) in SendRecvMsgWithFlags() 255 send_fds.push_back(send_sock.get()); in SendRecvMsgWithFlags() 263 send_sock.reset(); in SendRecvMsgWithFlags()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source_unittest.cc | 62 base::UnixSocketRaw send_sock; in StartAndSimulateLogd() local 66 std::tie(send_sock, recv_sock) = base::UnixSocketRaw::CreatePairPosix( in StartAndSimulateLogd() 68 ASSERT_TRUE(send_sock); in StartAndSimulateLogd() 77 EXPECT_GT(send_sock.Receive(cmd, sizeof(cmd) - 1), 0); in StartAndSimulateLogd() 82 send_sock.Send(buf.data(), buf.size()); in StartAndSimulateLogd()
|
/external/perfetto/src/profiling/memory/ |
D | wire_protocol_unittest.cc | 55 base::UnixSocketRaw send_sock(base::ScopedFile(sv[0]), in CopyFD() local 62 PERFETTO_CHECK(send_sock.Send(msg, sizeof(msg), &fd, 1)); in CopyFD()
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 819 UnixSocketRaw send_sock; in TEST_F() local 821 std::tie(send_sock, recv_sock) = in TEST_F() 823 ASSERT_TRUE(send_sock); in TEST_F() 828 ASSERT_EQ(setsockopt(send_sock.fd(), SOL_SOCKET, SO_SNDBUF, &bufsize, in TEST_F() 886 ASSERT_EQ(send_sock.SendMsgAllPosix(&hdr), in TEST_F() 888 send_sock.Shutdown(); in TEST_F()
|
/external/scapy/scapy/ |
D | automaton.py | 512 self.send_sock.send(pkt) 721 self.send_sock = self.send_sock_class(**self.socket_kargs)
|