/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 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 | 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 | 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/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/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 | AnnotationSetItem.java | 54 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem() 73 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; in writeSize() 118 int size = items.length; in addContents() local 120 for (int i = 0; i < size; i++) { in addContents() 136 int size = items.length; in writeTo0() local 140 out.annotate(4, " size: " + Hex.u4(size)); in writeTo0() 143 out.writeInt(size); in writeTo0() 145 for (int i = 0; i < size; i++) { in writeTo0()
|
/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 …]
|
D | AnnotationSetItem.java | 53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem() 72 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; in writeSize() 117 int size = items.length; in addContents() local 119 for (int i = 0; i < size; i++) { in addContents() 135 int size = items.length; in writeTo0() local 139 out.annotate(4, " size: " + Hex.u4(size)); in writeTo0() 142 out.writeInt(size); in writeTo0() 144 for (int i = 0; i < size; i++) { 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() 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 | 130 int size = specs.size(); in hasLocalInfo() local 131 for (int i = 0; i < size; i++) { in hasLocalInfo() 189 int size = specs.size(); in addConstants() local 190 for (int i = 0; i < size; i++) { in addConstants() 284 int size = insns.size(); in reverseBranch() local 285 int index = size - which - 1; in reverseBranch() 391 int size = insns.size(); in makeOpcodesArray() local 392 Dop[] result = new Dop[size]; in makeOpcodesArray() 394 for (int i = 0; i < size; i++) { in makeOpcodesArray() 429 int size = insns.size(); in reserveRegisters() local [all …]
|
/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/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/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/dx/src/com/android/dx/io/instructions/ |
D | FillArrayDataPayloadDecodedInstruction.java | 29 private final int size; field in FillArrayDataPayloadDecodedInstruction 39 int opcode, Object data, int size, int elementWidth) { in FillArrayDataPayloadDecodedInstruction() argument 43 this.size = size; in FillArrayDataPayloadDecodedInstruction() 89 return size; in getSize()
|
/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 …]
|