Lines Matching defs:GrowableArray
41 /* the the GrowableArray does not outlive the HandleMark that contains */
46 /* GrowableArray<Handle>* arr = new GrowableArray<Handle>(size); */
126 // Consider using new(arena) GrowableArray<T> to allocate the header.
150 template<class E> class GrowableArray : public GenericGrowableArray {
160 GrowableArray(Thread* thread, int initial_size) : GenericGrowableArray(initial_size, 0, false) {
165 GrowableArray(int initial_size, bool C_heap = false, MEMFLAGS F = mtInternal)
171 GrowableArray(int initial_size, int initial_len, const E& filler, bool C_heap = false, MEMFLAGS memflags = mtInternal)
179 GrowableArray(Arena* arena, int initial_size, int initial_len, const E& filler) : GenericGrowableArray(arena, initial_size, initial_len) {
186 GrowableArray() : GenericGrowableArray(2, 0, false) {
193 ~GrowableArray() { if (on_C_heap()) clear_and_deallocate(); }
337 void appendAll(const GrowableArray<E>* l) {
352 // Global GrowableArray methods (one instance in the library per each 'E' type).
354 template<class E> void GrowableArray<E>::grow(int j) {
371 template<class E> void GrowableArray<E>::raw_at_put_grow(int i, const E& p, const E& fill) {
384 template<class E> void GrowableArray<E>::clear_and_deallocate() {
395 template<class E> void GrowableArray<E>::print() {