Home
last modified time | relevance | path

Searched refs:mapping_it (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_virtual_mem_allocator.cc176 auto mapping_it = in Free() local
181 if (mapping_it == mappings_.end() || in Free()
182 (reinterpret_cast<void*>(mapping_it->va) != ptr)) { in Free()
190 for (auto it = mapping_it; it != mappings_.end() && total_bytes < num_bytes; in Free()
198 << strings::HumanReadableNumBytes(mapping_it->physical.bytes); in Free()
204 for (auto it = mapping_it; it < mapping_it + num_mappings_to_free; ++it) { in Free()
210 if (mapping_it + num_mappings_to_free == mappings_.end()) { in Free()
211 next_alloc_offset_ = mapping_it->va - vmem_.base; in Free()
214 mappings_.erase(mapping_it, mapping_it + num_mappings_to_free); in Free()
/external/openscreen/platform/impl/
Dsocket_handle_waiter.cc135 auto mapping_it = handle_mappings_.find(handle.handle); in ProcessHandles() local
136 if (mapping_it != handle_mappings_.end()) { in ProcessHandles()
138 HandleWithSubscription{handle, &(mapping_it->second)}); in ProcessHandles()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc567 Iterator mapping_it = tp->ExecuteQuery( in WriteMappings() local
571 while (mapping_it.Next()) { in WriteMappings()
572 int64_t id = mapping_it.Get(0).AsLong(); in WriteMappings()
577 interner_->InternString(mapping_it.Get(4).AsString())); in WriteMappings()
583 static_cast<uint64_t>(mapping_it.Get(1).AsLong())); in WriteMappings()
585 static_cast<uint64_t>(mapping_it.Get(2).AsLong())); in WriteMappings()
587 static_cast<uint64_t>(mapping_it.Get(3).AsLong())); in WriteMappings()
590 if (!mapping_it.Status().ok()) { in WriteMappings()
592 mapping_it.Status().message().c_str()); in WriteMappings()