Home
last modified time | relevance | path

Searched refs:staticFields (Results 1 – 9 of 9) sorted by relevance

/dalvik/dx/src/com/android/dex/
DClassData.java20 private final Field[] staticFields; field in ClassData
25 public ClassData(Field[] staticFields, Field[] instanceFields, in ClassData() argument
27 this.staticFields = staticFields; in ClassData()
34 return staticFields; in getStaticFields()
50 Field[] result = new Field[staticFields.length + instanceFields.length]; in allFields()
51 System.arraycopy(staticFields, 0, result, 0, staticFields.length); in allFields()
52 System.arraycopy(instanceFields, 0, result, staticFields.length, instanceFields.length); in allFields()
DDex.java540 ClassData.Field[] staticFields = readFields(staticFieldsSize); in readClassData() local
544 return new ClassData(staticFields, instanceFields, directMethods, virtualMethods); in readClassData()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DClassDataItem.java48 private final ArrayList<EncodedField> staticFields; field in ClassDataItem
86 this.staticFields = new ArrayList<EncodedField>(20); in ClassDataItem()
113 return staticFields.isEmpty() && instanceFields.isEmpty() in isEmpty()
133 staticFields.add(field); in addStaticField()
204 int sz = staticFields.size(); in debugPrint()
206 pw.println(" sfields[" + i + "]: " + staticFields.get(i)); in debugPrint()
230 if (!staticFields.isEmpty()) { in addContents()
232 for (EncodedField field : staticFields) { in addContents()
267 if ((staticValuesConstant == null) && (staticFields.size() != 0)) { in getStaticValuesConstant()
283 Collections.sort(staticFields); in makeStaticValuesConstant()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DClassDataItem.java44 private final ArrayList<EncodedField> staticFields; field in ClassDataItem
82 this.staticFields = new ArrayList<EncodedField>(20); in ClassDataItem()
109 return staticFields.isEmpty() && instanceFields.isEmpty() in isEmpty()
129 staticFields.add(field); in addStaticField()
200 int sz = staticFields.size(); in debugPrint()
202 pw.println(" sfields[" + i + "]: " + staticFields.get(i)); in debugPrint()
226 if (!staticFields.isEmpty()) { in addContents()
228 for (EncodedField field : staticFields) { in addContents()
263 if ((staticValuesConstant == null) && (staticFields.size() != 0)) { in getStaticValuesConstant()
279 Collections.sort(staticFields); in makeStaticValuesConstant()
[all …]
/dalvik/libdex/
DDexClass.cpp136 result->staticFields = (DexField*) ptr; in dexReadAndVerifyClassData()
139 result->staticFields = NULL; in dexReadAndVerifyClassData()
165 &result->staticFields[i], &lastIndex); in dexReadAndVerifyClassData()
DDexClass.h53 DexField* staticFields; member
DDexSwapVerify.cpp1580 classData->staticFields, true); in verifyClassDataItem0()
1641 u4 fieldIdx = classData->staticFields[0].fieldIdx; in findFirstClassDataDefiner()
1677 const DexField* field = &classData->staticFields[i]; in crossVerifyClassDataItem()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java788 ClassData.Field[] staticFields = classData.getStaticFields(); in transformClassData() local
793 classDataOut.writeUleb128(staticFields.length); in transformClassData()
798 transformFields(indexMap, staticFields); in transformClassData()
/dalvik/dexdump/
DDexDump.cpp1603 dumpSField(pDexFile, &pClassData->staticFields[i], i); in dumpClass()