Searched refs:totalSize (Results 1 – 9 of 9) sorted by relevance
/dalvik/vm/ |
D | DvmDex.cpp | 54 u4 totalSize = sizeof(DvmDex) + in allocateAuxStructures() local 57 u1 *blob = (u1 *)dvmAllocRegion(totalSize, in allocateAuxStructures() 182 u4 totalSize; in dvmDexFileFree() local 187 totalSize = pDvmDex->pHeader->stringIdsSize * sizeof(struct StringObject*); in dvmDexFileFree() 188 totalSize += pDvmDex->pHeader->typeIdsSize * sizeof(struct ClassObject*); in dvmDexFileFree() 189 totalSize += pDvmDex->pHeader->methodIdsSize * sizeof(struct Method*); in dvmDexFileFree() 190 totalSize += pDvmDex->pHeader->fieldIdsSize * sizeof(struct Field*); in dvmDexFileFree() 191 totalSize += sizeof(DvmDex); in dvmDexFileFree() 198 munmap(pDvmDex, totalSize); in dvmDexFileFree()
|
D | AllocTracker.cpp | 551 size_t baseSize, totalSize; in dvmGenerateTrackedAllocationReport() local 554 totalSize = baseSize; in dvmGenerateTrackedAllocationReport() 555 totalSize += computeStringTableSize(classNames); in dvmGenerateTrackedAllocationReport() 556 totalSize += computeStringTableSize(methodNames); in dvmGenerateTrackedAllocationReport() 557 totalSize += computeStringTableSize(fileNames); in dvmGenerateTrackedAllocationReport() 558 ALOGI("Generated AT, size is %zd/%zd", baseSize, totalSize); in dvmGenerateTrackedAllocationReport() 565 buffer = (u1*) malloc(totalSize); in dvmGenerateTrackedAllocationReport() 571 if (strPtr - buffer != (int)totalSize) { in dvmGenerateTrackedAllocationReport() 572 ALOGE("size mismatch (%d vs %zd)", strPtr - buffer, totalSize); in dvmGenerateTrackedAllocationReport() 578 *pDataLen = totalSize; in dvmGenerateTrackedAllocationReport()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | Statistics.java | 119 private int totalSize; field in Statistics.Data 138 this.totalSize = size; in Data() 152 totalSize += size; in add() 182 totalSize + " bytes total\n"); in toHuman() 187 int average = totalSize / count; in toHuman()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | Statistics.java | 119 private int totalSize; field in Statistics.Data 138 this.totalSize = size; in Data() 152 totalSize += size; in add() 182 totalSize + " bytes total\n"); in toHuman() 187 int average = totalSize / count; in toHuman()
|
/dalvik/vm/oo/ |
D | Array.cpp | 51 size_t totalSize = elementSize + headerSize; in allocArray() local 52 if (elementSize >> elementShift != length || totalSize < elementSize) { in allocArray() 58 ArrayObject* newArray = (ArrayObject*)dvmMalloc(totalSize, allocFlags); in allocArray() 62 dvmTrackAllocation(arrayClass, totalSize); in allocArray()
|
/dalvik/vm/compiler/ |
D | CompilerIR.h | 212 int totalSize; // header + code size member
|
D | Frontend.cpp | 1596 methodStats->nativeSize += cUnit->totalSize; in compileLoop() 2116 methodStats->nativeSize += cUnit.totalSize; in dvmCompileTrace()
|
/dalvik/vm/compiler/codegen/arm/ |
D | ArchUtility.cpp | 403 ALOGD("total size is %d bytes", cUnit->totalSize); in dvmCompilerCodegenDump()
|
D | Assemble.cpp | 1429 cUnit->totalSize = offset; in dvmCompilerAssembleLIR() 1431 if (gDvmJit.codeCacheByteUsed + cUnit->totalSize > gDvmJit.codeCacheSize) { in dvmCompilerAssembleLIR()
|