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.cc382 base::ScopedFile rx_fd = cli_->TakeReceivedFD(); in TEST_F() local
383 ASSERT_TRUE(rx_fd); in TEST_F()
385 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
387 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
426 base::ScopedFile rx_fd = std::move(host_->received_fd_); in TEST_F() local
427 ASSERT_TRUE(rx_fd); in TEST_F()
429 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
431 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
Dhost_impl_unittest.cc387 base::ScopedFile rx_fd; in TEST_F() local
389 .WillOnce(Invoke([received, &fake_service, &rx_fd](const RequestProto&, in TEST_F()
391 rx_fd = fake_service->TakeReceivedFD(); in TEST_F()
397 ASSERT_TRUE(rx_fd); in TEST_F()
399 ASSERT_EQ(0, lseek(*rx_fd, 0, SEEK_SET)); in TEST_F()
401 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap.c610 int rx_fd, txpid, rxpid, err = 0; in sendmsg_test() local
620 rx_fd = p1; in sendmsg_test()
622 rx_fd = p2; in sendmsg_test()
630 err = sockmap_init_ktls(opt->verbose, rx_fd); in sendmsg_test()
646 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()