Home
last modified time | relevance | path

Searched refs:header (Results 1 – 16 of 16) sorted by relevance

/dalvik/libdex/
DDexClass.cpp104 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 …]
DDexClass.h52 DexClassDataHeader header; member
DDexSwapVerify.cpp1587 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/
DCodeObserver.java67 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/
DCatchHandlerList.java66 public String toHuman(String prefix, String header) { in toHuman() argument
71 sb.append(header); in toHuman()
/dalvik/dx/src/com/android/dx/dex/code/
DCatchHandlerList.java67 public String toHuman(String prefix, String header) { in toHuman() argument
72 sb.append(header); in toHuman()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDexFile.java89 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/
DDexFile.java103 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/
Dexpected.txt64 | header: 1 item; 112 bytes total
/dalvik/dexdump/
DDexDump.cpp536 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/
DTableOfContents.java32 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/
DDexMerger.java110 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/
Dexpected.txt985 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/
Dexpected.txt863 | header: 1 item; 112 bytes total
/dalvik/dx/tests/132-invoke-polymorphic/
Dexpected.txt1473 | header: 1 item; 112 bytes total
/dalvik/dx/tests/135-invoke-custom/
Dexpected.txt6383 | header: 1 item; 112 bytes total