/art/test/911-get-stack-trace/src/art/ |
D | Recurse.java | 20 public static int foo(int x, int start, int max, ControlData data) { in foo() argument 21 bar(x, start, max, data); in foo() 25 private static long bar(int x, int start, int max, ControlData data) { in bar() argument 26 baz(x, start, max, data); in bar() 30 private static Object baz(int x, int start, int max, ControlData data) { in baz() argument 32 printOrWait(start, max, data); in baz() 34 foo(x - 1, start, max, data); in baz() 39 private static void printOrWait(int start, int max, ControlData data) { in printOrWait() argument 41 PrintThread.print(Thread.currentThread(), start, max); in printOrWait() local
|
D | ThreadListTraces.java | 67 public static void printList(Thread[] threads, int max) { in printList() argument 68 PrintThread.printAll(getThreadListStackTraces(threads, max)); in printList() 72 public static native Object[][] getThreadListStackTraces(Thread threads[], int max); in getThreadListStackTraces() argument
|
D | AllTraces.java | 74 public static void printAll(int max) { in printAll() argument 75 PrintThread.printAll(getAllStackTraces(max)); in printAll() 81 public static native Object[][] getAllStackTraces(int max); in getAllStackTraces() argument
|
D | PrintThread.java | 37 public static void print(Thread t, int start, int max) { in print() argument 38 print(getStackTrace(t, start, max)); in print() 91 public static native String[][] getStackTrace(Thread thread, int start, int max); in getStackTrace() argument
|
/art/runtime/interpreter/ |
D | safe_math_test.cc | 28 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max(), 1), in TEST() 30 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max(), 1), in TEST() 34 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max() - 1, 1), in TEST() 35 std::numeric_limits<int32_t>::max()); in TEST() 36 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max() - 1, 1), in TEST() 37 std::numeric_limits<int64_t>::max()); in TEST() 64 std::numeric_limits<int32_t>::max()); in TEST() 66 std::numeric_limits<int64_t>::max()); in TEST() 69 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::max() - 1, -1), in TEST() 70 std::numeric_limits<int32_t>::max()); in TEST() [all …]
|
/art/test/674-hiddenapi/ |
D | hiddenapi-flags.csv | 3 LNullaryConstructorDarkGreylist;-><init>()V,greylist-max-o 7 LParentClass;->fieldPackageDarkGreylist:I,greylist-max-o 11 LParentClass;->fieldPackageStaticDarkGreylist:I,greylist-max-o 15 LParentClass;->fieldPrivateDarkGreylist:I,greylist-max-o 19 LParentClass;->fieldPrivateStaticDarkGreylist:I,greylist-max-o 23 LParentClass;->fieldProtectedDarkGreylist:I,greylist-max-o 27 LParentClass;->fieldProtectedStaticDarkGreylist:I,greylist-max-o 33 LParentClass;->fieldPublicDarkGreylistB:I,greylist-max-o 34 LParentClass;->fieldPublicDarkGreylist:I,greylist-max-o 41 LParentClass;->fieldPublicStaticDarkGreylistB:I,greylist-max-o [all …]
|
/art/libartbase/base/ |
D | bit_utils_test.cc | 180 static_cast<int64_t>(std::numeric_limits<int32_t>::max()) + 1; 182 static_cast<int64_t>(std::numeric_limits<uint32_t>::max()) + 1; 194 EXPECT_FALSE(IsInt<int32_t>(31, std::numeric_limits<int32_t>::max())); in TEST() 196 EXPECT_TRUE(IsInt<int32_t>(32, std::numeric_limits<int32_t>::max())); in TEST() 209 EXPECT_FALSE(IsInt<int64_t>(31, std::numeric_limits<int32_t>::max())); in TEST() 211 EXPECT_TRUE(IsInt<int64_t>(32, std::numeric_limits<int32_t>::max())); in TEST() 215 EXPECT_FALSE(IsInt<int64_t>(63, std::numeric_limits<int64_t>::max())); in TEST() 217 EXPECT_TRUE(IsInt<int64_t>(64, std::numeric_limits<int64_t>::max())); in TEST() 229 static_assert(!IsInt<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsInt32#10"); 231 static_assert(IsInt<32, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsInt32#12"); [all …]
|
D | utils.h | 97 static constexpr uint32_t max() { return std::numeric_limits<uint32_t>::max(); } in max() function 106 static T GetRandomNumber(T min, T max) { in GetRandomNumber() argument 107 CHECK_LT(min, max); in GetRandomNumber() 108 std::uniform_int_distribution<T> dist(min, max); in GetRandomNumber()
|
/art/test/133-static-invoke-super/src/ |
D | Main.java | 12 public void testDirect(int max) { in testDirect() argument 13 for (int i = 0; i < max; ++i) { in testDirect() 14 getVarDirect(max); in testDirect() 17 public void testStatic(int max) { in testStatic() argument 18 for (int i = 0; i < max; ++i) { in testStatic() 19 getVar(max); in testStatic()
|
/art/dex2oat/linker/ |
D | image_write_read_test.cc | 24 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max()); in TEST_F() 29 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max()); in TEST_F() 34 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max()); in TEST_F()
|
D | image_test.cc | 36 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F() 49 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F() 110 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F() 170 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F()
|
/art/libdexfile/dex/ |
D | dex_file_types.h | 34 constexpr DexIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} in DexIndex() 38 return index_ != std::numeric_limits<decltype(index_)>::max(); in IsValid() 41 return DexIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 68 return ProtoIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 78 return StringIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 88 return TypeIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid()
|
D | dex_file_verifier.h | 58 angle_bracket_start_index_(std::numeric_limits<size_t>::max()), in DexFileVerifier() 59 angle_bracket_end_index_(std::numeric_limits<size_t>::max()), in DexFileVerifier() 60 angle_init_angle_index_(std::numeric_limits<size_t>::max()), in DexFileVerifier() 61 angle_clinit_angle_index_(std::numeric_limits<size_t>::max()) { in DexFileVerifier()
|
/art/test/679-checker-minmax/src/ |
D | Main.java | 98 return Math.max(a, 20); in maxI() 123 return Math.max(a, 20L); in maxL() 197 return Math.max(a, 0); in maxIntConstantZero() 207 return Math.max(a, 1); in maxIntConstantOne() 217 return Math.max(a, -1); in maxIntConstantMinusOne() 229 return Math.max(a, 8193); in maxIntLargeConstant() 239 return Math.max(a, 0L); in maxLongConstantZero() 249 return Math.max(a, 1L); in maxLongConstantOne() 259 return Math.max(a, -1L); in maxLongConstantMinusOne() 271 return Math.max(a, 8193L); in maxLongLargeConstant()
|
/art/runtime/entrypoints/ |
D | math_entrypoints_test.cc | 28 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_d2l(1.85e19)); in TEST_F() 40 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_f2l(1.85e19)); in TEST_F() 52 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_d2i(4.3e9)); in TEST_F() 64 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_f2i(4.3e9)); in TEST_F()
|
/art/test/082-inline-execute/src/ |
D | Main.java | 496 Math.max(1, 0); 497 Assert.assertEquals(Math.max(0, 0), 0); 498 Assert.assertEquals(Math.max(1, 0), 1); 499 Assert.assertEquals(Math.max(0, 1), 1); 500 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE); 501 Assert.assertEquals(Math.max(Integer.MIN_VALUE, 0), 0); 502 Assert.assertEquals(Math.max(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MAX_VALUE); 516 Math.max(1L, 0L); 517 Assert.assertEquals(Math.max(0L, 0L), 0L); 518 Assert.assertEquals(Math.max(1L, 0L), 1L); [all …]
|
/art/compiler/optimizing/ |
D | data_type.h | 187 return std::numeric_limits<bool>::max(); in MaxValueOfIntegralType() 189 return std::numeric_limits<uint8_t>::max(); in MaxValueOfIntegralType() 191 return std::numeric_limits<int8_t>::max(); in MaxValueOfIntegralType() 193 return std::numeric_limits<uint16_t>::max(); in MaxValueOfIntegralType() 195 return std::numeric_limits<int16_t>::max(); in MaxValueOfIntegralType() 197 return std::numeric_limits<uint32_t>::max(); in MaxValueOfIntegralType() 199 return std::numeric_limits<int32_t>::max(); in MaxValueOfIntegralType() 201 return std::numeric_limits<uint64_t>::max(); in MaxValueOfIntegralType() 203 return std::numeric_limits<int64_t>::max(); in MaxValueOfIntegralType()
|
/art/test/053-wait-some/src/ |
D | Main.java | 66 long max = delay + epsilon; in doit() local 71 } else if (elapsed > max) { in doit() 73 + "elapsed=" + elapsed + " max=" + max); in doit()
|
/art/test/708-jit-cache-churn/src/ |
D | JitCacheChurnTest.java | 179 d *= Math.max(Math.sin(d), Math.sinh(d)); in $noinline$Call() 180 d *= Math.max(1.33, 0.17 * Math.sinh(d)); in $noinline$Call() 181 d *= Math.max(1.34, 0.21 * Math.sinh(d)); in $noinline$Call() 182 d *= Math.max(1.35, 0.32 * Math.sinh(d)); in $noinline$Call() 183 d *= Math.max(1.36, 0.41 * Math.sinh(d)); in $noinline$Call() 184 d *= Math.max(1.37, 0.57 * Math.sinh(d)); in $noinline$Call() 185 d *= Math.max(1.38, 0.61 * Math.sinh(d)); in $noinline$Call() 186 d *= Math.max(1.39, 0.79 * Math.sinh(d)); in $noinline$Call()
|
/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 129 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint start, jint max) { in Java_art_PrintThread_getStackTrace() argument 130 std::unique_ptr<jvmtiFrameInfo[]> frames(new jvmtiFrameInfo[max]); in Java_art_PrintThread_getStackTrace() 134 jvmtiError result = jvmti_env->GetStackTrace(thread, start, max, frames.get(), &count); in Java_art_PrintThread_getStackTrace() 144 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jint max) { in Java_art_AllTraces_getAllStackTraces() argument 148 jvmtiError result = jvmti_env->GetAllStackTraces(max, &stack_infos, &thread_count); in Java_art_AllTraces_getAllStackTraces() 172 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobjectArray jthreads, jint max) { in Java_art_ThreadListTraces_getThreadListStackTraces() argument 183 max, in Java_art_ThreadListTraces_getThreadListStackTraces()
|
/art/test/574-irreducible-and-constant-area/src/ |
D | Main.java | 32 Math.max(a, b); in $inline$foo() 38 Math.max(a, b); in $inline$foo()
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 96 int32_t jchar_max = static_cast<int32_t>(std::numeric_limits<jchar>::max()); in CharConstant() 109 const ConstantType& result = FromCat1Const(std::numeric_limits<jint>::max(), false); in IntConstant() 115 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant() 121 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); in PosShortConstant()
|
/art/test/679-checker-minmax/ |
D | info.txt | 1 Functional tests on detecting min/max.
|
/art/test/988-method-trace/src/art/ |
D | Test988Intrinsics.java | 89 java.lang.Math.max(0.0, 0.0); in test() 90 java.lang.Math.max(0.0f, 0.0f); in test() 91 java.lang.Math.max(0L, 0L); in test() 92 java.lang.Math.max(0, 0); in test()
|
/art/dexdump/ |
D | dexdump_cfg.cc | 160 uint32_t last_node_id = std::numeric_limits<uint32_t>::max(); in DumpMethodCFG() 162 uint32_t block_start_dex_pc = std::numeric_limits<uint32_t>::max(); in DumpMethodCFG() 189 if (old_last != std::numeric_limits<uint32_t>::max()) { in DumpMethodCFG() 218 last_node_id = std::numeric_limits<uint32_t>::max(); in DumpMethodCFG() 270 last_node_id = std::numeric_limits<uint32_t>::max(); in DumpMethodCFG()
|