/external/libmojo/mojo/edk/embedder/ |
D | platform_channel_pair_posix_unittest.cc | 152 ScopedPlatformHandleVectorPtr platform_handles(new PlatformHandleVector); in TEST_F() local 159 platform_handles->push_back( in TEST_F() 161 ASSERT_TRUE(platform_handles->back().is_valid()); in TEST_F() 169 &platform_handles->at(0), in TEST_F() 170 platform_handles->size())); in TEST_F() 216 ScopedPlatformHandleVectorPtr platform_handles(new PlatformHandleVector); in TEST_F() local 217 platform_handles->push_back( in TEST_F() 219 ASSERT_TRUE(platform_handles->back().is_valid()); in TEST_F() 226 &platform_handles->at(0), in TEST_F() 227 platform_handles->size())); in TEST_F()
|
D | platform_channel_utils_posix.cc | 143 PlatformHandle* platform_handles, in PlatformChannelSendmsgWithHandles() argument 147 DCHECK(platform_handles); in PlatformChannelSendmsgWithHandles() 162 DCHECK(platform_handles[i].is_valid()); in PlatformChannelSendmsgWithHandles() 163 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = platform_handles[i].handle; in PlatformChannelSendmsgWithHandles() 207 std::deque<PlatformHandle>* platform_handles, in PlatformChannelRecvmsg() argument 211 DCHECK(platform_handles); in PlatformChannelRecvmsg() 240 platform_handles->push_back(PlatformHandle(fds[i])); in PlatformChannelRecvmsg() 241 DCHECK(platform_handles->back().is_valid()); in PlatformChannelRecvmsg()
|
D | platform_handle_vector.h | 23 void operator()(PlatformHandleVector* platform_handles) const { in operator() 24 CloseAllPlatformHandles(platform_handles); in operator() 25 delete platform_handles; in operator() local
|
D | platform_handle_utils.h | 18 PlatformHandleContainer* platform_handles) { in CloseAllPlatformHandles() argument 20 platform_handles->begin(); in CloseAllPlatformHandles() 21 it != platform_handles->end(); ++it) in CloseAllPlatformHandles()
|
D | platform_channel_utils_posix.h | 49 PlatformHandle* platform_handles, 71 std::deque<PlatformHandle>* platform_handles,
|
D | embedder_unittest.cc | 487 MojoHandle platform_handles[arraysize(kTestHandleTypes)]; in TEST_F() 513 std::move(scoped_handle), platform_handles + i)); in TEST_F() 517 WriteMessageWithHandles(server_mp, "hello", platform_handles, in TEST_F() 528 MojoHandle platform_handles[kNumHandles]; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 533 ReadMessageWithHandles(client_mp, platform_handles, kNumHandles)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 540 PassWrappedPlatformHandle(platform_handles[i], &scoped_handle)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/libmojo/mojo/edk/system/ |
D | dispatcher.cc | 158 PlatformHandle* platform_handles, in Deserialize() argument 163 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 167 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 171 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 175 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize() 179 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize()
|
D | shared_buffer_dispatcher.cc | 119 PlatformHandle* platform_handles, in Deserialize() argument 134 if (!platform_handles || num_platform_handles != 1 || num_ports) { in Deserialize() 144 std::swap(platform_handle, *platform_handles); in Deserialize()
|
D | shared_buffer_dispatcher.h | 62 PlatformHandle* platform_handles,
|
D | data_pipe_producer_dispatcher.cc | 315 PlatformHandle* platform_handles) { in EndSerialize() argument 330 platform_handles[0] = buffer_handle_for_transit_.get(); in EndSerialize()
|
D | dispatcher.h | 237 PlatformHandle* platform_handles,
|
D | data_pipe_consumer_dispatcher.cc | 337 PlatformHandle* platform_handles) { in EndSerialize() argument 352 platform_handles[0] = buffer_handle_for_transit_.get(); in EndSerialize()
|