Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 38) 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/hit/src/com/android/hit/
DState.java61 for (Heap heap: mHeaps.values()) { in getHeap()
112 for (Heap heap: mHeaps.values()) { in findReference()
125 for (Heap heap: mHeaps.values()) { in findClass()
137 for (Heap heap: mHeaps.values()) { in findClass()
149 for (Heap heap: mHeaps.values()) { in dumpInstanceCounts()
157 for (Heap heap: mHeaps.values()) { in dumpSizes()
165 for (Heap heap: mHeaps.values()) { in dumpSubclasses()
173 for (Heap heap: mHeaps.values()) { in resolveReferences()
DHeap.java113 for (ClassObj theClass: mClassesById.values()) { in dumpInstanceCounts()
123 for (ClassObj theClass: mClassesById.values()) { in dumpSubclasses()
134 for (ClassObj theClass: mClassesById.values()) { in dumpSizes()
154 for (Instance instance : mInstances.values()) { in resolveInstanceRefs()
175 for (ClassObj theClass: mClassesById.values()) { in resolveClassStatics()
DQueries.java78 for (Heap heap: state.mHeaps.values()) { in classes()
79 classes.addAll(heap.mClassesById.values()); in classes()
202 for (Heap heap: state.mHeaps.values()) { in getRoots()
212 for (Heap newHeap: newer.mHeaps.values()) { in newInstances()
219 for (Instance instance: newHeap.mInstances.values()) { in newInstances()
DClassInstance.java48 byte[] values) { in resolve() argument
49 ByteArrayInputStream bais = new ByteArrayInputStream(values); in resolve()
DClassObj.java151 public final void setStaticFieldValues(byte[] values) { in setStaticFieldValues() argument
152 mStaticFieldValues = values; in setStaticFieldValues()
/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()
DFieldIdsSection.java51 return fieldIds.values(); in items()
DProtoIdsSection.java50 return protoIds.values(); in items()
DMethodIdsSection.java51 return methodIds.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()
DFieldIdsSection.java51 return fieldIds.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

12