Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 129) sorted by relevance

123456

/dalvik/dx/tests/121-sccp/
DBlort.java5 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 …]
DBlort.debug.class ... ) public static int testIntAddSub () int a int b int c int d public static int testIntMult ()
/dalvik/dx/tests/090-dex-unify-arrays/
DBlort.java24 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/dx/src/com/android/dx/io/instructions/
DTwoRegisterDecodedInstruction.java29 private final int b; field in TwoRegisterDecodedInstruction
36 int a, int b) { in TwoRegisterDecodedInstruction() argument
40 this.b = b; in TwoRegisterDecodedInstruction()
58 return b; in getB()
66 getTarget(), getLiteral(), a, b); in withIndex()
DThreeRegisterDecodedInstruction.java29 private final int b; field in ThreeRegisterDecodedInstruction
39 int a, int b, int c) { in ThreeRegisterDecodedInstruction() argument
43 this.b = b; in ThreeRegisterDecodedInstruction()
62 return b; in getB()
76 getTarget(), getLiteral(), a, b, c); in withIndex()
DFourRegisterDecodedInstruction.java29 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()
66 return b; in getB()
86 getTarget(), getLiteral(), a, b, c, d); in withIndex()
DFiveRegisterDecodedInstruction.java29 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()
70 return b; in getB()
96 getTarget(), getLiteral(), a, b, c, d, e); in withIndex()
DDecodedInstruction.java331 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/024-code-bytecode/
Dsmall-class.txt23 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 …]
Dexpected.txt19 000b: long{0x123456789abcdef0 / 1311768467463790320}
60 000b: fconst_0 // 0.0
70 001b: ldc_w string{"Small"}
87 003b: lload_3 // 03, category-2
103 004b: daload
114 005b: istore_1 // 01
130 006b: astore_1 // 01
146 007b: dup2
162 008b: idiv
178 009b: iushr
[all …]
/dalvik/dx/src/com/android/dex/util/
DUnsigned.java30 int b = ushortB & 0xFFFF; in compare() local
31 return a < b ? -1 : 1; in compare()
39 long b = uintB & 0xFFFFFFFFL; in compare() local
40 return a < b ? -1 : 1; in compare()
/dalvik/dx/src/com/android/dx/cf/direct/
DClassPathOpener.java187 private static int compareClassNames(String a, String b) { in compareClassNames() argument
190 b = b.replace('$','0'); in compareClassNames()
197 b = b.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()
/dalvik/dx/src/com/android/dex/
DMutf8.java43 int b = in.readByte() & 0xff; in decode() local
44 if ((b & 0xC0) != 0x80) { in decode()
47 out[s++] = (char) (((a & 0x1F) << 6) | (b & 0x3F)); in decode()
49 int b = in.readByte() & 0xff; in decode() local
51 if (((b & 0xC0) != 0x80) || ((c & 0xC0) != 0x80)) { in decode()
54 out[s++] = (char) (((a & 0x0F) << 12) | ((b & 0x3F) << 6) | (c & 0x3F)); in decode()
/dalvik/dx/src/com/android/dx/merge/
DSortableType.java31 public int compare(SortableType a, SortableType b) {
32 if (a == b) {
35 if (b == null) {
41 if (a.depth != b.depth) {
42 return a.depth - b.depth;
44 return a.getTypeIndex() - b.getTypeIndex();
/dalvik/dx/src/com/android/dx/rop/code/
DInsn.java267 private static boolean equalsHandleNulls (Object a, Object b) { in equalsHandleNulls() argument
268 return (a == b) || ((a != null) && a.equals(b)); in equalsHandleNulls()
279 public boolean contentEquals(Insn b) { in contentEquals() argument
280 return opcode == b.getOpcode() in contentEquals()
281 && position.equals(b.getPosition()) in contentEquals()
282 && (getClass() == b.getClass()) in contentEquals()
283 && equalsHandleNulls(result, b.getResult()) in contentEquals()
284 && equalsHandleNulls(sources, b.getSources()) in contentEquals()
285 && StdTypeList.equalContents(getCatches(), b.getCatches()); in contentEquals()
DInsnList.java88 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/dexgen/src/com/android/dexgen/rop/code/
DInsn.java268 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()
DInsnList.java88 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/032-bb-live-code/
Dexpected.txt91 block 0018: 0018..001b
93 next 001b
95 block 001b: 001b..001e
96 001b: if_icmpge 003a
100 001e: if_icmpgt 003b
102 next 003b
153 block 003a: 003a..003b
156 block 003b: 003b..003c
157 003b: return
211 block 001a: 001a..001b
[all …]
/dalvik/dx/tests/058-dex-call-direct/
DBlort.java19 public static int test(Blort b) { in test() argument
20 b.zorch1(); in test()
21 return b.zorch2(5); in test()
/dalvik/dx/tests/069-dex-source-position/
Dexpected.txt12 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 …]
/dalvik/dx/tests/014-field-attrib-ConstantValue/
Dsmall-class.txt19 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/src/com/android/dx/ssa/
DDomFront.java168 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/080-dex-exception-tables/
Dexpected.txt7 000b: move v0, v1
16 0015: const/16 v1, #int 11 // #000b
30 000b: move v0, v1
39 0015: const/16 v1, #int 11 // #000b
68 001b: const/16 v1, #int 11 // #000b
108 0018: const/16 v1, #int 11 // #000b
110 001b: goto 000f // -000c
135 000b: move v0, v1
144 0015: const/16 v1, #int 11 // #000b
149 001b: const/16 v1, #int 12 // #000c
[all …]
/dalvik/dx/tests/005-cp-top-down/
Dsmall-class.txt18 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]

123456