Lines Matching defs:iter

34         AllocationMap::iterator iter;
38 while ((iter = m_allocations.begin()) != m_allocations.end())
41 if (iter->second.m_leak)
42 m_allocations.erase(iter);
44 Free(iter->first, err);
111 AllocationMap::iterator iter = m_allocations.lower_bound (addr);
113 if (iter == m_allocations.end() ||
114 iter->first > addr)
116 if (iter == m_allocations.begin())
118 iter--;
121 if (iter->first <= addr && iter->first + iter->second.m_size >= addr + size)
122 return iter;
133 AllocationMap::iterator iter = m_allocations.lower_bound (addr);
135 if (iter == m_allocations.end() ||
136 iter->first > addr)
138 if (iter == m_allocations.begin())
141 iter--;
144 while (iter != m_allocations.end() && iter->second.m_process_alloc < addr + size)
146 if (iter->second.m_process_start + iter->second.m_size > addr)
149 ++iter;
359 AllocationMap::iterator iter = m_allocations.find(process_address);
361 if (iter == m_allocations.end())
368 Allocation &allocation = iter->second;
378 AllocationMap::iterator iter = m_allocations.find(process_address);
380 if (iter == m_allocations.end())
387 Allocation &allocation = iter->second;
416 iter->second.m_process_start,
417 iter->second.m_process_start + iter->second.m_size);
420 m_allocations.erase(iter);
428 AllocationMap::iterator iter = FindAllocation(process_address, size);
430 if (iter == m_allocations.end())
445 Allocation &allocation = iter->second;
549 AllocationMap::iterator iter = FindAllocation(process_address, size);
551 if (iter == m_allocations.end())
575 Allocation &allocation = iter->second;
697 AllocationMap::iterator iter = FindAllocation(process_address, size);
699 if (iter == m_allocations.end())
706 Allocation &allocation = iter->second;