/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
H A D | SwitchData.java | 37 /** {@code non-null;} sorted list of switch cases (keys) */ 38 private final IntList cases; field in class:SwitchData 56 * @param cases {@code non-null;} sorted list of switch cases (keys) 61 IntList cases, CodeAddress[] targets) { 68 if (cases == null) { 69 throw new NullPointerException("cases == null"); 76 int sz = cases.size(); 79 throw new IllegalArgumentException("cases / targets mismatch"); 83 throw new IllegalArgumentException("too many cases"); 60 SwitchData(SourcePosition position, CodeAddress user, IntList cases, CodeAddress[] targets) argument 209 packedCodeSize(IntList cases) argument 225 sparseCodeSize(IntList cases) argument 238 shouldPack(IntList cases) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
H A D | SwitchInsn.java | 25 * Instruction which contains switch cases. 29 /** {@code non-null;} list of switch cases */ 30 private final IntList cases; field in class:SwitchInsn 39 * @param cases {@code non-null;} list of switch cases 42 RegisterSpecList sources, IntList cases) { 49 if (cases == null) { 50 throw new NullPointerException("cases == null"); 53 this.cases = cases; 41 SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, IntList cases) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | SwitchData.java | 38 /** {@code non-null;} sorted list of switch cases (keys) */ 39 private final IntList cases; field in class:SwitchData 57 * @param cases {@code non-null;} sorted list of switch cases (keys) 62 IntList cases, CodeAddress[] targets) { 69 if (cases == null) { 70 throw new NullPointerException("cases == null"); 77 int sz = cases.size(); 80 throw new IllegalArgumentException("cases / targets mismatch"); 84 throw new IllegalArgumentException("too many cases"); 61 SwitchData(SourcePosition position, CodeAddress user, IntList cases, CodeAddress[] targets) argument 210 packedCodeSize(IntList cases) argument 226 sparseCodeSize(IntList cases) argument 239 shouldPack(IntList cases) argument [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | SwitchInsn.java | 25 * Instruction which contains switch cases. 29 /** {@code non-null;} list of switch cases */ 30 private final IntList cases; field in class:SwitchInsn 39 * @param cases {@code non-null;} list of switch cases 42 RegisterSpecList sources, IntList cases) { 49 if (cases == null) { 50 throw new NullPointerException("cases == null"); 53 this.cases = cases; 41 SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, IntList cases) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | Machine.java | 183 * @param cases {@code non-null;} the list of key-target pairs, plus the default 186 public void auxSwitchArg(SwitchList cases); argument
|
H A D | BaseMachine.java | 57 /** {@code null-ok;} auxiliary switch cases argument */ 246 public final void auxSwitchArg(SwitchList cases) { argument 247 if (cases == null) { 248 throw new NullPointerException("cases == null"); 251 auxCases = cases; 345 * Gets the switch cases auxiliary argument.
|
H A D | BasicBlocker.java | 247 SwitchList cases, int padding) { 249 addWorkIfNecessary(cases.getDefaultTarget(), true); 251 int sz = cases.size(); 253 addWorkIfNecessary(cases.getTarget(i), true); 256 targetLists[offset] = cases.getTargets(); 246 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
|
H A D | BytecodeArray.java | 842 SwitchList cases = new SwitchList(count); 846 cases.add(low + i, target); 848 cases.setDefaultTarget(defaultTarget); 849 cases.removeSuperfluousDefaults(); 850 cases.setImmutable(); 853 visitor.visitSwitch(ByteOps.LOOKUPSWITCH, offset, length, cases, 879 SwitchList cases = new SwitchList(npairs); 884 cases.add(match, target); 886 cases.setDefaultTarget(defaultTarget); 887 cases 1253 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument 1324 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument 1401 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument [all...] |
H A D | Simulator.java | 131 * <p>The interesting cases here have to do with object arrays, 536 * takes care of all the salient cases (types are the same, 745 SwitchList cases, int padding) { 748 machine.auxSwitchArg(cases); 744 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | CodeObserver.java | 152 SwitchList cases, int padding) { 153 int sz = cases.size(); 164 sb.append(Hex.s4(cases.getValue(i))); 166 sb.append(Hex.u2(cases.getTarget(i))); 171 sb.append(Hex.u2(cases.getDefaultTarget())); 151 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
|