/dalvik/libdex/ |
D | DexClass.cpp | 104 DexClassDataHeader header; in dexReadAndVerifyClassData() local 113 if (! dexReadAndVerifyClassDataHeader(pData, pLimit, &header)) { in dexReadAndVerifyClassData() 118 (header.staticFieldsSize * sizeof(DexField)) + in dexReadAndVerifyClassData() 119 (header.instanceFieldsSize * sizeof(DexField)) + in dexReadAndVerifyClassData() 120 (header.directMethodsSize * sizeof(DexMethod)) + in dexReadAndVerifyClassData() 121 (header.virtualMethodsSize * sizeof(DexMethod)); in dexReadAndVerifyClassData() 132 result->header = header; in dexReadAndVerifyClassData() 134 if (header.staticFieldsSize != 0) { in dexReadAndVerifyClassData() 136 ptr += header.staticFieldsSize * sizeof(DexField); in dexReadAndVerifyClassData() 141 if (header.instanceFieldsSize != 0) { in dexReadAndVerifyClassData() [all …]
|
D | DexClass.h | 52 DexClassDataHeader header; member
|
D | DexSwapVerify.cpp | 1587 okay = verifyFields(state, classData->header.staticFieldsSize, in verifyClassDataItem0() 1595 verifyFields(state, classData->header.instanceFieldsSize, in verifyClassDataItem0() 1603 okay = verifyMethods(state, classData->header.directMethodsSize, in verifyClassDataItem0() 1611 okay = verifyMethods(state, classData->header.virtualMethodsSize, in verifyClassDataItem0() 1648 if (classData->header.staticFieldsSize != 0) { in findFirstClassDataDefiner() 1654 if (classData->header.instanceFieldsSize != 0) { in findFirstClassDataDefiner() 1660 if (classData->header.directMethodsSize != 0) { in findFirstClassDataDefiner() 1666 if (classData->header.virtualMethodsSize != 0) { in findFirstClassDataDefiner() 1683 for (i = classData->header.staticFieldsSize; okay && (i > 0); /*i*/) { in crossVerifyClassDataItem() 1689 for (i = classData->header.instanceFieldsSize; okay && (i > 0); /*i*/) { in crossVerifyClassDataItem() [all …]
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | CodeObserver.java | 67 observer.parsed(bytes, offset, length, header(offset)); in visitInvalid() 73 observer.parsed(bytes, offset, length, header(offset)); in visitNoArgs() 95 header(offset) + (argComment ? " // " : " ") + in visitLocal() 143 header(offset) + " " + cst + valueStr); in visitConstant() 152 header(offset) + " " + targetStr); in visitBranch() 162 sb.append(header(offset)); in visitSwitch() 190 header(offset) + commentOrSpace + typeName); in visitNewarray() 210 private String header(int offset) { in header() method in CodeObserver 250 header(offset) + commentOrSpace + valueStr); in visitLiteralInt() 274 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 | 67 public String toHuman(String prefix, String header) { in toHuman() argument 72 sb.append(header); in toHuman()
|
/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/src/com/android/dx/dex/file/ |
D | DexFile.java | 103 private final HeaderSection header; field in DexFile 125 header = new HeaderSection(this); in DexFile() 155 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile() 163 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile() 638 header.prepare(); in toDex0()
|
/dalvik/dx/tests/034-dex-minimal/ |
D | expected.txt | 64 | header: 1 item; 112 bytes total
|
/dalvik/dexdump/ |
D | DexDump.cpp | 536 printf("static_fields_size : %d\n", pClassData->header.staticFieldsSize); in dumpClassDef() 538 pClassData->header.instanceFieldsSize); in dumpClassDef() 539 printf("direct_methods_size : %d\n", pClassData->header.directMethodsSize); in dumpClassDef() 541 pClassData->header.virtualMethodsSize); in dumpClassDef() 1614 for (i = 0; i < (int) pClassData->header.staticFieldsSize; i++) { in dumpClass() 1620 for (i = 0; i < (int) pClassData->header.instanceFieldsSize; i++) { in dumpClass() 1626 for (i = 0; i < (int) pClassData->header.directMethodsSize; i++) { in dumpClass() 1632 for (i = 0; i < (int) pClassData->header.virtualMethodsSize; i++) { in dumpClass() 1826 if (methodCount != pClassData->header.directMethodsSize in dumpRegisterMaps() 1827 + pClassData->header.virtualMethodsSize) in dumpRegisterMaps() [all …]
|
/dalvik/dx/src/com/android/dex/ |
D | TableOfContents.java | 32 public final Section header = new Section(0x0000); field in TableOfContents 53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList, callSiteIds,
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 110 headerOut = dexOut.appendSection(writerSizes.header, "header"); in DexMerger() 176 contentsOut.header.off = 0; in mergeDexes() 177 contentsOut.header.size = 1; in mergeDexes() 1071 private int header = SizeOf.HEADER_ITEM; field in DexMerger.WriterSizes 1096 header = dexMerger.headerOut.used(); in WriterSizes() 1155 header = fourByteAlign(header); in fourByteAlign() 1175 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" <- .
|
/dalvik/dx/tests/139-lambda-metafactory/ |
D | expected.txt | 863 | header: 1 item; 112 bytes total
|
/dalvik/dx/tests/132-invoke-polymorphic/ |
D | expected.txt | 1473 | header: 1 item; 112 bytes total
|
/dalvik/dx/tests/135-invoke-custom/ |
D | expected.txt | 6383 | header: 1 item; 112 bytes total
|