/art/test/403-optimizing-long/src/ |
D | Main.java | 28 long l = $opt$ReturnLong(); in main() local 29 expectEquals(42, l); in main() 30 System.out.println("Long: " + l); in main() 32 l = $opt$TakeOneLong1(42); in main() 33 expectEquals(42, l); in main() 35 l = $opt$TakeOneLong2(0, 42); in main() 36 expectEquals(42, l); in main() 38 l = $opt$TakeOneLong3(0, 1, 42); in main() 39 expectEquals(42, l); in main() 41 l = $opt$TakeOneLong4(0, 1, 2, 42); in main() [all …]
|
/art/test/027-arithmetic/src/ |
D | Main.java | 27 long l; in shiftTest1() local 32 l = i1 | ((long)i2 << 32); in shiftTest1() 37 System.out.println("First l is " + Long.toHexString(l)); in shiftTest1() 39 l = (long)mBytes[0] in shiftTest1() 48 System.out.println("Second l is " + Long.toHexString(l)); in shiftTest1() 73 long l; in convTest() local 95 l = (long) d; in convTest() 96 System.out.println("d=" + d + " --> l=" + l); in convTest() 99 l = (long) d; in convTest() 100 System.out.println("d=" + d + " --> l=" + l); in convTest() [all …]
|
/art/test/027-arithmetic/ |
D | expected.txt | 5 d=5.6789567890123E9 --> l=5678956789 6 d=-5.6789567890123E9 --> l=-5678956789 7 i=7654 --> l=7654 8 i=-7654 --> l=-7654 9 l=5678956789 --> i=1383989493 10 l=-5678956789 --> i=-1383989493 14 First l is bbaa998844332211 15 Second l is bbaa998844332211 16 shiftTest2 l is 1122334455667788
|
/art/test/102-concurrent-gc/src/ |
D | Main.java | 28 ByteContainer[] l = new ByteContainer[buckets]; in main() local 31 l[i] = new ByteContainer(); in main() 37 l[index].bytes = new byte[bufferSize]; in main() 54 for (int j = 0; j < l.length; ++j) { in main() 55 int a = l.length - i - 1; in main() 57 byte[] temp = l[a].bytes; in main() 58 l[a].bytes = l[b].bytes; in main() 59 l[b].bytes = temp; in main()
|
/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 28 long l; in convTest() local 41 l = (long) f; in convTest() 42 Main.assertTrue(l == 1238); in convTest() 45 l = (long) f; in convTest() 46 Main.assertTrue(l == -1238); in convTest() 64 l = (long) d; in convTest() 65 Main.assertTrue(l == 5678956789L); in convTest() 68 l = (long) d; in convTest() 69 Main.assertTrue(l == -5678956789L); in convTest() 78 l = (long) i; in convTest() [all …]
|
D | Array.java | 142 long l = 0L; in checkRange64() local 147 l = longs[5]; // exact bound in checkRange64() 153 longs[5] = l; // exact bound in checkRange64() 159 l = longs[6]; // one past in checkRange64() 165 l = longs[negVal1]; // -1 in checkRange64() 171 longs[negVal1] = l; // -1 in checkRange64() 177 l = longs[negVal2]; // min int in checkRange64()
|
D | IntMath.java | 28 long l; in shiftTest1() local 33 l = i1 | ((long)i2 << 32); in shiftTest1() 37 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1() 39 l = (long)mBytes[0] in shiftTest1() 48 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1() 127 long l; in convTest() local 131 l = (long) i; in convTest() 132 Main.assertTrue(l == 7654L); in convTest() 135 l = (long) i; in convTest() 136 Main.assertTrue(l == -7654L); in convTest() [all …]
|
/art/test/458-long-to-fpu/src/ |
D | Main.java | 31 long l = myLong; in $noinline$FloatConvert() local 32 myFloat = (float)l; in $noinline$FloatConvert() 33 return l; in $noinline$FloatConvert() 41 long l = myLong; in $noinline$DoubleConvert() local 42 myDouble = (double)l; in $noinline$DoubleConvert() 43 return l; in $noinline$DoubleConvert()
|
/art/runtime/interpreter/mterp/mips/ |
D | op_float_to_int.S | 9 l.s fa1, .LFLOAT_TO_INT_max 11 l.s fv0, .LFLOAT_TO_INT_ret_max 14 l.s fa1, .LFLOAT_TO_INT_min 16 l.s fv0, .LFLOAT_TO_INT_ret_min 24 l.s fa1, .LFLOAT_TO_INT_max 26 l.s fv0, .LFLOAT_TO_INT_ret_max 29 l.s fa1, .LFLOAT_TO_INT_min 31 l.s fv0, .LFLOAT_TO_INT_ret_min
|
D | op_float_to_long.S | 6 l.s fa1, .LLONG_TO_max 12 l.s fa1, .LLONG_TO_min 24 l.s fa1, .LLONG_TO_max 30 l.s fa1, .LLONG_TO_min
|
D | op_double_to_int.S | 16 l.s fv0, .LDOUBLE_TO_INT_maxret 22 l.s fv0, .LDOUBLE_TO_INT_minret 33 l.s fv0, .LDOUBLE_TO_INT_maxret 39 l.s fv0, .LDOUBLE_TO_INT_minret
|
/art/test/104-growth-limit/src/ |
D | Main.java | 32 List<byte[]> l = new ArrayList<byte[]>(); in main() local 36 l.add(new byte[1048576]); in main() 40 l = null; in main() 45 l = new ArrayList<byte[]>(); in main() 49 l.add(new byte[1048576]); in main() 53 l = null; in main()
|
/art/test/580-checker-round/src/ |
D | Main.java | 113 for (long l = -100; l <= 100; ++l) { in main() 114 expectEquals64(l - 1, round64((double) l - 0.51d)); in main() 115 expectEquals64(l + 1, round64((double) l + 0.5d)); in main() 116 expectEquals64(l + 1, round64((double) l + 0.5d)); in main()
|
/art/runtime/entrypoints/ |
D | math_entrypoints.cc | 23 extern "C" double art_l2d(int64_t l) { in art_l2d() argument 24 return static_cast<double>(l); in art_l2d() 27 extern "C" float art_l2f(int64_t l) { in art_l2f() argument 28 return static_cast<float>(l); in art_l2f()
|
D | math_entrypoints.h | 22 extern "C" double art_l2d(int64_t l); 23 extern "C" float art_l2f(int64_t l);
|
/art/test/004-checker-UnsafeTest18/src/ |
D | Main.java | 39 public long l = 0; field in Main 185 expectEqual64(7L, m.l); in main() 194 expectEqual64(20L, m.l); in main() 214 expectEqual64(109L, m.l); // one thread's last value wins in main() 243 expectEqual64(659L, m.l); // all values accounted for in main() 249 m.l = -2L; in main() 257 expectEqual64(-2L, m.l); in main() 268 m.l = 0L; in main() 274 expectEqual64(-123456789L, m.l); in main() 278 m.l = -123456789L; in main() [all …]
|
/art/test/440-stmp/src/ |
D | Main.java | 24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar() 28 float h, float i, float j, float k, float l, float m, float n, float o) { in baz() argument 29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz() 43 float l = 12.0f; field in Main
|
/art/test/577-checker-fp2int/src/ |
D | Main.java | 85 for (long l = 0; l <= 100; l++) { in main() 86 expectEquals64(l, d2long(Double.longBitsToDouble(l))); in main()
|
/art/test/114-ParallelGC/src/ |
D | Main.java | 62 ArrayList<Object> l = new ArrayList<Object>(); in allocateObjectsToRunGc() local 65 l.add(new ArrayList<Object>(i)); in allocateObjectsToRunGc() 96 ArrayList<Object> l = new ArrayList<Object>(); in work() local 97 store = l; // Keep it alive. in work() 105 l.add(new ArrayList<Object>(i)); in work()
|
/art/runtime/ |
D | jvalue.h | 55 mirror::Object* GetL() const { return l; } in GetL() 56 void SetL(mirror::Object* new_l) { l = new_l; } in SetL() 66 mirror::Object** GetGCRoot() { return &l; } in GetGCRoot() 77 mirror::Object* l; member
|
/art/test/107-int-math2/src/ |
D | Main.java | 207 long l; in shiftTest1() local 221 l = i1 | ((long)i2 << 32); in shiftTest1() 225 if (l != 0xbbaa998844332211L) { return 3; } in shiftTest1() 227 l = (long)mBytes[0] in shiftTest1() 236 if (l != 0xbbaa998844332211L) { return 4; } in shiftTest1() 281 long l; in convTest() local 285 l = (long) i; in convTest() 286 if (l != 7654L) { return 1; } in convTest() 289 l = (long) i; in convTest() 290 if (l != -7654L) { return 2; } in convTest() [all …]
|
/art/test/090-loop-formation/src/ |
D | Main.java | 66 for (int l = 0; l < 2; l++) { in deeplyNested()
|
/art/test/407-arrays/src/ |
D | Main.java | 125 long l = -21876876876876876L; in $opt$testLongWrites() local 126 longs[0] = l; in $opt$testLongWrites() 127 assertEquals(l, longs[0]); in $opt$testLongWrites() 128 l = -21876876876876877L; in $opt$testLongWrites() 129 longs[index] = l; in $opt$testLongWrites() 130 assertEquals(l, longs[index]); in $opt$testLongWrites()
|
/art/test/485-checker-dce-switch/src/ |
D | Main.java | 35 int l = 100; in wholeSwitchDead() local 57 l += i; in wholeSwitchDead() 60 return l; in wholeSwitchDead()
|
/art/test/467-regalloc-pair/src/ |
D | Main.java | 20 public void invokeInterface(long l, int i); in invokeInterface() argument 34 public void invokeInterface(long l, int i) { in invokeInterface() argument
|