Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 55) sorted by relevance

123

/dalvik/dx/src/com/android/dx/dex/code/
DMultiCstInsn.java57 public MultiCstInsn(Dop opcode, SourcePosition position, in MultiCstInsn() argument
59 super(opcode, position, registers); in MultiCstInsn()
76 private MultiCstInsn(Dop opcode, SourcePosition position, in MultiCstInsn() argument
79 super(opcode, position, registers); in MultiCstInsn()
113 public Constant getConstant(int position) { in getConstant() argument
114 return constants[position]; in getConstant()
124 public int getIndex(int position) { in getIndex() argument
125 if (!hasIndex(position)) { in getIndex()
127 + position + " value = " + constants[position]); in getIndex()
130 return index[position]; in getIndex()
[all …]
DPositionList.java153 private final SourcePosition position; field in PositionList.Entry
161 public Entry (int address, SourcePosition position) { in Entry() argument
166 if (position == null) { in Entry()
171 this.position = position; in Entry()
189 return position; in getPosition()
DCodeAddress.java39 public CodeAddress(SourcePosition position) { in CodeAddress() argument
40 this(position, false); in CodeAddress()
51 public CodeAddress(SourcePosition position, boolean bindsClosely) { in CodeAddress() argument
52 super(position); in CodeAddress()
DDalvInsn.java42 private final SourcePosition position; field in DalvInsn
55 public static SimpleInsn makeMove(SourcePosition position, in makeMove() argument
74 return new SimpleInsn(opcode, position, in makeMove()
94 public DalvInsn(Dop opcode, SourcePosition position, in DalvInsn() argument
100 if (position == null) { in DalvInsn()
110 this.position = position; in DalvInsn()
121 sb.append(position); in toString()
185 return position; in getPosition()
274 return new HighRegisterPrefix(position, regs); in expandedPrefix()
290 return makeMove(position, r, r.withReg(0)); in expandedSuffix()
DVariableSizeInsn.java33 public VariableSizeInsn(SourcePosition position, in VariableSizeInsn() argument
35 super(Dops.SPECIAL_FORMAT, position, registers); in VariableSizeInsn()
DSimpleInsn.java37 public SimpleInsn(Dop opcode, SourcePosition position, in SimpleInsn() argument
39 super(opcode, position, registers); in SimpleInsn()
DZeroSizeInsn.java35 public ZeroSizeInsn(SourcePosition position) { in ZeroSizeInsn() argument
36 super(Dops.SPECIAL_FORMAT, position, RegisterSpecList.EMPTY); in ZeroSizeInsn()
DFixedSizeInsn.java45 public FixedSizeInsn(Dop opcode, SourcePosition position, in FixedSizeInsn() argument
47 super(opcode, position, registers); in FixedSizeInsn()
DOddSpacer.java37 public OddSpacer(SourcePosition position) { in OddSpacer() argument
38 super(position, RegisterSpecList.EMPTY); in OddSpacer()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsn.java40 private final SourcePosition position; field in DalvInsn
53 public static SimpleInsn makeMove(SourcePosition position, in makeMove() argument
72 return new SimpleInsn(opcode, position, in makeMove()
92 public DalvInsn(Dop opcode, SourcePosition position, in DalvInsn() argument
98 if (position == null) { in DalvInsn()
108 this.position = position; in DalvInsn()
119 sb.append(position); in toString()
183 return position; in getPosition()
249 return new HighRegisterPrefix(position, regs); in hrPrefix()
263 return makeMove(position, r, r.withReg(0)); in hrSuffix()
DPositionList.java153 private final SourcePosition position; field in PositionList.Entry
161 public Entry (int address, SourcePosition position) { in Entry() argument
166 if (position == null) { in Entry()
171 this.position = position; in Entry()
189 return position; in getPosition()
DCodeAddress.java36 public CodeAddress(SourcePosition position) { in CodeAddress() argument
37 super(position); in CodeAddress()
DVariableSizeInsn.java33 public VariableSizeInsn(SourcePosition position, in VariableSizeInsn() argument
35 super(Dops.SPECIAL_FORMAT, position, registers); in VariableSizeInsn()
DSimpleInsn.java37 public SimpleInsn(Dop opcode, SourcePosition position, in SimpleInsn() argument
39 super(opcode, position, registers); in SimpleInsn()
DZeroSizeInsn.java35 public ZeroSizeInsn(SourcePosition position) { in ZeroSizeInsn() argument
36 super(Dops.SPECIAL_FORMAT, position, RegisterSpecList.EMPTY); in ZeroSizeInsn()
DOddSpacer.java36 public OddSpacer(SourcePosition position) { in OddSpacer() argument
37 super(position, RegisterSpecList.EMPTY); in OddSpacer()
DFixedSizeInsn.java44 public FixedSizeInsn(Dop opcode, SourcePosition position, in FixedSizeInsn() argument
46 super(opcode, position, registers); in FixedSizeInsn()
/dalvik/dx/src/com/android/dex/
DDex.java171 public Section open(int position) { in open() argument
172 if (position < 0 || position >= data.capacity()) { in open()
173 throw new IllegalArgumentException("position=" + position in open()
178 sectionData.position(position); in open()
190 sectionData.position(nextSectionStart); in appendSection()
211 data.position(0); in getBytes()
282 data.position(SIGNATURE_OFFSET + SIGNATURE_SIZE); in computeSignature()
299 data.position(CHECKSUM_OFFSET + CHECKSUM_SIZE); in computeChecksum()
323 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex() local
324 return data.getInt(position); in descriptorIndexFromTypeIndex()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DInsn.java35 private final SourcePosition position; field in Insn
51 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, in Insn() argument
57 if (position == null) { in Insn()
66 this.position = position; in Insn()
135 return position; in getPosition()
281 && position.equals(b.getPosition()) in contentEquals()
310 sb.append(position); in toStringWithInline()
342 sb.append(position); in toHumanWithInline()
DPlainInsn.java40 public PlainInsn(Rop opcode, SourcePosition position, in PlainInsn() argument
42 super(opcode, position, result, sources); in PlainInsn()
66 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, in PlainInsn() argument
68 this(opcode, position, result, RegisterSpecList.make(source)); in PlainInsn()
DCstInsn.java38 public CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, in CstInsn() argument
40 super(opcode, position, result, sources); in CstInsn()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DInsn.java37 private final SourcePosition position; field in Insn
53 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, in Insn() argument
59 if (position == null) { in Insn()
68 this.position = position; in Insn()
136 return position; in getPosition()
282 && position.equals(b.getPosition()) in contentEquals()
311 sb.append(position); in toStringWithInline()
343 sb.append(position); in toHumanWithInline()
DPlainInsn.java39 public PlainInsn(Rop opcode, SourcePosition position, in PlainInsn() argument
41 super(opcode, position, result, sources); in PlainInsn()
65 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, in PlainInsn() argument
67 this(opcode, position, result, RegisterSpecList.make(source)); in PlainInsn()
DCstInsn.java38 public CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, in CstInsn() argument
40 super(opcode, position, result, sources); in CstInsn()
/dalvik/dx/src/com/android/dex/util/
DByteArrayByteInput.java22 private int position; field in ByteArrayByteInput
30 return bytes[position++]; in readByte()

123