Searched refs:list (Results 1 - 25 of 50) sorted by relevance

12

/dalvik/dx/junit-tests/com/android/dx/util/
H A DIntListTest.java24 IntList list = new IntList(sz);
26 list.add(i * 2);
29 boolean contains = list.contains(i);
36 assertFalse(label(sz, -1), list.contains(-1));
37 assertFalse(label(sz, sz * 2), list.contains(sz * 2));
42 IntList list = new IntList(2);
44 list.add(9);
45 list.add(12);
47 assertTrue(list.contains(9));
48 assertTrue(list
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstArray.java25 /** {@code non-null;} the actual list of contents */
26 private final List list; field in class:CstArray
31 * @param list {@code non-null;} the actual list of contents
33 public CstArray(List list) { argument
34 if (list == null) {
35 throw new NullPointerException("list == null");
38 list.throwIfMutable();
40 this.list = list;
[all...]
H A DCstCallSite.java43 List list = new List(3 + optionalArguments.size());
44 list.set(0, bootstrapHandle);
45 list.set(1, nat.getName());
46 list.set(2, new CstProtoRef(Prototype.fromDescriptor(nat.getDescriptor().getString())));
49 list.set(i + 3, optionalArguments.get(i));
52 list.setImmutable();
53 return new CstCallSite(list);
59 * @param list {@code non-null;} the actual list of contents
61 private CstCallSite(List list) { argument
[all...]
/dalvik/dx/tests/126-main-dex-list-one-dex/
H A Drun18 dx -JXmx1024m --dex --no-optimize --multi-dex --main-dex-list=main.list --output=out classes
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DTypeListItem.java27 * Representation of a list of class references.
39 /** {@code non-null;} the actual list */
40 private final TypeList list; field in class:TypeListItem
45 * @param list {@code non-null;} the actual list
47 public TypeListItem(TypeList list) { argument
48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
50 this.list = list;
56 return StdTypeList.hashContents(list);
[all...]
H A DHeaderSection.java29 /** {@code non-null;} the list of the one item in the section */
30 private final List<HeaderItem> list; field in class:HeaderSection
43 this.list = Collections.singletonList(item);
55 return list;
H A DAnnotationUtils.java150 * @param types {@code non-null;} the list of (the types of) the member classes
210 CstArray.List list = new CstArray.List(size);
213 list.set(i, new CstString(pieces.get(i)));
216 list.setImmutable();
218 result.put(new NameValuePair(VALUE_UTF, new CstArray(list)));
226 * @param types {@code non-null;} the list of thrown types
240 * @param types {@code non-null;} the type list
245 CstArray.List list = new CstArray.List(size);
248 list.set(i, CstType.intern(types.getType(i)));
251 list
[all...]
H A DCatchStructs.java55 * {@code null-ok;} the encoded handler list, if calculated; set in
95 * Gets the size of the tries list, in entries.
97 * @return {@code >= 0;} the tries list size
128 * First add a map entry for each unique list. The tree structure
149 CatchHandlerList list = mapping.getKey();
150 int listSize = list.size();
151 boolean catchesAll = list.catchesAll();
157 // A size <= 0 means that the list ends with a catch-all.
165 CatchHandlerList.Entry entry = list.get(i);
172 out.writeUnsignedLeb128(list
[all...]
H A DClassDataItem.java47 /** {@code non-null;} list of static fields */
50 /** {@code non-null;} list of initial values for static fields */
53 /** {@code non-null;} list of instance fields */
56 /** {@code non-null;} list of direct methods */
59 /** {@code non-null;} list of virtual methods */
62 /** {@code null-ok;} static initializer list; set in {@link #addContents} */
177 * Gets all the methods in this class. The returned list is not linked
179 * the objects contained in the list are shared.
181 * @return {@code non-null;} list of all methods
311 CstArray.List list
395 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
[all...]
H A DAnnotationsDirectoryItem.java40 /** write size of a list element, in bytes */
186 * @param list {@code non-null;} associated list of annotation sets to add
189 AnnotationsList list) {
194 parameterAnnotations.add(new ParameterAnnotationStruct(method, list));
339 * Gets the list size of the given list, or {@code 0} if given
342 * @param list {@code null-ok;} the list in question
345 private static int listSize(ArrayList<?> list) { argument
188 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstArray.java27 /** {@code non-null;} the actual list of contents */
28 private final List list; field in class:CstArray
33 * @param list {@code non-null;} the actual list of contents
35 public CstArray(List list) { argument
36 if (list == null) {
37 throw new NullPointerException("list == null");
40 list.throwIfMutable();
42 this.list = list;
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DTypeListItem.java26 * Representation of a list of class references.
38 /** {@code non-null;} the actual list */
39 private final TypeList list; field in class:TypeListItem
44 * @param list {@code non-null;} the actual list
46 public TypeListItem(TypeList list) { argument
47 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
49 this.list = list;
55 return StdTypeList.hashContents(list);
[all...]
H A DHeaderSection.java28 /** {@code non-null;} the list of the one item in the section */
29 private final List<HeaderItem> list; field in class:HeaderSection
42 this.list = Collections.singletonList(item);
54 return list;
H A DAnnotationUtils.java151 * @param types {@code non-null;} the list of (the types of) the member classes
211 CstArray.List list = new CstArray.List(size);
214 list.set(i, new CstString(pieces.get(i)));
217 list.setImmutable();
219 result.put(new NameValuePair(VALUE_STRING, new CstArray(list)));
241 * @param types {@code non-null;} the list of thrown types
255 * @param types {@code non-null;} the type list
260 CstArray.List list = new CstArray.List(size);
263 list.set(i, CstType.intern(types.getType(i)));
266 list
[all...]
H A DCatchStructs.java52 * {@code null-ok;} the encoded handler list, if calculated; set in
92 * Gets the size of the tries list, in entries.
94 * @return {@code >= 0;} the tries list size
125 * First add a map entry for each unique list. The tree structure
146 CatchHandlerList list = mapping.getKey();
147 int listSize = list.size();
148 boolean catchesAll = list.catchesAll();
154 // A size <= 0 means that the list ends with a catch-all.
162 CatchHandlerList.Entry entry = list.get(i);
169 out.writeUleb128(list
[all...]
H A DClassDataItem.java43 /** {@code non-null;} list of static fields */
46 /** {@code non-null;} list of initial values for static fields */
49 /** {@code non-null;} list of instance fields */
52 /** {@code non-null;} list of direct methods */
55 /** {@code non-null;} list of virtual methods */
58 /** {@code null-ok;} static initializer list; set in {@link #addContents} */
173 * Gets all the methods in this class. The returned list is not linked
175 * the objects contained in the list are shared.
177 * @return {@code non-null;} list of all methods
307 CstArray.List list
391 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
[all...]
H A DAnnotationsDirectoryItem.java39 /** write size of a list element, in bytes */
188 * @param list {@code non-null;} associated list of annotation sets to add
192 AnnotationsList list, DexFile dexFile) {
197 parameterAnnotations.add(new ParameterAnnotationStruct(method, list, dexFile));
343 * Gets the list size of the given list, or {@code 0} if given
346 * @param list {@code null-ok;} the list in question
349 private static int listSize(ArrayList<?> list) { argument
191 addParameterAnnotations(CstMethodRef method, AnnotationsList list, DexFile dexFile) argument
[all...]
/dalvik/dx/src/com/android/multidex/
H A DClassPathElement.java39 Iterable<String> list(); method in interface:ClassPathElement
/dalvik/dx/tests/125-main-dex-list/
H A Drun19 dx -JXmx1024m --dex --no-optimize --multi-dex --main-dex-list=main.list --minimal-main-dex --output=out classes
/dalvik/dx/src/com/android/dx/cf/direct/
H A DAttributeListParser.java36 /** offset in the byte array of the classfile to the start of the list */
42 /** {@code non-null;} list of parsed attributes */
43 private final StdAttributeList list; field in class:AttributeListParser
45 /** {@code >= -1;} the end offset of this list in the byte array of the
57 * @param offset offset in {@code bytes} to the start of the list
76 this.list = new StdAttributeList(size);
101 * Gets the parsed list.
103 * @return {@code non-null;} the list
107 return list;
123 int sz = list
[all...]
H A DStdAttributeFactory.java434 TypeList list = cf.makeTypeList(offset, count);
435 return new AttExceptions(list);
463 InnerClassList list = new InnerClassList(count);
473 list.set(i, innerClass, outerClass, name, accessFlags);
491 list.setImmutable();
492 return new AttInnerClasses(list);
519 LineNumberList list = new LineNumberList(count);
524 list.set(i, startPc, lineNumber);
532 list.setImmutable();
533 return new AttLineNumberTable(list);
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DInsnFormat.java139 * register list that are compatible to this format
174 * Helper method to return a register list string.
176 * @param list {@code non-null;} the list of registers
179 protected static String regListString(RegisterSpecList list) { argument
180 int sz = list.size();
189 sb.append(list.get(i).regString());
200 * @param list {@code non-null;} the list of registers (which must be
204 protected static String regRangeString(RegisterSpecList list) { argument
392 isRegListSequential(RegisterSpecList list) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DDalvInsnList.java47 * identical to the ones in the given list, in the same order.
49 * @param list {@code non-null;} the list to use for elements
55 public static DalvInsnList makeImmutable(ArrayList<DalvInsn> list, argument
57 int size = list.size();
61 result.set(i, list.get(i));
71 * @param size the size of the list
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DStdTypeList.java29 /** {@code non-null;} the list {@code [int]} */
32 /** {@code non-null;} the list {@code [long]} */
35 /** {@code non-null;} the list {@code [float]} */
38 /** {@code non-null;} the list {@code [double]} */
41 /** {@code non-null;} the list {@code [Object]} */
44 /** {@code non-null;} the list {@code [ReturnAddress]} */
48 /** {@code non-null;} the list {@code [Throwable]} */
52 /** {@code non-null;} the list {@code [int, int]} */
56 /** {@code non-null;} the list {@code [long, long]} */
60 /** {@code non-null;} the list {
233 toHuman(TypeList list) argument
260 hashContents(TypeList list) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/type/
H A DStdTypeList.java29 /** {@code non-null;} the list {@code [int]} */
32 /** {@code non-null;} the list {@code [long]} */
35 /** {@code non-null;} the list {@code [float]} */
38 /** {@code non-null;} the list {@code [double]} */
41 /** {@code non-null;} the list {@code [Object]} */
44 /** {@code non-null;} the list {@code [ReturnAddress]} */
48 /** {@code non-null;} the list {@code [Throwable]} */
52 /** {@code non-null;} the list {@code [int, int]} */
56 /** {@code non-null;} the list {@code [long, long]} */
60 /** {@code non-null;} the list {
233 toHuman(TypeList list) argument
260 hashContents(TypeList list) argument
[all...]

Completed in 1598 milliseconds

12