Searched defs:cases (Results 1 - 10 of 10) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DSwitchData.java37 /** {@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 DSwitchInsn.java25 * 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 DSwitchData.java38 /** {@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 DSwitchInsn.java25 * 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 DMachine.java183 * @param cases {@code non-null;} the list of key-target pairs, plus the default
186 public void auxSwitchArg(SwitchList cases); argument
H A DBaseMachine.java57 /** {@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 DBasicBlocker.java247 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 DBytecodeArray.java838 SwitchList cases = new SwitchList(count);
842 cases.add(low + i, target);
844 cases.setDefaultTarget(defaultTarget);
845 cases.removeSuperfluousDefaults();
846 cases.setImmutable();
849 visitor.visitSwitch(ByteOps.LOOKUPSWITCH, offset, length, cases,
875 SwitchList cases = new SwitchList(npairs);
880 cases.add(match, target);
882 cases.setDefaultTarget(defaultTarget);
883 cases
1249 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
1320 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
1397 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
[all...]
H A DSimulator.java132 * <p>The interesting cases here have to do with object arrays,
537 * takes care of all the salient cases (types are the same,
746 SwitchList cases, int padding) {
749 machine.auxSwitchArg(cases);
745 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
/dalvik/dx/src/com/android/dx/cf/direct/
H A DCodeObserver.java155 SwitchList cases, int padding) {
156 int sz = cases.size();
167 sb.append(Hex.s4(cases.getValue(i)));
169 sb.append(Hex.u2(cases.getTarget(i)));
174 sb.append(Hex.u2(cases.getDefaultTarget()));
154 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument

Completed in 298 milliseconds