/dalvik/dx/tests/121-sccp/ |
D | Blort.java | 5 int a, b, c, d; in testIntAddSub() local 6 a = 3; in testIntAddSub() 7 b = 5 - a; in testIntAddSub() 9 c = a + b; in testIntAddSub() 11 a = d - b; in testIntAddSub() 22 int a = 6; in testIntMult() local 23 int b = 9 - a; in testIntMult() 33 int a = 30; in testIntDiv() local 34 int b = 9 - a / 5; in testIntDiv() 40 return c * (60 / a); in testIntDiv() [all …]
|
D | Blort.debug.class | ... > ()
public static int testIntAddSub ()
int a
int b
int c
int d
public static int testIntMult |
/dalvik/dx/tests/032-bb-live-code/ |
D | expected.txt | 96 001b: if_icmpge 003a 98 next 003a 111 block 0027: 0027..002a 113 next 002a 115 block 002a: 002a..002d 116 002a: ifnull 003f 150 block 0039: 0039..003a 153 block 003a: 003a..003b 154 003a: return 189 000a: ret 00 [all …]
|
/dalvik/dx/tests/024-code-bytecode/ |
D | small-class.txt | 22 04 42f6e666 # 000a: float[123.45] 31 0a 0001 0013 # 0015: method[Small.blort:()V] 63 0a # 000a: lconst_1 73 12 0a # 0019: ldc <float> 76 13 000a # 0021: ldc_w <float> 79 15 01 # 002a: iload 01 84 1a # 0034: iload_0 90 20 # 003a: lload_2 100 2a # 0044: aload_0 106 30 # 004a: faload [all …]
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | OneRegisterDecodedInstruction.java | 26 private final int a; field in OneRegisterDecodedInstruction 33 int a) { in OneRegisterDecodedInstruction() argument 36 this.a = a; in OneRegisterDecodedInstruction() 48 return a; in getA() 56 getTarget(), getLiteral(), a); in withIndex()
|
D | RegisterRangeDecodedInstruction.java | 27 private final int a; field in RegisterRangeDecodedInstruction 37 int a, int registerCount) { in RegisterRangeDecodedInstruction() argument 40 this.a = a; in RegisterRangeDecodedInstruction() 53 return a; in getA() 61 getTarget(), getLiteral(), a, registerCount); in withIndex()
|
D | TwoRegisterDecodedInstruction.java | 26 private final int a; field in TwoRegisterDecodedInstruction 36 int a, int b) { in TwoRegisterDecodedInstruction() argument 39 this.a = a; in TwoRegisterDecodedInstruction() 52 return a; in getA() 66 getTarget(), getLiteral(), a, b); in withIndex()
|
D | ThreeRegisterDecodedInstruction.java | 26 private final int a; field in ThreeRegisterDecodedInstruction 39 int a, int b, int c) { in ThreeRegisterDecodedInstruction() argument 42 this.a = a; in ThreeRegisterDecodedInstruction() 56 return a; in getA() 76 getTarget(), getLiteral(), a, b, c); in withIndex()
|
D | FourRegisterDecodedInstruction.java | 26 private final int a; field in FourRegisterDecodedInstruction 42 int a, int b, int c, int d) { in FourRegisterDecodedInstruction() argument 45 this.a = a; in FourRegisterDecodedInstruction() 60 return a; in getA() 86 getTarget(), getLiteral(), a, b, c, d); in withIndex()
|
D | FiveRegisterDecodedInstruction.java | 26 private final int a; field in FiveRegisterDecodedInstruction 45 int a, int b, int c, int d, int e) { in FiveRegisterDecodedInstruction() argument 48 this.a = a; in FiveRegisterDecodedInstruction() 64 return a; in getA() 96 getTarget(), getLiteral(), a, b, c, d, e); in withIndex()
|
D | DecodedInstruction.java | 289 int a = getA(); in getAUnit() local 291 if ((a & ~0xffff) != 0) { in getAUnit() 292 throw new DexException("Register A out of range: " + Hex.u8(a)); in getAUnit() 295 return (short) a; in getAUnit() 303 int a = getA(); in getAByte() local 305 if ((a & ~0xff) != 0) { in getAByte() 306 throw new DexException("Register A out of range: " + Hex.u8(a)); in getAByte() 309 return (short) a; in getAByte() 317 int a = getA(); in getANibble() local 319 if ((a & ~0xf) != 0) { in getANibble() [all …]
|
D | InstructionCodec.java | 69 int a = nibble2(opcodeUnit); in FORMAT_12X() local 74 a, b); in FORMAT_12X() 90 int a = nibble2(opcodeUnit); in FORMAT_11N() local 95 a); in FORMAT_11N() 111 int a = byte1(opcodeUnit); in FORMAT_11X() local 115 a); in FORMAT_11X() 189 int a = byte1(opcodeUnit); in FORMAT_22X() local 194 a, b); in FORMAT_22X() 211 int a = byte1(opcodeUnit); in FORMAT_21T() local 216 a); in FORMAT_21T() [all …]
|
/dalvik/dx/tests/115-merge/testdata/ |
D | Annotated.java | 6 @Annotated.Marker(a = "on class", b = {"A", "B", "C" }, 11 @Annotated.Marker(a="on field") 14 @Annotated.Marker(a="on method") 15 public void method(String a, @Annotated.Marker(a="on parameter") String b) {} in method() argument 19 String a() default ""; in a() method
|
/dalvik/dx/src/com/android/dex/ |
D | Mutf8.java | 35 char a = (char) (in.readByte() & 0xff); in decode() local 36 if (a == 0) { in decode() 39 out[s] = a; in decode() 40 if (a < '\u0080') { in decode() 42 } else if ((a & 0xe0) == 0xc0) { in decode() 47 out[s++] = (char) (((a & 0x1F) << 6) | (b & 0x3F)); in decode() 48 } else if ((a & 0xf0) == 0xe0) { in decode() 54 out[s++] = (char) (((a & 0x0F) << 12) | ((b & 0x3F) << 6) | (c & 0x3F)); in decode()
|
/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 2 embedding a switch statement in a try-catch and vice versa. This test 3 was created specifically because of a bug with exactly this situation. 5 This test compares emitted code against a known-good (via eyeballing)
|
/dalvik/dx/tests/079-dex-local-variable-renumbering/ |
D | expected.txt | 8 000a: const/16 v19, #float 0.0 // #0000 16 001a: const/16 v19, #float 0.0 // #0000 24 002a: const/16 v19, #float 0.0 // #0000 32 003a: const/16 v19, #float 0.0 // #0000 40 004a: neg-int v0, v0 53 000a: advance pc 54 000a: +local v3 f1 float 61 001a: advance pc 62 001a: +local v7 f5 float 69 002a: advance pc [all …]
|
/dalvik/dx/tests/100-local-mismatch/ |
D | expected.txt | 2 local variable type mismatch: attempt to set or access a value of type int using a local variable o… 4 local variable type mismatch: attempt to set or access a value of type java.lang.Object using a loc… 6 local variable type mismatch: attempt to set or access a value of type int using a local variable o… 8 local variable type mismatch: attempt to set or access a value of type java.lang.String using a loc…
|
/dalvik/tools/dexdeps/ |
D | README.txt | 4 This tool dumps a list of fields and methods that a DEX file uses but does 5 not define. When combined with a list of public APIs, it can be used to 8 requires a certain minimum API level to execute. 14 For zip archives (including .jar and .apk), dexdeps will look for a 26 "xml" produces a larger output file, readable with an XML browser. Types 27 are shown in a more human-readable form (e.g. "[I" becomes "int[]"). 31 Indicates that output should only include a list of classes, as
|
/dalvik/dx/tests/143-interface-methods/ |
D | expected.txt | 3 …m.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: invoking a default interface me… 6 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… 8 …e.SimException: ERROR in InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface met… 11 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi… 14 …m.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: invoking a default interface me… 17 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… 19 …e.SimException: ERROR in InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface met… 22 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi… 25 …m.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: invoking a default interface me… 28 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req… [all …]
|
/dalvik/dx/tests/112-dex-return-jsr-result/ |
D | info.txt | 1 This test checks to make sure a result returned more-or-less directly 2 from a jsr subroutine ends up being represented appropriately. 4 In particular, this is a regression test for a bug which caused a
|
/dalvik/dx/tests/021-code-attrib-LineNumberTable/ |
D | info.txt | 1 This is a dump of a simple class which is valid in structure but is overall 5 The salient bit of parsing tested here is that the class has a single 6 method with a simple Code attribute, which itself has a syntactically
|
/dalvik/dx/tests/022-code-attrib-LocalVariableTable/ |
D | info.txt | 1 This is a dump of a simple class which is valid in structure but is overall 5 The salient bit of parsing tested here is that the class has a single 6 method with a simple Code attribute, which itself has a syntactically
|
/dalvik/dx/tests/023-code-exception-table/ |
D | info.txt | 1 This is a dump of a simple class which is valid in structure but is overall 5 The salient bit of parsing tested here is that the class has a single 6 method with a minimal but syntactically valid Code attribute, which 7 sports a non-empty syntactically valid exception table.
|
/dalvik/dx/src/com/android/dex/util/ |
D | Unsigned.java | 29 int a = ushortA & 0xFFFF; in compare() local 31 return a < b ? -1 : 1; in compare() 38 long a = uintA & 0xFFFFFFFFL; in compare() local 40 return a < b ? -1 : 1; in compare()
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | ClassPathOpener.java | 187 private static int compareClassNames(String a, String b) { in compareClassNames() argument 189 a = a.replace('$','0'); in compareClassNames() 196 a = a.replace("package-info", ""); in compareClassNames() 199 return a.compareTo(b); in compareClassNames() 222 public int compare(File a, File b) { in processDirectory() 223 return compareClassNames(a.getName(), b.getName()); in processDirectory() 252 public int compare (ZipEntry a, ZipEntry b) { in processArchive() 253 return compareClassNames(a.getName(), b.getName()); in processArchive()
|