Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 29) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/dex/code/
DTargetInsn.java27 private CodeAddress target; field in TargetInsn
42 RegisterSpecList registers, CodeAddress target) { in TargetInsn() argument
45 if (target == null) { in TargetInsn()
49 this.target = target; in TargetInsn()
55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode()
61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters()
74 public TargetInsn withNewTargetAndReversed(CodeAddress target) { in withNewTargetAndReversed() argument
77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed()
86 return target; in getTarget()
98 return target.getAddress(); in getTargetAddress()
[all …]
DOutputFinisher.java674 TargetInsn target = (TargetInsn) insn; in fixBranches() local
676 if (format.branchFits(target)) { in fixBranches()
724 new TargetInsn(Dops.GOTO, target.getPosition(), in fixBranches()
725 RegisterSpecList.EMPTY, target.getTarget()); in fixBranches()
727 insns.add(i, target.withNewTargetAndReversed(newTarget)); in fixBranches()
/dalvik/dx/src/com/android/dx/dex/code/
DTargetInsn.java27 private CodeAddress target; field in TargetInsn
42 RegisterSpecList registers, CodeAddress target) { in TargetInsn() argument
45 if (target == null) { in TargetInsn()
49 this.target = target; in TargetInsn()
55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode()
61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters()
74 public TargetInsn withNewTargetAndReversed(CodeAddress target) { in withNewTargetAndReversed() argument
77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed()
86 return target; in getTarget()
98 return target.getAddress(); in getTargetAddress()
[all …]
DOutputFinisher.java739 TargetInsn target = (TargetInsn) insn; in fixBranches() local
741 if (opcode.getFormat().branchFits(target)) { in fixBranches()
787 new TargetInsn(Dops.GOTO, target.getPosition(), in fixBranches()
788 RegisterSpecList.EMPTY, target.getTarget()); in fixBranches()
790 insns.add(i, target.withNewTargetAndReversed(newTarget)); in fixBranches()
/dalvik/dexgen/src/com/android/dexgen/util/
DDexJarMaker.java50 JarOutputStream target = null; in create() local
52 target = new JarOutputStream( in create()
55 add(new File(pathHolder.getDexFilePath()), target); in create()
62 if (target != null) { in create()
63 target.close(); in create()
78 private void add(File source, JarOutputStream target) throws IOException { in add() argument
87 target.putNextEntry(entry); in add()
91 target.write(curr); in add()
93 target.closeEntry(); in add()
/dalvik/dx/src/com/android/dx/cf/code/
DSwitchList.java127 public void setDefaultTarget(int target) { in setDefaultTarget() argument
130 if (target < 0) { in setDefaultTarget()
138 targets.add(target); in setDefaultTarget()
147 public void add(int value, int target) { in add() argument
150 if (target < 0) { in add()
155 targets.add(target); in add()
176 int target = targets.get(i); in removeSuperfluousDefaults() local
177 if (target != defaultTarget) { in removeSuperfluousDefaults()
179 targets.set(at, target); in removeSuperfluousDefaults()
DBasicBlocker.java216 int target) { in visitBranch() argument
220 targetLists[offset] = IntList.makeImmutable(target); in visitBranch()
237 targetLists[offset] = IntList.makeImmutable(next, target); in visitBranch()
242 addWorkIfNecessary(target, true); in visitBranch()
DMachine.java174 public void auxTargetArg(int target); in auxTargetArg() argument
DBytecodeArray.java704 int target = offset + bytes.getShort(offset + 1); in parseInstruction() local
705 visitor.visitBranch(opcode, offset, 3, target); in parseInstruction()
794 int target = offset + bytes.getInt(offset + 1); in parseInstruction() local
798 visitor.visitBranch(newop, offset, 5, target); in parseInstruction()
844 int target = offset + bytes.getInt(at); in parseTableswitch() local
846 cases.add(low + i, target); in parseTableswitch()
882 int target = offset + bytes.getInt(at + 4); in parseLookupswitch() local
884 cases.add(match, target); in parseLookupswitch()
1240 int target); in visitBranch() argument
1319 int target) { in visitBranch() argument
[all …]
/dalvik/dx/src/com/android/dx/io/instructions/
DZeroRegisterDecodedInstruction.java29 int index, IndexType indexType, int target, long literal) { in ZeroRegisterDecodedInstruction() argument
30 super(format, opcode, index, indexType, target, literal); in ZeroRegisterDecodedInstruction()
DOneRegisterDecodedInstruction.java32 int index, IndexType indexType, int target, long literal, in OneRegisterDecodedInstruction() argument
34 super(format, opcode, index, indexType, target, literal); in OneRegisterDecodedInstruction()
DRegisterRangeDecodedInstruction.java36 int index, IndexType indexType, int target, long literal, in RegisterRangeDecodedInstruction() argument
38 super(format, opcode, index, indexType, target, literal); in RegisterRangeDecodedInstruction()
DTwoRegisterDecodedInstruction.java35 int index, IndexType indexType, int target, long literal, in TwoRegisterDecodedInstruction() argument
37 super(format, opcode, index, indexType, target, literal); in TwoRegisterDecodedInstruction()
DThreeRegisterDecodedInstruction.java38 int index, IndexType indexType, int target, long literal, in ThreeRegisterDecodedInstruction() argument
40 super(format, opcode, index, indexType, target, literal); in ThreeRegisterDecodedInstruction()
DFourRegisterDecodedInstruction.java41 int index, IndexType indexType, int target, long literal, in FourRegisterDecodedInstruction() argument
43 super(format, opcode, index, indexType, target, literal); in FourRegisterDecodedInstruction()
DDecodedInstruction.java57 private final int target; field in DecodedInstruction
102 int index, IndexType indexType, int target, long literal) { in DecodedInstruction() argument
115 this.target = target; in DecodedInstruction()
153 return target; in getTarget()
160 return target - baseAddress; in getTarget()
DFiveRegisterDecodedInstruction.java44 int index, IndexType indexType, int target, long literal, in FiveRegisterDecodedInstruction() argument
46 super(format, opcode, index, indexType, target, literal); in FiveRegisterDecodedInstruction()
DInstructionCodec.java118 int target = (byte) byte1(opcodeUnit); // sign-extend in FORMAT_10T() local
121 baseAddress + target, 0L); in FORMAT_10T()
136 int target = (short) in.read(); // sign-extend in FORMAT_20T() local
139 baseAddress + target, literal); in FORMAT_20T()
192 int target = (short) in.read(); // sign-extend in FORMAT_21T() local
195 baseAddress + target, 0L, in FORMAT_21T()
324 int target = (short) in.read(); // sign-extend in FORMAT_22T() local
327 baseAddress + target, 0L, in FORMAT_22T()
410 int target = in.readInt(); in FORMAT_30T() local
413 baseAddress + target, literal); in FORMAT_30T()
[all …]
/dalvik/dx/
DAndroid.mk25 $(copy-file-to-new-target)
43 $(copy-file-to-new-target)
85 $(copy-file-to-new-target)
106 $(copy-file-to-new-target)
124 $(copy-file-to-new-target)
141 $(copy-file-to-target)
/dalvik/dx/tests/113-old-style-inner-class/
Drun19 ${JAVAC} -source 1.4 -target 1.4 -d . Blort.java &> /dev/null
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java58 private final Dex target; field in IndexMap
71 public IndexMap(Dex target, TableOfContents tableOfContents) { in IndexMap() argument
72 this.target = target; in IndexMap()
153 return new TypeList(target, types); in adjustTypeList()
193 return new MethodId(target, in adjust()
200 return new FieldId(target, in adjust()
208 return new ProtoId(target, in adjust()
215 return new ClassDef(target, classDef.getOffset(), adjustType(classDef.getTypeIndex()), in adjust()
244 return new Annotation(target, annotation.getVisibility(), in adjust()
/dalvik/tools/dexdeps/
DAndroid.mk34 $(copy-file-to-new-target)
/dalvik/dx/src/
DAndroid.mk23 LOCAL_JAVACFLAGS:= -source 6 -target 6
/dalvik/dx/tests/110-dex-preserve-this/
Dinfo.txt4 should be the case that the target object of an instance method being
/dalvik/dx/src/com/android/dx/cf/direct/
DCodeObserver.java144 int target) { in visitBranch() argument
145 String targetStr = (length <= 3) ? Hex.u2(target) : Hex.u4(target); in visitBranch()

12