/dalvik/dexgen/src/com/android/dexgen/util/ |
D | IntList.java | 29 private int[] values; field in IntList 87 values = new int[initialCapacity]; in IntList() 103 result = (result * 31) + values[i]; in hashCode() 131 if (values[i] != otherList.values[i]) { in equals() 150 sb.append(values[i]); in toString() 177 return values[n]; in get() 198 values[n] = value; in set() 219 values[size++] = value; in add() 222 sorted = (value >= values[size - 2]); in add() 242 System.arraycopy (values, n, values, n+1, size - n); in insert() [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | IntList.java | 29 private int[] values; field in IntList 87 values = new int[initialCapacity]; in IntList() 103 result = (result * 31) + values[i]; in hashCode() 131 if (values[i] != otherList.values[i]) { in equals() 150 sb.append(values[i]); in toString() 177 return values[n]; in get() 198 values[n] = value; in set() 219 values[size++] = value; in add() 222 sorted = (value >= values[size - 2]); in add() 242 System.arraycopy (values, n, values, n+1, size - n); in insert() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | ArrayData.java | 39 private final ArrayList<Constant> values; field in ArrayData 60 ArrayList<Constant> values, in ArrayData() argument 68 if (values == null) { in ArrayData() 72 int sz = values.size(); in ArrayData() 96 this.values = values; in ArrayData() 97 initLength = values.size(); in ArrayData() 111 int sz = values.size(); in writeTo() 122 Constant cst = values.get(i); in writeTo() 129 Constant cst = values.get(i); in writeTo() 136 Constant cst = values.get(i); in writeTo() [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | ArrayData.java | 41 private final ArrayList<Constant> values; field in ArrayData 62 ArrayList<Constant> values, in ArrayData() argument 70 if (values == null) { in ArrayData() 74 int sz = values.size(); in ArrayData() 98 this.values = values; in ArrayData() 99 initLength = values.size(); in ArrayData() 113 int sz = values.size(); in writeTo() 124 Constant cst = values.get(i); in writeTo() 131 Constant cst = values.get(i); in writeTo() 138 Constant cst = values.get(i); in writeTo() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 29 private final IntList values; field in SwitchList 48 this.values = new IntList(size); in SwitchList() 56 values.setImmutable(); in setImmutable() 77 return values.get(n); in getValue() 117 return values; in getValues() 154 values.add(value); in add() 180 values.set(at, values.get(i)); in removeSuperfluousDefaults() 187 values.shrink(at); in removeSuperfluousDefaults()
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
D | Annotations.java | 110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 140 for (Annotation a : annotations.values()) { in toString() 200 for (Annotation a : toAdd.annotations.values()) { in addAll() 212 return Collections.unmodifiableCollection(annotations.values()); in getAnnotations()
|
D | Annotation.java | 105 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo() 106 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo() 144 for (NameValuePair pair : elements.values()) { in toHuman() 224 return Collections.unmodifiableCollection(elements.values()); in getNameValuePairs()
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
D | Annotations.java | 110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 139 for (Annotation a : annotations.values()) { in toString() 199 for (Annotation a : toAdd.annotations.values()) { in addAll() 211 return Collections.unmodifiableCollection(annotations.values()); in getAnnotations()
|
D | Annotation.java | 112 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo() 113 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo() 150 for (NameValuePair pair : elements.values()) { in toHuman() 230 return Collections.unmodifiableCollection(elements.values()); in getNameValuePairs()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | Statistics.java | 81 for (Data data : dataMap.values()) { in writeAnnotation() 85 for (Data data : sortedData.values()) { in writeAnnotation() 97 for (Data data : dataMap.values()) { in toHuman() 101 for (Data data : sortedData.values()) { in toHuman()
|
D | StringIdsSection.java | 54 return strings.values(); in items() 205 for (StringIdItem s : strings.values()) { in orderItems()
|
D | ProtoIdsSection.java | 51 return protoIds.values(); in items()
|
D | FieldIdsSection.java | 51 return fieldIds.values(); in items()
|
D | MethodIdsSection.java | 51 return methodIds.values(); in items()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | Statistics.java | 80 for (Data data : dataMap.values()) { in writeAnnotation() 84 for (Data data : sortedData.values()) { in writeAnnotation() 96 for (Data data : dataMap.values()) { in toHuman() 100 for (Data data : sortedData.values()) { in toHuman()
|
D | MethodHandlesSection.java | 48 for (MethodHandleItem item : methodHandles.values()) { in orderItems() 55 return methodHandles.values(); in items()
|
D | CallSiteIdsSection.java | 63 for (CallSiteIdItem callSiteId : callSiteIds.values()) { in orderItems() 71 return callSiteIds.values(); in items()
|
D | StringIdsSection.java | 52 return strings.values(); in items() 176 for (StringIdItem s : strings.values()) { in orderItems()
|
D | FieldIdsSection.java | 50 return fieldIds.values(); in items()
|
D | MethodIdsSection.java | 50 return methodIds.values(); in items()
|
/dalvik/dx/junit-tests/com/android/dx/util/ |
D | BitIntSetTest.java | 100 int[] values = {0, 1, 31, 32, 128}; in test_expand() local 102 for (int i = 0; i < values.length; i++) { in test_expand() 103 set.add(values[i]); in test_expand() 108 for (int i = 0; i < values.length; i++) { in test_expand() 110 assertEquals(values[i], iter.next()); in test_expand()
|
/dalvik/dx/tests/114-value-propagation/ |
D | info.txt | 1 Tests propagation of constant values, specifically when going from a
|
/dalvik/dx/tests/091-ssa-const-collector/ |
D | Blort$Foo.class | ... private static final synthetic Blort$Foo[] $VALUES
public static Blort$Foo[] values () ... |
/dalvik/dx/src/com/android/dex/ |
D | MethodHandle.java | 50 for (MethodHandleType methodHandleType : values()) { in fromValue()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 255 TreeMap<T, List<Integer>> values = new TreeMap<T, List<Integer>>(); in mergeSorted() local 262 dexSections[i], sections[i], indexMaps[i], indexes[i], values, i); in mergeSorted() 264 if (values.isEmpty()) { in mergeSorted() 272 while (!values.isEmpty()) { in mergeSorted() 273 Map.Entry<T, List<Integer>> first = values.pollFirstEntry(); in mergeSorted() 278 indexMaps[dex], indexes[dex], values, dex); in mergeSorted() 288 int index, TreeMap<T, List<Integer>> values, int dex) { in readIntoMap() argument 292 List<Integer> l = values.get(v); in readIntoMap() 295 values.put(v, l); in readIntoMap()
|