Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 47) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationsDirectoryItem.java212 for (MethodAnnotationStruct item : methodAnnotations) { in getMethodAnnotations()
213 if (item.getMethod().equals(method)) { in getMethodAnnotations()
214 return item.getAnnotations(); in getMethodAnnotations()
233 for (ParameterAnnotationStruct item : parameterAnnotations) { in getParameterAnnotations()
234 if (item.getMethod().equals(method)) { in getParameterAnnotations()
235 return item.getAnnotationsList(); in getParameterAnnotations()
252 for (FieldAnnotationStruct item : fieldAnnotations) { in addContents()
253 item.addContents(file); in addContents()
258 for (MethodAnnotationStruct item : methodAnnotations) { in addContents()
259 item.addContents(file); in addContents()
[all …]
DMixedItemSection.java113 public int getAbsoluteItemOffset(Item item) { in getAbsoluteItemOffset() argument
114 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset()
169 public void add(OffsettedItem item) { in add() argument
173 if (item.getAlignment() > getAlignment()) { in add()
182 items.add(item); in add()
193 public synchronized <T extends OffsettedItem> T intern(T item) { in intern() argument
196 OffsettedItem result = interns.get(item); in intern()
202 add(item); in intern()
203 interns.put(item, item); in intern()
204 return item; in intern()
[all …]
DStatistics.java43 public void add(Item item) { in add() argument
44 String typeName = item.typeName(); in add()
48 dataMap.put(typeName, new Data(item, typeName)); in add()
50 data.add(item); in add()
61 for (Item item : items) { in addAll()
62 add(item); in addAll()
132 public Data(Item item, String name) { in Data() argument
133 int size = item.writeSize(); in Data()
147 public void add(Item item) { in add() argument
148 int size = item.writeSize(); in add()
DHeaderSection.java39 HeaderItem item = new HeaderItem(); in HeaderSection() local
40 item.setIndex(0); in HeaderSection()
42 this.list = Collections.singletonList(item); in HeaderSection()
DParameterAnnotationStruct.java72 AnnotationSetItem item = new AnnotationSetItem(annotations, dexFile); in ParameterAnnotationStruct() local
73 arrayList.add(new AnnotationSetRefItem(item)); in ParameterAnnotationStruct()
136 for (AnnotationSetRefItem item : annotationsItem.getItems()) { in toHuman()
142 sb.append(item.toHuman()); in toHuman()
DFieldIdsSection.java128 FieldIdItem item = fieldIds.get(ref); in indexOf() local
130 if (item == null) { in indexOf()
134 return item.getIndex(); in indexOf()
DMethodIdsSection.java128 MethodIdItem item = methodIds.get(ref); in indexOf() local
130 if (item == null) { in indexOf()
134 return item.getIndex(); in indexOf()
DProtoIdsSection.java136 ProtoIdItem item = protoIds.get(prototype); in indexOf() local
138 if (item == null) { in indexOf()
142 return item.getIndex(); in indexOf()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DAnnotationsDirectoryItem.java209 for (MethodAnnotationStruct item : methodAnnotations) { in getMethodAnnotations()
210 if (item.getMethod().equals(method)) { in getMethodAnnotations()
211 return item.getAnnotations(); in getMethodAnnotations()
230 for (ParameterAnnotationStruct item : parameterAnnotations) { in getParameterAnnotations()
231 if (item.getMethod().equals(method)) { in getParameterAnnotations()
232 return item.getAnnotationsList(); in getParameterAnnotations()
248 for (FieldAnnotationStruct item : fieldAnnotations) { in addContents()
249 item.addContents(file); in addContents()
254 for (MethodAnnotationStruct item : methodAnnotations) { in addContents()
255 item.addContents(file); in addContents()
[all …]
DMixedItemSection.java113 public int getAbsoluteItemOffset(Item item) { in getAbsoluteItemOffset() argument
114 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset()
169 public void add(OffsettedItem item) { in add() argument
173 if (item.getAlignment() > getAlignment()) { in add()
182 items.add(item); in add()
193 public <T extends OffsettedItem> T intern(T item) { in intern() argument
196 OffsettedItem result = interns.get(item); in intern()
202 add(item); in intern()
203 interns.put(item, item); in intern()
204 return item; in intern()
[all …]
DStatistics.java44 public void add(Item item) { in add() argument
45 String typeName = item.typeName(); in add()
49 dataMap.put(typeName, new Data(item, typeName)); in add()
51 data.add(item); in add()
62 for (Item item : items) { in addAll()
63 add(item); in addAll()
133 public Data(Item item, String name) { in Data() argument
134 int size = item.writeSize(); in Data()
148 public void add(Item item) { in add() argument
149 int size = item.writeSize(); in add()
DHeaderSection.java40 HeaderItem item = new HeaderItem(); in HeaderSection() local
41 item.setIndex(0); in HeaderSection()
43 this.list = Collections.singletonList(item); in HeaderSection()
DParameterAnnotationStruct.java72 AnnotationSetItem item = new AnnotationSetItem(annotations); in ParameterAnnotationStruct() local
73 arrayList.add(new AnnotationSetRefItem(item)); in ParameterAnnotationStruct()
132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { in toHuman()
138 sb.append(item.toHuman()); in toHuman()
DProtoIdsSection.java121 ProtoIdItem item = protoIds.get(prototype); in indexOf() local
123 if (item == null) { in indexOf()
127 return item.getIndex(); in indexOf()
DFieldIdsSection.java129 FieldIdItem item = fieldIds.get(ref); in indexOf() local
131 if (item == null) { in indexOf()
135 return item.getIndex(); in indexOf()
DMethodIdsSection.java129 MethodIdItem item = methodIds.get(ref); in indexOf() local
131 if (item == null) { in indexOf()
135 return item.getIndex(); in indexOf()
/dalvik/dx/src/com/android/dx/cf/code/
DLocalVariableList.java84 Item item = descriptorList.get(i); in mergeDescriptorsAndSignatures() local
85 Item signatureItem = signatureList.itemToLocal(item); in mergeDescriptorsAndSignatures()
88 item = item.withSignature(signature); in mergeDescriptorsAndSignatures()
90 result.set(i, item); in mergeDescriptorsAndSignatures()
122 public void set(int n, Item item) { in set() argument
123 if (item == null) { in set()
127 set0(n, item); in set()
160 public Item itemToLocal(Item item) { in itemToLocal() argument
166 if ((one != null) && one.matchesAllButType(item)) { in itemToLocal()
DByteCatchList.java69 public void set(int n, Item item) { in set() argument
70 if (item == null) { in set()
74 set0(n, item); in set()
138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument
139 CstType type = item.getExceptionClass(); in typeNotFound()
DLineNumberList.java84 public void set(int n, Item item) { in set() argument
85 if (item == null) { in set()
89 set0(n, item); in set()
DBootstrapMethodsList.java55 public void set(int n, Item item) { in set() argument
56 if (item == null) { in set()
60 set0(n, item); in set()
/dalvik/dx/tests/034-dex-minimal/
Dexpected.txt64 | header: 1 item; 112 bytes total
65 | 112 bytes/item
66 | map list: 1 item; 28 bytes total
67 | 28 bytes/item
/dalvik/dexgen/src/com/android/dexgen/util/
DLabeledList.java148 protected void set(int n, LabeledItem item) { in set() argument
151 set0(n, item); in set()
157 if (item != null) { in set()
158 addLabelIndex(item.getLabel(), n); in set()
/dalvik/dx/src/com/android/dx/util/
DLabeledList.java174 protected void set(int n, LabeledItem item) { in set() argument
177 set0(n, item); in set()
183 if (item != null) { in set()
184 addLabelIndex(item.getLabel(), n); in set()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteCatchList.java69 public void set(int n, Item item) { in set() argument
70 if (item == null) { in set()
74 set0(n, item); in set()
138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument
139 CstType type = item.getExceptionClass(); in typeNotFound()
DLineNumberList.java84 public void set(int n, Item item) { in set() argument
85 if (item == null) { in set()
89 set0(n, item); in set()

12