/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | UniformListItem.java | 26 * Class that represents a contiguous list of uniform items. Each 30 * <p>This class inherits its alignment from its items, bumped up to 31 * {@code 4} if the items have a looser alignment requirement. If 46 private final List<T> items; field in class:UniformListItem 53 * @param items {@code non-null and non-empty;} list of items to represent 55 public UniformListItem(ItemType itemType, List<T> items) { argument 56 super(getAlignment(items), writeSize(items)); 62 this.items 74 getAlignment(List<? extends OffsettedItem> items) argument 93 writeSize(List<? extends OffsettedItem> items) argument [all...] |
H A D | UniformItemSection.java | 26 * {@link Item} objects. Each of the items must have the same size in 46 Collection<? extends Item> items = items(); 47 int sz = items.size(); 54 return sz * items.iterator().next().writeSize(); 75 for (Item one : items()) { 86 for (Item one : items()) { 96 * Since all items must be the same size, we can use the size 106 * Alters or picks the order for items in this instance if desired, 107 * so that subsequent calls to {@link #items} wil [all...] |
H A D | AnnotationSetItem.java | 38 * {@code non-null;} set of annotations as individual items in an array. 42 private final AnnotationItem[] items; field in class:AnnotationSetItem 53 this.items = new AnnotationItem[annotations.size()]; 57 items[at] = new AnnotationItem(a); 117 int size = items.length; 120 items[i] = byteData.intern(items[i]); 128 AnnotationItem.sortByTypeIdIndex(items); 135 int size = items.length; 145 AnnotationItem item = items[ [all...] |
H A D | MemberIdsSection.java | 39 for (Object i : items()) {
|
H A D | MixedItemSection.java | 63 /** {@code non-null;} the items in this part */ 64 private final ArrayList<OffsettedItem> items; field in class:MixedItemSection 66 /** {@code non-null;} items that have been explicitly interned */ 69 /** {@code non-null;} how to sort the items */ 86 * @param sort how the items should be sorted in the final output 92 this.items = new ArrayList<OffsettedItem>(100); 100 public Collection<? extends Item> items() { method in class:MixedItemSection 101 return items; 119 * Gets the size of this instance, in items. 124 return items [all...] |
H A D | MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
H A D | HeaderSection.java | 54 public Collection<? extends Item> items() { method in class:HeaderSection
|
H A D | Statistics.java | 56 * Adds the given list of items to the statistics. 58 * @param list {@code non-null;} the list of items to add 61 Collection<? extends Item> items = list.items(); 62 for (Item item : items) {
|
H A D | ProtoIdsSection.java | 50 public Collection<? extends Item> items() { method in class:ProtoIdsSection 135 for (Object i : items()) {
|
H A D | TypeIdsSection.java | 50 public Collection<? extends Item> items() { method in class:TypeIdsSection 187 for (Object i : items()) {
|
H A D | FieldIdsSection.java | 50 public Collection<? extends Item> items() { method in class:FieldIdsSection
|
H A D | MethodIdsSection.java | 50 public Collection<? extends Item> items() { method in class:MethodIdsSection
|
H A D | Section.java | 25 * of items of some sort or other. 219 * Gets the collection of all the items in this section. 222 * @return {@code non-null;} the items 224 public abstract Collection<? extends Item> items(); method in class:Section
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | UniformListItem.java | 24 * Class that represents a contiguous list of uniform items. Each 28 * <p>This class inherits its alignment from its items, bumped up to 29 * {@code 4} if the items have a looser alignment requirement. If 44 private final List<T> items; field in class:UniformListItem 51 * @param items {@code non-null and non-empty;} list of items to represent 53 public UniformListItem(ItemType itemType, List<T> items) { argument 54 super(getAlignment(items), writeSize(items)); 60 this.items 72 getAlignment(List<? extends OffsettedItem> items) argument 91 writeSize(List<? extends OffsettedItem> items) argument [all...] |
H A D | UniformItemSection.java | 25 * {@link Item} objects. Each of the items must have the same size in 45 Collection<? extends Item> items = items(); 46 int sz = items.size(); 53 return sz * items.iterator().next().writeSize(); 74 for (Item one : items()) { 85 for (Item one : items()) { 95 * Since all items must be the same size, we can use the size 105 * Alters or picks the order for items in this instance if desired, 106 * so that subsequent calls to {@link #items} wil [all...] |
H A D | AnnotationSetItem.java | 38 * {@code non-null;} set of annotations as individual items in an array. 42 private final AnnotationItem[] items; field in class:AnnotationSetItem 53 this.items = new AnnotationItem[annotations.size()]; 57 items[at] = new AnnotationItem(a); 117 int size = items.length; 120 items[i] = byteData.intern(items[i]); 128 AnnotationItem.sortByTypeIdIndex(items); 135 int size = items.length; 145 AnnotationItem item = items[ [all...] |
H A D | MemberIdsSection.java | 49 if (items().size() > DexFormat.MAX_MEMBER_IDX + 1) { 53 for (Object i : items()) { 61 for (Object member : items()) { 77 memberType, items().size(), DexFormat.MAX_MEMBER_IDX + 1);
|
H A D | MixedItemSection.java | 62 /** {@code non-null;} the items in this part */ 63 private final ArrayList<OffsettedItem> items; field in class:MixedItemSection 65 /** {@code non-null;} items that have been explicitly interned */ 68 /** {@code non-null;} how to sort the items */ 85 * @param sort how the items should be sorted in the final output 91 this.items = new ArrayList<OffsettedItem>(100); 99 public Collection<? extends Item> items() { method in class:MixedItemSection 100 return items; 118 * Gets the size of this instance, in items. 123 return items [all...] |
H A D | MapItem.java | 52 * {@code > 0;} count of items covered; {@code 1} if this 72 if (mapSection.items().size() != 0) { 74 "mapSection.items().size() != 0"); 77 ArrayList<MapItem> items = new ArrayList<MapItem>(50); 85 for (Item item : section.items()) { 89 items.add(new MapItem(currentType, section, 101 // Add a MapItem for the final items in the section. 102 items.add(new MapItem(currentType, section, 106 items.add(new MapItem(mapSection)); 111 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
H A D | HeaderSection.java | 53 public Collection<? extends Item> items() { method in class:HeaderSection
|
H A D | Statistics.java | 55 * Adds the given list of items to the statistics. 57 * @param list {@code non-null;} the list of items to add 60 Collection<? extends Item> items = list.items(); 61 for (Item item : items) {
|
H A D | ProtoIdsSection.java | 49 public Collection<? extends Item> items() { method in class:ProtoIdsSection 134 for (Object i : items()) {
|
H A D | TypeIdsSection.java | 53 public Collection<? extends Item> items() { method in class:TypeIdsSection 192 for (Object i : items()) {
|
H A D | FieldIdsSection.java | 49 public Collection<? extends Item> items() { method in class:FieldIdsSection
|
H A D | MethodIdsSection.java | 49 public Collection<? extends Item> items() { method in class:MethodIdsSection
|