Searched defs:platform_handles (Results 1 - 12 of 12) 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_channel_pair_posix_unittest.cc142 PlatformHandleVector platform_handles; local
149 platform_handles.push_back(
151 ASSERT_TRUE(platform_handles.back().is_valid());
161 &platform_handles[0],
162 platform_handles.size()));
208 PlatformHandleVector platform_handles; local
209 platform_handles.push_back(
211 ASSERT_TRUE(platform_handles.back().is_valid());
220 &platform_handles[0],
221 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);
176 platform_handles->push_back(PlatformHandle(fds[i]));
177 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 Dchannel.cc261 embedder::ScopedPlatformHandleVectorPtr platform_handles) {
267 OnReadMessageForDownstream(message_view, platform_handles.Pass());
270 OnReadMessageForChannel(message_view, platform_handles.Pass());
313 embedder::ScopedPlatformHandleVectorPtr platform_handles) {
373 platform_handles.Pass(),
393 embedder::ScopedPlatformHandleVectorPtr platform_handles) {
398 if (platform_handles) {
259 OnReadMessage( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument
311 OnReadMessageForDownstream( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument
391 OnReadMessageForChannel( const MessageInTransit::View& message_view, embedder::ScopedPlatformHandleVectorPtr platform_handles) argument
H A Draw_channel.cc60 transport_data->platform_handles();
75 embedder::PlatformHandle** platform_handles,
81 transport_data->platform_handles();
84 *platform_handles = &(*all_platform_handles)[platform_handles_offset_];
339 embedder::ScopedPlatformHandleVectorPtr platform_handles; local
349 platform_handles =
352 if (!platform_handles) {
366 delegate_->OnReadMessage(message_view, platform_handles.Pass());
73 GetPlatformHandlesToSend( size_t* num_platform_handles, embedder::PlatformHandle** platform_handles, void** serialization_data) argument
H A Draw_channel_posix.cc126 embedder::PlatformHandleVector* const platform_handles = member in class:mojo::system::__anon8860::embedder
127 message->transport_data()->platform_handles();
128 if (platform_handles &&
129 platform_handles->size() > embedder::kPlatformChannelMaxNumHandles) {
134 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
227 embedder::PlatformHandle* platform_handles; local
[all...]
H A Dshared_buffer_dispatcher.cc93 embedder::PlatformHandleVector* platform_handles) {
112 if (!platform_handles || platform_handle_index >= platform_handles->size()) {
121 // |platform_handles|.
122 std::swap(platform_handle, (*platform_handles)[platform_handle_index]);
248 embedder::PlatformHandleVector* platform_handles) {
266 serialization->platform_handle_index = platform_handles->size();
267 platform_handles->push_back(platform_handle.release());
89 Deserialize( Channel* channel, const void* source, size_t size, embedder::PlatformHandleVector* platform_handles) argument
244 EndSerializeAndCloseImplNoLock( Channel* , void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
H A Dtransport_data.cc198 embedder::ScopedPlatformHandleVectorPtr platform_handles)
199 : buffer_size_(sizeof(Header)), platform_handles_(platform_handles.Pass()) {
316 embedder::ScopedPlatformHandleVectorPtr platform_handles,
339 channel, handle_table[i].type, source, size, platform_handles.get());
197 TransportData( embedder::ScopedPlatformHandleVectorPtr platform_handles) argument
313 DeserializeDispatchers( const void* buffer, size_t buffer_size, embedder::ScopedPlatformHandleVectorPtr platform_handles, Channel* channel) argument
H A Ddispatcher.cc59 embedder::PlatformHandleVector* platform_handles) {
62 channel, destination, actual_size, platform_handles);
71 embedder::PlatformHandleVector* platform_handles) {
87 channel, source, size, platform_handles));
90 channel, source, size, platform_handles));
408 embedder::PlatformHandleVector* /*platform_handles*/) {
458 embedder::PlatformHandleVector* platform_handles) {
477 channel, destination, actual_size, platform_handles);
54 EndSerializeAndClose( Dispatcher* dispatcher, Channel* channel, void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
66 Deserialize( Channel* channel, int32_t type, const void* source, size_t size, embedder::PlatformHandleVector* platform_handles) argument
454 EndSerializeAndClose( Channel* channel, void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
H A Draw_channel_unittest.cc112 embedder::ScopedPlatformHandleVectorPtr /*platform_handles*/) OVERRIDE {
228 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE {
229 EXPECT_FALSE(platform_handles); variable
346 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE {
347 EXPECT_FALSE(platform_handles); variable
570 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE {
571 EXPECT_FALSE(platform_handles); variable
627 embedder::ScopedPlatformHandleVectorPtr /*platform_handles*/) OVERRIDE {

Completed in 169 milliseconds