Searched refs:maxCount (Results 1 - 9 of 9) sorted by relevance

/dalvik/libdex/
H A DDexDataMap.c28 DexDataMap* dexDataMapAlloc(u4 maxCount) { argument
39 if (!safe_mul(&size, maxCount, sizeof(u4) + sizeof(u2)) ||
51 map->max = maxCount;
53 map->types = (u2*) (map->offsets + maxCount);
H A DDexDataMap.h36 DexDataMap* dexDataMapAlloc(u4 maxCount);
/dalvik/vm/
H A DReferenceTable.h50 * If "initialCount" != "maxCount", the table will expand as required.
55 int maxCount);
H A DReferenceTable.c26 int maxCount)
29 assert(initialCount <= maxCount);
39 pRef->maxEntries = maxCount;
25 dvmInitReferenceTable(ReferenceTable* pRef, int initialCount, int maxCount) argument
H A DIndirectRefTable.c26 int maxCount, IndirectRefKind kind)
29 assert(initialCount <= maxCount);
40 (IndirectRefSlot*) calloc(maxCount, sizeof(IndirectRefSlot));
46 pRef->maxEntries = maxCount;
25 dvmInitIndirectRefTable(IndirectRefTable* pRef, int initialCount, int maxCount, IndirectRefKind kind) argument
H A DIndirectRefTable.h245 * If "initialCount" != "maxCount", the table will expand as required.
253 int maxCount, IndirectRefKind kind);
/dalvik/vm/reflect/
H A DProxy.c299 int numInterfaces, maxCount, actualCount, allCount; local
307 maxCount = 3; // 3 methods in java.lang.Object
316 maxCount += clazz->virtualMethodCount;
324 maxCount += iclass->virtualMethodCount;
328 methods = (Method**) malloc(maxCount * sizeof(*methods));
329 allMethods = (Method**) malloc(maxCount * sizeof(*methods));
363 assert(allCount == maxCount);
/dalvik/vm/analysis/
H A DReduceConstants.c673 static void showBitCount(const char* label, int setCount, int maxCount) argument
675 printf("%s: %d of %d (%.1f%% unused)\n", label, setCount, maxCount,
676 ((maxCount - setCount) * 100.0f) / maxCount);
/dalvik/vm/oo/
H A DClass.c2849 int maxCount; local
2858 maxCount = clazz->virtualMethodCount;
2860 maxCount += clazz->super->vtableCount;
2867 //LOGD("+++ max vmethods for '%s' is %d\n", clazz->descriptor, maxCount);
2877 sizeof(Method*) * maxCount);
2932 assert(actualCount <= maxCount);
2934 if (actualCount < maxCount) {
2944 maxCount, actualCount);

Completed in 211 milliseconds