Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/system/
Dchannel_posix.cc171 for (size_t i = 0, mach_port_index = 0; i < num_handles; ++i) { in GetReadPlatformHandles() local
172 if (mach_port_index < num_mach_ports && in GetReadPlatformHandles()
173 mach_ports[mach_port_index].index == i) { in GetReadPlatformHandles()
175 static_cast<mach_port_t>(mach_ports[mach_port_index].mach_port)); in GetReadPlatformHandles()
180 mach_port_index++; in GetReadPlatformHandles()
Dchannel.cc336 size_t mach_port_index = 0; in SetHandles() local
346 mach_ports_header_->entries[mach_port_index].index = i; in SetHandles()
347 mach_ports_header_->entries[mach_port_index].mach_port = port; in SetHandles()
348 mach_port_index++; in SetHandles()
351 mach_ports_header_->num_ports = static_cast<uint16_t>(mach_port_index); in SetHandles()