Home
last modified time | relevance | path

Searched refs:handles_in_transit (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/core/
Duser_message_impl.cc179 auto handles_in_transit = original_message->TakeHandles(); in CreateOrExtendSerializedEventMessage() local
180 if (!handles_in_transit.empty()) { in CreateOrExtendSerializedEventMessage()
182 for (size_t i = 0; i < handles_in_transit.size(); ++i) in CreateOrExtendSerializedEventMessage()
183 handles[i] = handles_in_transit[i].TakeHandle(); in CreateOrExtendSerializedEventMessage()
587 std::vector<PlatformHandleInTransit> handles_in_transit = in ExtractSerializedHandles() local
589 std::vector<PlatformHandle> msg_handles(handles_in_transit.size()); in ExtractSerializedHandles()
590 for (size_t i = 0; i < handles_in_transit.size(); ++i) { in ExtractSerializedHandles()
591 DCHECK(!handles_in_transit[i].owning_process().is_valid()); in ExtractSerializedHandles()
592 msg_handles[i] = handles_in_transit[i].TakeHandle(); in ExtractSerializedHandles()
Dchannel_posix.cc214 std::vector<PlatformHandleInTransit> handles_in_transit(num_handles); in GetReadPlatformHandles() local
227 handles_in_transit[i] = in GetReadPlatformHandles()
230 handles_in_transit[i] = PlatformHandleInTransit( in GetReadPlatformHandles()
238 handles_in_transit[i] = PlatformHandleInTransit( in GetReadPlatformHandles()
251 for (auto& handle : handles_in_transit) { in GetReadPlatformHandles()
264 std::move(data), std::move(handles_in_transit)); in GetReadPlatformHandles()
269 handles->resize(handles_in_transit.size()); in GetReadPlatformHandles()
271 handles->at(i) = handles_in_transit[i].TakeHandle(); in GetReadPlatformHandles()