• Home
  • Raw
  • Download

Lines Matching refs:it

69   for (auto it = gMaps->lower_bound(map.BaseBegin()), end = gMaps->end();  in GetGMapsEntry()  local
70 it != end && it->first == map.BaseBegin(); in GetGMapsEntry()
71 ++it) { in GetGMapsEntry()
72 if (it->second == &map) { in GetGMapsEntry()
73 return it; in GetGMapsEntry()
82 for (auto it = mem_maps.begin(); it != mem_maps.end(); ++it) { in operator <<() local
83 void* base = it->first; in operator <<()
84 MemMap* map = it->second; in operator <<()
289 auto it = debugStrMap.find(debug_friendly_name); in SetDebugName() local
291 if (it == debugStrMap.end()) { in SetDebugName()
292 it = debugStrMap.insert(std::make_pair(std::move(debug_friendly_name), 1)).first; in SetDebugName()
295 DCHECK(it != debugStrMap.end()); in SetDebugName()
297 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, size, it->first.c_str()); in SetDebugName()
636 auto it = GetGMapsEntry(*this); in Invalidate() local
637 gMaps->erase(it); in Invalidate()
766 auto it = GetGMapsEntry(*this); in RemapAtEnd() local
767 gMaps->erase(it); in RemapAtEnd()
808 auto it = GetGMapsEntry(*this); in ReleaseReservedMemory() local
809 auto node = gMaps->extract(it); in ReleaseReservedMemory()
916 for (auto it = mem_maps.begin(), maps_end = mem_maps.end(); it != maps_end;) { in DumpMapsLocked() local
917 MemMap* map = it->second; in DumpMapsLocked()
918 void* base = it->first; in DumpMapsLocked()
921 ++it; in DumpMapsLocked()
929 while (it != maps_end && in DumpMapsLocked()
930 it->second->GetProtect() == map->GetProtect() && in DumpMapsLocked()
931 it->second->GetName() == map->GetName() && in DumpMapsLocked()
932 (it->second->BaseBegin() == end || num_gaps < kMaxGaps)) { in DumpMapsLocked()
933 if (it->second->BaseBegin() != end) { in DumpMapsLocked()
940 reinterpret_cast<uintptr_t>(it->second->BaseBegin()) - reinterpret_cast<uintptr_t>(end); in DumpMapsLocked()
946 CHECK_ALIGNED(it->second->BaseSize(), kPageSize); in DumpMapsLocked()
948 size += it->second->BaseSize(); in DumpMapsLocked()
949 end = it->second->BaseEnd(); in DumpMapsLocked()
950 ++it; in DumpMapsLocked()
962 for (auto it = gMaps->lower_bound(base_begin), end = gMaps->end(); in HasMemMap() local
963 it != end && it->first == base_begin; ++it) { in HasMemMap()
964 if (it->second == &map) { in HasMemMap()
975 for (auto it = gMaps->lower_bound(address), end = gMaps->end(); in GetLargestMemMapAt() local
976 it != end && it->first == address; ++it) { in GetLargestMemMapAt()
977 MemMap* map = it->second; in GetLargestMemMapAt()
1052 auto it = gMaps->upper_bound(reinterpret_cast<void*>(ptr)); in MapInternalArtLow4GBAllocator() local
1053 if (it != gMaps->begin()) { in MapInternalArtLow4GBAllocator()
1054 auto before_it = it; in MapInternalArtLow4GBAllocator()
1060 while (it != gMaps->end()) { in MapInternalArtLow4GBAllocator()
1062 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; in MapInternalArtLow4GBAllocator()
1068 ptr = reinterpret_cast<uintptr_t>(it->second->BaseEnd()); in MapInternalArtLow4GBAllocator()
1070 ++it; in MapInternalArtLow4GBAllocator()
1287 auto it = GetGMapsEntry(*this); in AlignBy() local
1288 auto node = gMaps->extract(it); in AlignBy()