Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 65) sorted by relevance

123

/art/test/561-shared-slowpaths/src/
DMain.java41 int z; in main() local
44 z = 0; in main()
49 z = 1; in main()
51 expectEquals(z, 0); in main()
58 z = 0; in main()
63 z = 1; in main()
65 expectEquals(z, 1); in main()
72 z = 0; in main()
77 z = 1; in main()
79 expectEquals(z, 1); in main()
[all …]
/art/test/651-checker-byte-simd-minmax/src/
DMain.java50 private static void doitMin(byte[] x, byte[] y, byte[] z) { in doitMin() argument
51 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
53 x[i] = (byte) Math.min(y[i], z[i]); in doitMin()
88 private static void doitMinUnsigned(byte[] x, byte[] y, byte[] z) { in doitMinUnsigned() argument
89 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMinUnsigned()
91 x[i] = (byte) Math.min(y[i] & 0xff, z[i] & 0xff); in doitMinUnsigned()
123 private static void doitMax(byte[] x, byte[] y, byte[] z) { in doitMax() argument
124 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
126 x[i] = (byte) Math.max(y[i], z[i]); in doitMax()
161 private static void doitMaxUnsigned(byte[] x, byte[] y, byte[] z) { in doitMaxUnsigned() argument
[all …]
/art/test/651-checker-short-simd-minmax/src/
DMain.java50 private static void doitMin(short[] x, short[] y, short[] z) { in doitMin() argument
51 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
53 x[i] = (short) Math.min(y[i], z[i]); in doitMin()
88 private static void doitMinUnsigned(short[] x, short[] y, short[] z) { in doitMinUnsigned() argument
89 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMinUnsigned()
91 x[i] = (short) Math.min(y[i] & 0xffff, z[i] & 0xffff); in doitMinUnsigned()
123 private static void doitMax(short[] x, short[] y, short[] z) { in doitMax() argument
124 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
126 x[i] = (short) Math.max(y[i], z[i]); in doitMax()
161 private static void doitMaxUnsigned(short[] x, short[] y, short[] z) { in doitMaxUnsigned() argument
[all …]
/art/test/ProtoCompare2/
DProtoCompare2.java18 int m1(short x, int y, long z) { return x + y + (int)z; } in m1() argument
19 int m2(short x, int y, long z) { return x + y + (int)z; } in m2() argument
20 int m3(long x, int y, short z) { return (int)x + y + z; } in m3() argument
21 long m4(long x, int y, short z) { return x + y + z; } in m4() argument
/art/test/ProtoCompare/
DProtoCompare.java18 int m1(short x, int y, long z) { return x + y + (int)z; } in m1() argument
19 int m2(short x, int y, long z) { return x + y + (int)z; } in m2() argument
20 int m3(long x, int y, short z) { return (int)x + y + z; } in m3() argument
21 long m4(long x, int y, short z) { return x + y + z; } in m4() argument
/art/test/651-checker-int-simd-minmax/src/
DMain.java49 private static void doitMin(int[] x, int[] y, int[] z) { in doitMin() argument
50 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
52 x[i] = Math.min(y[i], z[i]); in doitMin()
83 private static void doitMax(int[] x, int[] y, int[] z) { in doitMax() argument
84 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
86 x[i] = Math.max(y[i], z[i]); in doitMax()
103 int[] z = new int[total]; in main() local
109 z[k] = interesting[j]; in main()
115 doitMin(x, y, z); in main()
117 int expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-char-simd-minmax/src/
DMain.java50 private static void doitMin(char[] x, char[] y, char[] z) { in doitMin() argument
51 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
53 x[i] = (char) Math.min(y[i], z[i]); in doitMin()
85 private static void doitMax(char[] x, char[] y, char[] z) { in doitMax() argument
86 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
88 x[i] = (char) Math.max(y[i], z[i]); in doitMax()
105 char[] z = new char[total]; in main() local
111 z[k] = interesting[j]; in main()
117 doitMin(x, y, z); in main()
119 char expected = (char) Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-long-simd-minmax/src/
DMain.java41 private static void doitMin(long[] x, long[] y, long[] z) { in doitMin() argument
42 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
44 x[i] = Math.min(y[i], z[i]); in doitMin()
66 private static void doitMax(long[] x, long[] y, long[] z) { in doitMax() argument
67 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
69 x[i] = Math.max(y[i], z[i]); in doitMax()
92 long[] z = new long[total]; in main() local
98 z[k] = interesting[j]; in main()
104 doitMin(x, y, z); in main()
106 long expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-double-simd-minmax/src/
DMain.java38 private static void doitMin(double[] x, double[] y, double[] z) { in doitMin() argument
39 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
41 x[i] = Math.min(y[i], z[i]); in doitMin()
61 private static void doitMax(double[] x, double[] y, double[] z) { in doitMax() argument
62 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
64 x[i] = Math.max(y[i], z[i]); in doitMax()
91 double[] z = new double[total]; in main() local
97 z[k] = interesting[j]; in main()
103 doitMin(x, y, z); in main()
105 double expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-float-simd-minmax/src/
DMain.java38 private static void doitMin(float[] x, float[] y, float[] z) { in doitMin() argument
39 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
41 x[i] = Math.min(y[i], z[i]); in doitMin()
61 private static void doitMax(float[] x, float[] y, float[] z) { in doitMax() argument
62 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
64 x[i] = Math.max(y[i], z[i]); in doitMax()
91 float[] z = new float[total]; in main() local
97 z[k] = interesting[j]; in main()
103 doitMin(x, y, z); in main()
105 float expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/480-checker-dead-blocks/src/
DMain.java54 int z; in testTrueBranch() local
56 z = x + y; in testTrueBranch()
58 z = x - y; in testTrueBranch()
62 return z; in testTrueBranch()
86 int z; in testFalseBranch() local
88 z = x + y; in testFalseBranch()
90 z = x - y; in testFalseBranch()
94 return z; in testFalseBranch()
/art/test/481-regression-phi-cond/src/
DMain.java25 public static boolean inlinePhi(boolean x, boolean y, boolean z) { in inlinePhi() argument
27 if (z) { in inlinePhi()
39 public static boolean testCase(boolean x, boolean y, boolean z) { in testCase() argument
41 boolean phi = inlinePhi(x, y, z); in testCase()
/art/test/484-checker-register-hints/src/
DMain.java43 public static void test1(boolean z, int a, int b, int c, int d, int m) { in test1() argument
48 if (z) { in test1()
78 public static void test2(boolean z, int a, int b, int c, int d, int m) { in test2() argument
83 if (z) { in test2()
113 public static void test3(boolean z, int a, int b, int c, int d, int m) { in test3() argument
120 if (z) { in test3()
/art/test/562-bce-preheader/src/
DMain.java79 private static int doit(int[] z) { in doit() argument
83 a = z[i]; in doit()
85 a += z[k]; in doit()
86 a = z[i]; in doit()
138 int[] z = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; in main() local
139 expectEquals(10, doit(z)); in main()
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests.smali19 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
21 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Const1>>]
25 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
41 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
43 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Const1>>,<<Arg>>]
47 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
63 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
65 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Const0>>]
69 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
85 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
[all …]
/art/test/594-invoke-super/src/
DMain.java67 Class<?> z = Class.forName("Z"); in main() local
68 Method m = z.getMethod("foo"); in main()
70 m.invoke(z.newInstance()); in main()
/art/test/463-checker-boolean-simplifier/src/
DMain.java165 public static boolean ValuesOrdered(int x, int y, int z) { in ValuesOrdered() argument
166 return (x <= y) == (y <= z); in ValuesOrdered()
241 public static int SimpleBothBlocks(boolean x, int y, int z) { in SimpleBothBlocks() argument
242 return x ? y + 42 : z + 43; in SimpleBothBlocks()
/art/test/593-checker-boolean-2-integral-conv/smali/
DSmaliTests.smali34 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
37 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Zero>>]
44 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
52 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
77 ## CHECK-DAG: <<Sget:z\d+>> StaticFieldGet
86 ## CHECK-DAG: <<Sget:z\d+>> StaticFieldGet
97 ## CHECK-DAG: <<Sget:z\d+>> StaticFieldGet
105 ## CHECK-DAG: <<Sget:z\d+>> StaticFieldGet
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali28 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
41 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
78 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
79 ## CHECK-DAG: <<ArgZ:z\d+>> ParameterValue
93 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
94 ## CHECK-DAG: <<ArgZ:z\d+>> ParameterValue
134 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
135 ## CHECK-DAG: <<ArgZ:z\d+>> ParameterValue
151 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
152 ## CHECK-DAG: <<ArgZ:z\d+>> ParameterValue
[all …]
/art/test/022-interface/src/
DMain.java40 static void check(boolean z) { in check() argument
41 if (!z) { in check()
/art/test/XandY/
DY.java18 static Z z = new Z(); field in Y
/art/runtime/
Djvalue.h72 uint8_t GetZ() const { return z; } in PACKED()
80 uint8_t z; in PACKED()
/art/tools/cpp-define-generator/
Dmain.cc103 std::string z = ""; in main() local
108 emit_check_eq(z + "static_cast<" #field_type ">(" + to_upper(#macro_name) + ")", \ in main()
/art/test/GetMethodSignature/
DGetMethodSignature.java19 GetMethodSignature m2(boolean x, short y, char z) { return null; } in m2() argument
/art/test/565-checker-doublenegbitwise/smali/
DSmaliTests.smali71 ## CHECK-DAG: <<P1:z\d+>> ParameterValue
72 ## CHECK-DAG: <<P2:z\d+>> ParameterValue
80 ## CHECK-DAG: <<Cond1:z\d+>> ParameterValue
81 ## CHECK-DAG: <<Cond2:z\d+>> ParameterValue
83 ## CHECK-DAG: <<BooleanNot:z\d+>> BooleanNot [<<Or>>]
162 ## CHECK-DAG: <<P1:z\d+>> ParameterValue
163 ## CHECK-DAG: <<P2:z\d+>> ParameterValue
171 ## CHECK-DAG: <<Cond1:z\d+>> ParameterValue
172 ## CHECK-DAG: <<Cond2:z\d+>> ParameterValue
174 ## CHECK-DAG: <<BooleanNot:z\d+>> BooleanNot [<<And>>]
[all …]

123