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.java248 SwitchList cases, int padding) {
250 addWorkIfNecessary(cases.getDefaultTarget(), true);
252 int sz = cases.size();
254 addWorkIfNecessary(cases.getTarget(i), true);
257 targetLists[offset] = cases.getTargets();
247 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
H A DBytecodeArray.java847 SwitchList cases = new SwitchList(count);
851 cases.add(low + i, target);
853 cases.setDefaultTarget(defaultTarget);
854 cases.removeSuperfluousDefaults();
855 cases.setImmutable();
858 visitor.visitSwitch(ByteOps.LOOKUPSWITCH, offset, length, cases,
884 SwitchList cases = new SwitchList(npairs);
889 cases.add(match, target);
891 cases.setDefaultTarget(defaultTarget);
892 cases
1258 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
1329 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
1406 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
[all...]
H A DSimulator.java140 * <p>The interesting cases here have to do with object arrays,
556 * takes care of all the salient cases (types are the same,
800 SwitchList cases, int padding) {
803 machine.auxSwitchArg(cases);
799 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
/dalvik/dx/src/com/android/dx/cf/direct/
H A DCodeObserver.java152 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

Completed in 199 milliseconds