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.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/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 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/vm/
H A DHash.cpp174 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, argument
182 assert(item != HASH_TOMBSTONE);
183 assert(item != NULL);
191 (*cmpFunc)(pEntry->data, item) == 0)
211 pEntry->data = item;
234 result = item;
248 * Does NOT invoke the "free" function on the item.
250 bool dvmHashTableRemove(HashTable* pHashTable, u4 itemHash, void* item) argument
261 if (pEntry->data == item) {
287 * Does NOT invoke the "free" function on the item
342 countProbes(HashTable* pHashTable, u4 itemHash, const void* item, HashCompareFunc cmpFunc) argument
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp365 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
969 const DexClassDef* item = (const DexClassDef*) ptr; local
1063 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1092 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1122 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local
1150 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local
1188 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1208 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1228 const DexParameterAnnotationsItem* item = local
1280 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local
1342 DexAnnotationSetRefItem* item; local
1363 const DexAnnotationSetRefItem* item = list->list; local
1381 u4* item; local
1400 annotationItemTypeIdx(const DexAnnotationItem* item) argument
1802 DexCode* item = (DexCode*) ptr; local
2515 const DexMapItem* item = pMap->list; local
2689 const DexMapItem* item = pMap->list; local
[all...]
/dalvik/vm/compiler/codegen/x86/
H A DLowerJump.cpp108 LabelMap* item = NULL; local
110 item = (LabelMap*)malloc(sizeof(LabelMap));
111 if(item == NULL) {
115 snprintf(item->label, LABEL_SIZE, "%s", label);
116 item->codePtr = stream;
117 item->nextItem = globalMap;
118 globalMap = item;
126 item = (LabelMap*)malloc(sizeof(LabelMap));
127 if(item == NULL) {
131 snprintf(item
198 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
215 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
258 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
279 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
298 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
319 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local
657 NCGWorklist* item = (NCGWorklist*)malloc(sizeof(NCGWorklist)); local
683 DataWorklist* item = (DataWorklist*)malloc(sizeof(DataWorklist)); local
[all...]
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 2952 milliseconds