Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 25) sorted by relevance

/dalvik/dx/src/com/android/dx/merge/
DSortableType.java80 int max; in tryAssignDepth() local
82 max = 0; // this is Object.class or an interface in tryAssignDepth()
90 max = 1; // unknown, so assume it's a root. in tryAssignDepth()
94 max = sortableSupertype.depth; in tryAssignDepth()
101 max = Math.max(max, 1); // unknown, so assume it's a root. in tryAssignDepth()
105 max = Math.max(max, implemented.depth); in tryAssignDepth()
109 depth = max + 1; in tryAssignDepth()
/dalvik/libdex/
DDexDataMap.cpp52 map->max = maxCount; in dexDataMapAlloc()
77 assert(map->count < map->max); in dexDataMapAdd()
100 int max = map->count - 1; in dexDataMapGet() local
103 while (max >= min) { in dexDataMapGet()
104 int guessIdx = (min + max) >> 1; in dexDataMapGet()
108 max = guessIdx - 1; in dexDataMapGet()
DDexCatch.cpp56 int max = triesSize - 1; in dexFindCatchHandlerOffset0() local
58 while (max >= min) { in dexFindCatchHandlerOffset0()
59 int guess = (min + max) >> 1; in dexFindCatchHandlerOffset0()
64 max = guess - 1; in dexFindCatchHandlerOffset0()
DDexDataMap.h28 u4 max; /* maximum number of items that may be held */ member
/dalvik/dexgen/src/com/android/dexgen/util/
DIntList.java413 int max = sz; in binarysearch() local
415 while (max > (min + 1)) { in binarysearch()
421 int guessIdx = min + ((max - min) >> 1); in binarysearch()
425 max = guessIdx; in binarysearch()
431 if ((max != sz)) { in binarysearch()
432 return (value == values[max]) ? max : (-max - 1); in binarysearch()
DBitIntSet.java34 public BitIntSet(int max) { in BitIntSet() argument
35 bits = Bits.makeBitSet(max); in BitIntSet()
52 Math.max(value + 1, 2 * Bits.getMax(bits))); in ensureCapacity()
DBits.java36 public static int[] makeBitSet(int max) { in makeBitSet() argument
37 int size = (max + 0x1f) >> 5; in makeBitSet()
/dalvik/dx/src/com/android/dx/util/
DIntList.java414 int max = sz; in binarysearch() local
416 while (max > (min + 1)) { in binarysearch()
422 int guessIdx = min + ((max - min) >> 1); in binarysearch()
426 max = guessIdx; in binarysearch()
432 if ((max != sz)) { in binarysearch()
433 return (value == values[max]) ? max : (-max - 1); in binarysearch()
DBitIntSet.java34 public BitIntSet(int max) { in BitIntSet() argument
35 bits = Bits.makeBitSet(max); in BitIntSet()
52 Math.max(value + 1, 2 * Bits.getMax(bits))); in ensureCapacity()
DBits.java36 public static int[] makeBitSet(int max) { in makeBitSet() argument
37 int size = (max + 0x1f) >> 5; in makeBitSet()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DLocalSnapshot.java81 int max = locals.getMaxSize(); in listingString0() local
86 for (int i = 0; i < max; i++) { in listingString0()
DDalvInsn.java225 return Math.max(sourceRequirement, resultRequirement); in getMinimumRegisterRequirement()
/dalvik/dx/src/com/android/dx/dex/code/
DLocalSnapshot.java82 int max = locals.getMaxSize(); in listingString0() local
87 for (int i = 0; i < max; i++) { in listingString0()
DDalvInsn.java237 return Math.max(sourceRequirement, resultRequirement); in getMinimumRegisterRequirement()
/dalvik/dx/src/com/android/dx/ssa/back/
DInterferenceGraph.java55 ensureCapacity(Math.max(regV, regW) + 1); in add()
DFirstFitAllocator.java122 maxCategory = Math.max(maxCategory, in allocateRegisters()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java299 int max = set.getMaxSize(); in putAll() local
301 for (int i = 0; i < max; i++) { in putAll()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java298 int max = set.getMaxSize(); in putAll() local
300 for (int i = 0; i < max; i++) { in putAll()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DUniformListItem.java77 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment()
/dalvik/dx/src/com/android/dx/dex/file/
DUniformListItem.java75 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment()
/dalvik/dx/src/com/android/dx/cf/code/
DLocalsArraySet.java266 int sz = Math.max(sz1, sz2); in mergeWithSet()
409 int sz = Math.max(predLabel + 1, szSecondaries); in mergeWithSubroutineCaller()
/dalvik/dx/etc/
Ddx.bat49 REM By default, give dx a max heap size of 1 gig and a stack size of 1meg.
Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr ...
/dalvik/dx/tests/115-merge/com/android/dx/merge/
DDexMergeTest.java154 maxLength = Math.max(maxLength, merged.getLength()); in testMergedOutputSizeIsBounded()
/dalvik/dx/src/com/android/dx/ssa/
DSsaMethod.java322 registerCount = Math.max(registerCount, result + category); in borrowSpareRegister()