Searched refs:targets (Results 1 – 7 of 7) sorted by relevance
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 36 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 …]
|
D | BasicBlocker.java | 299 IntList targets = null; in getBlockList() local 304 targets = targetLists[i]; in getBlockList() 305 if (targets != null) { in getBlockList() 311 if (targets == null) { in getBlockList() 312 targets = IntList.makeImmutable(next); in getBlockList() 322 new ByteBlock(at, at, next, targets, blockCatches); in getBlockList()
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | SparseSwitchPayloadDecodedInstruction.java | 32 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() 60 return targets; in getTargets()
|
D | PackedSwitchPayloadDecodedInstruction.java | 32 private final int[] targets; field in PackedSwitchPayloadDecodedInstruction 38 int opcode, int firstKey, int[] targets) { in PackedSwitchPayloadDecodedInstruction() argument 42 this.targets = targets; in PackedSwitchPayloadDecodedInstruction() 56 return targets; in getTargets()
|
D | InstructionCodec.java | 753 int[] targets = new int[size]; in FORMAT_PACKED_SWITCH_PAYLOAD() local 756 targets[i] = baseAddress + in.readInt(); in FORMAT_PACKED_SWITCH_PAYLOAD() 760 this, opcodeUnit, firstKey, targets); in FORMAT_PACKED_SWITCH_PAYLOAD() 767 int[] targets = payload.getTargets(); in FORMAT_PACKED_SWITCH_PAYLOAD() local 771 out.write(asUnsignedUnit(targets.length)); in FORMAT_PACKED_SWITCH_PAYLOAD() 774 for (int target : targets) { in FORMAT_PACKED_SWITCH_PAYLOAD() 787 int[] targets = new int[size]; in FORMAT_SPARSE_SWITCH_PAYLOAD() local 794 targets[i] = baseAddress + in.readInt(); in FORMAT_SPARSE_SWITCH_PAYLOAD() 798 this, opcodeUnit, keys, targets); in FORMAT_SPARSE_SWITCH_PAYLOAD() 806 int[] targets = payload.getTargets(); in FORMAT_SPARSE_SWITCH_PAYLOAD() local [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | SwitchData.java | 44 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 …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | SwitchData.java | 45 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 …]
|