Searched defs:item (Results 1 - 21 of 21) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DStatistics.java29 /** {@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 DUniformItemSection.java53 // 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;
H A DOffsettedItem.java23 * An item in a Dalvik file which is referenced by absolute offset.
35 * {@code null-ok;} section the item was added to, or {@code null} if
41 * {@code >= -1;} assigned offset of the item from the start of its section,
47 * Gets the absolute offset of the given item, returning {@code 0}
50 * @param item {@code null-ok;} the item in question
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
52 * if {@code item == null}
54 public static int getAbsoluteOffsetOr0(OffsettedItem item) { argument
55 if (item
[all...]
H A DMixedItemSection.java38 * <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 DSection.java193 * Returns the absolute file offset of the given item which must
201 * @param item {@code non-null;} the item in question
202 * @return {@code >= 0;} the item's absolute file offset
204 public abstract int getAbsoluteItemOffset(Item item); argument
/dalvik/dexgen/src/com/android/dexgen/util/
H A DLabeledList.java102 * 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/dex/file/
H A DStatistics.java28 /** {@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 DUniformItemSection.java52 // 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;
H A DOffsettedItem.java23 * An item in a Dalvik file which is referenced by absolute offset.
35 * {@code null-ok;} section the item was added to, or {@code null} if
41 * {@code >= -1;} assigned offset of the item from the start of its section,
47 * Gets the absolute offset of the given item, returning {@code 0}
50 * @param item {@code null-ok;} the item in question
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
52 * if {@code item == null}
54 public static int getAbsoluteOffsetOr0(OffsettedItem item) { argument
55 if (item
[all...]
H A DMixedItemSection.java37 * <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 DSection.java192 * Returns the absolute file offset of the given item which must
200 * @param item {@code non-null;} the item in question
201 * @return {@code >= 0;} the item's absolute file offset
203 public abstract int getAbsoluteItemOffset(Item item); argument
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DLineNumberList.java69 * 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 DByteCatchList.java54 * 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...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBootstrapMethodsList.java40 * Gets the indicated item.
42 * @param n {@code >= 0;} which item
43 * @return {@code null-ok;} the indicated item
50 * Sets the item at the given index.
53 * @param item {@code non-null;} the item
55 public void set(int n, Item item) { argument
56 if (item == null) {
57 throw new NullPointerException("item == null");
60 set0(n, item);
[all...]
H A DLineNumberList.java69 * 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 DByteCatchList.java54 * 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...]
H A DLocalVariableList.java84 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...]
/dalvik/dx/src/com/android/dx/util/
H A DLabeledList.java103 * 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/dexdump/
H A DDexDump.cpp1872 const DexMapItem* item = findMapItem(pDexFile, kDexTypeMethodHandleItem); local
1873 if (item == nullptr) return;
1875 (const DexMethodHandleItem*)(pDexFile->baseAddr + item->offset);
1876 for (u4 i = 0; i < item->size; ++i) {
2001 const DexMapItem* item = findMapItem(pDexFile, kDexTypeCallSiteIdItem); local
2002 if (item == nullptr) return;
2003 const DexCallSiteId* ids = (const DexCallSiteId*)(pDexFile->baseAddr + item->offset);
2004 for (u4 index = 0; index < item->size; ++index) {
/dalvik/libdex/
H A DDexSwapVerify.cpp343 ALOGE("Unknown map item type %04x", mapType);
350 * Helper for swapMap(), which indicates if an item type should appear
375 DexMapItem* item = pMap->list; local
386 CHECK_LIST_SIZE(item, count, sizeOfItem);
389 SWAP_FIELD2(item->type);
390 SWAP_FIELD2(item->unused);
391 SWAP_FIELD4(item->size);
392 SWAP_OFFSET4(item->offset);
396 } else if (lastOffset >= item->offset) {
397 ALOGE("Out-of-order map item
532 DexStringId* item = (DexStringId*) ptr; local
542 const DexStringId* item = (const DexStringId*) ptr; local
565 DexTypeId* item = (DexTypeId*) ptr; local
575 const DexTypeId* item = (const DexTypeId*) ptr; local
599 DexProtoId* item = (DexProtoId*) ptr; local
656 const DexProtoId* item = (const DexProtoId*) ptr; local
749 DexFieldId* item = (DexFieldId*) ptr; local
761 const DexFieldId* item = (const DexFieldId*) ptr; local
821 DexMethodId* item = (DexMethodId*) ptr; local
833 const DexMethodId* item = (const DexMethodId*) ptr; local
887 DexClassDef* item = (DexClassDef*) ptr; local
959 const DexClassDef* item = (const DexClassDef*) ptr; local
1051 const DexCallSiteId* item = (const DexCallSiteId*) ptr; local
1066 const DexMethodHandleItem* item = (const DexMethodHandleItem*) ptr; local
1103 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1133 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1164 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local
1193 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local
1228 DexCallSiteId* item = (DexCallSiteId*) ptr; local
1237 DexMethodHandleItem* item = (DexMethodHandleItem*) ptr; local
1251 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1271 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1291 const DexParameterAnnotationsItem* item = local
1343 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local
1407 DexAnnotationSetRefItem* item; local
1430 const DexAnnotationSetRefItem* item = list->list; local
1448 u4* item; local
1469 annotationItemTypeIdx(const DexAnnotationItem* item) argument
1878 DexCode* item = (DexCode*) ptr; local
2605 const DexMapItem* item = pMap->list; local
2791 const DexMapItem* item = pMap->list; local
[all...]
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 210 milliseconds