/dalvik/dx/src/com/android/dx/dex/file/ |
D | IndexedItem.java | 25 private int index; field in IndexedItem 31 index = -1; in IndexedItem() 40 return (index >= 0); in hasIndex() 50 if (index < 0) { in getIndex() 54 return index; in getIndex() 64 public final void setIndex(int index) { in setIndex() argument 65 if (this.index != -1) { in setIndex() 69 this.index = index; in setIndex() 79 return '[' + Integer.toHexString(index) + ']'; in indexString()
|
D | ValueEncoder.java | 157 int index = file.getStringIds().indexOf((CstString) cst); in writeConstant() local 158 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); in writeConstant() 162 int index = file.getTypeIds().indexOf((CstType) cst); in writeConstant() local 163 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); in writeConstant() 167 int index = file.getFieldIds().indexOf((CstFieldRef) cst); in writeConstant() local 168 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); in writeConstant() 172 int index = file.getMethodIds().indexOf((CstMethodRef) cst); in writeConstant() local 173 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); in writeConstant() 178 int index = file.getFieldIds().indexOf(fieldRef); in writeConstant() local 179 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); in writeConstant()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | IndexedItem.java | 25 private int index; field in IndexedItem 31 index = -1; in IndexedItem() 40 return (index >= 0); in hasIndex() 50 if (index < 0) { in getIndex() 54 return index; in getIndex() 64 public final void setIndex(int index) { in setIndex() argument 65 if (this.index != -1) { in setIndex() 69 this.index = index; in setIndex() 79 return '[' + Integer.toHexString(index) + ']'; in indexString()
|
D | ValueEncoder.java | 158 int index = file.getStringIds().indexOf((CstString) cst); in writeConstant() local 159 writeUnsignedIntegralValue(type, (long) index); in writeConstant() 163 int index = file.getTypeIds().indexOf((CstType) cst); in writeConstant() local 164 writeUnsignedIntegralValue(type, (long) index); in writeConstant() 168 int index = file.getFieldIds().indexOf((CstFieldRef) cst); in writeConstant() local 169 writeUnsignedIntegralValue(type, (long) index); in writeConstant() 173 int index = file.getMethodIds().indexOf((CstMethodRef) cst); in writeConstant() local 174 writeUnsignedIntegralValue(type, (long) index); in writeConstant() 179 int index = file.getFieldIds().indexOf(fieldRef); in writeConstant() local 180 writeUnsignedIntegralValue(type, (long) index); in writeConstant()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | CstInsn.java | 35 private int index; field in CstInsn 63 this.index = -1; in CstInsn() 73 if (index >= 0) { in withOpcode() 74 result.setIndex(index); in withOpcode() 90 if (index >= 0) { in withRegisters() 91 result.setIndex(index); in withRegisters() 117 if (index < 0) { in getIndex() 121 return index; in getIndex() 132 return (index >= 0); in hasIndex() 141 public void setIndex(int index) { in setIndex() argument [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | CstInsn.java | 35 private int index; field in CstInsn 63 this.index = -1; in CstInsn() 73 if (index >= 0) { in withOpcode() 74 result.setIndex(index); in withOpcode() 90 if (index >= 0) { in withRegisters() 91 result.setIndex(index); in withRegisters() 117 if (index < 0) { in getIndex() 121 return index; in getIndex() 132 return (index >= 0); in hasIndex() 141 public void setIndex(int index) { in setIndex() argument [all …]
|
D | OutputFinisher.java | 262 int index = size - which - 1; in reverseBranch() local 266 targetInsn = (TargetInsn) insns.get(index); in reverseBranch() 279 insns.set(index, targetInsn.withNewTargetAndReversed(newTarget)); in reverseBranch() 307 int index = callback.getIndex(cst); in assignIndices() local 309 if (index >= 0) { in assignIndices() 310 insn.setIndex(index); in assignIndices() 316 index = callback.getIndex(definer); in assignIndices() 317 if (index >= 0) { in assignIndices() 318 insn.setClassIndex(index); in assignIndices()
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | LocalVariableInfo.java | 79 public void setStarts(int index, RegisterSpecSet specs) { in setStarts() argument 87 blockStarts[index] = specs; in setStarts() 108 public boolean mergeStarts(int index, RegisterSpecSet specs) { in mergeStarts() argument 109 RegisterSpecSet start = getStarts0(index); in mergeStarts() 113 setStarts(index, specs); in mergeStarts() 125 setStarts(index, newStart); in mergeStarts() 138 public RegisterSpecSet getStarts(int index) { in getStarts() argument 139 RegisterSpecSet result = getStarts0(index); in getStarts() 165 public RegisterSpecSet mutableCopyOfStarts(int index) { in mutableCopyOfStarts() argument 166 RegisterSpecSet result = getStarts0(index); in mutableCopyOfStarts() [all …]
|
D | SsaBasicBlock.java | 78 private int index; field in SsaBasicBlock 123 this.index = basicBlockIndex; in SsaBasicBlock() 322 return index; in getIndex() 420 newPred.successors.set(index) ; in insertNewPredecessor() 421 newPred.successorList.add(index); in insertNewPredecessor() 422 newPred.primarySuccessor = index; in insertNewPredecessor() 427 predecessors.set(newPred.index); in insertNewPredecessor() 435 predBlock.replaceSuccessor(index, newPred.index); in insertNewPredecessor() 455 if (!successors.get(other.index)) { in insertNewSuccessor() 461 newSucc.predecessors.set(this.index); in insertNewSuccessor() [all …]
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 52 int index = 0; in printStrings() local 54 System.out.println("string " + index + ": " + string); in printStrings() 55 index++; in printStrings() 60 int index = 0; in printTypeIds() local 62 System.out.println("type " + index + ": " + dex.strings().get(type)); in printTypeIds() 63 index++; in printTypeIds() 68 int index = 0; in printProtoIds() local 70 System.out.println("proto " + index + ": " + protoId); in printProtoIds() 71 index++; in printProtoIds() 76 int index = 0; in printFieldIds() local [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | LocalVariableList.java | 146 CstString descriptor, CstString signature, int index) { in set() argument 147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); in set() 185 public Item pcAndIndexToLocal(int pc, int index) { in pcAndIndexToLocal() argument 191 if ((one != null) && one.matchesPcAndIndex(pc, index)) { in pcAndIndexToLocal() 219 private final int index; field in LocalVariableList.Item 236 CstString descriptor, CstString signature, int index) { in Item() argument 254 if (index < 0) { in Item() 263 this.index = index; in Item() 318 return index; in getIndex() 340 index); in withSignature() [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | ListIntSet.java | 39 int index = ints.binarysearch(value); in add() local 41 if (index < 0) { in add() 42 ints.insert(-(index + 1), value); in add() 48 int index = ints.indexOf(value); in remove() local 50 if (index >= 0) { in remove() 51 ints.removeIndex(index); in remove()
|
/dalvik/libdex/ |
D | DexClass.h | 138 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataField() local 141 pField->fieldIdx = index; in dexReadClassDataField() 142 *lastIndex = index; in dexReadClassDataField() 154 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataMethod() local 158 pMethod->methodIdx = index; in dexReadClassDataMethod() 159 *lastIndex = index; in dexReadClassDataMethod()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ListIntSet.java | 39 int index = ints.binarysearch(value); in add() local 41 if (index < 0) { in add() 42 ints.insert(-(index + 1), value); in add() 48 int index = ints.indexOf(value); in remove() local 50 if (index >= 0) { in remove() 51 ints.removeIndex(index); in remove()
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | ZeroRegisterDecodedInstruction.java | 29 int index, IndexType indexType, int target, long literal) { in ZeroRegisterDecodedInstruction() argument 30 super(format, opcode, index, indexType, target, literal); in ZeroRegisterDecodedInstruction()
|
D | OneRegisterDecodedInstruction.java | 32 int index, IndexType indexType, int target, long literal, in OneRegisterDecodedInstruction() argument 34 super(format, opcode, index, indexType, target, literal); in OneRegisterDecodedInstruction()
|
D | RegisterRangeDecodedInstruction.java | 36 int index, IndexType indexType, int target, long literal, in RegisterRangeDecodedInstruction() argument 38 super(format, opcode, index, indexType, target, literal); in RegisterRangeDecodedInstruction()
|
D | TwoRegisterDecodedInstruction.java | 35 int index, IndexType indexType, int target, long literal, in TwoRegisterDecodedInstruction() argument 37 super(format, opcode, index, indexType, target, literal); in TwoRegisterDecodedInstruction()
|
D | ThreeRegisterDecodedInstruction.java | 38 int index, IndexType indexType, int target, long literal, in ThreeRegisterDecodedInstruction() argument 40 super(format, opcode, index, indexType, target, literal); in ThreeRegisterDecodedInstruction()
|
D | DecodedInstruction.java | 47 private final int index; field in DecodedInstruction 102 int index, IndexType indexType, int target, long literal) { in DecodedInstruction() argument 113 this.index = index; in DecodedInstruction() 135 return index; in getIndex() 142 return (short) index; in getIndexUnit()
|
D | FourRegisterDecodedInstruction.java | 41 int index, IndexType indexType, int target, long literal, in FourRegisterDecodedInstruction() argument 43 super(format, opcode, index, indexType, target, literal); in FourRegisterDecodedInstruction()
|
D | FiveRegisterDecodedInstruction.java | 44 int index, IndexType indexType, int target, long literal, in FiveRegisterDecodedInstruction() argument 46 super(format, opcode, index, indexType, target, literal); in FiveRegisterDecodedInstruction()
|
D | InstructionCodec.java | 154 int index = in.read(); in FORMAT_20BC() local 156 this, opcode, index, IndexType.VARIES, in FORMAT_20BC() 259 int index = in.read(); in FORMAT_21C() local 262 this, opcode, index, indexType, in FORMAT_21C() 367 int index = in.read(); in FORMAT_22C() local 370 this, opcode, index, indexType, in FORMAT_22C() 389 int index = in.read(); in FORMAT_22CS() local 391 this, opcode, index, IndexType.FIELD_OFFSET, in FORMAT_22CS() 501 int index = in.readInt(); in FORMAT_31C() local 504 this, opcode, index, indexType, in FORMAT_31C() [all …]
|
/dalvik/dx/tests/124-multidex-option-no-overflow/ |
D | info.txt | 1 Test that dx generates one dex file when the dex index do not exceed limits and --multi-dex option
|
/dalvik/dx/src/com/android/dx/command/grep/ |
D | Grep.java | 68 private void encounterString(int index) { in encounterString() argument 69 if (stringIds.contains(index)) { in encounterString() 70 out.println(location() + " " + dex.strings().get(index)); in encounterString()
|