/dalvik/dx/src/com/android/dx/dex/file/ |
D | UniformListItem.java | 46 private final List<T> items; field in UniformListItem 55 public UniformListItem(ItemType itemType, List<T> items) { in UniformListItem() argument 56 super(getAlignment(items), writeSize(items)); in UniformListItem() 62 this.items = items; in UniformListItem() 74 private static int getAlignment(List<? extends OffsettedItem> items) { in getAlignment() argument 77 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment() 93 private static int writeSize(List<? extends OffsettedItem> items) { in writeSize() argument 98 OffsettedItem first = items.get(0); in writeSize() 99 return (items.size() * first.writeSize()) + getAlignment(items); in writeSize() 114 sb.append(items); in toString() [all …]
|
D | AnnotationSetItem.java | 42 private final AnnotationItem[] items; field in AnnotationSetItem 53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem() 57 items[at] = new AnnotationItem(a); in AnnotationSetItem() 117 int size = items.length; in addContents() 120 items[i] = byteData.intern(items[i]); in addContents() 128 AnnotationItem.sortByTypeIdIndex(items); in place0() 135 int size = items.length; in writeTo0() 145 AnnotationItem item = items[i]; in writeTo0() 151 items[i].annotateTo(out, " "); in writeTo0()
|
D | UniformItemSection.java | 46 Collection<? extends Item> items = items(); in writeSize() local 47 int sz = items.size(); in writeSize() 54 return sz * items.iterator().next().writeSize(); in writeSize() 75 for (Item one : items()) { in prepare0() 86 for (Item one : items()) { in writeTo0()
|
D | MixedItemSection.java | 64 private final ArrayList<OffsettedItem> items; field in MixedItemSection 92 this.items = new ArrayList<OffsettedItem>(100); in MixedItemSection() 100 public Collection<? extends Item> items() { in items() method in MixedItemSection 101 return items; in items() 124 return items.size(); in size() 182 items.add(item); in add() 241 for (OffsettedItem item : items) { in writeIndexAnnotation() 273 int sz = items.size(); in prepare0() 279 OffsettedItem one = items.get(i); in prepare0() 298 Collections.sort(items); in placeItems() [all …]
|
D | MapItem.java | 73 if (mapSection.items().size() != 0) { in addMap() 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); in addMap() local 86 for (Item item : section.items()) { in addMap() 90 items.add(new MapItem(currentType, section, in addMap() 103 items.add(new MapItem(currentType, section, in addMap() 107 items.add(new MapItem(mapSection)); in addMap() 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); in addMap()
|
D | Statistics.java | 61 Collection<? extends Item> items = list.items(); in addAll() local 62 for (Item item : items) { in addAll()
|
D | MemberIdsSection.java | 39 for (Object i : items()) { in orderItems()
|
D | ProtoIdsSection.java | 50 public Collection<? extends Item> items() { in items() method in ProtoIdsSection 135 for (Object i : items()) { in orderItems()
|
D | HeaderSection.java | 54 public Collection<? extends Item> items() { in items() method in HeaderSection
|
D | TypeIdsSection.java | 50 public Collection<? extends Item> items() { in items() method in TypeIdsSection 187 for (Object i : items()) { in orderItems()
|
D | FieldIdsSection.java | 50 public Collection<? extends Item> items() { in items() method in FieldIdsSection
|
D | Section.java | 224 public abstract Collection<? extends Item> items(); in items() method in Section
|
D | MethodIdsSection.java | 50 public Collection<? extends Item> items() { in items() method in MethodIdsSection
|
D | StringIdsSection.java | 53 public Collection<? extends Item> items() { in items() method in StringIdsSection
|
D | ClassDefsSection.java | 57 public Collection<? extends Item> items() { in items() method in ClassDefsSection
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
D | ArrayBlockingQueue.java | 57 private final E[] items; field in ArrayBlockingQueue 83 return (++i == items.length)? 0 : i; in inc() 91 items[putIndex] = x; in insert() 102 final E[] items = this.items; in extract() local 103 E x = items[takeIndex]; in extract() 104 items[takeIndex] = null; in extract() 116 final E[] items = this.items; in removeAt() local 119 items[takeIndex] = null; in removeAt() 126 items[i] = items[nexti]; in removeAt() 129 items[i] = null; in removeAt() [all …]
|
/dalvik/libcore/security/src/main/java/java/security/ |
D | BasicPermissionCollection.java | 52 private transient Map<String, Permission> items = new HashMap<String, Permission>(); field in BasicPermissionCollection 98 items.put(name, permission); in add() 106 return Collections.enumeration(items.values()); in elements() 127 if (items.containsKey(checkName)) { in implies() 143 if (items.containsKey(new String(name, 0, pos + 2))) { in implies() 180 fields.put("permissions", new Hashtable<String, Permission>(items)); //$NON-NLS-1$ in writeObject() 193 items = new HashMap<String, Permission>(); in readObject() 198 items.putAll((Hashtable<String, Permission>) fields.get( in readObject() 200 for (Iterator<Permission> iter = items.values().iterator(); iter.hasNext();) { in readObject() 206 if (allEnabled && !items.containsKey("*")) { //$NON-NLS-1$ in readObject()
|
/dalvik/libcore/archive/src/main/native/ |
D | zipalloc.c | 27 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size)); 38 zalloc (void *opaque, U_32 items, U_32 size) in zalloc() argument 42 return hymem_allocate_memory (items * size); in zalloc()
|
D | java_util_zip_Deflater.c | 25 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size));
|
D | java_util_zip_Inflater.c | 29 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size));
|
D | zipsup.c | 85 void *zdataalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size)); 2252 zdataalloc (void *opaque, U_32 items, U_32 size) in zdataalloc() argument 2255 U_32 byteSize = items * size; in zdataalloc()
|
/dalvik/libcore/luni/src/test/java/com/google/coretests/ |
D | PerfStatCollector.java | 158 ArrayList<Item> items; field in PerfStatCollector 166 items = new ArrayList(); in PerfStatCollector() 176 Iterator<Item> r = items.iterator(); in digest() 234 items.add(current); in startTest()
|
/dalvik/vm/arch/arm/ |
D | CallOldABI.S | 120 @ want the first two items in argv to end up in r2/r3. 139 @ safe to load two items out of argv even if we're at the end.
|