Home
last modified time | relevance | path

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

12

/dalvik/dx/src/com/android/dx/merge/
DSortableType.java73 int max; in tryAssignDepth() local
75 max = 0; // this is Object.class or an interface in tryAssignDepth()
79 max = 1; // unknown, so assume it's a root. in tryAssignDepth()
83 max = sortableSupertype.depth; in tryAssignDepth()
90 max = Math.max(max, 1); // unknown, so assume it's a root. in tryAssignDepth()
94 max = Math.max(max, implemented.depth); in tryAssignDepth()
98 depth = max + 1; in tryAssignDepth()
/dalvik/libdex/
DDexDataMap.cpp51 map->max = maxCount; in dexDataMapAlloc()
76 assert(map->count < map->max); in dexDataMapAdd()
99 int max = map->count - 1; in dexDataMapGet() local
102 while (max >= min) { in dexDataMapGet()
103 int guessIdx = (min + max) >> 1; in dexDataMapGet()
107 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/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/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/dex/file/
DUniformListItem.java75 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment()
/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/cf/code/
DLocalsArraySet.java266 int sz = Math.max(sz1, sz2); in mergeWithSet()
409 int sz = Math.max(predLabel + 1, szSecondaries); in mergeWithSubroutineCaller()
/dalvik/dx/tests/115-merge/com/android/dx/merge/
DDexMergeTest.java151 maxLength = Math.max(maxLength, merged.getLength()); in testMergedOutputSizeIsBounded()
/dalvik/dx/etc/
Ddx.bat49 REM By default, give dx a max heap size of 1 gig and a stack size of 1meg.
/dalvik/tools/dmtracedump/
DTraceDump.c2641 int max = (d1->numMethods < d2->numMethods) ? d2->numMethods : d1->numMethods; in createDiff() local
2642 max++; in createDiff()
2643 DiffEntry* diffs = (DiffEntry*)malloc(max * sizeof(DiffEntry)); in createDiff()
2644 memset(diffs, 0, max * sizeof(DiffEntry)); in createDiff()
/dalvik/dx/src/com/android/dx/ssa/
DSsaMethod.java322 registerCount = Math.max(registerCount, result + category); in borrowSpareRegister()

12