/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | HeaderSection.java | 29 /** {@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 D | Statistics.java | 56 * 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 D | TypeListItem.java | 27 * 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 D | AnnotationsDirectoryItem.java | 40 /** 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 D | ClassDataItem.java | 47 /** {@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 D | ClassDefItem.java | 60 /** {@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 D | HeaderSection.java | 28 /** {@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 D | Statistics.java | 55 * Adds the given list of items to the statistics. 57 * @param list {@code non-null;} the list of items to add 59 public void addAll(Section list) { argument 60 Collection<? extends Item> items = list.items();
|
H A D | TypeListItem.java | 26 * 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 D | AnnotationsDirectoryItem.java | 39 /** write size of a list element, in bytes */ 185 * @param list {@code non-null;} associated list of annotation sets to add 188 AnnotationsList list) { 193 parameterAnnotations.add(new ParameterAnnotationStruct(method, list)); 338 * Gets the list size of the given list, or {@code 0} if given 341 * @param list {@code null-ok;} the list in question 344 private static int listSize(ArrayList<?> list) { argument 187 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument [all...] |
H A D | ClassDataItem.java | 43 /** {@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 D | ClassDefItem.java | 57 /** {@code null-ok;} list of implemented interfaces */ 83 * @param interfaces {@code non-null;} list of implemented interfaces 195 TypeList list = interfaces.getList(); 196 int sz = list.size(); 198 out.annotate(0, " " + list.getType(i).toHuman()); 249 * Gets the list of interfaces implemented. 251 * @return {@code non-null;} the interfaces list 308 * Gets all the methods in this class. The returned list is not linked 310 * the objects contained in the list are shared. 312 * @return {@code non-null;} list o 357 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | AttributeListParser.java | 36 /** 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 D | CompilerUtility.h | 46 GrowableList *list; member in struct:GrowableListIterator
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
H A D | DalvInsnList.java | 47 * 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 D | InsnFormat.java | 161 * 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 D | CstArray.java | 27 /** {@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 D | DalvInsnList.java | 47 * 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 D | InsnFormat.java | 141 * register list that are compatible to this format 176 * Helper method to return a register list string. 178 * @param list {@code non-null;} the list of registers 181 protected static String regListString(RegisterSpecList list) { argument 182 int sz = list.size(); 191 sb.append(list.get(i).regString()); 202 * @param list {@code non-null;} the list of registers (which must be 206 protected static String regRangeString(RegisterSpecList list) { argument 437 isRegListSequential(RegisterSpecList list) argument [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstArray.java | 25 /** {@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...] |
/dalvik/vm/ |
H A D | PointerSet.cpp | 22 * 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 D | StdTypeList.java | 29 /** {@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 D | StdTypeList.java | 29 /** {@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 D | MarkSweep.cpp | 365 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 668 preserveSomeSoftReferences(Object **list) argument 706 clearWhiteReferences(Object **list) argument 730 enqueueFinalizerReferences(Object **list) argument [all...] |
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 159 * Make sure a list of items fits entirely within the file. 397 DexMapItem* item = pMap->list; 529 ALOGE("Multiple map list items"); 1333 pType = pTypeList->list; 1347 DexAnnotationSetRefList* list = (DexAnnotationSetRefList*) ptr; local 1351 CHECK_PTR_RANGE(list, list + 1); 1352 SWAP_FIELD4(list->size); 1353 count = list->size; 1354 item = list 1368 const DexAnnotationSetRefList* list = (const DexAnnotationSetRefList*) ptr; local [all...] |