Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 191) sorted by relevance

12345678

/art/test/403-optimizing-long/src/
DMain.java28 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/669-checker-break/src/
DMain.java59 int l = 0; in breakLoop() local
61 int i = l; in breakLoop()
62 if (l <= u) { in breakLoop()
98 int l = 0; in breakLoopDown() local
101 if (u >= l) { in breakLoopDown()
104 if (i == l) break; in breakLoopDown()
149 int l = Integer.MAX_VALUE - 16; in breakLoopSafeConst() local
151 int i = l; in breakLoopSafeConst()
152 if (l <= u) { // will be removed by simplifier in breakLoopSafeConst()
154 a[i - l] = 3; in breakLoopSafeConst()
[all …]
/art/test/027-arithmetic/src/
DMain.java27 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/
Dexpected.txt5 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/908-gc-start-finish/src/art/
DTest908.java28 ArrayList<Object> l = new ArrayList<>(100); in doTest() local
33 run(l); in doTest()
36 run(l); in doTest()
39 private static void run(ArrayList<Object> l) { in run() argument
40 allocate(l, 1); in run()
41 l.clear(); in run()
50 allocate(l, i); in run()
52 l.clear(); in run()
63 private static void allocate(ArrayList<Object> l, long tag) { in allocate() argument
65 l.add(obj); in allocate()
/art/test/923-monitors/
Dmonitors.cc36 static jrawMonitorID LongToMonitor(jlong l) { in LongToMonitor() argument
37 return reinterpret_cast<jrawMonitorID>(static_cast<uintptr_t>(l)); in LongToMonitor()
51 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l) { in Java_art_Test923_destroyRawMonitor() argument
52 jvmtiError result = jvmti_env->DestroyRawMonitor(LongToMonitor(l)); in Java_art_Test923_destroyRawMonitor()
57 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l) { in Java_art_Test923_rawMonitorEnter() argument
58 jvmtiError result = jvmti_env->RawMonitorEnter(LongToMonitor(l)); in Java_art_Test923_rawMonitorEnter()
63 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l) { in Java_art_Test923_rawMonitorExit() argument
64 jvmtiError result = jvmti_env->RawMonitorExit(LongToMonitor(l)); in Java_art_Test923_rawMonitorExit()
69 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l, jlong millis) { in Java_art_Test923_rawMonitorWait() argument
70 jvmtiError result = jvmti_env->RawMonitorWait(LongToMonitor(l), millis); in Java_art_Test923_rawMonitorWait()
[all …]
/art/test/102-concurrent-gc/src/
DMain.java28 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/552-checker-x86-avx2-bit-manipulation/src/
DMain.java128 int l = 20; in reset_lowest_set_bit_32() local
135 l +=k; in reset_lowest_set_bit_32()
136 l = l & l-1; in reset_lowest_set_bit_32()
138 return y + j + k + l; in reset_lowest_set_bit_32()
167 long l = 20; in reset_lowest_set_bit_64() local
174 l +=k; in reset_lowest_set_bit_64()
175 l = l & l-1; in reset_lowest_set_bit_64()
177 return y + j + k + l; in reset_lowest_set_bit_64()
/art/test/904-object-allocation/src/art/
DTest904.java25 ArrayList<Object> l = new ArrayList<>(100); in run() local
29 doTest(l); in run()
43 public static void doTest(ArrayList<Object> l) throws Exception { in doTest() argument
55 l.add(new Object()); in doTest()
56 l.add(new Integer(1)); in doTest()
60 l.add(new Float(1.0f)); in doTest()
64 l.add(new Short((short)0)); in doTest()
68 l.add(new Byte((byte)0)); in doTest()
74 Thread test_thread = testThread(l, true, true); in doTest()
76 l.add(new Byte((byte)0)); in doTest()
[all …]
/art/test/003-omnibus-opcodes/src/
DFloatMath.java28 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 …]
/art/test/458-long-to-fpu/src/
DMain.java31 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/test/624-checker-stringops/smali/
DSmali.smali20 ## CHECK-DAG: <<New:l\d+>> NewInstance
21 ## CHECK-DAG: <<String1:l\d+>> LoadString
22 ## CHECK-DAG: <<Append1:l\d+>> InvokeVirtual [<<New>>,<<String1>>] intrinsic:StringBufferAppend
23 ## CHECK-DAG: <<String2:l\d+>> LoadString
24 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBufferAppend
48 ## CHECK-DAG: <<New:l\d+>> NewInstance
49 ## CHECK-DAG: <<String1:l\d+>> LoadString
50 ## CHECK-DAG: <<Append1:l\d+>> InvokeVirtual [<<New>>,<<String1>>] intrinsic:StringBuilderAppen…
51 ## CHECK-DAG: <<String2:l\d+>> LoadString
52 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBuilderAppen…
[all …]
/art/test/580-checker-round/src/
DMain.java145 for (long l = -100; l <= 100; ++l) { in main()
146 expectEquals64(l - 1, round64((double) l - 0.51d)); in main()
147 expectEquals64(l, round64((double) l - 0.5d)); in main()
148 expectEquals64(l, round64((double) l)); in main()
149 expectEquals64(l + 1, round64((double) l + 0.5d)); in main()
150 expectEquals64(l + 1, round64((double) l + 0.51d)); in main()
/art/test/064-field-access/src/
DOOMEOnNullAccess.java45 int l = 1024 * 1024; in main() local
46 while (l > 8) { in main()
48 storage.add(new byte[l]); in main()
50 l = l/2; in main()
/art/test/655-checker-simd-arm-opt/src/
DMain.java51 …private static void encodableConstants(byte[] b, short[] s, char[] c, int[] a, long[] l, float[] f… in encodableConstants() argument
65 l[i] += 5; in encodableConstants()
75 …private static int sumArray(byte[] b, short[] s, char[] c, int[] a, long[] l, float[] f, double[] … in sumArray() argument
78 sum += b[i] + s[i] + c[i] + a[i] + l[i] + f[i] + d[i]; in sumArray()
90 long[] l = new long[ARRAY_SIZE]; in main() local
94 encodableConstants(b, s, c, a, l, f, d); in main()
95 expectEquals(3700, sumArray(b, s, c, a, l, f, d)); in main()
/art/test/1955-pop-frame-jit-called/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1956-pop-frame-jit-calling/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1935-get-set-current-frame-jit/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1939-proxy-frames/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1941-dispose-stress/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1947-breakpoint-redefine-deopt/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1966-get-set-local-objects-no-table/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1967-get-set-local-bad-slot/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]
/art/test/1968-force-early-return/src/art/
DBreakpoint.java60 for (LineNumber l : lines) { in getLine()
61 if (l.location > location) { in getLine()
64 best = l.line; in getLine()
145 public static void setBreakpoint(Executable m, LineNumber l) { in setBreakpoint() argument
146 setBreakpoint(m, l.location); in setBreakpoint()
150 public static void clearBreakpoint(Executable m, LineNumber l) { in clearBreakpoint() argument
151 clearBreakpoint(m, l.location); in clearBreakpoint()
175 for (Breakpoint.LineNumber l : lines) { in locationToLine()
176 if (l.location > location) { in locationToLine()
179 best = l.line; in locationToLine()
[all …]

12345678