Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 73) 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.java35 private static void doitMin(byte[] x, byte[] y, byte[] z) { in doitMin() argument
36 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
38 x[i] = (byte) Math.min(y[i], z[i]); in doitMin()
66 private static void doitMinUnsigned(byte[] x, byte[] y, byte[] z) { in doitMinUnsigned() argument
67 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMinUnsigned()
69 x[i] = (byte) Math.min(y[i] & 0xff, z[i] & 0xff); in doitMinUnsigned()
86 private static void doitMax(byte[] x, byte[] y, byte[] z) { in doitMax() argument
87 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
89 x[i] = (byte) Math.max(y[i], z[i]); in doitMax()
117 private static void doitMaxUnsigned(byte[] x, byte[] y, byte[] z) { in doitMaxUnsigned() argument
[all …]
/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/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/651-checker-short-simd-minmax/src/
DMain.java35 private static void doitMin(short[] x, short[] y, short[] z) { in doitMin() argument
36 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
38 x[i] = (short) Math.min(y[i], z[i]); in doitMin()
66 private static void doitMinUnsigned(short[] x, short[] y, short[] z) { in doitMinUnsigned() argument
67 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMinUnsigned()
69 x[i] = (short) Math.min(y[i] & 0xffff, z[i] & 0xffff); in doitMinUnsigned()
86 private static void doitMax(short[] x, short[] y, short[] z) { in doitMax() argument
87 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
89 x[i] = (short) Math.max(y[i], z[i]); in doitMax()
117 private static void doitMaxUnsigned(short[] x, short[] y, short[] z) { in doitMaxUnsigned() argument
[all …]
/art/test/651-checker-long-simd-minmax/src/
DMain.java40 private static void doitMin(long[] x, long[] y, long[] z) { in doitMin() argument
41 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
43 x[i] = Math.min(y[i], z[i]); in doitMin()
64 private static void doitMax(long[] x, long[] y, long[] z) { in doitMax() argument
65 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
67 x[i] = Math.max(y[i], z[i]); in doitMax()
90 long[] z = new long[total]; in main() local
96 z[k] = interesting[j]; in main()
102 doitMin(x, y, z); in main()
104 long expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-int-simd-minmax/src/
DMain.java34 private static void doitMin(int[] x, int[] y, int[] z) { in doitMin() argument
35 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
37 x[i] = Math.min(y[i], z[i]); in doitMin()
53 private static void doitMax(int[] x, int[] y, int[] z) { in doitMax() argument
54 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
56 x[i] = Math.max(y[i], z[i]); in doitMax()
73 int[] z = new int[total]; in main() local
79 z[k] = interesting[j]; in main()
85 doitMin(x, y, z); in main()
87 int expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-float-simd-minmax/src/
DMain.java37 private static void doitMin(float[] x, float[] y, float[] z) { in doitMin() argument
38 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
40 x[i] = Math.min(y[i], z[i]); in doitMin()
59 private static void doitMax(float[] x, float[] y, float[] z) { in doitMax() argument
60 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
62 x[i] = Math.max(y[i], z[i]); in doitMax()
89 float[] z = new float[total]; in main() local
95 z[k] = interesting[j]; in main()
101 doitMin(x, y, z); in main()
103 float expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-double-simd-minmax/src/
DMain.java37 private static void doitMin(double[] x, double[] y, double[] z) { in doitMin() argument
38 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
40 x[i] = Math.min(y[i], z[i]); in doitMin()
59 private static void doitMax(double[] x, double[] y, double[] z) { in doitMax() argument
60 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
62 x[i] = Math.max(y[i], z[i]); in doitMax()
89 double[] z = new double[total]; in main() local
95 z[k] = interesting[j]; in main()
101 doitMin(x, y, z); in main()
103 double expected = Math.min(y[i], z[i]); in main()
[all …]
/art/test/651-checker-char-simd-minmax/src/
DMain.java35 private static void doitMin(char[] x, char[] y, char[] z) { in doitMin() argument
36 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMin()
38 x[i] = (char) Math.min(y[i], z[i]); in doitMin()
55 private static void doitMax(char[] x, char[] y, char[] z) { in doitMax() argument
56 int min = Math.min(x.length, Math.min(y.length, z.length)); in doitMax()
58 x[i] = (char) Math.max(y[i], z[i]); in doitMax()
96 char[] z = new char[total]; in main() local
102 z[k] = interesting[j]; in main()
108 doitMin(x, y, z); in main()
110 char expected = (char) Math.min(y[i], z[i]); in main()
[all …]
/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()
101 public static void test3(boolean z, int a, int b, int c, int d, int m) { in test3() argument
108 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/593-checker-boolean-2-integral-conv/smali/
DSmaliTests.smali34 ## CHECK: <<Arg:z\d+>> ParameterValue
37 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Zero>>]
44 ## CHECK: <<Arg:z\d+>> ParameterValue
52 ## CHECK: <<Arg:z\d+>> ParameterValue
69 ## CHECK: <<Arg:z\d+>> ParameterValue
72 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Zero>>]
79 ## CHECK: <<Arg:z\d+>> ParameterValue
87 ## CHECK: <<Arg:z\d+>> ParameterValue
104 ## CHECK: <<Arg:z\d+>> ParameterValue
107 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Zero>>]
[all …]
/art/test/660-clinit/src/
DMain.java45 C z = new C(); in main() local
94 static int z; field in ClInit
104 z = 0xFF;
105 z += 0xFF00;
106 z += 0xAA0000;
123 return z; in getZ()
/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/480-checker-dead-blocks/smali/
DSmali.smali38 # int z;
40 # z = x + y;
42 # z = x - y;
46 #return z;
91 # int z;
93 # z = x + y;
95 # z = x - y;
99 # return z;
/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/663-checker-select-generator/smali/
DTestCase.smali20 ## CHECK-DAG: <<Param:z\d+>> ParameterValue
28 ## CHECK-DAG: <<Param:z\d+>> ParameterValue
52 ## CHECK-DAG: <<Param2:z\d+>> ParameterValue
60 ## CHECK-DAG: <<Param2:z\d+>> ParameterValue
/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()

123