Searched refs:pipe1 (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 97 int pipe1[2]; in tee_test() local 104 SAFE_PIPE(cleanup, pipe1); in tee_test() 107 ret = splice(fd_in, NULL, pipe1[1], NULL, TEST_BLOCK_SIZE, 0); in tee_test() 111 ret = tee(pipe1[0], pipe2[1], TEST_BLOCK_SIZE, SPLICE_F_NONBLOCK); in tee_test() 121 close(pipe1[0]); in tee_test() 122 close(pipe1[1]); in tee_test()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 208 MessagePipe pipe1; in TEST_F() local 209 EXPECT_TRUE(WriteTextMessage(pipe1.handle1.get(), kText2)); in TEST_F() 218 request->pipe = std::move(pipe1.handle0); in TEST_F()
|
D | union_unittest.cc | 1034 ScopedMessagePipeHandle pipe1; in TEST() local 1036 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST() 1039 handle->set_f_message_pipe(std::move(pipe1)); in TEST() 1052 ScopedMessagePipeHandle pipe1; in TEST() local 1054 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST() 1057 handle->set_f_message_pipe(std::move(pipe1)); in TEST() 1084 ScopedMessagePipeHandle pipe1; in TEST() local 1086 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST() 1089 handle->set_f_message_pipe(std::move(pipe1)); in TEST()
|
/external/libmojo/mojo/edk/system/ |
D | data_pipe_unittest.cc | 1486 MojoHandle pipe0, pipe1; in TEST_F() local 1488 MojoCreateMessagePipe(nullptr, &pipe0, &pipe1)); in TEST_F() 1494 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 1498 MojoReadMessage(pipe1, nullptr, 0, &producer_, &num_handles, in TEST_F() 1526 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F() 1559 MojoHandle pipe0, pipe1; in TEST_F() local 1561 MojoCreateMessagePipe(nullptr, &pipe0, &pipe1)); in TEST_F() 1567 ASSERT_EQ(MOJO_RESULT_OK, MojoWait(pipe1, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 1571 MojoReadMessage(pipe1, nullptr, 0, &consumer_, &num_handles, in TEST_F() 1589 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F()
|