Home
last modified time | relevance | path

Searched refs:classDefs (Results 1 – 10 of 10) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DClassDefsSection.java37 private final TreeMap<Type, ClassDefItem> classDefs; field in ClassDefsSection
50 classDefs = new TreeMap<Type, ClassDefItem>(); in ClassDefsSection()
61 return classDefs.values(); in items()
74 IndexedItem result = classDefs.get(type); in get()
91 int sz = classDefs.size(); in writeHeaderPart()
121 if (classDefs.get(type) != null) { in add()
125 classDefs.put(type, clazz); in add()
131 int sz = classDefs.size(); in orderItems()
142 for (Type type : classDefs.keySet()) { in orderItems()
158 ClassDefItem c = classDefs.get(type); in orderItems0()
DDexFile.java88 private final ClassDefsSection classDefs; field in DexFile
137 classDefs = new ClassDefsSection(this); in DexFile()
155 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
163 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
175 return classDefs.items().isEmpty(); in isEmpty()
192 classDefs.add(clazz); in add()
205 return (ClassDefItem) classDefs.get(new CstType(type)); in getClassOrNull()
384 return classDefs; in getClassDefs()
619 classDefs.prepare(); in toDex0()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DClassDefsSection.java38 private final TreeMap<Type, ClassDefItem> classDefs; field in ClassDefsSection
51 classDefs = new TreeMap<Type, ClassDefItem>(); in ClassDefsSection()
62 return classDefs.values(); in items()
75 IndexedItem result = classDefs.get(type); in get()
92 int sz = classDefs.size(); in writeHeaderPart()
122 if (classDefs.get(type) != null) { in add()
126 classDefs.put(type, clazz); in add()
132 int sz = classDefs.size(); in orderItems()
143 for (Type type : classDefs.keySet()) { in orderItems()
159 ClassDefItem c = classDefs.get(type); in orderItems0()
DDexFile.java80 private final ClassDefsSection classDefs; field in DexFile
119 classDefs = new ClassDefsSection(this); in DexFile()
128 classDefs, wordData, typeLists, stringData, byteData, in DexFile()
142 classDefs.add(clazz); in add()
155 return (ClassDefItem) classDefs.get(new CstType(type)); in getClassOrNull()
308 return classDefs; in getClassDefs()
483 classDefs.prepare(); in toDex0()
/dalvik/dx/src/com/android/dex/
DTableOfContents.java38 public final Section classDefs = new Section(0x0006); field in TableOfContents
53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList, callSiteIds,
117 classDefs.size = headerIn.readInt(); in readHeader()
118 classDefs.off = headerIn.readInt(); in readHeader()
194 out.writeInt(classDefs.size); in writeHeader()
195 out.writeInt(classDefs.off); in writeHeader()
DDex.java240 public Iterable<ClassDef> classDefs() { in classDefs() method in Dex
790 private final Dex.Section in = open(tableOfContents.classDefs.off);
795 return count < tableOfContents.classDefs.size; in hasNext()
814 return !tableOfContents.classDefs.exists() in iterator()
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java120 for (ClassDef classDef : dex.classDefs()) { in findUsages()
195 for (ClassDef classDef : dex.classDefs()) { in findAssignableTypes()
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java112 for (ClassDef classDef : dex.classDefs()) { in printClassDefs()
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java90 for (ClassDef classDef : dex.classDefs()) { in grep()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java220 dexes[i].getTableOfContents().classDefs.size, in merge()
224 result.getTableOfContents().classDefs.size, in merge()
598 contentsOut.classDefs.off = idsDefsOut.getPosition(); in mergeClassDefs()
599 contentsOut.classDefs.size = types.length; in mergeClassDefs()
652 for (ClassDef classDef : buffer.classDefs()) { in readSortableTypes()
1118 + contents.classDefs.size * SizeOf.CLASS_DEF_ITEM; in plus()