/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 | 70 int l = 0; in breakLoop() local 72 int i = l; in breakLoop() 73 if (l <= u) { in breakLoop() 109 int l = 0; in breakLoopDown() local 112 if (u >= l) { in breakLoopDown() 115 if (i == l) break; in breakLoopDown() 171 int l = Integer.MAX_VALUE - 16; in breakLoopSafeConst() local 173 int i = l; in breakLoopSafeConst() 174 if (l <= u) { // will be removed by simplifier in breakLoopSafeConst() 176 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/178-app-image-native-method/ |
D | native_methods.cc | 140 jlong l, in Java_CriticalSignatures_nativeILFFFFD() argument 147 if (l != INT64_C(0xf00000002)) return -2; in Java_CriticalSignatures_nativeILFFFFD() 157 jlong l, in Java_CriticalSignatures_nativeLIFFFFD() argument 164 if (l != INT64_C(0xf00000007)) return -1; in Java_CriticalSignatures_nativeLIFFFFD() 176 jlong l, in Java_CriticalSignatures_nativeFLIFFFD() argument 183 if (l != INT64_C(0xf00000002)) return -1; in Java_CriticalSignatures_nativeFLIFFFD() 217 jlong l, in Java_CriticalSignatures_nativeDFFILIII() argument 225 if (l != INT64_C(0xf00000005)) return -5; in Java_CriticalSignatures_nativeDFFILIII() 237 jlong l, in Java_CriticalSignatures_nativeDDFILIII() argument 245 if (l != INT64_C(0xf00000004)) return -5; in Java_CriticalSignatures_nativeDDFILIII() [all …]
|
/art/test/027-arithmetic/ |
D | expected-stdout.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/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/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/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:StringBuilderAppen… 51 ## CHECK-DAG: <<String2:l\d+>> LoadString 52 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBuilderAppen… [all …]
|
/art/test/458-long-to-fpu/src/ |
D | Main.java | 24 long l = myLong; in $noinline$FloatConvert() local 25 myFloat = (float)l; in $noinline$FloatConvert() 26 return l; in $noinline$FloatConvert() 30 long l = myLong; in $noinline$DoubleConvert() local 31 myDouble = (double)l; in $noinline$DoubleConvert() 32 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/1967-get-set-local-bad-slot/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/1955-pop-frame-jit-called/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/1929-exception-catch-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/1924-frame-pop-toggle/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/1971-multi-force-early-return/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/1923-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/jvmti-common/ |
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/1969-force-early-return-void/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/996-breakpoint-obsolete/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/1964-add-to-dex-classloader-file/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 …]
|