Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 34) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/util/
DIntList.java29 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/
DIntList.java29 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/
DArrayData.java39 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/
DArrayData.java41 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/
DSwitchList.java29 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/
DAnnotations.java109 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()
DAnnotation.java103 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/
DAnnotations.java110 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()
DAnnotation.java112 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/
DStatistics.java80 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()
DStringIdsSection.java52 return strings.values(); in items()
176 for (StringIdItem s : strings.values()) { in orderItems()
DMethodIdsSection.java51 return methodIds.values(); in items()
DFieldIdsSection.java51 return fieldIds.values(); in items()
DProtoIdsSection.java51 return protoIds.values(); in items()
DClassDefsSection.java61 return classDefs.values(); in items()
DTypeIdsSection.java53 return typeIds.values(); in items()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DStatistics.java81 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()
DStringIdsSection.java54 return strings.values(); in items()
205 for (StringIdItem s : strings.values()) { in orderItems()
DMethodIdsSection.java51 return methodIds.values(); in items()
DProtoIdsSection.java51 return protoIds.values(); in items()
DFieldIdsSection.java51 return fieldIds.values(); in items()
DTypeIdsSection.java51 return typeIds.values(); in items()
/dalvik/dx/junit-tests/com/android/dx/util/
DBitIntSetTest.java100 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/
Dinfo.txt1 Tests propagation of constant values, specifically when going from a
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java252 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()

12