Home
last modified time | relevance | path

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

12345678910>>...21

/art/test/800-smali/
Dexpected-stdout.txt5 b/17790197
9 b/18380491
14 b/18718277
15 b/18800943 (1)
16 b/18800943 (2)
20 b/20224106
21 b/17410612
22 b/21863767
23 b/21873167
24 b/21614284
[all …]
/art/test/551-checker-shifter-operand/src/
DMain.java113 public static long $opt$noinline$translate(long l, byte b) { in $opt$noinline$translate() argument
114 long tmp = (long)b; in $opt$noinline$translate()
243 static void $opt$noinline$testAnd(long a, long b) { in $opt$noinline$testAnd() argument
244 assertLongEquals((a & $noinline$LongShl(b, 5)) | (a & $noinline$longToByte(b)), in $opt$noinline$testAnd()
245 (a & (b << 5)) | (a & (byte)b)); in $opt$noinline$testAnd()
266 static void $opt$noinline$testOr(int a, int b) { in $opt$noinline$testOr() argument
267 assertIntEquals((a | $noinline$IntShr(b, 6)) | (a | $noinline$intToChar(b)), in $opt$noinline$testOr()
268 (a | (b >> 6)) | (a | (char)b)); in $opt$noinline$testOr()
289 static void $opt$noinline$testXor(long a, long b) { in $opt$noinline$testXor() argument
290 assertLongEquals((a ^ $noinline$LongUshr(b, 7)) | (a ^ $noinline$longToInt(b)), in $opt$noinline$testXor()
[all …]
/art/test/957-methodhandle-transforms/
Dexpected-stdout.txt19 a: a, b:b, c: c
20 a: a, b:b, c: c
21 a: a, b:b, c: c
22 a: a, b:b, c: c
23 a: a, b:b, c: c
24 a: a, b:b, c: c
25 a: a, b:b, c: c
26 a: a, b:43
27 a: a, b:43
28 a: a, b:43
[all …]
/art/runtime/entrypoints/quick/
Dquick_math_entrypoints.cc24 int CmplFloat(float a, float b) { in CmplFloat() argument
25 if (a == b) { in CmplFloat()
27 } else if (a < b) { in CmplFloat()
29 } else if (a > b) { in CmplFloat()
35 int CmpgFloat(float a, float b) { in CmpgFloat() argument
36 if (a == b) { in CmpgFloat()
38 } else if (a < b) { in CmpgFloat()
40 } else if (a > b) { in CmpgFloat()
46 int CmpgDouble(double a, double b) { in CmpgDouble() argument
47 if (a == b) { in CmpgDouble()
[all …]
/art/test/684-checker-simd-dotprod/src/other/
DTestByte.java81 public static final int testDotProdSimple(byte[] a, byte[] b) { in testDotProdSimple() argument
83 for (int i = 0; i < b.length; i++) { in testDotProdSimple()
84 int temp = a[i] * b[i]; in testDotProdSimple()
143 public static final int testDotProdComplex(byte[] a, byte[] b) { in testDotProdComplex() argument
145 for (int i = 0; i < b.length; i++) { in testDotProdComplex()
146 int temp = ((byte)(a[i] + 1)) * ((byte)(b[i] + 1)); in testDotProdComplex()
206 public static final int testDotProdSimpleUnsigned(byte[] a, byte[] b) { in testDotProdSimpleUnsigned() argument
208 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsigned()
209 int temp = (a[i] & 0xff) * (b[i] & 0xff); in testDotProdSimpleUnsigned()
268 public static final int testDotProdComplexUnsigned(byte[] a, byte[] b) { in testDotProdComplexUnsigned() argument
[all …]
DTestCharShort.java60 public static final int testDotProdSimple(short[] a, short[] b) { in testDotProdSimple() argument
62 for (int i = 0; i < b.length; i++) { in testDotProdSimple()
63 int temp = a[i] * b[i]; in testDotProdSimple()
110 public static final int testDotProdComplex(short[] a, short[] b) { in testDotProdComplex() argument
112 for (int i = 0; i < b.length; i++) { in testDotProdComplex()
113 int temp = ((short)(a[i] + 1)) * ((short)(b[i] + 1)); in testDotProdComplex()
153 public static final int testDotProdSimpleUnsigned(char[] a, char[] b) { in testDotProdSimpleUnsigned() argument
155 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsigned()
156 int temp = a[i] * b[i]; in testDotProdSimpleUnsigned()
203 public static final int testDotProdComplexUnsigned(char[] a, char[] b) { in testDotProdComplexUnsigned() argument
[all …]
DTestVarious.java68 public static final int testDotProdConstRight(byte[] b) { in testDotProdConstRight() argument
70 for (int i = 0; i < b.length; i++) { in testDotProdConstRight()
71 int temp = b[i] * 89; in testDotProdConstRight()
121 public static final int testDotProdConstLeft(byte[] b) { in testDotProdConstLeft() argument
123 for (int i = 0; i < b.length; i++) { in testDotProdConstLeft()
124 int temp = 89 * (b[i] & 0xff); in testDotProdConstLeft()
183 public static final int testDotProdLoopInvariantConvRight(byte[] b, int param) { in testDotProdLoopInvariantConvRight() argument
185 for (int i = 0; i < b.length; i++) { in testDotProdLoopInvariantConvRight()
186 int temp = b[i] * ((byte)(param + 129)); in testDotProdLoopInvariantConvRight()
194 public static final int testDotProdByteToChar(char[] a, char[] b) { in testDotProdByteToChar() argument
[all …]
/art/test/432-optimizing-cmp/src/
DMain.java125 static boolean $opt$eq(float a, float b) { in $opt$eq() argument
126 return a == b; in $opt$eq()
129 static boolean $opt$eq(double a, double b) { in $opt$eq() argument
130 return a == b; in $opt$eq()
133 static boolean $opt$lt(long a, long b) { in $opt$lt() argument
134 return a < b; in $opt$lt()
137 static boolean $opt$lt(float a, float b) { in $opt$lt() argument
138 return a < b; in $opt$lt()
141 static boolean $opt$lt(double a, double b) { in $opt$lt() argument
142 return a < b; in $opt$lt()
[all …]
/art/test/514-shifts/src/
DMain.java29 int b = myOtherField << a; in testIntShiftLeft() local
30 if (b != -2147483648) { in testIntShiftLeft()
31 throw new Error("Expected -2147483648, got " + b); in testIntShiftLeft()
40 int b = myOtherField >> a; in testIntShiftRight() local
41 if (b != 0) { in testIntShiftRight()
42 throw new Error("Expected 0, got " + b); in testIntShiftRight()
51 int b = myOtherField >>> a; in testIntUnsignedShiftRight() local
52 if (b != 0) { in testIntUnsignedShiftRight()
53 throw new Error("Expected 0, got " + b); in testIntUnsignedShiftRight()
62 long b = myOtherLongField << a; in testLongShiftLeft() local
[all …]
/art/test/567-checker-builder-intrinsics/src/
DTestMinMax.java265 public static int min1(int a, int b) { in min1() argument
266 return a < b ? a : b; in min1()
280 public static int min2(int a, int b) { in min2() argument
281 return a <= b ? a : b; in min2()
295 public static int min3(int a, int b) { in min3() argument
296 return a > b ? b : a; in min3()
310 public static int min4(int a, int b) { in min4() argument
311 return a >= b ? b : a; in min4()
325 public static int min5(short a, short b) { in min5() argument
326 return a >= b ? b : a; in min5()
[all …]
/art/test/451-regression-add-float/src/
DMain.java43 public static void assertEqual(int a, int b) { in assertEqual() argument
44 if (a != b) { in assertEqual()
45 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()
49 public static void assertEqual(long a, long b) { in assertEqual() argument
50 if (a != b) { in assertEqual()
51 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual()
55 public static void assertEqual(float a, float b) { in assertEqual() argument
56 boolean aproxEquals = (a > b) in assertEqual()
57 ? ((a - b) < 0.0001f) in assertEqual()
58 : ((b - a) < 0.0001f); in assertEqual()
[all …]
/art/test/StaticLeafMethods/
DStaticLeafMethods.java26 static int sum(int a, int b) { in sum() argument
27 return a + b; in sum()
29 static int sum(int a, int b, int c) { in sum() argument
30 return a + b + c; in sum()
32 static int sum(int a, int b, int c, int d) { in sum() argument
33 return a + b + c + d; in sum()
35 static int sum(int a, int b, int c, int d, int e) { in sum() argument
36 return a + b + c + d + e; in sum()
41 static double sum(double a, double b) { in sum() argument
42 return a + b; in sum()
[all …]
/art/test/NonStaticLeafMethods/
DNonStaticLeafMethods.java28 int sum(int a, int b) { in sum() argument
29 return a + b; in sum()
31 int sum(int a, int b, int c) { in sum() argument
32 return a + b + c; in sum()
34 int sum(int a, int b, int c, int d) { in sum() argument
35 return a + b + c + d; in sum()
37 int sum(int a, int b, int c, int d, int e) { in sum() argument
38 return a + b + c + d + e; in sum()
43 double sum(double a, double b) { in sum() argument
44 return a + b; in sum()
[all …]
/art/test/405-optimizing-long-allocator/src/
DMain.java42 long b = 0; in $opt$TestLostCopy() local
44 b = a; in $opt$TestLostCopy()
47 return b; in $opt$TestLostCopy()
52 long b = 0; in $opt$TestTwoLive() local
55 b += 3; in $opt$TestTwoLive()
57 return a - b; in $opt$TestTwoLive()
62 long b = 0; in $opt$TestThreeLive() local
66 b += 3; in $opt$TestThreeLive()
69 return a - b - c; in $opt$TestThreeLive()
74 long b = 0; in $opt$TestFourLive() local
[all …]
/art/test/549-checker-types-merge/src/
DMain.java51 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassExtendsB b) { in testMergeClasses() argument
53 return cond ? a : b; in testMergeClasses()
59 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassSuper b) { in testMergeClasses() argument
61 return cond ? a : b; in testMergeClasses()
67 private Object testMergeClasses(boolean cond, ClassSuper a, ClassSuper b) { in testMergeClasses() argument
69 return cond ? a : b; in testMergeClasses()
75 private Object testMergeClasses(boolean cond, ClassOtherSuper a, ClassSuper b) { in testMergeClasses() argument
77 return cond ? a : b; in testMergeClasses()
83 …e Object testMergeClassWithInterface(boolean cond, ClassImplementsInterfaceA a, InterfaceSuper b) { in testMergeClassWithInterface() argument
85 return cond ? a : b; in testMergeClassWithInterface()
[all …]
/art/test/636-arm64-veneer-pool/src/
DMain.java17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
23 …public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new E… in m() argument
24 …public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw n… in mImpl() argument
26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument
[all …]
/art/test/404-optimizing-allocator/src/
DMain.java36 int b = 0; in $opt$reg$TestLostCopy() local
38 b = a; in $opt$reg$TestLostCopy()
41 return b; in $opt$reg$TestLostCopy()
46 int b = 0; in $opt$reg$TestTwoLive() local
49 b += 3; in $opt$reg$TestTwoLive()
51 return a - b; in $opt$reg$TestTwoLive()
56 int b = 0; in $opt$reg$TestThreeLive() local
60 b += 3; in $opt$reg$TestThreeLive()
63 return a - b - c; in $opt$reg$TestThreeLive()
68 int b = 0; in $opt$reg$TestFourLive() local
[all …]
/art/test/105-invoke/src/
DMain.java23 int virI_II(int a, int b) { in virI_II() argument
24 return a + b + 321; in virI_II()
27 int virI_III(int a, int b, int c) { in virI_III() argument
28 return a + b + c + 432; in virI_III()
31 int virI_IIII(int a, int b, int c, int d) { in virI_IIII() argument
32 return a + b + c + d + 919; in virI_IIII()
35 int virI_IIIII(int a, int b, int c, int d, int e) { in virI_IIIII() argument
36 return a + b + c + d + e + 1010; in virI_IIIII()
39 int virI_IIIIII(int a, int b, int c, int d, int e, int f) { in virI_IIIIII() argument
40 return a + b + c + d + e + f + 2020; in virI_IIIIII()
[all …]
/art/test/442-checker-constant-folding/src/
DMain.java229 int a, b, c; in IntAddition1() local
231 b = 2; in IntAddition1()
232 c = a + b; in IntAddition1()
252 int a, b, c; in IntAddition2() local
254 b = 2; in IntAddition2()
255 a += b; in IntAddition2()
256 b = 5; in IntAddition2()
258 b += c; in IntAddition2()
259 c = a + b; in IntAddition2()
277 long a, b, c; in LongAddition() local
[all …]
/art/test/656-checker-simd-opt/src/
DMain.java97 private static void stencil(int[] a, int[] b, int n) { in stencil() argument
99 a[i] = b[i - 1] + b[i] + b[i + 1]; in stencil()
145 private static void stencilAddInt(int[] a, int[] b, int n) { in stencilAddInt() argument
148 a[i] = b[i + minus1] + b[i] + b[i + 1]; in stencilAddInt()
199 private static void stencilSubInt(int[] a, int[] b, int n) { in stencilSubInt() argument
202 a[i] = b[i - plus1] + b[i] + b[i + 1]; in stencilSubInt()
350 int[] b = new int[100]; in testStencil1() local
353 b[i] = i; in testStencil1()
355 stencil(a, b, 100); in testStencil1()
359 expectEquals(i, b[i]); in testStencil1()
[all …]
/art/test/620-checker-bce-intrinsics/src/
DMain.java43 static int oneArrayAbs(int[] a, int[] b) { in oneArrayAbs() argument
45 for (int i = Math.abs(b.length); i < a.length; i++) { in oneArrayAbs()
59 static int twoArrays(int[] a, int[] b) { in twoArrays() argument
61 for (int i = 0; i < Math.min(a.length, b.length); i++) { in twoArrays()
62 x += a[i] + b[i]; in twoArrays()
75 static int threeArrays(int[] a, int[] b, int[] c) { in threeArrays() argument
77 for (int i = 0; i < Math.min(Math.min(a.length, b.length), c.length); i++) { in threeArrays()
78 x += a[i] + b[i] + c[i]; in threeArrays()
92 static int fourArrays(int[] a, int[] b, int[] c, int[] d) { in fourArrays() argument
94 for (int i = 0; i < Math.min(Math.min(a.length, b.length), Math.min(c.length, d.length)); i++) { in fourArrays()
[all …]
/art/test/594-checker-array-alias/src/
DMain.java40 private static void CrossOverLoop1(int a[], int b[]) { in CrossOverLoop1() argument
41 b[20] = 99; in CrossOverLoop1()
43 a[i] = b[20] - 7; in CrossOverLoop1()
56 private static void CrossOverLoop2(float a[], float b[]) { in CrossOverLoop2() argument
57 b[20] = 99; in CrossOverLoop2()
59 a[i] = b[20] - 7; in CrossOverLoop2()
72 private static void CrossOverLoop3(long a[], long b[]) { in CrossOverLoop3() argument
73 b[20] = 99; in CrossOverLoop3()
75 a[i] = b[20] - 7; in CrossOverLoop3()
88 private static void CrossOverLoop4(double a[], double b[]) { in CrossOverLoop4() argument
[all …]
/art/test/530-checker-loops3/src/
DMain.java37 public static void oneConstantIndex(int[] a, int[] b) { in oneConstantIndex() argument
40 a[i] = b[1]; in oneConstantIndex()
57 public static void multipleConstantIndices(int[] a, int[] b) { in multipleConstantIndices() argument
60 a[i] = b[0] + b[1] + b[2]; in multipleConstantIndices()
75 public static void oneInvariantIndex(int[] a, int[] b, int c) { in oneInvariantIndex() argument
78 a[i] = b[c]; in oneInvariantIndex()
96 public static void multipleInvariantIndices(int[] a, int[] b, int c) { in multipleInvariantIndices() argument
99 a[i] = b[c-1] + b[c] + b[c+1]; in multipleInvariantIndices()
115 public static void oneUnitStride(int[] a, int[] b) { in oneUnitStride() argument
118 a[i] = b[i]; in oneUnitStride()
[all …]
/art/test/449-checker-bce-rem/src/
DMain.java219 int b = s - a; in $noinline$NoRem01() local
220 return values[b]; in $noinline$NoRem01()
247 int b = v - a; in $noinline$NoRem02() local
248 return values[b]; in $noinline$NoRem02()
275 int b = v - a; in $noinline$NoRem03() local
276 return values[b]; in $noinline$NoRem03()
306 int b = v - a; in $noinline$NoRem04() local
307 return values[b]; in $noinline$NoRem04()
337 int b = v - a; in $noinline$NoRem05() local
338 return values[b]; in $noinline$NoRem05()
[all …]
/art/test/700-LoadArgRegs/
Dexpected-stdout.txt22 a, b
23 a, b, c
24 a, b, c, d
25 a, b, c, d, e
26 a, b, c, d, e, f
27 a, b, c, d, e, f, g
29 11, b
30 11, b, true
31 11, b, true, 12
32 11, b, true, 12, e
[all …]

12345678910>>...21