Lines Matching refs:list
7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
38 // SmallPointerList is a list optimized for storing no or just a
41 // The interface tries to be as close to List from list.h as possible.
52 return list()->length();
62 PointerList* list = new PointerList(2);
63 list->Add(single_value());
64 list->Add(pointer);
65 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment));
66 data_ = reinterpret_cast<intptr_t>(list) | kListTag;
69 list()->Add(pointer);
72 // Note: returns T* and not T*& (unlike List from list.h).
80 return list()->at(i);
86 // Remove the given element from the list (if present).
95 list()->RemoveElement(pointer);
105 return list()->RemoveLast();
120 list()->Rewind(pos);
131 return list()->CountOccurrences(pointer, start, end);
151 PointerList* list() const {