Searched defs:list (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/dex/file/
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 DStatistics.java56 * Adds the given list of items to the statistics.
58 * @param list {@code non-null;} the list of items to add
60 public void addAll(Section list) { argument
61 Collection<? extends Item> items = list.items();
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 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...]
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 DClassDefItem.java60 /** {@code null-ok;} list of implemented interfaces */
86 * @param interfaces {@code non-null;} list of implemented interfaces
198 TypeList list = interfaces.getList();
199 int sz = list.size();
201 out.annotate(0, " " + list.getType(i).toHuman());
252 * Gets the list of interfaces implemented.
254 * @return {@code non-null;} the interfaces list
311 * Gets all the methods in this class. The returned list is not linked
313 * the objects contained in the list are shared.
315 * @return {@code non-null;} list o
360 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
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 DStatistics.java56 * Adds the given list of items to the statistics.
58 * @param list {@code non-null;} the list of items to add
60 public void addAll(Section list) { argument
61 Collection<? extends Item> items = list.items();
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 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...]
H A DClassDataItem.java44 /** {@code non-null;} list of static fields */
47 /** {@code non-null;} list of initial values for static fields */
50 /** {@code non-null;} list of instance fields */
53 /** {@code non-null;} list of direct methods */
56 /** {@code non-null;} list of virtual methods */
59 /** {@code null-ok;} static initializer list; set in {@link #addContents} */
174 * Gets all the methods in this class. The returned list is not linked
176 * the objects contained in the list are shared.
178 * @return {@code non-null;} list of all methods
308 CstArray.List list
392 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
[all...]
H A DClassDefItem.java58 /** {@code null-ok;} list of implemented interfaces */
84 * @param interfaces {@code non-null;} list of implemented interfaces
196 TypeList list = interfaces.getList();
197 int sz = list.size();
199 out.annotate(0, " " + list.getType(i).toHuman());
250 * Gets the list of interfaces implemented.
252 * @return {@code non-null;} the interfaces list
309 * Gets all the methods in this class. The returned list is not linked
311 * the objects contained in the list are shared.
313 * @return {@code non-null;} list o
358 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument
[all...]
/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...]
/dalvik/vm/compiler/
H A DCompilerUtility.h46 GrowableList *list; member in struct:GrowableListIterator
/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
H A DInsnFormat.java161 * Helper method to return a register list string.
163 * @param list {@code non-null;} the list of registers
166 protected static String regListString(RegisterSpecList list) { argument
167 int sz = list.size();
176 sb.append(list.get(i).regString());
/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/code/
H A DDalvInsnList.java48 * identical to the ones in the given list, in the same order.
50 * @param list {@code non-null;} the list to use for elements
56 public static DalvInsnList makeImmutable(ArrayList<DalvInsn> list, argument
58 int size = list.size();
62 result.set(i, list.get(i));
72 * @param size the size of the list
H A DInsnFormat.java142 * register list that are compatible to this format
177 * Helper method to return a register list string.
179 * @param list {@code non-null;} the list of registers
182 protected static String regListString(RegisterSpecList list) { argument
183 int sz = list.size();
192 sb.append(list.get(i).regString());
203 * @param list {@code non-null;} the list of registers (which must be
207 protected static String regRangeString(RegisterSpecList list) { argument
438 isRegListSequential(RegisterSpecList list) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstArray.java26 /** {@code non-null;} the actual list of contents */
27 private final List list; field in class:CstArray
32 * @param list {@code non-null;} the actual list of contents
34 public CstArray(List list) { argument
35 if (list == null) {
36 throw new NullPointerException("list == null");
39 list.throwIfMutable();
41 this.list = list;
[all...]
/dalvik/vm/
H A DPointerSet.cpp22 * Sorted, expanding list of pointers.
27 const void** list; member in struct:PointerSet
40 const void* cur = pSet->list[i];
60 pSet->list = (const void**)malloc(sizeof(void*) * initialSize);
61 if (pSet->list == NULL) {
80 if (pSet->list != NULL) {
81 free(pSet->list);
82 pSet->list = NULL;
96 * Get the number of pointers currently stored in the list.
104 * Get the Nth entry from the list
[all...]
/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...]
/dalvik/vm/alloc/
H A DMarkSweep.cpp365 static void enqueuePendingReference(Object *ref, Object **list) argument
368 assert(list != NULL);
370 if (*list == NULL) {
372 *list = ref;
374 Object *head = dvmGetFieldObject(*list, offset);
376 dvmSetFieldObject(*list, offset, ref);
384 static Object *dequeuePendingReference(Object **list) argument
386 assert(list != NULL);
387 assert(*list != NULL);
389 Object *head = dvmGetFieldObject(*list, offse
420 Object **list = NULL; local
667 preserveSomeSoftReferences(Object **list) argument
705 clearWhiteReferences(Object **list) argument
729 enqueueFinalizerReferences(Object **list) argument
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp159 * Make sure a list of items fits entirely within the file.
397 DexMapItem* item = pMap->list;
529 ALOGE("Multiple map list items");
1327 pType = pTypeList->list;
1341 DexAnnotationSetRefList* list = (DexAnnotationSetRefList*) ptr; local
1345 CHECK_PTR_RANGE(list, list + 1);
1346 SWAP_FIELD4(list->size);
1347 count = list->size;
1348 item = list
1362 const DexAnnotationSetRefList* list = (const DexAnnotationSetRefList*) ptr; local
[all...]

Completed in 432 milliseconds

12