Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dchannel_posix.cc221 for (size_t i = 0, mach_port_index = 0; i < num_handles; ++i) { in GetReadPlatformHandles() local
222 if (mach_port_index < num_mach_ports && in GetReadPlatformHandles()
223 mach_ports[mach_port_index].index == i) { in GetReadPlatformHandles()
225 static_cast<mach_port_t>(mach_ports[mach_port_index].mach_port); in GetReadPlatformHandles()
234 mach_port_index++; in GetReadPlatformHandles()
Dchannel.cc415 size_t mach_port_index = 0; in SetHandles() local
431 mach_ports_header_->entries[mach_port_index].index = i; in SetHandles()
432 mach_ports_header_->entries[mach_port_index].mach_port = port; in SetHandles()
433 mach_port_index++; in SetHandles()
435 mach_ports_header_->num_ports = static_cast<uint16_t>(mach_port_index); in SetHandles()