Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 42) sorted by relevance

12

/art/test/474-checker-boolean-input/src/
DMain.java54 public static boolean InlineAnd(boolean x, boolean y) { in InlineAnd() argument
55 return x & y; in InlineAnd()
58 public static boolean TestAndAsBoolean(boolean x, boolean y) { in TestAndAsBoolean() argument
59 return InlineAnd(x, y) != true ? true : false; in TestAndAsBoolean()
71 public static boolean InlineOr(boolean x, boolean y) { in InlineOr() argument
72 return x | y; in InlineOr()
75 public static boolean TestOrAsBoolean(boolean x, boolean y) { in TestOrAsBoolean() argument
76 return InlineOr(x, y) != true ? true : false; in TestOrAsBoolean()
88 public static boolean InlineXor(boolean x, boolean y) { in InlineXor() argument
89 return x ^ y; in InlineXor()
[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/runtime/base/
Dlogging.h129 #define CHECK_EQ(x, y) CHECK_OP(x, y, ==) argument
130 #define CHECK_NE(x, y) CHECK_OP(x, y, !=) argument
131 #define CHECK_LE(x, y) CHECK_OP(x, y, <=) argument
132 #define CHECK_LT(x, y) CHECK_OP(x, y, <) argument
133 #define CHECK_GE(x, y) CHECK_OP(x, y, >=) argument
134 #define CHECK_GT(x, y) CHECK_OP(x, y, >) argument
178 #define DCHECK_EQ(x, y) if (::art::kEnableDChecks) CHECK_EQ(x, y) argument
179 #define DCHECK_NE(x, y) if (::art::kEnableDChecks) CHECK_NE(x, y) argument
180 #define DCHECK_LE(x, y) if (::art::kEnableDChecks) CHECK_LE(x, y) argument
181 #define DCHECK_LT(x, y) if (::art::kEnableDChecks) CHECK_LT(x, y) argument
[all …]
Dstringpiece.h161 inline bool operator==(const StringPiece& x, const StringPiece& y) {
163 if (len != y.size()) {
168 const char* p2 = y.data();
187 inline bool operator==(const StringPiece& x, const char* y) {
188 if (y == nullptr) {
191 return strncmp(x.data(), y, x.size()) == 0 && y[x.size()] == '\0';
195 inline bool operator!=(const StringPiece& x, const StringPiece& y) {
196 return !(x == y);
199 inline bool operator!=(const StringPiece& x, const char* y) {
200 return !(x == y);
[all …]
/art/test/480-checker-dead-blocks/src/
DMain.java53 public static int testTrueBranch(int x, int y) { in testTrueBranch() argument
56 z = x + y; in testTrueBranch()
58 z = x - y; in testTrueBranch()
83 public static int testFalseBranch(int x, int y) { in testFalseBranch() argument
86 z = x + y; in testFalseBranch()
88 z = x - y; in testFalseBranch()
175 public static int testRemoveSuspendCheck(int x, int y) { in testRemoveSuspendCheck() argument
178 while (y > 0) { in testRemoveSuspendCheck()
182 y--; in testRemoveSuspendCheck()
/art/test/478-checker-inliner-nested-loop/src/
DMain.java26 public static int Inline(int x, int y) { in Inline() argument
28 if (x <= y) { in Inline()
29 result = x * y; in Inline()
46 for (int y = 0; y < max_y; ++y) { in NestedLoop()
47 total += Inline(x, y); in NestedLoop()
/art/test/004-ReferenceMap/src/
DMain.java23 Object y = null; in f() local
25 y = new Object(); in f()
26 x[2] = y; // out-of-bound exception in f()
28 if (y == null) { in f()
32 x[1] = y; in f()
35 return y; in f()
/art/test/463-checker-boolean-simplifier/src/
DMain.java95 public static boolean GreaterThan(int x, int y) { in GreaterThan() argument
96 return (x <= y) ? false : true; in GreaterThan()
122 public static boolean LessThan(int x, int y) { in LessThan() argument
123 return (x < y) ? true : false; in LessThan()
157 public static boolean ValuesOrdered(int x, int y, int z) { in ValuesOrdered() argument
158 return (x <= y) == (y <= z); in ValuesOrdered()
/art/test/003-omnibus-opcodes/src/
DFloatMath.java135 static float[] floatOperTest(float x, float y) { in floatOperTest() argument
141 results[0] = x + y; in floatOperTest()
142 results[1] = x - y; in floatOperTest()
143 results[2] = x * y; in floatOperTest()
144 results[3] = x / y; in floatOperTest()
145 results[4] = x % -y; in floatOperTest()
148 results[8] = x + (((((x + y) - y) * y) / y) % y); in floatOperTest()
165 static double[] doubleOperTest(double x, double y) { in doubleOperTest() argument
171 results[0] = x + y; in doubleOperTest()
172 results[1] = x - y; in doubleOperTest()
[all …]
DIntMath.java164 static int[] intOperTest(int x, int y) { in intOperTest() argument
170 results[0] = x + y; in intOperTest()
171 results[1] = x - y; in intOperTest()
172 results[2] = x * y; in intOperTest()
174 results[4] = x / y; in intOperTest()
175 results[5] = x % -y; in intOperTest()
176 results[6] = x & y; in intOperTest()
177 results[7] = x | y; in intOperTest()
178 results[8] = x ^ y; in intOperTest()
181 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in intOperTest()
[all …]
DClasses.java79 static void yTests(Object y) { in yTests() argument
80 Main.assertTrue( y instanceof Classes); in yTests()
81 Main.assertTrue( y instanceof MoreClasses); in yTests()
136 MoreClasses y = new MoreClasses(); in arrayInstance() local
145 yTests(y); in arrayInstance()
156 yararar[0][0][0] = y; in arrayInstance()
157 yararar[0][0][1] = y; in arrayInstance()
158 yararar[0][0][2] = y; in arrayInstance()
159 yararar[0][1][0] = y; in arrayInstance()
160 yararar[0][1][1] = y; in arrayInstance()
[all …]
/art/test/107-int-math2/src/
DMain.java337 static int intOperTest(int x, int y) { in intOperTest() argument
341 results[0] = x + y; in intOperTest()
342 results[1] = x - y; in intOperTest()
343 results[2] = x * y; in intOperTest()
345 results[4] = x / y; in intOperTest()
346 results[5] = x % -y; in intOperTest()
347 results[6] = x & y; in intOperTest()
348 results[7] = x | y; in intOperTest()
349 results[8] = x ^ y; in intOperTest()
352 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in intOperTest()
[all …]
/art/test/481-regression-phi-cond/src/
DMain.java25 public static boolean inlinePhi(boolean x, boolean y, boolean z) { in inlinePhi() argument
30 phi = y; 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/101-fibonacci/src/
DMain.java49 int y = fibonacci(x); in main() local
50 System.out.printf("fibonacci(%d)=%d\n", x, y); in main()
51 y = fibonacci(x + 1); in main()
52 System.out.printf("fibonacci(%d)=%d\n", x + 1, y); in main()
/art/test/455-checker-gvn/src/
DMain.java32 public static int foo(int x, int y) { in foo() argument
33 int sum1 = x + y; in foo()
34 int sum2 = y + x; in foo()
/art/test/476-checker-ctor-memory-barrier/src/
DMain.java86 final int y; field in HaveFinalsAndInheritFromClassWithFinals
98 y = 0; in HaveFinalsAndInheritFromClassWithFinals()
109 y = 0; in HaveFinalsAndInheritFromClassWithFinals()
/art/test/044-proxy/src/
DBasicTest.java131 public int rectangle(int x, int y); in rectangle() argument
141 public int rectangle(int x, int y); in rectangle() argument
142 public int square(int x, int y); in square() argument
143 public int trapezoid(int x, double off, int y); in trapezoid() argument
181 public int rectangle(int x, int y) { in rectangle() argument
182 System.out.println("--- rectangle " + x + "," + y); in rectangle()
185 public int square(int x, int y) { in square() argument
186 System.out.println("--- square " + x + "," + y); in square()
189 public int trapezoid(int x, double off, int y) { in trapezoid() argument
190 System.out.println("--- trap " + x + "," + y + "," + off); in trapezoid()
/art/compiler/optimizing/
Dnodes.h1920 virtual int32_t Evaluate(int32_t x, int32_t y) const = 0;
1921 virtual int64_t Evaluate(int64_t x, int64_t y) const = 0;
1970 int32_t Evaluate(int32_t x, int32_t y) const OVERRIDE { in Evaluate() argument
1971 return x == y ? 1 : 0; in Evaluate()
1973 int64_t Evaluate(int64_t x, int64_t y) const OVERRIDE { in Evaluate() argument
1974 return x == y ? 1 : 0; in Evaluate()
1994 int32_t Evaluate(int32_t x, int32_t y) const OVERRIDE { in Evaluate() argument
1995 return x != y ? 1 : 0; in Evaluate()
1997 int64_t Evaluate(int64_t x, int64_t y) const OVERRIDE { in Evaluate() argument
1998 return x != y ? 1 : 0; in Evaluate()
[all …]
/art/test/052-verifier-fun/src/
DMain.java126 Object y = x; in instanceOfTest() local
127 if (y instanceof String) { in instanceOfTest()
131 ((String)y).charAt(0); in instanceOfTest()
/art/test/484-checker-register-hints/src/
DMain.java75 if (y) { in test2()
113 if (y) { in test3()
131 static boolean y; field in Main
/art/test/MyClassNatives/
DMyClassNatives.java23 native int fooII(int x, int y); in fooII() argument
24 native long fooJJ(long x, long y); in fooJJ() argument
26 native double fooDD(double x, double y); in fooDD() argument
27 synchronized native long fooJJ_synchronized(long x, long y); in fooJJ_synchronized() argument
28 native Object fooIOO(int x, Object y, Object z); in fooIOO() argument
29 static native Object fooSIOO(int x, Object y, Object z); in fooSIOO() argument
30 static native int fooSII(int x, int y); in fooSII() argument
31 static native double fooSDD(double x, double y); in fooSDD() argument
32 static synchronized native Object fooSSIOO(int x, Object y, Object z); in fooSSIOO() argument
/art/test/442-checker-constant-folding/src/
DMain.java46 int x, y; in IntNegation() local
48 y = -x; in IntNegation()
49 return y; in IntNegation()
/art/test/010-instance/
Dexpected.txt4 y instanceof X (true): true
5 y instanceof Y (true): true
/art/runtime/
Ddex_file_verifier_test.cc60 uint32_t t = 0, y = 0; in DecodeBase64() local
79 if (++y == 4) { in DecodeBase64()
87 y = t = 0; in DecodeBase64()
90 if (y != 0) { in DecodeBase64()

12