/dalvik/libdex/ |
D | DexClass.cpp | 105 DexClassDataHeader header; in dexReadAndVerifyClassData() local 114 if (! dexReadAndVerifyClassDataHeader(pData, pLimit, &header)) { in dexReadAndVerifyClassData() 119 (header.staticFieldsSize * sizeof(DexField)) + in dexReadAndVerifyClassData() 120 (header.instanceFieldsSize * sizeof(DexField)) + in dexReadAndVerifyClassData() 121 (header.directMethodsSize * sizeof(DexMethod)) + in dexReadAndVerifyClassData() 122 (header.virtualMethodsSize * sizeof(DexMethod)); in dexReadAndVerifyClassData() 133 result->header = header; in dexReadAndVerifyClassData() 135 if (header.staticFieldsSize != 0) { in dexReadAndVerifyClassData() 137 ptr += header.staticFieldsSize * sizeof(DexField); in dexReadAndVerifyClassData() 142 if (header.instanceFieldsSize != 0) { in dexReadAndVerifyClassData() [all …]
|
D | DexClass.h | 52 DexClassDataHeader header; member
|
D | DexSwapVerify.cpp | 1524 okay = verifyFields(state, classData->header.staticFieldsSize, in verifyClassDataItem0() 1532 verifyFields(state, classData->header.instanceFieldsSize, in verifyClassDataItem0() 1540 okay = verifyMethods(state, classData->header.directMethodsSize, in verifyClassDataItem0() 1548 okay = verifyMethods(state, classData->header.virtualMethodsSize, in verifyClassDataItem0() 1585 if (classData->header.staticFieldsSize != 0) { in findFirstClassDataDefiner() 1591 if (classData->header.instanceFieldsSize != 0) { in findFirstClassDataDefiner() 1597 if (classData->header.directMethodsSize != 0) { in findFirstClassDataDefiner() 1603 if (classData->header.virtualMethodsSize != 0) { in findFirstClassDataDefiner() 1620 for (i = classData->header.staticFieldsSize; okay && (i > 0); /*i*/) { in crossVerifyClassDataItem() 1626 for (i = classData->header.instanceFieldsSize; okay && (i > 0); /*i*/) { in crossVerifyClassDataItem() [all …]
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | CodeObserver.java | 66 observer.parsed(bytes, offset, length, header(offset)); in visitInvalid() 71 observer.parsed(bytes, offset, length, header(offset)); in visitNoArgs() 92 header(offset) + (argComment ? " // " : " ") + in visitLocal() 139 header(offset) + " " + cst + valueStr); in visitConstant() 147 header(offset) + " " + targetStr); in visitBranch() 156 sb.append(header(offset)); in visitSwitch() 183 header(offset) + commentOrSpace + typeName); in visitNewarray() 201 private String header(int offset) { in header() method in CodeObserver 241 header(offset) + commentOrSpace + valueStr); in visitLiteralInt() 265 header(offset) + commentOrLit + valueStr); in visitLiteralLong() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | CatchHandlerList.java | 66 public String toHuman(String prefix, String header) { in toHuman() argument 71 sb.append(header); in toHuman()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | CatchHandlerList.java | 66 public String toHuman(String prefix, String header) { in toHuman() argument 71 sb.append(header); in toHuman()
|
/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 49 DataHeader header = { 0x574f4c53, VERSION, sizeof(DataHeader), 0LL }; variable 371 header.version = versionNumber; in writeDataHeader() 372 write4LE(dataFp, header.magic); in writeDataHeader() 373 write2LE(dataFp, header.version); in writeDataHeader() 374 write2LE(dataFp, header.offsetToData); in writeDataHeader()
|
/dalvik/dexdump/ |
D | DexDump.cpp | 535 printf("static_fields_size : %d\n", pClassData->header.staticFieldsSize); in dumpClassDef() 537 pClassData->header.instanceFieldsSize); in dumpClassDef() 538 printf("direct_methods_size : %d\n", pClassData->header.directMethodsSize); in dumpClassDef() 540 pClassData->header.virtualMethodsSize); in dumpClassDef() 1485 for (i = 0; i < (int) pClassData->header.staticFieldsSize; i++) { in dumpClass() 1491 for (i = 0; i < (int) pClassData->header.instanceFieldsSize; i++) { in dumpClass() 1497 for (i = 0; i < (int) pClassData->header.directMethodsSize; i++) { in dumpClass() 1503 for (i = 0; i < (int) pClassData->header.virtualMethodsSize; i++) { in dumpClass() 1706 if (methodCount != pClassData->header.directMethodsSize in dumpRegisterMaps() 1707 + pClassData->header.virtualMethodsSize) in dumpRegisterMaps() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DexFile.java | 92 private final HeaderSection header; field in DexFile 112 header = new HeaderSection(this); in DexFile() 132 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile() 511 header.prepare(); in toDex0()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | DexFile.java | 89 private final HeaderSection header; field in DexFile 107 header = new HeaderSection(this); in DexFile() 127 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile() 494 header.prepare(); in toDex0()
|
/dalvik/dx/tests/034-dex-minimal/ |
D | expected.txt | 64 | header: 1 item; 112 bytes total
|
/dalvik/dexlist/ |
D | DexList.cpp | 184 for (i = 0; i < (int) pClassData->header.directMethodsSize; i++) { in dumpClass() 188 for (i = 0; i < (int) pClassData->header.virtualMethodsSize; i++) { in dumpClass()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 113 headerOut = dexOut.appendSection(writerSizes.header, "header"); in DexMerger() 174 contentsOut.header.off = 0; in mergeDexes() 175 contentsOut.header.size = 1; in mergeDexes() 1007 private int header = SizeOf.HEADER_ITEM; field in DexMerger.WriterSizes 1031 header = dexMerger.headerOut.used(); in WriterSizes() 1087 header = fourByteAlign(header); in fourByteAlign() 1107 return header + idsDefs + mapList + typeList + classData + code + stringData + debugInfo in size()
|
/dalvik/dx/tests/087-ssa-local-vars/ |
D | expected.txt | 985 Blort.java:90@00cd: const-object("Maximum header count exceeded" catch) . <- 1152 :Ljava/lang/String;="Maximum header count exceeded" <- .
|