/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); 41 item.setIndex(0); 43 this.list = Collections.singletonList(item);
|
H A D | AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 151 * Adds a field annotations item to this instance. 167 * Adds a method annotations item to this instance. 183 * Adds a parameter annotations item to this instance. 209 for (MethodAnnotationStruct item : methodAnnotations) { 210 if (item.getMethod().equals(method)) { 211 return item [all...] |
H A D | Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { argument 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 62 for (Item item : items) { 63 add(item); 133 Data(Item item, String name) argument 148 add(Item item) argument [all...] |
H A D | MixedItemSection.java | 38 * <b>Note:</b> It is invalid for an item in an instance of this class to 113 public int getAbsoluteItemOffset(Item item) { argument 114 OffsettedItem oi = (OffsettedItem) item; 162 * Adds an item to this instance. This will in turn tell the given item 164 * same item to more than one instance, nor to add the same items 167 * @param item {@code non-null;} the item to add 169 public void add(OffsettedItem item) { argument 173 if (item 193 intern(T item) argument 213 get(T item) argument [all...] |
H A D | FieldIdsSection.java | 129 FieldIdItem item = fieldIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | ProtoIdsSection.java | 121 ProtoIdItem item = protoIds.get(prototype); 123 if (item == null) { 127 return item.getIndex();
|
H A D | ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 62 * Construct an item for the annotations list. TODO: This 72 AnnotationSetItem item = new AnnotationSetItem(annotations); 73 arrayList.add(new AnnotationSetRefItem(item)); 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 138 sb.append(item.toHuman()); 145 * Gets the method this item is for.
|
H A D | UniformItemSection.java | 53 // Since each item has to be the same size, we can pick any. 58 * Gets the item corresponding to the given {@link Constant}. This 64 * @return {@code non-null;} the corresponding item found in this instance 94 public final int getAbsoluteItemOffset(Item item) { argument 99 IndexedItem ii = (IndexedItem) item;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | HeaderSection.java | 28 /** {@code non-null;} the list of the one item in the section */ 39 HeaderItem item = new HeaderItem(); 40 item.setIndex(0); 42 this.list = Collections.singletonList(item);
|
H A D | AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 152 * Adds a field annotations item to this instance. 169 * Adds a method annotations item to this instance. 186 * Adds a parameter annotations item to this instance. 213 for (MethodAnnotationStruct item : methodAnnotations) { 214 if (item.getMethod().equals(method)) { 215 return item [all...] |
H A D | Statistics.java | 28 /** {@code non-null;} data about each type of item */ 39 * Adds the given item to the statistics. 41 * @param item {@code non-null;} the item to add 43 public void add(Item item) { argument 44 String typeName = item.typeName(); 48 dataMap.put(typeName, new Data(item, typeName)); 50 data.add(item); 61 for (Item item : items) { 62 add(item); 132 Data(Item item, String name) argument 147 add(Item item) argument [all...] |
H A D | MixedItemSection.java | 37 * <b>Note:</b> It is invalid for an item in an instance of this class to 112 public int getAbsoluteItemOffset(Item item) { argument 113 OffsettedItem oi = (OffsettedItem) item; 161 * Adds an item to this instance. This will in turn tell the given item 163 * same item to more than one instance, nor to add the same items 166 * @param item {@code non-null;} the item to add 168 public void add(OffsettedItem item) { argument 172 if (item 192 intern(T item) argument 212 get(T item) argument [all...] |
H A D | FieldIdsSection.java | 129 FieldIdItem item = fieldIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | ProtoIdsSection.java | 120 ProtoIdItem item = protoIds.get(prototype); 122 if (item == null) { 126 return item.getIndex();
|
H A D | ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 63 * Construct an item for the annotations list. TODO: This 73 AnnotationSetItem item = new AnnotationSetItem(annotations, dexFile); 74 arrayList.add(new AnnotationSetRefItem(item)); 133 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 139 sb.append(item.toHuman()); 146 * Gets the method this item is for.
|
H A D | UniformItemSection.java | 52 // Since each item has to be the same size, we can pick any. 57 * Gets the item corresponding to the given {@link Constant}. This 63 * @return {@code non-null;} the corresponding item found in this instance 93 public final int getAbsoluteItemOffset(Item item) { argument 98 IndexedItem ii = (IndexedItem) item;
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 365 ALOGE("Unknown map item type %04x", mapType); 372 * Helper for swapMap(), which indicates if an item type should appear 397 DexMapItem* item = pMap->list; local 408 CHECK_LIST_SIZE(item, count, sizeof(DexMapItem)); 411 SWAP_FIELD2(item->type); 412 SWAP_FIELD2(item->unused); 413 SWAP_FIELD4(item->size); 414 SWAP_OFFSET4(item->offset); 418 } else if (lastOffset >= item->offset) { 419 ALOGE("Out-of-order map item 548 DexStringId* item = (DexStringId*) ptr; local 558 const DexStringId* item = (const DexStringId*) ptr; local 581 DexTypeId* item = (DexTypeId*) ptr; local 591 const DexTypeId* item = (const DexTypeId*) ptr; local 615 DexProtoId* item = (DexProtoId*) ptr; local 672 const DexProtoId* item = (const DexProtoId*) ptr; local 765 DexFieldId* item = (DexFieldId*) ptr; local 777 const DexFieldId* item = (const DexFieldId*) ptr; local 837 DexMethodId* item = (DexMethodId*) ptr; local 849 const DexMethodId* item = (const DexMethodId*) ptr; local 903 DexClassDef* item = (DexClassDef*) ptr; local 975 const DexClassDef* item = (const DexClassDef*) ptr; local 1069 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1098 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1128 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local 1156 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local 1194 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1214 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1234 const DexParameterAnnotationsItem* item = local 1286 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local 1348 DexAnnotationSetRefItem* item; local 1369 const DexAnnotationSetRefItem* item = list->list; local 1387 u4* item; local 1406 annotationItemTypeIdx(const DexAnnotationItem* item) argument 1814 DexCode* item = (DexCode*) ptr; local 2527 const DexMapItem* item = pMap->list; local 2701 const DexMapItem* item = pMap->list; local [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | LocalVariableList.java | 84 Item item = descriptorList.get(i); 85 Item signatureItem = signatureList.itemToLocal(item); 88 item = item.withSignature(signature); 90 result.set(i, item); 107 * Gets the indicated item. 109 * @param n {@code >= 0;} which item 110 * @return {@code null-ok;} the indicated item 117 * Sets the item at the given index. 120 * @param item { 122 set(int n, Item item) argument 160 itemToLocal(Item item) argument [all...] |
H A D | LineNumberList.java | 69 * Gets the indicated item. 71 * @param n {@code >= 0;} which item 72 * @return {@code null-ok;} the indicated item 79 * Sets the item at the given index. 82 * @param item {@code non-null;} the item 84 public void set(int n, Item item) { argument 85 if (item == null) { 86 throw new NullPointerException("item == null"); 89 set0(n, item); [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | LabeledList.java | 102 * Gets the index of the first item in the list with the given 106 * @return {@code >= -1;} the index of the so-labelled item, or {@code -1} 146 * @param item {@code null-ok;} the value to store 148 protected void set(int n, LabeledItem item) { argument 151 set0(n, item); 157 if (item != null) { 158 addLabelIndex(item.getLabel(), n);
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | LabeledList.java | 103 * Gets the index of the first item in the list with the given 107 * @return {@code >= -1;} the index of the so-labelled item, or {@code -1} 172 * @param item {@code null-ok;} the value to store 174 protected void set(int n, LabeledItem item) { argument 177 set0(n, item); 183 if (item != null) { 184 addLabelIndex(item.getLabel(), n);
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
H A D | LineNumberList.java | 69 * Gets the indicated item. 71 * @param n {@code >= 0;} which item 72 * @return {@code null-ok;} the indicated item 79 * Sets the item at the given index. 82 * @param item {@code non-null;} the item 84 public void set(int n, Item item) { argument 85 if (item == null) { 86 throw new NullPointerException("item == null"); 89 set0(n, item); [all...] |
H A D | ByteCatchList.java | 54 * Gets the indicated item. 56 * @param n {@code >= 0;} which item 57 * @return {@code null-ok;} the indicated item 64 * Sets the item at the given index. 67 * @param item {@code non-null;} the item 69 public void set(int n, Item item) { argument 70 if (item == null) { 71 throw new NullPointerException("item == null"); 74 set0(n, item); 138 typeNotFound(Item item, Item[] arr, int count) argument [all...] |