Searched refs:GROW_EXTRA (Results 1 - 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
H A Duniset.cpp60 #define GROW_EXTRA START_EXTRA macro
200 len(0), capacity(o.isFrozen() ? o.len : o.len + GROW_EXTRA), list(0),
224 len(0), capacity(o.len + GROW_EXTRA), list(0),
1659 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA));
1666 capacity = newLen + GROW_EXTRA;
1673 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA));
1680 bufferCapacity = newLen + GROW_EXTRA;
2170 // Small modification: Don't shrink if the savings would be tiny (<=GROW_EXTRA).
2177 if (capacity > (len + GROW_EXTRA)) {
/external/r8/src/test/java/com/android/tools/r8/jar/UnicodeSetRegression/
H A DUnicodeSet.jarcom/ com/ibm/ com/ibm/icu/ com/ibm/icu/text/ com/ibm/icu/text/UnicodeSet.class UnicodeSet. ...
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUnicodeSet.java338 private static final int GROW_EXTRA = START_EXTRA; // extra amount for growth. Must be >= 0 field in class:UnicodeSet
1279 int[] temp = new int[len + 2 + GROW_EXTRA];
2855 int[] temp = new int[newLen + GROW_EXTRA];
2862 buffer = new int[newLen + GROW_EXTRA];
3918 // Small modification: Don't shrink if the savings would be tiny (<=GROW_EXTRA).
3922 if (list.length > (len + GROW_EXTRA)) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeSet.java342 private static final int GROW_EXTRA = START_EXTRA; // extra amount for growth. Must be >= 0 field in class:UnicodeSet
1310 int[] temp = new int[len + 2 + GROW_EXTRA];
2928 int[] temp = new int[newLen + GROW_EXTRA];
2935 buffer = new int[newLen + GROW_EXTRA];
4009 // Small modification: Don't shrink if the savings would be tiny (<=GROW_EXTRA).
4013 if (list.length > (len + GROW_EXTRA)) {

Completed in 171 milliseconds