Lines Matching refs:nextItem
4582 ItemType* const nextItem = pItem->pNext; in InsertAfter() local
4584 newItem->pNext = nextItem; in InsertAfter()
4587 if(nextItem != VMA_NULL) in InsertAfter()
4589 nextItem->pPrev = newItem; in InsertAfter()
8181 iter_type nextItem = suballocItem; in ResizeAllocation() local
8182 ++nextItem; in ResizeAllocation()
8193 if(nextItem != m_Suballocations.end()) in ResizeAllocation()
8196 if(nextItem->type == VMA_SUBALLOCATION_TYPE_FREE) in ResizeAllocation()
8199 UnregisterFreeSuballocation(nextItem); in ResizeAllocation()
8200 nextItem->offset -= sizeDiff; in ResizeAllocation()
8201 nextItem->size += sizeDiff; in ResizeAllocation()
8202 RegisterFreeSuballocation(nextItem); in ResizeAllocation()
8213 … iter_type newFreeSuballocIt = m_Suballocations.insert(nextItem, newFreeSuballoc); in ResizeAllocation()
8245 if(nextItem != m_Suballocations.end()) in ResizeAllocation()
8248 if(nextItem->type == VMA_SUBALLOCATION_TYPE_FREE) in ResizeAllocation()
8251 if(nextItem->size < sizeDiff + VMA_DEBUG_MARGIN) in ResizeAllocation()
8257 if(nextItem->size > sizeDiff) in ResizeAllocation()
8260 UnregisterFreeSuballocation(nextItem); in ResizeAllocation()
8261 nextItem->offset += sizeDiff; in ResizeAllocation()
8262 nextItem->size -= sizeDiff; in ResizeAllocation()
8263 RegisterFreeSuballocation(nextItem); in ResizeAllocation()
8269 UnregisterFreeSuballocation(nextItem); in ResizeAllocation()
8270 m_Suballocations.erase(nextItem); in ResizeAllocation()
8592 VmaSuballocationList::iterator nextItem = item; in MergeFreeWithNext() local
8593 ++nextItem; in MergeFreeWithNext()
8594 VMA_ASSERT(nextItem != m_Suballocations.end()); in MergeFreeWithNext()
8595 VMA_ASSERT(nextItem->type == VMA_SUBALLOCATION_TYPE_FREE); in MergeFreeWithNext()
8597 item->size += nextItem->size; in MergeFreeWithNext()
8599 m_Suballocations.erase(nextItem); in MergeFreeWithNext()
8617 VmaSuballocationList::iterator nextItem = suballocItem; in FreeSuballocation() local
8618 ++nextItem; in FreeSuballocation()
8619 if((nextItem != m_Suballocations.end()) && (nextItem->type == VMA_SUBALLOCATION_TYPE_FREE)) in FreeSuballocation()
8636 UnregisterFreeSuballocation(nextItem); in FreeSuballocation()