Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/embedder/
Dplatform_channel_pair_posix_unittest.cc152 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()
Dplatform_channel_utils_posix.cc143 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()
Dplatform_handle_vector.h23 void operator()(PlatformHandleVector* platform_handles) const { in operator()
24 CloseAllPlatformHandles(platform_handles); in operator()
25 delete platform_handles; in operator() local
Dplatform_handle_utils.h18 PlatformHandleContainer* platform_handles) { in CloseAllPlatformHandles() argument
20 platform_handles->begin(); in CloseAllPlatformHandles()
21 it != platform_handles->end(); ++it) in CloseAllPlatformHandles()
Dplatform_channel_utils_posix.h49 PlatformHandle* platform_handles,
71 std::deque<PlatformHandle>* platform_handles,
Dembedder_unittest.cc487 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/
Ddispatcher.cc158 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()
Dshared_buffer_dispatcher.cc119 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()
Dshared_buffer_dispatcher.h62 PlatformHandle* platform_handles,
Ddata_pipe_producer_dispatcher.cc315 PlatformHandle* platform_handles) { in EndSerialize() argument
330 platform_handles[0] = buffer_handle_for_transit_.get(); in EndSerialize()
Ddispatcher.h237 PlatformHandle* platform_handles,
Ddata_pipe_consumer_dispatcher.cc337 PlatformHandle* platform_handles) { in EndSerialize() argument
352 platform_handles[0] = buffer_handle_for_transit_.get(); in EndSerialize()