Lines Matching refs:last
98 Node *last = &head; in TestAllocateRandomly() local
104 last->mNext = static_cast<Node *>(heap.CAlloc(1, size)); in TestAllocateRandomly()
107 if (last->mNext == nullptr) in TestAllocateRandomly()
112 …VerifyOrQuit(last->mNext->mNext == nullptr, "TestAllocateRandomly memory not initialized to zero!"… in TestAllocateRandomly()
113 last = last->mNext; in TestAllocateRandomly()
114 last->mSize = size; in TestAllocateRandomly()
136 if (last == curr) in TestAllocateRandomly()
138 last = prev; in TestAllocateRandomly()
145 last = head.mNext; in TestAllocateRandomly()
147 while (last) in TestAllocateRandomly()
149 Node *next = last->mNext; in TestAllocateRandomly()
150 printf("TestAllocateRandomly freeing %zu bytes...\n", last->mSize); in TestAllocateRandomly()
151 heap.Free(last); in TestAllocateRandomly()
152 last = next; in TestAllocateRandomly()