Searched refs:platform_handles (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/mojo/embedder/
H A Dplatform_handle_utils.h18 PlatformHandleContainer* platform_handles) {
20 platform_handles->begin();
21 it != platform_handles->end();
17 CloseAllPlatformHandles( PlatformHandleContainer* platform_handles) argument
H A Dplatform_handle_vector.h23 void operator()(PlatformHandleVector* platform_handles) const {
24 CloseAllPlatformHandles(platform_handles);
25 delete platform_handles;
H A Dplatform_channel_utils_posix.h51 PlatformHandle* platform_handles,
68 // |platform_handles|). (This also handles |EINTR|.)
73 std::deque<PlatformHandle>* platform_handles);
H A Dplatform_channel_pair_posix_unittest.cc140 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 Dplatform_channel_utils_posix.cc81 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 Dplatform_handle_dispatcher.cc43 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 Dtransport_data.h101 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 Dplatform_handle_dispatcher.h35 embedder::PlatformHandleVector* platform_handles);
51 embedder::PlatformHandleVector* platform_handles) OVERRIDE;
H A Draw_channel_posix.cc125 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 Dshared_buffer_dispatcher.h50 embedder::PlatformHandleVector* platform_handles);
85 embedder::PlatformHandleVector* platform_handles) OVERRIDE;
H A Dshared_buffer_dispatcher.cc88 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 Dchannel.h147 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE;
153 embedder::ScopedPlatformHandleVectorPtr platform_handles);
156 embedder::ScopedPlatformHandleVectorPtr platform_handles);
H A Ddispatcher.cc60 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 Draw_channel.cc62 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 Ddispatcher.h183 embedder::PlatformHandleVector* platform_handles);
193 embedder::PlatformHandleVector* platform_handles);
272 embedder::PlatformHandleVector* platform_handles);
321 // |platform_handles| (which may be null if no platform handles were indicated
331 embedder::PlatformHandleVector* platform_handles);
H A Dchannel.cc278 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 Draw_channel.h60 embedder::ScopedPlatformHandleVectorPtr platform_handles) = 0;
158 embedder::PlatformHandle** platform_handles,
H A Dmessage_pipe_dispatcher.h102 embedder::PlatformHandleVector* platform_handles) OVERRIDE;
H A Dtransport_data.cc197 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 Draw_channel_unittest.cc110 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 {

Completed in 218 milliseconds