Lines Matching refs:element
184 // Returns a reference to the element at index i. This reference is not safe
218 // Adds a copy of the given 'element' to the end of the list,
220 void Add(const T& element, Zone* zone);
225 // Inserts the element at the specific index.
226 void InsertAt(int index, const T& element, Zone* zone);
233 // Overwrites the element at the specific index.
234 void Set(int index, const T& element);
236 // Removes the i'th element without deleting it even if T is a
238 // removed element. This function's complexity is linear in the
242 // Removes the last element without deleting it even if T is a
243 // pointer type. Returns the removed element.
279 // Increase the capacity of a full list, and add an element.
281 void ResizeAdd(const T& element, ZoneAllocationPolicy allocator);
285 void ResizeAddInternal(const T& element, ZoneAllocationPolicy allocator);