Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/code/
DSwitchList.java36 private final IntList targets; field in SwitchList
49 this.targets = new IntList(size + 1); in SwitchList()
57 targets.setImmutable(); in setImmutable()
88 return targets.get(n); in getTarget()
98 return targets.get(size); in getDefaultTarget()
108 return targets; in getTargets()
134 if (targets.size() != size) { in setDefaultTarget()
138 targets.add(target); in setDefaultTarget()
155 targets.add(target); in add()
168 if (sz != (targets.size() - 1)) { in removeSuperfluousDefaults()
[all …]
DBasicBlocker.java288 IntList targets = null; in getBlockList() local
293 targets = targetLists[i]; in getBlockList()
294 if (targets != null) { in getBlockList()
300 if (targets == null) { in getBlockList()
301 targets = IntList.makeImmutable(next); in getBlockList()
311 new ByteBlock(at, at, next, targets, blockCatches); in getBlockList()
/dalvik/dx/src/com/android/dx/io/instructions/
DSparseSwitchPayloadDecodedInstruction.java32 private final int[] targets; field in SparseSwitchPayloadDecodedInstruction
38 int opcode, int[] keys, int[] targets) { in SparseSwitchPayloadDecodedInstruction() argument
41 if (keys.length != targets.length) { in SparseSwitchPayloadDecodedInstruction()
46 this.targets = targets; in SparseSwitchPayloadDecodedInstruction()
59 return targets; in getTargets()
DPackedSwitchPayloadDecodedInstruction.java32 private final int[] targets; field in PackedSwitchPayloadDecodedInstruction
38 int opcode, int firstKey, int[] targets) { in PackedSwitchPayloadDecodedInstruction() argument
42 this.targets = targets; in PackedSwitchPayloadDecodedInstruction()
55 return targets; in getTargets()
DInstructionCodec.java613 int[] targets = new int[size]; in FORMAT_PACKED_SWITCH_PAYLOAD() local
616 targets[i] = baseAddress + in.readInt(); in FORMAT_PACKED_SWITCH_PAYLOAD()
620 this, opcodeUnit, firstKey, targets); in FORMAT_PACKED_SWITCH_PAYLOAD()
626 int[] targets = payload.getTargets(); in FORMAT_PACKED_SWITCH_PAYLOAD() local
630 out.write(asUnsignedUnit(targets.length)); in FORMAT_PACKED_SWITCH_PAYLOAD()
633 for (int target : targets) { in FORMAT_PACKED_SWITCH_PAYLOAD()
645 int[] targets = new int[size]; in FORMAT_SPARSE_SWITCH_PAYLOAD() local
652 targets[i] = baseAddress + in.readInt(); in FORMAT_SPARSE_SWITCH_PAYLOAD()
656 this, opcodeUnit, keys, targets); in FORMAT_SPARSE_SWITCH_PAYLOAD()
663 int[] targets = payload.getTargets(); in FORMAT_SPARSE_SWITCH_PAYLOAD() local
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DSwitchData.java45 private final CodeAddress[] targets; field in SwitchData
62 IntList cases, CodeAddress[] targets) { in SwitchData() argument
73 if (targets == null) { in SwitchData()
79 if (sz != targets.length) { in SwitchData()
89 this.targets = targets; in SwitchData()
105 int sz = targets.length; in writeTo()
125 relTarget = targets[caseAt].getAddress() - baseAddress; in writeTo()
140 int relTarget = targets[i].getAddress() - baseAddress; in writeTo()
149 return new SwitchData(getPosition(), user, cases, targets); in withRegisters()
166 int sz = targets.length; in argString()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DSwitchData.java44 private final CodeAddress[] targets; field in SwitchData
61 IntList cases, CodeAddress[] targets) { in SwitchData() argument
72 if (targets == null) { in SwitchData()
78 if (sz != targets.length) { in SwitchData()
88 this.targets = targets; in SwitchData()
104 int sz = targets.length; in writeTo()
124 relTarget = targets[caseAt].getAddress() - baseAddress; in writeTo()
139 int relTarget = targets[i].getAddress() - baseAddress; in writeTo()
148 return new SwitchData(getPosition(), user, cases, targets); in withRegisters()
165 int sz = targets.length; in argString()
[all …]