Lines Matching refs:clone
224 _PointerList_* clone = new _PointerList_(list); in OwningTest() local
226 assert(clone->Owning() == true); in OwningTest()
231 delete clone; in OwningTest()
241 _PointerList_ clone(list); in SortTest() local
242 assert(Equals(list, clone)); in SortTest()
243 assert(clone.Owning() == false); in SortTest()
248 int lastItem = clone.CountItems()-1; in SortTest()
249 bool hasItems = clone.CountItems() > 0; in SortTest()
252 item = (Item*)clone.ItemAt(0); in SortTest()
257 clone.HSortItems(Item::Compare); in SortTest()
258 assert(IsHSorted(clone)); in SortTest()
259 assert(!hasItems || item == (Item*)clone.ItemAt(lastItem)); in SortTest()
286 _PointerList_ clone(list); in SortTestWithState() local
288 assert(Equals(list, clone)); in SortTestWithState()
289 assert(clone.Owning() == false); in SortTestWithState()
301 int lastItem = clone.CountItems()-1; in SortTestWithState()
302 bool hasItems = clone.CountItems() > 0; in SortTestWithState()
305 item = (Item*)clone.ItemAt(0); in SortTestWithState()
311 clone.HSortItems(Compare, gData); in SortTestWithState()
313 assert(IsHSorted(clone)); in SortTestWithState()
314 assert(!hasItems || item == (Item*)clone.ItemAt(lastItem)); in SortTestWithState()
340 _PointerList_ clone; in EachElementTest() local
341 list.EachElement(CopyTo, &clone); in EachElementTest()
342 assert(clone.CountItems() == list.CountItems()); in EachElementTest()