Searched refs:grow (Results 1 - 3 of 3) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DVectorTest.java117 Vector grow = new Vector(3, -1);
118 grow.addElement("one");
119 grow.addElement("two");
120 grow.addElement("three");
121 grow.addElement("four");
122 assertEquals("Wrong size", 4, grow.size());
123 assertEquals("Wrong capacity", 6, grow.capacity());
/dalvik/libcore/luni/src/main/java/java/util/
H A DVector.java64 * it needs to grow to accommodate extra entries. If this value is zero or
399 grow(minimumCapacity > next ? minimumCapacity : next);
473 private void grow(int newCapacity) { method in class:Vector
1085 grow(elementCount);
/dalvik/vm/alloc/
H A DHeapSource.c109 /* The largest size that this heap is allowed to grow to.
137 /* The largest that the heap source as a whole is allowed to grow.
297 * letting the heap grow to heapSizeStart. This saves
306 /* Don't let the heap grow past the starting size without
364 /* Don't let the soon-to-be-old heap grow any further.
926 /* Don't let the heap grow any more, and impose a soft limit.
931 /* Let the heap grow to the requested max, and remove any
1351 externalAlloc(HeapSource *hs, size_t n, bool grow) argument
1361 HSTRACE("externalAlloc(%zd%s)\n", n, grow ? ", grow"
[all...]

Completed in 1132 milliseconds