/external/libmojo/mojo/message_pump/ |
D | handle_watcher_unittest.cc | 163 ASSERT_TRUE(test_pipe.handle0.is_valid()); in TEST_P() 166 callback_helper.Start(&watcher, test_pipe.handle0.get()); in TEST_P() 184 ASSERT_TRUE(test_pipe1.handle0.is_valid()); in TEST_P() 185 ASSERT_TRUE(test_pipe2.handle0.is_valid()); in TEST_P() 186 ASSERT_TRUE(test_pipe3.handle0.is_valid()); in TEST_P() 189 callback_helper1.Start(&watcher1, test_pipe1.handle0.get()); in TEST_P() 196 callback_helper2.Start(&watcher2, test_pipe2.handle0.get()); in TEST_P() 203 callback_helper3.Start(&watcher3, test_pipe3.handle0.get()); in TEST_P() 247 ASSERT_TRUE(test_pipe1.handle0.is_valid()); in TEST_P() 248 ASSERT_TRUE(test_pipe2.handle0.is_valid()); in TEST_P() [all …]
|
D | message_pump_mojo_unittest.cc | 92 handles.handle0.get(), in TEST() 101 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST() 118 handles.handle0.get(), in TEST() 126 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST() 139 MojoWait(handles.handle0.get().value(), MOJO_HANDLE_SIGNAL_READABLE, in TEST() 155 handles.handle0.get(), in TEST() 166 Handle closed_handle = handles.handle0.get(); in TEST() 167 handles.handle0.reset(); in TEST() 181 MessagePumpMojo::current()->AddHandler(&handler, handles.handle0.get(), in TEST() 184 handles.handle0.reset(); in TEST()
|
D | handle_watcher_perftest.cc | 102 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() 121 ASSERT_TRUE(test_data->pipe.handle0.is_valid()); in TEST_P() 131 test_data->pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() 151 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() 159 mojo::test::ReadTextMessage(pipe.handle0.get(), &received_message)); in TEST_P() 180 ASSERT_TRUE(test_data->pipe.handle0.is_valid()); in TEST_P() 182 test_data->pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() 191 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_P() 199 mojo::test::ReadTextMessage(pipe.handle0.get(), &received_message)); in TEST_P()
|
/external/libmojo/mojo/public/c/system/tests/ |
D | core_unittest_pure_c.c | 44 MojoHandle handle0, handle1; in MinimalCTest() local 53 handle0 = MOJO_HANDLE_INVALID; in MinimalCTest() 54 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 57 MojoWait(handle0, ~MOJO_HANDLE_SIGNAL_NONE, in MinimalCTest() 61 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest() 67 MojoWaitMany(&handle0, &signals, 1, 1, &result_index, states)); in MinimalCTest() 78 MojoWriteMessage(handle0, kHello, (uint32_t)sizeof(kHello), NULL, in MinimalCTest() 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest()
|
/external/libmojo/mojo/public/cpp/system/ |
D | message_pipe.h | 49 MessagePipeHandle handle0; in CreateMessagePipe() local 52 options, handle0.mutable_value(), handle1.mutable_value()); in CreateMessagePipe() 55 message_pipe0->reset(handle0); in CreateMessagePipe() 135 ScopedMessagePipeHandle handle0; variable 140 MojoResult result = CreateMessagePipe(nullptr, &handle0, &handle1); in MessagePipe() 142 DCHECK(handle0.is_valid()); in MessagePipe() 147 MojoResult result = CreateMessagePipe(&options, &handle0, &handle1); in MessagePipe() 149 DCHECK(handle0.is_valid()); in MessagePipe()
|
/external/libmojo/mojo/edk/js/tests/ |
D | connection_tests.js | 53 var connection0 = new connection.Connection(pipe.handle0, ServiceImpl); 61 foo.source = sourcePipe.handle0; 63 foo, sample_service.Service.BazOptions.REGULAR, anotherPipe.handle0) 90 core.close(pipe.handle0); 96 null, sample_service.Service.BazOptions.REGULAR, anotherPipe.handle0) 130 var connection0 = new connection.Connection(pipe.handle0, ProviderImpl);
|
D | js_to_cpp_tests.js | 87 core.close(messagePipe1.handle0); 88 core.close(messagePipe2.handle0); 126 core.close(messagePipe.handle0); 166 core.close(messagePipe.handle0); 191 var result = core.writeMessage(pipe.handle0, arrayBuffer, [], 0);
|
D | sample_service_tests.js | 87 var connection0 = new connection.Connection(sampleServicePipe.handle0, 94 foo, sample.Service.BazOptions.EXTRA, pipe.handle0) 141 foo.source = core.createMessagePipe().handle0;
|
/external/libmojo/mojo/public/js/ |
D | core_unittests.js | 36 expect(core.close(pipe.handle0)).toBe(core.RESULT_OK); 48 expect(core.close(pipe.handle0)).toBe(core.RESULT_OK); 85 wait = core.wait(pipe.handle0, core.HANDLE_SIGNAL_READABLE, 0); 92 [pipe.handle0, pipe.handle1], 104 wait = core.wait(pipe.handle0, core.HANDLE_SIGNAL_WRITABLE, 0); 116 pipe.handle0, senderData, [], 121 wait = core.wait(pipe.handle0, core.HANDLE_SIGNAL_WRITABLE, 0); 188 expect(core.isHandle(pipe.handle0)).toBeTruthy();
|
D | connection.js | 92 var router = new Router(messagePipe.handle0); 114 var router = new Router(messagePipe.handle0); 160 var router = new Router(pipe.handle0);
|
D | validation_unittests.js | 295 testMessagePipe.handle0, 311 expect(core.close(testMessagePipe.handle0)).toBe(core.RESULT_OK);
|
/external/libmojo/mojo/edk/js/ |
D | handle_unittest.cc | 66 TestHandleWrapper wrapper(pipe.handle0.release().value()); in TEST_F() 83 TestHandleWrapper wrapper(pipe.handle0.release().value()); in TEST_F()
|
D | core.cc | 101 MojoHandle handle0 = MOJO_HANDLE_INVALID; in CreateMessagePipe() local 108 result = MojoCreateMessagePipe(NULL, &handle0, &handle1); in CreateMessagePipe() 121 result = MojoCreateMessagePipe(&options, &handle0, &handle1); in CreateMessagePipe() 129 dictionary.Set("handle0", mojo::Handle(handle0)); in CreateMessagePipe()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | array_common_test.h | 65 handles[0] = std::move(pipe.handle0); in Handle() 68 EXPECT_FALSE(pipe.handle0.is_valid()); in Handle() 83 MojoHandle pipe0_value = pipe.handle0.get().value(); in HandlesAreClosed() 84 MojoHandle pipe1_value = pipe.handle0.get().value(); in HandlesAreClosed() 88 handles[0] = std::move(pipe.handle0); in HandlesAreClosed() 89 handles[1].reset(pipe.handle0.release()); in HandlesAreClosed()
|
D | handle_passing_unittest.cc | 218 request->pipe = std::move(pipe1.handle0); in TEST_F() 223 factory->DoStuff(std::move(request), std::move(pipe0.handle0), in TEST_F() 303 MojoHandle handle0_value = extra_pipe.handle0.get().value(); in TEST_F() 308 pipes[0] = std::move(extra_pipe.handle0); in TEST_F()
|
D | interface_ptr_unittest.cc | 287 Handle handle = pipe.handle0.get(); in TEST_F() 290 InterfacePtrInfo<math::Calculator>(std::move(pipe.handle0), 0u)); in TEST_F() 524 new StrongMathCalculatorImpl(std::move(pipe.handle0), &error_received, in TEST() 597 WeakMathCalculatorImpl impl(std::move(pipe.handle0), &error_received, in TEST()
|
D | associated_interface_unittest.cc | 167 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F() 362 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F() 451 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
|
D | request_response_unittest.cc | 137 ReadTextMessage(pipe2.handle0.get(), &value); in TEST_F()
|
/external/libmojo/mojo/edk/embedder/ |
D | entrypoints.cc | 143 MojoResult MojoFuseMessagePipesImpl(MojoHandle handle0, MojoHandle handle1) { in MojoFuseMessagePipesImpl() argument 144 return g_core->FuseMessagePipes(handle0, handle1); in MojoFuseMessagePipesImpl()
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | interface_request.h | 132 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u),
|
D | binding.h | 140 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0),
|
/external/libmojo/mojo/public/c/system/ |
D | thunks.cc | 201 MojoResult MojoFuseMessagePipes(MojoHandle handle0, MojoHandle handle1) { in MojoFuseMessagePipes() argument 203 return g_thunks.FuseMessagePipes(handle0, handle1); in MojoFuseMessagePipes()
|
D | message_pipe.h | 257 MojoFuseMessagePipes(MojoHandle handle0, MojoHandle handle1);
|
D | thunks.h | 123 MojoResult (*FuseMessagePipes)(MojoHandle handle0, MojoHandle handle1);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | connector.cc | 331 message_pipe_ = std::move(dummy_pipe.handle0); in HandleError()
|