/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/669-checker-break/src/ |
D | Main.java | 59 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/ |
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/908-gc-start-finish/src/art/ |
D | Test908.java | 28 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/ |
D | monitors.cc | 36 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/ |
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/904-object-allocation/src/art/ |
D | Test904.java | 25 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/552-checker-x86-avx2-bit-manipulation/src/ |
D | Main.java | 128 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/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 …]
|
/art/test/624-checker-stringops/smali/ |
D | Smali.smali | 20 ## 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:StringBuilderAppend 51 ## CHECK-DAG: <<String2:l\d+>> LoadString 52 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBuilderAppend [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/test/580-checker-round/src/ |
D | Main.java | 145 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/1959-redefine-object-instrument/src/art/ |
D | Breakpoint.java | 60 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/ |
D | Breakpoint.java | 60 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/1913-get-set-local-objects/src/art/ |
D | Breakpoint.java | 60 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/1925-self-frame-pop/src/art/ |
D | Breakpoint.java | 60 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/994-breakpoint-line/src/art/ |
D | Breakpoint.java | 60 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/995-breakpoints-throw/src/art/ |
D | Breakpoint.java | 60 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/997-single-step/src/art/ |
D | Breakpoint.java | 60 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/993-breakpoints/src/art/ |
D | Breakpoint.java | 60 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/1927-exception-event/src/art/ |
D | Breakpoint.java | 60 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/1953-pop-frame/src/art/ |
D | Breakpoint.java | 60 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/1928-exception-event-exception/src/art/ |
D | Breakpoint.java | 60 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/1916-get-set-current-frame/src/art/ |
D | Breakpoint.java | 60 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 …]
|