Home
last modified time | relevance | path

Searched refs:OffsettedItem (Results 1 – 17 of 17) sorted by relevance

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DMixedItemSection.java54 private static final Comparator<OffsettedItem> TYPE_SORTER =
55 new Comparator<OffsettedItem>() {
56 public int compare(OffsettedItem item1, OffsettedItem item2) {
64 private final ArrayList<OffsettedItem> items;
67 private final HashMap<OffsettedItem, OffsettedItem> interns;
92 this.items = new ArrayList<OffsettedItem>(100); in MixedItemSection()
93 this.interns = new HashMap<OffsettedItem, OffsettedItem>(100); in MixedItemSection()
114 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset()
169 public void add(OffsettedItem item) { in add()
193 public <T extends OffsettedItem> T intern(T item) { in intern()
[all …]
DUniformListItem.java37 public final class UniformListItem<T extends OffsettedItem>
38 extends OffsettedItem {
74 private static int getAlignment(List<? extends OffsettedItem> items) { in getAlignment()
93 private static int writeSize(List<? extends OffsettedItem> items) { in writeSize()
98 OffsettedItem first = items.get(0); in writeSize()
122 for (OffsettedItem i : items) { in addContents()
135 for (OffsettedItem i : items) { in toHuman()
166 for (OffsettedItem i : items) { in place0()
199 for (OffsettedItem i : items) { in writeTo0()
DOffsettedItem.java25 public abstract class OffsettedItem extends Item class
26 implements Comparable<OffsettedItem> {
54 public static int getAbsoluteOffsetOr0(OffsettedItem item) { in getAbsoluteOffsetOr0()
70 public OffsettedItem(int alignment, int writeSize) { in OffsettedItem() method in OffsettedItem
96 OffsettedItem otherItem = (OffsettedItem) other; in equals()
114 public final int compareTo(OffsettedItem other) { in compareTo()
285 protected int compareTo0(OffsettedItem other) { in compareTo0()
DStringDataItem.java28 public final class StringDataItem extends OffsettedItem {
94 protected int compareTo0(OffsettedItem other) { in compareTo0()
DEncodedArrayItem.java26 public final class EncodedArrayItem extends OffsettedItem {
73 protected int compareTo0(OffsettedItem other) { in compareTo0()
DTypeListItem.java29 public final class TypeListItem extends OffsettedItem {
116 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetItem.java27 public final class AnnotationSetItem extends OffsettedItem {
96 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationsDirectoryItem.java33 public final class AnnotationsDirectoryItem extends OffsettedItem {
120 public int compareTo0(OffsettedItem other) { in compareTo0()
286 int classOff = OffsettedItem.getAbsoluteOffsetOr0(classAnnotations); in writeTo0()
DAnnotationItem.java34 public final class AnnotationItem extends OffsettedItem {
130 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetRefItem.java25 public final class AnnotationSetRefItem extends OffsettedItem {
DClassDefItem.java177 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
184 OffsettedItem.getAbsoluteOffsetOr0(staticValuesItem); in writeTo()
DDebugInfoItem.java29 public class DebugInfoItem extends OffsettedItem {
DProtoIdItem.java129 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes); in writeTo()
DEncodedMethod.java164 int codeOff = OffsettedItem.getAbsoluteOffsetOr0(code); in encode()
DMapItem.java27 public final class MapItem extends OffsettedItem {
DCodeItem.java44 public final class CodeItem extends OffsettedItem {
DClassDataItem.java40 public final class ClassDataItem extends OffsettedItem {