/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 | 109 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 110 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 138 for (Annotation a : annotations.values()) { in toString() 198 for (Annotation a : toAdd.annotations.values()) { in addAll() 210 return Collections.unmodifiableCollection(annotations.values()); in getAnnotations()
|
D | Annotation.java | 103 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo() 104 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo() 141 for (NameValuePair pair : elements.values()) { in toHuman() 221 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/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 | StringIdsSection.java | 52 return strings.values(); in items() 176 for (StringIdItem s : strings.values()) { in orderItems()
|
D | MethodIdsSection.java | 51 return methodIds.values(); in items()
|
D | FieldIdsSection.java | 51 return fieldIds.values(); in items()
|
D | ProtoIdsSection.java | 51 return protoIds.values(); in items()
|
D | ClassDefsSection.java | 61 return classDefs.values(); in items()
|
D | TypeIdsSection.java | 53 return typeIds.values(); in items()
|
/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 | MethodIdsSection.java | 51 return methodIds.values(); in items()
|
D | ProtoIdsSection.java | 51 return protoIds.values(); in items()
|
D | FieldIdsSection.java | 51 return fieldIds.values(); in items()
|
D | TypeIdsSection.java | 51 return typeIds.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/src/com/android/dx/merge/ |
D | DexMerger.java | 252 TreeMap<T, List<Integer>> values = new TreeMap<T, List<Integer>>(); in mergeSorted() local 259 dexSections[i], sections[i], indexMaps[i], indexes[i], values, i); in mergeSorted() 261 if (values.isEmpty()) { in mergeSorted() 269 while (!values.isEmpty()) { in mergeSorted() 270 Map.Entry<T, List<Integer>> first = values.pollFirstEntry(); in mergeSorted() 275 indexMaps[dex], indexes[dex], values, dex); in mergeSorted() 285 int index, TreeMap<T, List<Integer>> values, int dex) { in readIntoMap() argument 289 List<Integer> l = values.get(v); in readIntoMap() 292 values.put(v, l); in readIntoMap()
|