Home
last modified time | relevance | path

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

12

/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/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/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/rop/annotation/
DAnnotations.java110 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()
DAnnotation.java105 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/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()
DProtoIdsSection.java51 return protoIds.values(); in items()
DMethodIdsSection.java51 return methodIds.values(); in items()
DFieldIdsSection.java51 return fieldIds.values(); in items()
/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()
DMethodHandlesSection.java48 for (MethodHandleItem item : methodHandles.values()) { in orderItems()
55 return methodHandles.values(); in items()
DCallSiteIdsSection.java63 for (CallSiteIdItem callSiteId : callSiteIds.values()) { in orderItems()
71 return callSiteIds.values(); in items()
DStringIdsSection.java52 return strings.values(); in items()
176 for (StringIdItem s : strings.values()) { in orderItems()
DFieldIdsSection.java50 return fieldIds.values(); in items()
DMethodIdsSection.java50 return methodIds.values(); in items()
DProtoIdsSection.java51 return protoIds.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/tests/091-ssa-const-collector/
DBlort$Foo.class ... private static final synthetic Blort$Foo[] $VALUES public static Blort$Foo[] values () ...
/dalvik/dx/src/com/android/dex/
DMethodHandle.java50 for (MethodHandleType methodHandleType : values()) { in fromValue()

12