Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 178) sorted by relevance

12345678

/art/test/911-get-stack-trace/src/art/
DRecurse.java20 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
DThreadListTraces.java67 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
DAllTraces.java74 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
DPrintThread.java37 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/
Dsafe_math_test.cc28 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/
Dhiddenapi-flags.csv3 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/
Dbit_utils_test.cc180 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 …]
Dutils.h97 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/
DMain.java12 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/libdexfile/dex/
Ddex_file_types.h34 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()
/art/runtime/
Djava_frame_root_info.h33 static_assert(std::numeric_limits<size_t>::max() > std::numeric_limits<uint16_t>::max(),
45 static constexpr size_t kMaxVReg = std::numeric_limits<uint16_t>::max();
/art/runtime/entrypoints/
Dmath_entrypoints_test.cc28 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/679-checker-minmax/src/
DMain.java98 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/compiler/optimizing/
Ddata_type.h187 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/
DMain.java66 long max = delay + epsilon; in doit() local
71 } else if (elapsed > max) { in doit()
73 + "elapsed=" + elapsed + " max=" + max); in doit()
/art/test/082-inline-execute/src/
DMain.java496 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/test/708-jit-cache-churn/src/
DJitCacheChurnTest.java179 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/574-irreducible-and-constant-area/src/
DMain.java32 Math.max(a, b); in $inline$foo()
38 Math.max(a, b); in $inline$foo()
/art/test/911-get-stack-trace/
Dstack_trace.cc129 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/dex2oat/linker/
Dimage_test.cc36 /*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()
112 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F()
172 /*max_image_block_size=*/std::numeric_limits<uint32_t>::max(), in TEST_F()
/art/test/679-checker-minmax/
Dinfo.txt1 Functional tests on detecting min/max.
/art/runtime/verifier/
Dreg_type_cache-inl.h96 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/compiler/debug/
Delf_compilation_unit.h31 uint64_t code_address = std::numeric_limits<uint64_t>::max();
/art/test/988-method-trace/src/art/
DTest988Intrinsics.java89 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/runtime/arch/arm/
Dquick_entrypoints_cc_arm.cc50 fpr_double_index = std::max(fpr_double_index, RoundUp(fpr_index, 2)); in quick_invoke_reg_setup()
66 fpr_index = std::max(fpr_double_index, fpr_index); in quick_invoke_reg_setup()

12345678