Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Drclient_unittest.cc133 rc = pipe(pipe_fds_); in SetUp()
136 rclient_ = cras_rclient_create(pipe_fds_[1], 800); in SetUp()
137 rc = read(pipe_fds_[0], &msg, sizeof(msg)); in SetUp()
164 close(pipe_fds_[0]); in TearDown()
165 close(pipe_fds_[1]); in TearDown()
175 int pipe_fds_[2]; member in __anon561ccac60111::RClientMessagesSuite
188 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
205 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
228 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
248 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
[all …]
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix_unittest.cc58 ASSERT_EQ(0, pipe(pipe_fds_)); in SetUp()
87 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[0]))); in TearDown()
88 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[1]))); in TearDown()
92 int read_file_descriptor() const { return pipe_fds_[0]; } in read_file_descriptor()
93 int write_file_descriptor() const { return pipe_fds_[1]; } in write_file_descriptor()
159 int pipe_fds_[2]; member in base::__anon85baf4d10111::FileDescriptorWatcherTest
/external/libchrome/base/test/
Dscoped_task_environment_unittest.cc256 int pipe_fds_[2]; in TEST_F() local
257 ASSERT_EQ(0, pipe(pipe_fds_)); in TEST_F()
263 pipe_fds_[1], run_loop.QuitClosure()); in TEST_F()