/dalvik/dx/tests/121-sccp/ |
D | Blort.java | 5 int a, b, c, d; in testIntAddSub() local 7 b = 5 - a; in testIntAddSub() 9 c = a + b; in testIntAddSub() 11 a = d - b; in testIntAddSub() 17 b = 2; in testIntAddSub() 23 int b = 9 - a; in testIntMult() local 24 int c = b * 4; in testIntMult() 34 int b = 9 - a / 5; in testIntDiv() local 35 int c = b * 4; in testIntDiv() 45 int b = a % 3; in testIntMod() local [all …]
|
/dalvik/dx/tests/090-dex-unify-arrays/ |
D | Blort.java | 24 static public Object test1(boolean b) { in test1() argument 25 return (b ? new String[1] : new Integer[1])[0]; in test1() 28 static public int test2(boolean b) { in test2() argument 29 Object o = b ? (Object) new int[1] : new float[1]; in test2() 33 static public int test3(boolean b) { in test3() argument 34 Object o = b ? (Object) new char[1] : new double[1]; in test3() 38 static public int test4(boolean b) { in test4() argument 39 Object o = b ? (Object) new long[1] : new boolean[1]; in test4() 43 static public int test5(boolean b) { in test5() argument 44 Object o = b ? (Object) new short[1] : new Object[1]; in test5() [all …]
|
/dalvik/libdex/ |
D | sha1.cpp | 138 unsigned long a, b, c, d, e; in SHA1Transform() local 153 b = state[1]; in SHA1Transform() 158 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); in SHA1Transform() 159 R0(c,d,e,a,b, 3); R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); in SHA1Transform() 160 R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); R0(c,d,e,a,b, 8); in SHA1Transform() 161 R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 162 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); in SHA1Transform() 163 R0(a,b,c,d,e,15); R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); in SHA1Transform() 164 R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); R2(a,b,c,d,e,20); in SHA1Transform() 165 R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() [all …]
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | TwoRegisterDecodedInstruction.java | 29 private final int b; field in TwoRegisterDecodedInstruction 36 int a, int b) { in TwoRegisterDecodedInstruction() argument 40 this.b = b; in TwoRegisterDecodedInstruction() 55 return b; in getB() 62 getTarget(), getLiteral(), a, b); in withIndex()
|
D | ThreeRegisterDecodedInstruction.java | 29 private final int b; field in ThreeRegisterDecodedInstruction 39 int a, int b, int c) { in ThreeRegisterDecodedInstruction() argument 43 this.b = b; in ThreeRegisterDecodedInstruction() 59 return b; in getB() 71 getTarget(), getLiteral(), a, b, c); in withIndex()
|
D | FourRegisterDecodedInstruction.java | 29 private final int b; field in FourRegisterDecodedInstruction 42 int a, int b, int c, int d) { in FourRegisterDecodedInstruction() argument 46 this.b = b; in FourRegisterDecodedInstruction() 63 return b; in getB() 80 getTarget(), getLiteral(), a, b, c, d); in withIndex()
|
D | FiveRegisterDecodedInstruction.java | 29 private final int b; field in FiveRegisterDecodedInstruction 45 int a, int b, int c, int d, int e) { in FiveRegisterDecodedInstruction() argument 49 this.b = b; in FiveRegisterDecodedInstruction() 67 return b; in getB() 89 getTarget(), getLiteral(), a, b, c, d, e); in withIndex()
|
D | DecodedInstruction.java | 331 int b = getB(); in getBUnit() local 333 if ((b & ~0xffff) != 0) { in getBUnit() 334 throw new DexException("Register B out of range: " + Hex.u8(b)); in getBUnit() 337 return (short) b; in getBUnit() 345 int b = getB(); in getBByte() local 347 if ((b & ~0xff) != 0) { in getBByte() 348 throw new DexException("Register B out of range: " + Hex.u8(b)); in getBByte() 351 return (short) b; in getBByte() 359 int b = getB(); in getBNibble() local 361 if ((b & ~0xf) != 0) { in getBNibble() [all …]
|
/dalvik/dx/tests/058-dex-call-direct/ |
D | Blort.java | 19 public static int test(Blort b) { in test() argument 20 b.zorch1(); in test() 21 return b.zorch2(5); in test()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | SortableType.java | 29 public int compare(SortableType a, SortableType b) { 30 if (a == b) { 33 if (b == null) { 39 if (a.depth != b.depth) { 40 return a.depth - b.depth; 42 return a.getTypeIndex() - b.getTypeIndex();
|
/dalvik/dx/tests/024-code-bytecode/ |
D | small-class.txt | 23 05 12345678 9abcdef0 # 000b: long[0x1234567890abcdef0] 32 0b 0001 0013 # 0016: ifaceMethod[Small.blort:()V] 64 0b # 000b: fconst_0 74 13 0008 # 001b: ldc_w <string> 77 14 000b # 0024: ldc2_w <long> 85 1b # 0035: iload_1 91 21 # 003b: lload_3 101 2b # 0045: aload_1 107 31 # 004b: daload 117 3b # 005a: istore_0 [all …]
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | ClassPathOpener.java | 188 private static int compareClassNames(String a, String b) { in compareClassNames() argument 191 b = b.replace('$','0'); in compareClassNames() 198 b = b.replace("package-info", ""); in compareClassNames() 200 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() 254 public int compare (ZipEntry a, ZipEntry b) { in processArchive() 255 return compareClassNames(a.getName(), b.getName()); in processArchive()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | Insn.java | 268 private static boolean equalsHandleNulls (Object a, Object b) { in equalsHandleNulls() argument 269 return (a == b) || ((a != null) && a.equals(b)); in equalsHandleNulls() 280 public boolean contentEquals(Insn b) { in contentEquals() argument 281 return opcode == b.getOpcode() in contentEquals() 282 && position.equals(b.getPosition()) in contentEquals() 283 && (getClass() == b.getClass()) in contentEquals() 284 && equalsHandleNulls(result, b.getResult()) in contentEquals() 285 && equalsHandleNulls(sources, b.getSources()) in contentEquals() 286 && StdTypeList.equalContents(getCatches(), b.getCatches()); in contentEquals()
|
D | CstInsn.java | 66 public boolean contentEquals(Insn b) { in contentEquals() argument 71 return super.contentEquals(b) in contentEquals() 72 && cst.equals(((CstInsn)b).getConstant()); in contentEquals()
|
D | InsnList.java | 88 public boolean contentEquals(InsnList b) { in contentEquals() argument 89 if (b == null) return false; in contentEquals() 93 if (sz != b.size()) return false; in contentEquals() 96 if (!get(i).contentEquals(b.get(i))) { in contentEquals()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | Insn.java | 266 private static boolean equalsHandleNulls (Object a, Object b) { in equalsHandleNulls() argument 267 return (a == b) || ((a != null) && a.equals(b)); in equalsHandleNulls() 278 public boolean contentEquals(Insn b) { in contentEquals() argument 279 return opcode == b.getOpcode() in contentEquals() 280 && position.equals(b.getPosition()) in contentEquals() 281 && (getClass() == b.getClass()) in contentEquals() 282 && equalsHandleNulls(result, b.getResult()) in contentEquals() 283 && equalsHandleNulls(sources, b.getSources()) in contentEquals() 284 && StdTypeList.equalContents(getCatches(), b.getCatches()); in contentEquals()
|
D | CstInsn.java | 66 public boolean contentEquals(Insn b) { in contentEquals() argument 71 return super.contentEquals(b) in contentEquals() 72 && cst.equals(((CstInsn)b).getConstant()); in contentEquals()
|
D | InsnList.java | 88 public boolean contentEquals(InsnList b) { in contentEquals() argument 89 if (b == null) return false; in contentEquals() 93 if (sz != b.size()) return false; in contentEquals() 96 if (!get(i).contentEquals(b.get(i))) { in contentEquals()
|
/dalvik/dx/tests/005-cp-top-down/ |
D | small-class.txt | 18 0b 0011 000b # 0008: ifaceMethod[Small.blort:()V] 19 0a 0011 000b # 0009: method[Small.blort:()V] 21 0c 000f 000d # 000b: nat[blort:()V]
|
/dalvik/dx/tests/014-field-attrib-ConstantValue/ |
D | small-class.txt | 19 01 0001 "b" # 0007: utf8["b"] 23 01 0001 "f" # 000b: utf8["f"] 37 01 0001 "J" # 001b: utf8["J"] 61 0007 # "b" 101 000b # "f" 102 001b # "J"
|
/dalvik/dx/tests/115-merge/testdata/ |
D | Annotated.java | 6 @Annotated.Marker(a = "on class", b = {"A", "B", "C" }, 15 public void method(String a, @Annotated.Marker(a="on parameter") String b) {} in method() 20 String[] b() default {}; in b() method
|
/dalvik/dx/tests/092-ssa-cfg-edge-cases/ |
D | expected.txt | 8 next 000b 14 block 000b 30 next 004b * 47 next 004b 54 block 004b 81 next 001b 88 next 001b 94 next 001b 101 pred 001b 113 block 001b
|
/dalvik/dx/tests/032-bb-live-code/ |
D | expected.txt | 92 block 0018: 0018..001b 94 next 001b 96 block 001b: 001b..001e 97 001b: if_icmpge 003a 101 001e: if_icmpgt 003b 103 next 003b 154 block 003a: 003a..003b 157 block 003b: 003b..003c 158 003b: return 212 block 001a: 001a..001b [all …]
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | DomFront.java | 168 for (int b = 0; b < szNodes; b++) { in calcDomFronts() 169 SsaBasicBlock nb = nodes.get(b); in calcDomFronts() 170 DomInfo nbInfo = domInfos[b]; in calcDomFronts() 188 if (runnerInfo.dominanceFrontiers.has(b)) { in calcDomFronts() 193 runnerInfo.dominanceFrontiers.add(b); in calcDomFronts()
|
/dalvik/dx/tests/069-dex-source-position/ |
D | expected.txt | 12 000b: invoke-static {v2}, Blort.test:(I)I 23 001b: move v2, v0 33 try 000b..000e 46 000b: invoke-static {v2}, Blort.test:(I)I 57 001b: move v2, v0 67 try 000b..000e 80 001b: line 29 96 000b: invoke-static {v2}, Blort.test:(I)I 107 001b: move v2, v0 117 try 000b..000e [all …]
|