Searched refs:maxCount (Results 1 – 8 of 8) sorted by relevance
28 DexDataMap* dexDataMapAlloc(u4 maxCount) { in dexDataMapAlloc() argument39 if (!safe_mul(&size, maxCount, sizeof(u4) + sizeof(u2)) || in dexDataMapAlloc()51 map->max = maxCount; in dexDataMapAlloc()53 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc()
36 DexDataMap* dexDataMapAlloc(u4 maxCount);
55 int maxCount);
26 int maxCount) in dvmInitReferenceTable() argument29 assert(initialCount <= maxCount); in dvmInitReferenceTable()39 pRef->maxEntries = maxCount; in dvmInitReferenceTable()
26 int maxCount, IndirectRefKind kind) in dvmInitIndirectRefTable() argument29 assert(initialCount <= maxCount); in dvmInitIndirectRefTable()40 (IndirectRefSlot*) calloc(maxCount, sizeof(IndirectRefSlot)); in dvmInitIndirectRefTable()46 pRef->maxEntries = maxCount; in dvmInitIndirectRefTable()
253 int maxCount, IndirectRefKind kind);
308 int numInterfaces, maxCount, actualCount, allCount; in gatherMethods() local316 maxCount = 3; // 3 methods in java.lang.Object in gatherMethods()325 maxCount += clazz->virtualMethodCount; in gatherMethods()333 maxCount += iclass->virtualMethodCount; in gatherMethods()337 methods = (Method**) malloc(maxCount * sizeof(*methods)); in gatherMethods()338 allMethods = (Method**) malloc(maxCount * sizeof(*methods)); in gatherMethods()372 assert(allCount == maxCount); in gatherMethods()
2809 int maxCount; in createVtable() local2818 maxCount = clazz->virtualMethodCount; in createVtable()2820 maxCount += clazz->super->vtableCount; in createVtable()2837 sizeof(Method*) * maxCount); in createVtable()2892 assert(actualCount <= maxCount); in createVtable()2894 if (actualCount < maxCount) { in createVtable()2904 maxCount, actualCount); in createVtable()