/dalvik/dx/src/com/android/dx/util/ |
D | IntList.java | 32 private int size; field in IntList 93 size = 0; in IntList() 102 for (int i = 0; i < size; i++) { in hashCode() 126 if (size != otherList.size) { in equals() 130 for (int i = 0; i < size; i++) { in equals() 142 StringBuilder sb = new StringBuilder(size * 5 + 10); in toString() 146 for (int i = 0; i < size; i++) { in toString() 161 public int size() { in size() method in IntList 162 return size; in size() 172 if (n >= size) { in get() [all …]
|
D | LabeledList.java | 32 public LabeledList(int size) { in LabeledList() argument 33 super(size); in LabeledList() 35 labelToIndex = new IntList(size); in LabeledList() 44 super(old.size()); in LabeledList() 47 int sz = old.size(); in LabeledList() 63 int sz = labelToIndex.size(); in getMaxLabel() 93 int origSz = labelToIndex.size(); in addLabelIndex() 111 if (label >= labelToIndex.size()) { in indexOfLabel() 128 int sz = size(); in getLabelsInOrder() 157 int szItems = size(); in rebuildLabelToIndex()
|
D | ByteArray.java | 39 private final int size; field in ByteArray 68 this.size = end - start; in ByteArray() 85 public int size() { in size() method in ByteArray 86 return size; in size() 204 if ((out.length - offset) < size) { in getBytes() 209 System.arraycopy(bytes, start, out, offset, size); in getBytes() 219 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets() 221 "; actual size " + size); in checkOffsets() 303 if (cursor >= size) { in read() 318 int maxLength = size - cursor; in read() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | IntList.java | 32 private int size; field in IntList 93 size = 0; in IntList() 102 for (int i = 0; i < size; i++) { in hashCode() 126 if (size != otherList.size) { in equals() 130 for (int i = 0; i < size; i++) { in equals() 142 StringBuffer sb = new StringBuffer(size * 5 + 10); in toString() 146 for (int i = 0; i < size; i++) { in toString() 161 public int size() { in size() method in IntList 162 return size; in size() 172 if (n >= size) { in get() [all …]
|
D | LabeledList.java | 33 public LabeledList(int size) { in LabeledList() argument 34 super(size); in LabeledList() 36 labelToIndex = new IntList(size); in LabeledList() 45 super(old.size()); in LabeledList() 48 int sz = old.size(); in LabeledList() 64 int sz = labelToIndex.size(); in getMaxLabel() 92 int origSz = labelToIndex.size(); in addLabelIndex() 110 if (label >= labelToIndex.size()) { in indexOfLabel() 131 int szItems = size(); in rebuildLabelToIndex()
|
D | ByteArray.java | 38 private final int size; field in ByteArray 67 this.size = end - start; in ByteArray() 84 public int size() { in size() method in ByteArray 85 return size; in size() 207 if ((out.length - offset) < size) { in getBytes() 212 System.arraycopy(bytes, start, out, offset, size); in getBytes() 222 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets() 224 "; actual size " + size); in checkOffsets() 305 if (cursor >= size) { in read() 319 int maxLength = size - cursor; in read() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 39 private int size; field in SwitchList 46 public SwitchList(int size) { in SwitchList() argument 48 this.values = new IntList(size); in SwitchList() 49 this.targets = new IntList(size + 1); in SwitchList() 50 this.size = size; in SwitchList() 66 public int size() { in size() method in SwitchList 67 return size; in size() 98 return targets.get(size); in getDefaultTarget() 134 if (targets.size() != size) { in setDefaultTarget() 166 int sz = size; in removeSuperfluousDefaults() [all …]
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
D | AnnotationsList.java | 41 int size = list1.size(); in combine() local 43 if (size != list2.size()) { in combine() 47 AnnotationsList result = new AnnotationsList(size); in combine() 49 for (int i = 0; i < size; i++) { in combine() 64 public AnnotationsList(int size) { in AnnotationsList() argument 65 super(size); in AnnotationsList()
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
D | AnnotationsList.java | 41 int size = list1.size(); in combine() local 43 if (size != list2.size()) { in combine() 47 AnnotationsList result = new AnnotationsList(size); in combine() 49 for (int i = 0; i < size; i++) { in combine() 64 public AnnotationsList(int size) { in AnnotationsList() argument 65 super(size); in AnnotationsList()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | ClassDataItem.java | 184 int sz = directMethods.size() + virtualMethods.size(); in getMethods() 204 int sz = staticFields.size(); in debugPrint() 209 sz = instanceFields.size(); in debugPrint() 214 sz = directMethods.size(); in debugPrint() 220 sz = virtualMethods.size(); in debugPrint() 267 if ((staticValuesConstant == null) && (staticFields.size() != 0)) { in getStaticValuesConstant() 290 int size = staticFields.size(); in makeStaticValuesConstant() local 291 while (size > 0) { in makeStaticValuesConstant() 292 EncodedField field = staticFields.get(size - 1); in makeStaticValuesConstant() 302 size--; in makeStaticValuesConstant() [all …]
|
D | Statistics.java | 73 if (dataMap.size() == 0) { in writeAnnotation() 134 int size = item.writeSize(); in Data() local 138 this.totalSize = size; in Data() 139 this.largestSize = size; in Data() 140 this.smallestSize = size; in Data() 149 int size = item.writeSize(); in add() local 152 totalSize += size; in add() 154 if (size > largestSize) { in add() 155 largestSize = size; in add() 158 if (size < smallestSize) { in add() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDataItem.java | 180 int sz = directMethods.size() + virtualMethods.size(); in getMethods() 200 int sz = staticFields.size(); in debugPrint() 205 sz = instanceFields.size(); in debugPrint() 210 sz = directMethods.size(); in debugPrint() 216 sz = virtualMethods.size(); in debugPrint() 263 if ((staticValuesConstant == null) && (staticFields.size() != 0)) { in getStaticValuesConstant() 286 int size = staticFields.size(); in makeStaticValuesConstant() local 287 while (size > 0) { in makeStaticValuesConstant() 288 EncodedField field = staticFields.get(size - 1); in makeStaticValuesConstant() 298 size--; in makeStaticValuesConstant() [all …]
|
D | Statistics.java | 72 if (dataMap.size() == 0) { in writeAnnotation() 133 int size = item.writeSize(); in Data() local 137 this.totalSize = size; in Data() 138 this.largestSize = size; in Data() 139 this.smallestSize = size; in Data() 148 int size = item.writeSize(); in add() local 151 totalSize += size; in add() 153 if (size > largestSize) { in add() 154 largestSize = size; in add() 157 if (size < smallestSize) { in add() [all …]
|
D | UniformListItem.java | 97 return (items.size() * first.writeSize()) + getAlignment(items); in writeSize() 165 int size = i.writeSize(); in place0() local 167 theSize = size; in place0() 171 if (size != theSize) { in place0() 181 offset = i.place(addedTo, offset) + size; in place0() 188 int size = items.size(); in writeTo0() local 192 out.annotate(4, " size: " + Hex.u4(size)); in writeTo0() 195 out.writeInt(size); in writeTo0()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | CatchHandlerList.java | 36 public CatchHandlerList(int size) { in CatchHandlerList() argument 37 super(size); in CatchHandlerList() 68 int size = size(); in toHuman() local 74 for (int i = 0; i < size; i++) { in toHuman() 83 if ((i == (size - 1)) && catchesAll()) { in toHuman() 104 int size = size(); in catchesAll() local 106 if (size == 0) { in catchesAll() 110 Entry last = get(size - 1); in catchesAll() 142 int thisSize = size(); in compareTo() 143 int otherSize = other.size(); in compareTo()
|
D | OutputFinisher.java | 108 int size = specs.size(); in hasLocalInfo() local 109 for (int i = 0; i < size; i++) { in hasLocalInfo() 167 int size = specs.size(); in addConstants() local 168 for (int i = 0; i < size; i++) { in addConstants() 261 int size = insns.size(); in reverseBranch() local 262 int index = size - which - 1; in reverseBranch() 365 int size = insns.size(); in makeFormatsArray() local 366 InsnFormat[] result = new InsnFormat[size]; in makeFormatsArray() 368 for (int i = 0; i < size; i++) { in makeFormatsArray() 398 int size = insns.size(); in reserveRegisters() local [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | CatchHandlerList.java | 36 public CatchHandlerList(int size) { in CatchHandlerList() argument 37 super(size); in CatchHandlerList() 69 int size = size(); in toHuman() local 75 for (int i = 0; i < size; i++) { in toHuman() 84 if ((i == (size - 1)) && catchesAll()) { in toHuman() 105 int size = size(); in catchesAll() local 107 if (size == 0) { in catchesAll() 111 Entry last = get(size - 1); in catchesAll() 144 int thisSize = size(); in compareTo() 145 int otherSize = other.size(); in compareTo()
|
D | OutputFinisher.java | 129 int size = specs.size(); in hasLocalInfo() local 130 for (int i = 0; i < size; i++) { in hasLocalInfo() 193 int size = specs.size(); in addConstants() local 194 for (int i = 0; i < size; i++) { in addConstants() 263 public int size() { in size() method in OutputFinisher 264 return insns.size(); in size() 300 int size = insns.size(); in reverseBranch() local 301 int index = size - which - 1; in reverseBranch() 432 int size = insns.size(); in makeOpcodesArray() local 433 Dop[] result = new Dop[size]; in makeOpcodesArray() [all …]
|
D | OutputCollector.java | 69 if (at >= finisher.size() || at < 0) { in get() 76 public int size() { in size() method in OutputCollector 77 return finisher.size(); in size() 125 int size = suffix.size(); in appendSuffixToOutput() local 127 for (int i = 0; i < size; i++) { in appendSuffixToOutput()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | InsnList.java | 31 public InsnList(int size) { in InsnList() argument 32 super(size); in InsnList() 64 return get(size() - 1); in getLast() 73 int sz = size(); in forEach() 91 int sz = size(); in contentEquals() 93 if (sz != b.size()) return false; in contentEquals() 114 int sz = size(); in withRegisterOffset()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | InsnList.java | 31 public InsnList(int size) { in InsnList() argument 32 super(size); in InsnList() 64 return get(size() - 1); in getLast() 73 int sz = size(); in forEach() 91 int sz = size(); in contentEquals() 93 if (sz != b.size()) return false; in contentEquals() 114 int sz = size(); in withRegisterOffset()
|
/dalvik/dx/src/com/android/dex/ |
D | TableOfContents.java | 107 stringIds.size = headerIn.readInt(); in readHeader() 109 typeIds.size = headerIn.readInt(); in readHeader() 111 protoIds.size = headerIn.readInt(); in readHeader() 113 fieldIds.size = headerIn.readInt(); in readHeader() 115 methodIds.size = headerIn.readInt(); in readHeader() 117 classDefs.size = headerIn.readInt(); in readHeader() 130 int size = in.readInt(); in readMap() local 133 if ((section.size != 0 && section.size != size) in readMap() 138 section.size = size; in readMap() 184 out.writeInt(stringIds.size); in writeHeader() [all …]
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
D | InterferenceGraph.java | 65 int oldRegCount = interference.size(); in dumpToStdout() 84 if (reg < interference.size()) { in mergeInterferenceSet() 94 private void ensureCapacity(int size) { in ensureCapacity() argument 95 int countRegs = interference.size(); in ensureCapacity() 97 interference.ensureCapacity(size); in ensureCapacity() 99 for (int i = countRegs; i < size; i++) { in ensureCapacity() 100 interference.add(SetFactory.makeInterferenceSet(size)); in ensureCapacity()
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
D | StdTypeList.java | 234 int size = list.size(); in toHuman() local 236 if (size == 0) { in toHuman() 242 for (int i = 0; i < size; i++) { in toHuman() 261 int size = list.size(); in hashContents() local 264 for (int i = 0; i < size; i++) { in hashContents() 281 int size = list1.size(); in equalContents() local 283 if (list2.size() != size) { in equalContents() 287 for (int i = 0; i < size; i++) { in equalContents() 306 int size1 = list1.size(); in compareContents() 307 int size2 = list2.size(); in compareContents() [all …]
|
/dalvik/dx/src/com/android/dx/rop/type/ |
D | StdTypeList.java | 234 int size = list.size(); in toHuman() local 236 if (size == 0) { in toHuman() 242 for (int i = 0; i < size; i++) { in toHuman() 261 int size = list.size(); in hashContents() local 264 for (int i = 0; i < size; i++) { in hashContents() 281 int size = list1.size(); in equalContents() local 283 if (list2.size() != size) { in equalContents() 287 for (int i = 0; i < size; i++) { in equalContents() 306 int size1 = list1.size(); in compareContents() 307 int size2 = list2.size(); in compareContents() [all …]
|