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::CreatePair( 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 | 58 base::UnixSocketRaw send_sock(base::ScopedFile(sv[0]), in CopyFD() local 65 PERFETTO_CHECK(send_sock.Send(msg, sizeof(msg), &fd, 1)); in CopyFD()
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 663 UnixSocketRaw send_sock; in TEST_F() local 665 std::tie(send_sock, recv_sock) = in TEST_F() 667 ASSERT_TRUE(send_sock); in TEST_F() 672 ASSERT_EQ(setsockopt(send_sock.fd(), SOL_SOCKET, SO_SNDBUF, &bufsize, in TEST_F() 730 ASSERT_EQ(send_sock.SendMsgAll(&hdr), static_cast<ssize_t>(sizeof(send_buf))); in TEST_F() 731 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)
|