Home
last modified time | relevance | path

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

12

/dalvik/dexgen/src/com/android/dexgen/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 …]
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()
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()
DStringDataItem.java28 public final class StringDataItem extends OffsettedItem {
94 protected int compareTo0(OffsettedItem other) { in compareTo0()
DTypeListItem.java29 public final class TypeListItem extends OffsettedItem {
116 protected int compareTo0(OffsettedItem other) { in compareTo0()
DEncodedArrayItem.java35 public final class EncodedArrayItem extends OffsettedItem {
82 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetItem.java27 public final class AnnotationSetItem extends OffsettedItem {
96 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetRefItem.java25 public final class AnnotationSetRefItem extends OffsettedItem {
DAnnotationItem.java36 public final class AnnotationItem extends OffsettedItem {
132 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()
DClassDefItem.java179 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
186 OffsettedItem.getAbsoluteOffsetOr0(staticValuesItem); in writeTo()
DProtoIdItem.java132 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes); in writeTo()
/dalvik/dx/src/com/android/dx/dex/file/
DMixedItemSection.java53 private static final Comparator<OffsettedItem> TYPE_SORTER =
54 new Comparator<OffsettedItem>() {
55 public int compare(OffsettedItem item1, OffsettedItem item2) {
63 private final ArrayList<OffsettedItem> items;
66 private final HashMap<OffsettedItem, OffsettedItem> interns;
91 this.items = new ArrayList<OffsettedItem>(100); in MixedItemSection()
92 this.interns = new HashMap<OffsettedItem, OffsettedItem>(100); in MixedItemSection()
113 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset()
168 public void add(OffsettedItem item) { in add()
192 public synchronized <T extends OffsettedItem> T intern(T item) { in intern()
[all …]
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()
DUniformListItem.java35 public final class UniformListItem<T extends OffsettedItem>
36 extends OffsettedItem {
72 private static int getAlignment(List<? extends OffsettedItem> items) { in getAlignment()
91 private static int writeSize(List<? extends OffsettedItem> items) { in writeSize()
96 OffsettedItem first = items.get(0); in writeSize()
120 for (OffsettedItem i : items) { in addContents()
133 for (OffsettedItem i : items) { in toHuman()
164 for (OffsettedItem i : items) { in place0()
197 for (OffsettedItem i : items) { in writeTo0()
DEncodedArrayItem.java26 public final class EncodedArrayItem extends OffsettedItem {
73 protected int compareTo0(OffsettedItem other) { in compareTo0()
DStringDataItem.java28 public final class StringDataItem extends OffsettedItem {
94 protected int compareTo0(OffsettedItem other) { in compareTo0()
DTypeListItem.java28 public final class TypeListItem extends OffsettedItem {
115 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetItem.java27 public final class AnnotationSetItem extends OffsettedItem {
97 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationSetRefItem.java25 public final class AnnotationSetRefItem extends OffsettedItem {
DAnnotationItem.java34 public final class AnnotationItem extends OffsettedItem {
132 protected int compareTo0(OffsettedItem other) { in compareTo0()
DAnnotationsDirectoryItem.java33 public final class AnnotationsDirectoryItem extends OffsettedItem {
120 public int compareTo0(OffsettedItem other) { in compareTo0()
290 int classOff = OffsettedItem.getAbsoluteOffsetOr0(classAnnotations); in writeTo0()
DClassDefItem.java177 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
184 OffsettedItem.getAbsoluteOffsetOr0(staticValuesItem); in writeTo()
DDebugInfoItem.java28 public class DebugInfoItem extends OffsettedItem {
DProtoIdItem.java129 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes); in writeTo()

12