Lines Matching refs:allocations
364 std::vector<AllocationSlot> allocations;
404 ptrToSlotIndex[record.data.allocation.returnedPtr] = allocations.size();
405 allocations.push_back(AllocationSlot(record, true));
410 if (!allocations[slotNdx].isLive)
412 allocations[slotNdx].isLive = true;
413 allocations[slotNdx].record = record;
417 // we should not have multiple live allocations with the same pointer
431 AllocationSlot& origSlot = allocations[origSlotNdx];
449 allocations[origSlotNdx].record = record;
455 allocations[origSlotNdx].isLive = false;
458 ptrToSlotIndex[record.data.reallocation.returnedPtr] = allocations.size();
459 allocations.push_back(AllocationSlot(record, true));
464 if (!allocations[slotNdx].isLive)
466 allocations[slotNdx].isLive = true;
467 allocations[slotNdx].record = record;
471 // we should not have multiple live allocations with the same pointer
495 ptrToSlotIndex[record.data.reallocation.returnedPtr] = allocations.size();
496 allocations.push_back(AllocationSlot(record, true));
501 DE_ASSERT(!allocations[slotNdx].isLive);
502 allocations[slotNdx].isLive = true;
503 allocations[slotNdx].record = record;
519 if (allocations[slotNdx].isLive)
520 allocations[slotNdx].isLive = false;
565 // Collect live allocations
566 for (std::vector<AllocationSlot>::const_iterator slotIter = allocations.begin();
567 slotIter != allocations.end();
594 // Verify live allocations
611 // Verify internal allocations