Home
last modified time | relevance | path

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

/external/perfetto/src/ipc/
Dclient_impl_unittest.cc377 base::ScopedFile rx_fd = cli_->TakeReceivedFD(); in TEST_F() local
378 ASSERT_TRUE(rx_fd); in TEST_F()
380 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
382 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
421 base::ScopedFile rx_fd = std::move(host_->received_fd_); in TEST_F() local
422 ASSERT_TRUE(rx_fd); in TEST_F()
424 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
426 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
Dhost_impl_unittest.cc382 base::ScopedFile rx_fd; in TEST_F() local
384 .WillOnce(Invoke([received, &fake_service, &rx_fd](const RequestProto&, in TEST_F()
386 rx_fd = fake_service->TakeReceivedFD(); in TEST_F()
392 ASSERT_TRUE(rx_fd); in TEST_F()
394 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
396 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap.c584 int rx_fd, txpid, rxpid, err = 0; in sendmsg_test() local
594 rx_fd = p1; in sendmsg_test()
596 rx_fd = p2; in sendmsg_test()
604 err = sockmap_init_ktls(opt->verbose, rx_fd); in sendmsg_test()
620 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()