Home
last modified time | relevance | path

Searched refs:newSize (Results 1 – 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecList.java248 int newSize = size() - 1; in withoutFirst() local
250 if (newSize == 0) { in withoutFirst()
254 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()
256 for (int i = 0; i < newSize; i++) { in withoutFirst()
275 int newSize = size() - 1; in withoutLast() local
277 if (newSize == 0) { in withoutLast()
281 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()
283 for (int i = 0; i < newSize; i++) { in withoutLast()
304 int newSize = size() - exclusionSet.cardinality(); in subset() local
306 if (newSize == 0) { in subset()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecList.java247 int newSize = size() - 1; in withoutFirst() local
249 if (newSize == 0) { in withoutFirst()
253 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()
255 for (int i = 0; i < newSize; i++) { in withoutFirst()
274 int newSize = size() - 1; in withoutLast() local
276 if (newSize == 0) { in withoutLast()
280 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()
282 for (int i = 0; i < newSize; i++) { in withoutLast()
/dalvik/dexgen/src/com/android/dexgen/util/
DLabeledList.java71 int newSize = i+1; in getMaxLabel() local
73 labelToIndex.shrink(newSize); in getMaxLabel()
75 return newSize; in getMaxLabel()
DIntList.java324 public void shrink(int newSize) { in shrink() argument
325 if (newSize < 0) { in shrink()
329 if (newSize > size) { in shrink()
335 size = newSize; in shrink()
/dalvik/dx/src/com/android/dx/util/
DLabeledList.java70 int newSize = i + 1; in getMaxLabel() local
72 labelToIndex.shrink(newSize); in getMaxLabel()
74 return newSize; in getMaxLabel()
DIntList.java324 public void shrink(int newSize) { in shrink() argument
325 if (newSize < 0) { in shrink()
329 if (newSize > size) { in shrink()
335 size = newSize; in shrink()
/dalvik/tools/hprof-conv/
DHprofConv.c176 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity() local
177 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()
179 fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); in ebEnsureCapacity()
184 pBuf->maxLen = newSize; in ebEnsureCapacity()