Searched refs:item (Results 1 - 25 of 49) sorted by path

12

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationSetItem.java145 AnnotationItem item = items[i];
146 int offset = item.getAbsoluteOffset();
H A DAnnotationsDirectoryItem.java74 * 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 DCodeItem.java202 IndexedItem item = file.findItemOrNull(cst);
203 if (item == null) {
206 return item.getIndex();
H A DDexFile.java448 * @return {@code null-ok;} its corresponding item, if it has a corresponding
449 * item, or {@code null} if it's not that sort of constant
452 IndexedItem item;
H A DFieldIdsSection.java129 FieldIdItem item = fieldIds.get(ref);
131 if (item == null) {
135 return item.getIndex();
H A DHeaderSection.java29 /** {@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 DMapItem.java25 * Class that represents a map item.
34 /** {@code non-null;} item type this instance covers */
41 * {@code null-ok;} first item covered or {@code null} if this is
47 * {@code null-ok;} last item covered or {@code null} if this is
59 * Constructs a list item with instances of this class representing
86 for (Item item : section.items()) {
87 ItemType type = item.itemType();
94 firstItem = item;
97 lastItem = item;
118 * @param type {@code non-null;} item typ
[all...]
H A DMethodIdsSection.java129 MethodIdItem item = methodIds.get(ref);
131 if (item == null) {
135 return item.getIndex();
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 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 DParameterAnnotationStruct.java39 /** {@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 DProtoIdsSection.java121 ProtoIdItem item = protoIds.get(prototype);
123 if (item == null) {
127 return item.getIndex();
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
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 DTypeIdsSection.java158 TypeIdItem item = typeIds.get(type);
160 if (item == null) {
164 return item.getIndex();
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;
/dalvik/dexgen/src/com/android/dexgen/rop/
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 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...]
/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/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...
/dalvik/dx/src/com/android/dx/cf/code/
H A DBasicBlocker.java355 ByteCatchList.Item item = catches.get(i);
356 int start = item.getStartPc();
357 int end = item.getEndPc();
361 addWorkIfNecessary(item.getHandlerPc(), true);
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 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 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...]
H A DSimulator.java590 LocalItem item
594 machine.localTarget(idx, localType, item);
598 LocalItem item
601 machine.localTarget(idx, localType, item);

Completed in 179 milliseconds

12