/art/test/ProtoCompare/ |
D | ProtoCompare.java | 18 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/ |
D | ProtoCompare2.java | 18 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/ |
D | logging.h | 43 #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 …]
|
D | stringpiece.h | 161 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/ |
D | Main.java | 23 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/ |
D | FloatMath.java | 135 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 …]
|
D | IntMath.java | 164 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 …]
|
D | Classes.java | 79 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 …]
|
D | UnresTest1.java | 42 int y = UnresStuff.staticField; in run() local
|
/art/test/107-int-math2/src/ |
D | Main.java | 337 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/ |
D | Main.java | 49 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/ |
D | BasicTest.java | 131 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/ |
D | Main.java | 126 Object y = x; in instanceOfTest() local 127 if (y instanceof String) { in instanceOfTest() 131 ((String)y).charAt(0); in instanceOfTest()
|
/art/test/MyClassNatives/ |
D | MyClassNatives.java | 23 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/ |
D | dex_file_verifier_test.cc | 60 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()
|
D | dex_file_test.cc | 65 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/ |
D | stub_test.cc | 1265 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/ |
D | expected.txt | 4 y instanceof X (true): true 5 y instanceof Y (true): true
|
/art/test/GetMethodSignature/ |
D | GetMethodSignature.java | 19 GetMethodSignature m2(boolean x, short y, char z) { return null; } in m2() argument
|
/art/test/010-instance/src/ |
D | InstanceTest.java | 30 Y y = new Y(); in main() local 41 test = y; in main()
|
/art/test/075-verification-error/src/ |
D | Main.java | 62 int y = Mutant.disappearingStaticField; in testMissingStuff() local 98 int y = Mutant.inaccessibleStaticField; in testBadAccess() local
|
/art/test/106-exceptions2/src/ |
D | Main.java | 181 static int throwImplicitDivZero(int x, int y) { in throwImplicitDivZero() argument 182 return x / y; in throwImplicitDivZero()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 293 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/ |
D | Bitmap.java | 50 public void drawAt(int x, int y) { in drawAt() argument
|
/art/runtime/mirror/ |
D | object_test.cc | 537 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()
|