Searched refs:classDef (Results 1 – 6 of 6) sorted by relevance
/dalvik/dx/src/com/android/dx/merge/ |
D | SortableType.java | 47 private ClassDef classDef; field in SortableType 50 public SortableType(Dex dex, ClassDef classDef) { in SortableType() argument 52 this.classDef = classDef; in SortableType() 60 return classDef; in getClassDef() 64 return classDef.getTypeIndex(); in getTypeIndex() 74 if (classDef.getSupertypeIndex() == ClassDef.NO_INDEX) { in tryAssignDepth() 77 SortableType sortableSupertype = types[classDef.getSupertypeIndex()]; in tryAssignDepth() 87 for (short interfaceIndex : classDef.getInterfaces()) { in tryAssignDepth()
|
D | IndexMap.java | 214 public ClassDef adjust(ClassDef classDef) { in adjust() argument 215 return new ClassDef(target, classDef.getOffset(), adjustType(classDef.getTypeIndex()), in adjust() 216 classDef.getAccessFlags(), adjustType(classDef.getSupertypeIndex()), in adjust() 217 adjustTypeListOffset(classDef.getInterfacesOffset()), classDef.getSourceFileIndex(), in adjust() 218 classDef.getAnnotationsOffset(), classDef.getClassDataOffset(), in adjust() 219 classDef.getStaticValuesOffset()); in adjust()
|
D | DexMerger.java | 590 for (ClassDef classDef : buffer.classDefs()) { in readSortableTypes() 591 SortableType sortableType = indexMap.adjust(new SortableType(buffer, classDef)); in readSortableTypes() 597 + buffer.typeNames().get(classDef.getTypeIndex())); in readSortableTypes() 663 private void transformClassDef(Dex in, ClassDef classDef, IndexMap indexMap) { in transformClassDef() argument 665 idsDefsOut.writeInt(classDef.getTypeIndex()); in transformClassDef() 666 idsDefsOut.writeInt(classDef.getAccessFlags()); in transformClassDef() 667 idsDefsOut.writeInt(classDef.getSupertypeIndex()); in transformClassDef() 668 idsDefsOut.writeInt(classDef.getInterfacesOffset()); in transformClassDef() 670 int sourceFileIndex = indexMap.adjustString(classDef.getSourceFileIndex()); in transformClassDef() 673 int annotationsOff = classDef.getAnnotationsOffset(); in transformClassDef() [all …]
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
D | FindUsages.java | 118 for (ClassDef classDef : dex.classDefs()) { in findUsages() 119 currentClass = classDef; in findUsages() 122 if (classDef.getClassDataOffset() == 0) { in findUsages() 126 ClassData classData = dex.readClassData(classDef); in findUsages() 193 for (ClassDef classDef : dex.classDefs()) { in findAssignableTypes() 194 if (assignableTypes.contains(classDef.getSupertypeIndex())) { in findAssignableTypes() 195 assignableTypes.add(classDef.getTypeIndex()); in findAssignableTypes() 199 for (int implemented : classDef.getInterfaces()) { in findAssignableTypes() 201 assignableTypes.add(classDef.getTypeIndex()); in findAssignableTypes()
|
/dalvik/dx/src/com/android/dx/command/grep/ |
D | Grep.java | 89 for (ClassDef classDef : dex.classDefs()) { in grep() 90 currentClass = classDef; in grep() 93 if (classDef.getClassDataOffset() == 0) { in grep() 97 ClassData classData = dex.readClassData(classDef); in grep() 100 int staticValuesOffset = classDef.getStaticValuesOffset(); in grep()
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 112 for (ClassDef classDef : dex.classDefs()) { in printClassDefs() 113 System.out.println("class def " + index + ": " + classDef); in printClassDefs()
|