/dalvik/dx/tests/121-sccp/ |
D | Blort.java | 5 int a, b, c, d; in testIntAddSub() local 9 c = a + b; in testIntAddSub() 12 if (c <= d) { in testIntAddSub() 13 c = d + 1; in testIntAddSub() 15 return c; in testIntAddSub() 24 int c = b * 4; in testIntMult() local 26 if (c > 10) { in testIntMult() 27 c = c - 10; in testIntMult() 29 return c * 2; in testIntMult() 35 int c = b * 4; in testIntDiv() local [all …]
|
D | Blort.debug.class | ... static int testIntAddSub ()
int a
int b
int c
int d
public static int testIntMult ()
int a |
/dalvik/dx/tests/143-interface-methods/ |
D | run | 40 for c in $CLASS_FILES; do 41 echo $c 42 dx --dex --dump-width=500 --dump-to=$c.log --min-sdk-version=$API_LEVEL $c 44 if [[ $API_LEVEL -lt ${SUPPORT_THRESHOLD[$c]} ]]; then 45 echo Unexpected success for $c at API level $API_LEVEL 1>&2 46 cat $c.log 50 if [[ $API_LEVEL -ge ${SUPPORT_THRESHOLD[$c]} ]]; then 51 echo Unexpected failure for $c at API level $API_LEVEL 1>&2 74 for c in $CLASS_FILES; do 75 echo $c [all …]
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstString.java | 52 char c = string.charAt(i); in stringToUtf8Bytes() local 53 if ((c != 0) && (c < 0x80)) { in stringToUtf8Bytes() 54 bytes[outAt] = (byte) c; in stringToUtf8Bytes() 56 } else if (c < 0x800) { in stringToUtf8Bytes() 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); in stringToUtf8Bytes() 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); in stringToUtf8Bytes() 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); in stringToUtf8Bytes() 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); in stringToUtf8Bytes() 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80); in stringToUtf8Bytes() 250 char c = string.charAt(i); in toHuman() local [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstUtf8.java | 52 char c = string.charAt(i); in stringToUtf8Bytes() local 53 if ((c != 0) && (c < 0x80)) { in stringToUtf8Bytes() 54 bytes[outAt] = (byte) c; in stringToUtf8Bytes() 56 } else if (c < 0x800) { in stringToUtf8Bytes() 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); in stringToUtf8Bytes() 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); in stringToUtf8Bytes() 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); in stringToUtf8Bytes() 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); in stringToUtf8Bytes() 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80); in stringToUtf8Bytes() 249 char c = string.charAt(i); in toHuman() local [all …]
|
/dalvik/dx/tests/080-dex-exception-tables/ |
D | expected.txt | 6 0009: const/16 v1, #int 12 // #000c 8 000c: return v0 13 0012: goto 000c // -0006 18 0018: goto 000c // -000c 29 0009: const/16 v1, #int 12 // #000c 31 000c: return v0 36 0012: goto 000c // -0006 41 0018: goto 000c // -000c 57 000c: invoke-static {}, Blort.call5:()V 70 001e: goto 0012 // -000c [all …]
|
/dalvik/dx/tests/034-dex-minimal/ |
D | expected.txt | 4 00000c: 1d9c 3f88 730d|signature 8 000020: 8c00 0000 |file_size: 0000008c 11 00002c: 0000 0000 |link_size: 0 15 00003c: 0000 0000 |string_ids_off: 00000000 19 00004c: 0000 0000 |proto_ids_off: 00000000 23 00005c: 0000 0000 |method_ids_off: 00000000 26 000068: 1c00 0000 |data_size: 0000001c 27 00006c: 7000 0000 |data_off: 00000070 56 00007c: 0000 0000 | offset: 00000000
|
/dalvik/dx/tests/032-bb-live-code/ |
D | expected.txt | 71 block 0009: 0009..000c 73 next 000c 75 block 000c: 000c..000f 76 000c: ifgt 0035 104 0021: if_icmple 003c 106 next 003c 156 block 003b: 003b..003c 159 block 003c: 003c..003d 160 003c: return 181 0003: jsr_w 0000000c [all …]
|
/dalvik/dx/tests/132-invoke-polymorphic/ |
D | expected.txt | 5 00000c: 8d21 2f5c 9993 542c 2566|signature 10 00002c: 0000 0000 |link_size: 0 14 00003c: 7000 0000 |string_ids_off: 00000070 15 000040: 0c00 0000 |type_ids_size: 0000000c 18 00004c: 8001 0000 |proto_ids_off: 00000180 22 00005c: 4c02 0000 |method_ids_off: 0000024c 24 000064: 6c03 0000 |class_defs_off: 0000036c 26 00006c: 8c03 0000 |data_off: 0000038c 36 00007c: 7f06 0000 | string_data_off: 0000067f 44 00008c: 9006 0000 | string_data_off: 00000690 [all …]
|
/dalvik/dx/tests/024-code-bytecode/ |
D | small-class.txt | 28 0c 000f 0010 # 0012: nat[blort:x/y/Zzz] 29 0c 000f 0011 # 0013: nat[blort:()V] 65 0c # 000c: fconst_1 80 16 02 # 002c: lload 02 86 1c # 0036: iload_2 92 22 # 003c: fload_0 102 2c # 0046: aload_2 108 32 # 004c: aaload 118 3c # 005b: istore_1 119 3d # 005c: istore_2 [all …]
|
/dalvik/dx/tests/139-lambda-metafactory/ |
D | expected.txt | 3 00000c: 8798 f7ff b191 97b1 2e9c|signature 5 000020: 3c07 0000 |file_size: 0000073c 8 00002c: 0000 0000 |link_size: 0 11 000038: 2c00 0000 |string_ids_size: 0000002c 12 00003c: 7000 0000 |string_ids_off: 00000070 16 00004c: 6401 0000 |proto_ids_off: 00000164 20 00005c: e001 0000 |method_ids_off: 000001e0 23 000068: 8c04 0000 |data_size: 0000048c 24 00006c: b002 0000 |data_off: 000002b0 34 00007c: d303 0000 | string_data_off: 000003d3 [all …]
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | InvokePolymorphicRangeDecodedInstruction.java | 24 private final int c; field in InvokePolymorphicRangeDecodedInstruction 33 int c, in InvokePolymorphicRangeDecodedInstruction() argument 40 this.c = c; in InvokePolymorphicRangeDecodedInstruction() 52 return c; in getC() 62 c, in withProtoIndex()
|
D | ThreeRegisterDecodedInstruction.java | 32 private final int c; field in ThreeRegisterDecodedInstruction 39 int a, int b, int c) { in ThreeRegisterDecodedInstruction() argument 44 this.c = c; in ThreeRegisterDecodedInstruction() 68 return c; in getC() 76 getTarget(), getLiteral(), a, b, c); in withIndex()
|
D | FourRegisterDecodedInstruction.java | 32 private final int c; field in FourRegisterDecodedInstruction 42 int a, int b, int c, int d) { in FourRegisterDecodedInstruction() argument 47 this.c = c; in FourRegisterDecodedInstruction() 72 return c; in getC() 86 getTarget(), getLiteral(), a, b, c, d); in withIndex()
|
D | FiveRegisterDecodedInstruction.java | 32 private final int c; field in FiveRegisterDecodedInstruction 45 int a, int b, int c, int d, int e) { in FiveRegisterDecodedInstruction() argument 50 this.c = c; in FiveRegisterDecodedInstruction() 76 return c; in getC() 96 getTarget(), getLiteral(), a, b, c, d, e); in withIndex()
|
D | DecodedInstruction.java | 373 int c = getC(); in getCUnit() local 375 if ((c & ~0xffff) != 0) { in getCUnit() 376 throw new DexException("Register C out of range: " + Hex.u8(c)); in getCUnit() 379 return (short) c; in getCUnit() 387 int c = getC(); in getCByte() local 389 if ((c & ~0xff) != 0) { in getCByte() 390 throw new DexException("Register C out of range: " + Hex.u8(c)); in getCByte() 393 return (short) c; in getCByte() 401 int c = getC(); in getCNibble() local 403 if ((c & ~0xf) != 0) { in getCNibble() [all …]
|
/dalvik/dx/tests/085-dex-jsr-ret/ |
D | expected.txt | 24 block 000c 26 blort.j:@000c: move-int v4:I <- v0:I 27 blort.j:@000c: goto . <- . 30 pred 000c 41 blort.j:@002c: return-object . <- v0:Ljava/lang/Object; 52 pred 003c 61 blort.j:@001c: move-object v7:Lblort; <- v4:Lblort; 62 blort.j:@001c: move-object v4:Lblort; <- v7:Lblort; 63 blort.j:@001c: move-object v5:Lblort; <- v7:Lblort; 77 next 003c * [all …]
|
/dalvik/opcode-gen/ |
D | bytecode.txt | 36 format 21c 31c 39 format 22c 41 format 35c 3rc 103 op 0c move-result-object 11x y none continue 117 op 1a const-string 21c y string-ref continue|throw 118 op 1b const-string/jumbo 31c y string-ref continue|throw 119 op 1c const-class 21c y type-ref continue|throw 122 op 1f check-cast 21c y type-ref continue|throw 123 op 20 instance-of 22c y type-ref continue|throw 125 op 22 new-instance 21c y type-ref continue|throw [all …]
|
/dalvik/dx/tests/072-dex-switch-edge-cases/ |
D | expected.txt | 14 0003: packed-switch v2, 000c // +0009 21 000c: packed-switch-payload // for switch @ 0003 28 0003: packed-switch v2, 000c // +0009 35 000c: packed-switch-payload // for switch @ 0003 42 0003: packed-switch v2, 000c // +0009 49 000c: packed-switch-payload // for switch @ 0003 63 000c: const/4 v2, #int 1 // #1 68 -2147483648: 0000000c // +00000009 82 000c: const/4 v2, #int 1 // #1 88 2147483647: 0000000c // +00000009 [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | HexParser.java | 88 char c = line.charAt(i); in parse() local 91 if (c == '\"') { in parse() 94 result[outAt] = (byte) c; in parse() 100 if (c <= ' ') { in parse() 103 if (c == '\"') { in parse() 112 int digVal = Character.digit(c, 16); in parse() 115 c + "\""); in parse()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | HexParser.java | 88 char c = line.charAt(i); in parse() local 91 if (c == '\"') { in parse() 94 result[outAt] = (byte) c; in parse() 100 if (c <= ' ') { in parse() 103 if (c == '\"') { in parse() 112 int digVal = Character.digit(c, 16); in parse() 115 c + "\""); in parse()
|
/dalvik/dx/tests/045-dex-switch-ops/ |
D | expected.txt | 13 000c: const/4 v2, #int 3 // #3 21 0014: goto 0008 // -000c 25 2: 0000000c // +00000009 26 3: 0000000f // +0000000c 40 000c: const/4 v2, #int 3 // #3 51 10: 0000000c // +00000009 52 100: 0000000f // +0000000c
|
/dalvik/dx/tests/092-ssa-cfg-edge-cases/ |
D | expected.txt | 27 next 001c 28 next 001c 29 next 001c 31 block 001c 35 Blort.java:9@001c: get-static-object(java.lang.System.out:Ljava/io/PrintStrea 37 next 002c 39 pred 002c 45 tring; call throws <any>}(java.io.PrintStream.println:(Ljava/lang/String;)V c 59 block 002c 60 pred 001c [all …]
|
/dalvik/dx/tests/135-invoke-custom/ |
D | expected.txt | 7 00000c: 665a 629f 7c24 f7b7 45c0|signature 8 000016: f275 8a42 7d1e 887c c413| 12 00002c: 0000 0000 |link_size: 0 16 00003c: 7000 0000 |string_ids_off: 00000070 18 000044: 0c03 0000 |type_ids_off: 0000030c 20 00004c: a403 0000 |proto_ids_off: 000003a4 24 00005c: 2006 0000 |method_ids_off: 00000620 28 00006c: 9809 0000 |data_off: 00000998 38 00007c: dd16 0000 | string_data_off: 000016dd 46 00008c: f816 0000 | string_data_off: 000016f8 [all …]
|
/dalvik/dx/tests/067-dex-switch-and-try/ |
D | expected.txt | 12 000c: goto 0006 // -0006 31 000c: invoke-static {}, Blort.blort:()V 45 try 000c..000f 58 000c: invoke-static {}, Blort.blort:()V 62 0012: goto 0006 // -000c 72 try 000c..000f 85 000c: invoke-static {}, Blort.blort:()V 89 0012: goto 0006 // -000c 99 try 000c..000f
|