/external/chromium_org/mojo/embedder/ |
H A D | platform_handle_utils.h | 18 PlatformHandleContainer* platform_handles) { 20 platform_handles->begin(); 21 it != platform_handles->end(); 17 CloseAllPlatformHandles( PlatformHandleContainer* platform_handles) argument
|
H A D | platform_channel_pair_posix_unittest.cc | 140 PlatformHandleVector platform_handles; local 146 platform_handles.push_back( 148 ASSERT_TRUE(platform_handles.back().is_valid()); 156 &platform_handles[0], 157 platform_handles.size())); 198 PlatformHandleVector platform_handles; local 199 platform_handles.push_back( 201 ASSERT_TRUE(platform_handles.back().is_valid()); 208 &platform_handles[0], 209 platform_handles [all...] |
H A D | platform_channel_utils_posix.cc | 81 PlatformHandle* platform_handles, 85 DCHECK(platform_handles); 100 DCHECK(platform_handles[i].is_valid()); 101 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = platform_handles[i].fd; 145 std::deque<PlatformHandle>* platform_handles) { 148 DCHECK(platform_handles); 177 platform_handles->push_back(PlatformHandle(fds[i])); 178 DCHECK(platform_handles->back().is_valid()); 78 PlatformChannelSendmsgWithHandles(PlatformHandle h, struct iovec* iov, size_t num_iov, PlatformHandle* platform_handles, size_t num_platform_handles) argument 142 PlatformChannelRecvmsg(PlatformHandle h, void* buf, size_t num_bytes, std::deque<PlatformHandle>* platform_handles) argument
|
/external/chromium_org/mojo/system/ |
H A D | platform_handle_dispatcher.cc | 43 embedder::PlatformHandleVector* platform_handles) { 57 if (!platform_handles || 58 platform_handle_index >= platform_handles->size()) { 65 // |platform_handles|. 66 std::swap(platform_handle, (*platform_handles)[platform_handle_index]); 101 embedder::PlatformHandleVector* platform_handles) { 107 serialization->platform_handle_index = platform_handles->size(); 108 platform_handles->push_back(platform_handle_.release()); 39 Deserialize( Channel* channel, const void* source, size_t size, embedder::PlatformHandleVector* platform_handles) argument 97 EndSerializeAndCloseImplNoLock( Channel* , void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
|
H A D | transport_data.h | 101 embedder::ScopedPlatformHandleVectorPtr platform_handles); 116 const embedder::PlatformHandleVector* platform_handles() const { function in class:mojo::system::TransportData 119 embedder::PlatformHandleVector* platform_handles() { function in class:mojo::system::TransportData 148 embedder::ScopedPlatformHandleVectorPtr platform_handles,
|
H A D | channel.cc | 278 embedder::ScopedPlatformHandleVectorPtr platform_handles) { 282 OnReadMessageForDownstream(message_view, platform_handles.Pass()); 285 OnReadMessageForChannel(message_view, platform_handles.Pass()); 313 embedder::ScopedPlatformHandleVectorPtr platform_handles) { 364 platform_handles.Pass(), 383 embedder::ScopedPlatformHandleVectorPtr platform_handles) { 387 if (platform_handles) { 276 OnReadMessage( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument 311 OnReadMessageForDownstream( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument 381 OnReadMessageForChannel( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument
|
H A D | raw_channel.cc | 62 transport_data->platform_handles(); 77 embedder::PlatformHandle** platform_handles, 83 transport_data->platform_handles(); 86 *platform_handles = &(*all_platform_handles)[platform_handles_offset_]; 336 embedder::ScopedPlatformHandleVectorPtr platform_handles; local 346 platform_handles = 349 if (!platform_handles) { 363 delegate_->OnReadMessage(message_view, platform_handles.Pass()); 75 GetPlatformHandlesToSend( size_t* num_platform_handles, embedder::PlatformHandle** platform_handles, void** serialization_data) argument
|
H A D | raw_channel_posix.cc | 125 embedder::PlatformHandleVector* const platform_handles = member in class:mojo::system::__anon8274::embedder 126 message->transport_data()->platform_handles(); 127 if (platform_handles && 128 platform_handles->size() > embedder::kPlatformChannelMaxNumHandles) { 133 for (; platform_handles->size() - i > 144 platform_handles->begin() + i, 145 platform_handles->begin() + i + 153 platform_handles->erase(platform_handles->begin(), 154 platform_handles 265 embedder::PlatformHandle* platform_handles; local [all...] |
H A D | shared_buffer_dispatcher.cc | 88 embedder::PlatformHandleVector* platform_handles) { 105 if (!platform_handles || platform_handle_index >= platform_handles->size()) { 114 // |platform_handles|. 115 std::swap(platform_handle, (*platform_handles)[platform_handle_index]); 238 embedder::PlatformHandleVector* platform_handles) { 257 serialization->platform_handle_index = platform_handles->size(); 258 platform_handles->push_back(platform_handle.release()); 84 Deserialize( Channel* channel, const void* source, size_t size, embedder::PlatformHandleVector* platform_handles) argument 234 EndSerializeAndCloseImplNoLock( Channel* , void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
|
H A D | transport_data.cc | 197 embedder::ScopedPlatformHandleVectorPtr platform_handles) 199 platform_handles_(platform_handles.Pass()) { 315 embedder::ScopedPlatformHandleVectorPtr platform_handles, 338 channel, handle_table[i].type, source, size, platform_handles.get()); 196 TransportData( embedder::ScopedPlatformHandleVectorPtr platform_handles) argument 312 DeserializeDispatchers( const void* buffer, size_t buffer_size, embedder::ScopedPlatformHandleVectorPtr platform_handles, Channel* channel) argument
|
H A D | dispatcher.cc | 60 embedder::PlatformHandleVector* platform_handles) { 63 platform_handles); 72 embedder::PlatformHandleVector* platform_handles) { 89 platform_handles)); 93 platform_handles)); 379 embedder::PlatformHandleVector* /*platform_handles*/) { 429 embedder::PlatformHandleVector* platform_handles) { 449 platform_handles); 55 EndSerializeAndClose( Dispatcher* dispatcher, Channel* channel, void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument 67 Deserialize( Channel* channel, int32_t type, const void* source, size_t size, embedder::PlatformHandleVector* platform_handles) argument 425 EndSerializeAndClose( Channel* channel, void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
|
H A D | raw_channel_unittest.cc | 110 embedder::ScopedPlatformHandleVectorPtr /*platform_handles*/) OVERRIDE { 230 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE { 231 EXPECT_FALSE(platform_handles); variable 355 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE { 356 EXPECT_FALSE(platform_handles); variable 571 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE { 572 EXPECT_FALSE(platform_handles); variable 628 embedder::ScopedPlatformHandleVectorPtr /*platform_handles*/) OVERRIDE {
|