Searched refs:mach_port_index (Results 1 – 2 of 2) sorted by relevance
171 for (size_t i = 0, mach_port_index = 0; i < num_handles; ++i) { in GetReadPlatformHandles() local172 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()
336 size_t mach_port_index = 0; in SetHandles() local346 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()