Home
last modified time | relevance | path

Searched refs:pipe1 (Results 1 – 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/syscalls/tee/
Dtee01.c71 int pipe1[2]; in tee_test() local
78 SAFE_PIPE(pipe1); in tee_test()
81 ret = splice(fd_in, NULL, pipe1[1], NULL, TEST_BLOCK_SIZE, 0); in tee_test()
85 ret = tee(pipe1[0], pipe2[1], TEST_BLOCK_SIZE, SPLICE_F_NONBLOCK); in tee_test()
95 SAFE_CLOSE(pipe1[0]); in tee_test()
96 SAFE_CLOSE(pipe1[1]); in tee_test()
/external/libchrome/mojo/core/
Dinvitation_unittest.cc223 MojoHandle pipe1 = MOJO_HANDLE_INVALID; in TEST_F() local
225 invitation, "x", 1, nullptr, &pipe1)); in TEST_F()
226 EXPECT_NE(MOJO_HANDLE_INVALID, pipe1); in TEST_F()
233 EXPECT_EQ(kMessage, ReadMessage(pipe1)); in TEST_F()
236 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F()
265 MojoHandle pipe1 = MOJO_HANDLE_INVALID; in TEST_F() local
268 MojoAttachMessagePipeToInvitation(invitation, "x", 1, nullptr, &pipe1)); in TEST_F()
269 EXPECT_EQ(MOJO_HANDLE_INVALID, pipe1); in TEST_F()
271 invitation, "y", 1, nullptr, &pipe1)); in TEST_F()
272 EXPECT_NE(MOJO_HANDLE_INVALID, pipe1); in TEST_F()
[all …]
Ddata_pipe_unittest.cc1562 MojoHandle pipe0, pipe1; in TEST_F() local
1563 ASSERT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0, &pipe1)); in TEST_F()
1570 WaitForSignals(pipe1, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F()
1571 ASSERT_EQ(MOJO_RESULT_OK, ReadEmptyMessageWithHandles(pipe1, &producer_, 1)); in TEST_F()
1598 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F()
1632 MojoHandle pipe0, pipe1; in TEST_F() local
1633 ASSERT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0, &pipe1)); in TEST_F()
1640 WaitForSignals(pipe1, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F()
1641 ASSERT_EQ(MOJO_RESULT_OK, ReadEmptyMessageWithHandles(pipe1, &consumer_, 1)); in TEST_F()
1658 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); in TEST_F()
Dmessage_unittest.cc502 MessagePipe pipe1; in TEST_F() local
503 message->AddMessagePipe(std::move(pipe1.handle0)); in TEST_F()
508 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(pipe1.handle1.get().value(), in TEST_F()
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc810 mojo::MessagePipe pipe1, pipe2; in Multiple() local
819 worker = new MultipleServer1(server_pump, std::move(pipe1.handle0)); in Multiple()
824 std::move(pipe1.handle1)); in Multiple()
913 mojo::MessagePipe pipe1, pipe2; in QueuedReply() local
915 std::move(pipe1.handle0), "Got first message"); in QueuedReply()
923 new QueuedReplyClient(&client_worker_thread, std::move(pipe1.handle1), in QueuedReply()
1624 mojo::MessagePipe pipe1, pipe2; in TEST_F() local
1635 1, &server1_ready, events, server2, std::move(pipe1.handle0)); in TEST_F()
1640 server1, client2, &server1_ready, events, std::move(pipe1.handle1)); in TEST_F()
1748 mojo::MessagePipe pipe0, pipe1, pipe2, pipe3; in TEST_F() local
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc244 auto pipe1 = invitation.ExtractMessagePipe(1); in DEFINE_TEST_CLIENT() local
246 CHECK_EQ(kTestMessage2, ReadMessage(pipe1)); in DEFINE_TEST_CLIENT()
256 ScopedMessagePipeHandle pipe1 = OutgoingInvitation::SendIsolated( in TEST() local
/external/libchrome/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc1026 ScopedMessagePipeHandle pipe1; in TEST() local
1028 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST()
1031 handle->set_f_message_pipe(std::move(pipe1)); in TEST()
1044 ScopedMessagePipeHandle pipe1; in TEST() local
1046 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST()
1048 HandleUnionPtr handle(HandleUnion::NewFMessagePipe(std::move(pipe1))); in TEST()
1061 ScopedMessagePipeHandle pipe1; in TEST() local
1063 CreateMessagePipe(nullptr, &pipe0, &pipe1); in TEST()
1066 handle->set_f_message_pipe(std::move(pipe1)); in TEST()
1089 ScopedMessagePipeHandle pipe1; in TEST() local
[all …]
Dhandle_passing_unittest.cc204 MessagePipe pipe1; in TEST_P() local
205 EXPECT_TRUE(WriteTextMessage(pipe1.handle1.get(), kText2)); in TEST_P()
213 1, std::move(pipe1.handle0), base::nullopt, std::move(imported))); in TEST_P()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86PfmCounters.td76 def JFPU1Counter : PfmIssueCounter<JFPU1, ["dispatched_fpu:pipe1"]>;
/external/libevent/test/
Dregress.c1156 int pipe1; in test_signal_pipeloss() local
1159 pipe1 = base1->sig.ev_signal_pair[0]; in test_signal_pipeloss()
1163 if (close(pipe1) != -1 || errno!=EBADF) { in test_signal_pipeloss()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp17650 VkPipelineObj pipe1(m_device); in TEST_F() local
17651 pipe1.AddDefaultColorAttachment(); in TEST_F()
17652 pipe1.AddShader(&vs); in TEST_F()
17653 pipe1.AddShader(&fs); in TEST_F()
17654 pipe1.AddVertexInputBindings(&input_binding, 1); in TEST_F()
17655 pipe1.AddVertexInputAttribs(&input_attribs[0], 3); in TEST_F()
17656 pipe1.SetViewport(m_viewports); in TEST_F()
17657 pipe1.SetScissor(m_scissors); in TEST_F()
17658 pipe1.CreateVKPipeline(pipeline_layout.handle(), renderPass()); in TEST_F()
17677 vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, pipe1.handle()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenSubtargetInfo.inc15843 "dispatched_fpu:pipe1", // #8 = JFPU1