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.java251 int newSize = size() - 1; in withoutFirst() local
253 if (newSize == 0) { in withoutFirst()
257 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()
259 for (int i = 0; i < newSize; i++) { in withoutFirst()
278 int newSize = size() - 1; in withoutLast() local
280 if (newSize == 0) { in withoutLast()
284 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()
286 for (int i = 0; i < newSize; i++) { in withoutLast()
307 int newSize = size() - exclusionSet.cardinality(); in subset() local
309 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.c181 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity() local
182 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()
184 fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); in ebEnsureCapacity()
189 pBuf->maxLen = newSize; in ebEnsureCapacity()