Home
last modified time | relevance | path

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

12

/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/runtime/base/
Dlogging.h43 #define CHECK_EQ(x, y) CHECK_OP(x, y, ==) argument
44 #define CHECK_NE(x, y) CHECK_OP(x, y, !=) argument
45 #define CHECK_LE(x, y) CHECK_OP(x, y, <=) argument
46 #define CHECK_LT(x, y) CHECK_OP(x, y, <) argument
47 #define CHECK_GE(x, y) CHECK_OP(x, y, >=) argument
48 #define CHECK_GT(x, y) CHECK_OP(x, y, >) argument
82 #define DCHECK_EQ(x, y) CHECK_EQ(x, y) argument
83 #define DCHECK_NE(x, y) CHECK_NE(x, y) argument
84 #define DCHECK_LE(x, y) CHECK_LE(x, y) argument
85 #define DCHECK_LT(x, y) 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 StringPiece& y) {
188 return !(x == y);
191 inline bool operator<(const StringPiece& x, const StringPiece& y) {
192 const int r = memcmp(x.data(), y.data(),
193 std::min(x.size(), y.size()));
194 return ((r < 0) || ((r == 0) && (x.size() < y.size())));
197 inline bool operator>(const StringPiece& x, const StringPiece& y) {
[all …]
/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/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 …]
DUnresTest1.java42 int y = UnresStuff.staticField; in run() local
/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/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/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/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/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/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()
Ddex_file_test.cc65 uint32_t t = 0, y = 0; in DecodeBase64() local
84 if (++y == 4) { in DecodeBase64()
92 y = t = 0; in DecodeBase64()
95 if (y != 0) { in DecodeBase64()
/art/runtime/arch/
Dstub_test.cc1265 for (size_t y = 0; y < kStringCount; ++y) { in TEST_F() local
1266 expected[x][y] = s[x]->CompareTo(s[y].Get()); in TEST_F()
1273 for (size_t y = 0; y < kStringCount; ++y) { in TEST_F() local
1276 reinterpret_cast<size_t>(s[y].Get()), 0U, in TEST_F()
1287 int32_t e = expected[x][y]; in TEST_F()
1288 EXPECT_TRUE(e == 0 ? conv.i == 0 : true) << "x=" << c[x] << " y=" << c[y] << " res=" << in TEST_F()
1290 EXPECT_TRUE(e < 0 ? conv.i < 0 : true) << "x=" << c[x] << " y=" << c[y] << " res=" << in TEST_F()
1292 EXPECT_TRUE(e > 0 ? conv.i > 0 : true) << "x=" << c[x] << " y=" << c[y] << " res=" << in TEST_F()
1803 for (size_t y = 0; y < kCharCount; ++y) { in TEST_F() local
1805 expected[x][y][z] = s[x]->FastIndexOf(c_char[y], static_cast<int32_t>(z) - 1); in TEST_F()
[all …]
/art/test/010-instance/
Dexpected.txt4 y instanceof X (true): true
5 y instanceof Y (true): true
/art/test/GetMethodSignature/
DGetMethodSignature.java19 GetMethodSignature m2(boolean x, short y, char z) { return null; } in m2() argument
/art/test/010-instance/src/
DInstanceTest.java30 Y y = new Y(); in main() local
41 test = y; in main()
/art/test/075-verification-error/src/
DMain.java62 int y = Mutant.disappearingStaticField; in testMissingStuff() local
98 int y = Mutant.inaccessibleStaticField; in testBadAccess() local
/art/test/106-exceptions2/src/
DMain.java181 static int throwImplicitDivZero(int x, int y) { in throwImplicitDivZero() argument
182 return x / y; in throwImplicitDivZero()
/art/compiler/jni/
Djni_compiler_test.cc293 jint Java_MyClassNatives_fooII(JNIEnv* env, jobject thisObj, jint x, jint y) { in Java_MyClassNatives_fooII() argument
302 return x - y; // non-commutative operator in Java_MyClassNatives_fooII()
325 jlong Java_MyClassNatives_fooJJ(JNIEnv* env, jobject thisObj, jlong x, jlong y) { in Java_MyClassNatives_fooJJ() argument
334 return x - y; // non-commutative operator in Java_MyClassNatives_fooJJ()
358 jdouble Java_MyClassNatives_fooDD(JNIEnv* env, jobject thisObj, jdouble x, jdouble y) { in Java_MyClassNatives_fooDD() argument
367 return x - y; // non-commutative operator in Java_MyClassNatives_fooDD()
390 jlong Java_MyClassNatives_fooJJ_synchronized(JNIEnv* env, jobject thisObj, jlong x, jlong y) { in Java_MyClassNatives_fooJJ_synchronized() argument
399 return x | y; in Java_MyClassNatives_fooJJ_synchronized()
420 jobject Java_MyClassNatives_fooIOO(JNIEnv* env, jobject thisObj, jint x, jobject y, in Java_MyClassNatives_fooIOO() argument
429 size_t null_args = (y == nullptr ? 1 : 0) + (z == nullptr ? 1 : 0); in Java_MyClassNatives_fooIOO()
[all …]
/art/test/079-phantom/src/
DBitmap.java50 public void drawAt(int x, int y) { in drawAt() argument
/art/runtime/mirror/
Dobject_test.cc537 Handle<Object> y(hs.NewHandle(Y->AllocObject(soa.Self()))); in TEST_F() local
539 ASSERT_TRUE(y.Get() != NULL); in TEST_F()
543 EXPECT_TRUE(y->InstanceOf(X)); in TEST_F()
544 EXPECT_TRUE(y->InstanceOf(Y)); in TEST_F()

12