/dalvik/dx/src/com/android/dx/dex/code/ |
D | SwitchData.java | 39 private final IntList cases; field in SwitchData 62 IntList cases, CodeAddress[] targets) { in SwitchData() argument 69 if (cases == null) { in SwitchData() 77 int sz = cases.size(); in SwitchData() 88 this.cases = cases; in SwitchData() 90 this.packed = shouldPack(cases); in SwitchData() 96 return packed ? (int) packedCodeSize(cases) : in codeSize() 97 (int) sparseCodeSize(cases); in codeSize() 108 int firstCase = (sz == 0) ? 0 : cases.get(0); in writeTo() 109 int lastCase = (sz == 0) ? 0 : cases.get(sz - 1); in writeTo() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | SwitchData.java | 38 private final IntList cases; field in SwitchData 61 IntList cases, CodeAddress[] targets) { in SwitchData() argument 68 if (cases == null) { in SwitchData() 76 int sz = cases.size(); in SwitchData() 87 this.cases = cases; in SwitchData() 89 this.packed = shouldPack(cases); in SwitchData() 95 return packed ? (int) packedCodeSize(cases) : in codeSize() 96 (int) sparseCodeSize(cases); in codeSize() 107 int firstCase = (sz == 0) ? 0 : cases.get(0); in writeTo() 108 int lastCase = (sz == 0) ? 0 : cases.get(sz - 1); in writeTo() [all …]
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | SwitchInsn.java | 30 private final IntList cases; field in SwitchInsn 42 RegisterSpecList sources, IntList cases) { in SwitchInsn() argument 49 if (cases == null) { in SwitchInsn() 53 this.cases = cases; in SwitchInsn() 59 return cases.toString(); in getInlineString() 86 cases); in withRegisterOffset() 108 cases); in withNewRegisters() 117 return cases; in getCases()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | SwitchInsn.java | 30 private final IntList cases; field in SwitchInsn 42 RegisterSpecList sources, IntList cases) { in SwitchInsn() argument 49 if (cases == null) { in SwitchInsn() 53 this.cases = cases; in SwitchInsn() 59 return cases.toString(); in getInlineString() 86 cases); in withRegisterOffset() 108 cases); in withNewRegisters() 117 return cases; in getCases()
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | CodeObserver.java | 158 SwitchList cases, int padding) { in visitSwitch() argument 159 int sz = cases.size(); in visitSwitch() 170 sb.append(Hex.s4(cases.getValue(i))); in visitSwitch() 172 sb.append(Hex.u2(cases.getTarget(i))); in visitSwitch() 177 sb.append(Hex.u2(cases.getDefaultTarget())); in visitSwitch()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BasicBlocker.java | 257 SwitchList cases, int padding) { in visitSwitch() argument 259 addWorkIfNecessary(cases.getDefaultTarget(), true); in visitSwitch() 261 int sz = cases.size(); in visitSwitch() 263 addWorkIfNecessary(cases.getTarget(i), true); in visitSwitch() 266 targetLists[offset] = cases.getTargets(); in visitSwitch()
|
D | BytecodeArray.java | 846 SwitchList cases = new SwitchList(count); in parseTableswitch() local 850 cases.add(low + i, target); in parseTableswitch() 852 cases.setDefaultTarget(defaultTarget); in parseTableswitch() 853 cases.removeSuperfluousDefaults(); in parseTableswitch() 854 cases.setImmutable(); in parseTableswitch() 857 visitor.visitSwitch(ByteOps.LOOKUPSWITCH, offset, length, cases, in parseTableswitch() 883 SwitchList cases = new SwitchList(npairs); in parseLookupswitch() local 888 cases.add(match, target); in parseLookupswitch() 890 cases.setDefaultTarget(defaultTarget); in parseLookupswitch() 891 cases.removeSuperfluousDefaults(); in parseLookupswitch() [all …]
|
/dalvik/dx/tests/064-dex-array-access/ |
D | info.txt | 2 a few cases of array access get converted reasonably.
|
/dalvik/dx/tests/062-dex-synch-method/ |
D | info.txt | 2 a couple cases of synchronized methods get converted reasonably.
|
/dalvik/dx/tests/060-dex-call-static/ |
D | info.txt | 2 a couple cases of static method invocation work properly.
|
/dalvik/dx/tests/072-dex-switch-edge-cases/ |
D | info.txt | 2 a bunch of switch op edge cases get converted reasonably.
|
/dalvik/dx/tests/058-dex-call-direct/ |
D | info.txt | 2 a couple cases of direct instance method invocation work properly.
|
/dalvik/dx/tests/070-dex-multianewarray/ |
D | info.txt | 2 cases of multidimensional array construction get converted reasonably.
|
/dalvik/dx/tests/057-dex-call-virtual/ |
D | info.txt | 2 a couple cases of regular virtual method invocation work properly.
|
/dalvik/dx/tests/061-dex-try-catch/ |
D | info.txt | 2 a couple cases of try-catch work properly.
|
/dalvik/dx/tests/066-dex-try-catch-rethrow/ |
D | info.txt | 1 This is a smoke test of dex conversion, which looks at a few cases of
|
/dalvik/dx/tests/059-dex-call-super/ |
D | info.txt | 2 a couple cases of superclass virtual method invocation work properly.
|
/dalvik/dx/tests/056-dex-call-interface/ |
D | info.txt | 2 a couple cases of interface method invocation work properly.
|
/dalvik/dx/tests/046-dex-exceptions/ |
D | info.txt | 2 a couple simple cases of exception handling get converted reasonably.
|
/dalvik/dx/tests/068-dex-infinite-loop/ |
D | info.txt | 2 cases of (potentially) infinite loops translate reasonably.
|
/dalvik/dx/tests/065-dex-new-array/ |
D | info.txt | 2 a few cases of array construction get converted reasonably.
|
/dalvik/dx/tests/063-dex-empty-switch/ |
D | info.txt | 2 a couple cases of empty (that is, default-only) switch statements
|
/dalvik/dx/tests/073-dex-null-array-refs/ |
D | info.txt | 2 a bunch of cases convert reasonably, where necessarily or possibly
|
/dalvik/dx/tests/067-dex-switch-and-try/ |
D | info.txt | 1 This is a smoke test of dex conversion, which looks at a couple cases of
|
/dalvik/dx/tests/034-dex-minimal/ |
D | info.txt | 1 This is a smoke test of a couple cases of minimal dex creation:
|