Home
last modified time | relevance | path

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

123456789

/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()
92 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 LNullaryConstructorConditionallyBlocked;-><init>()V,max-target-o
7 LParentClass;->fieldPackageConditionallyBlocked:I,max-target-o
11 LParentClass;->fieldPackageStaticConditionallyBlocked:I,max-target-o
15 LParentClass;->fieldPrivateConditionallyBlocked:I,max-target-o
19 LParentClass;->fieldPrivateStaticConditionallyBlocked:I,max-target-o
23 LParentClass;->fieldProtectedConditionallyBlocked:I,max-target-o
27 LParentClass;->fieldProtectedStaticConditionallyBlocked:I,max-target-o
33 LParentClass;->fieldPublicConditionallyBlockedB:I,max-target-o
34 LParentClass;->fieldPublicConditionallyBlocked:I,max-target-o
41 LParentClass;->fieldPublicStaticConditionallyBlockedB:I,max-target-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.h106 static constexpr uint32_t max() { return std::numeric_limits<uint32_t>::max(); } in max() function
115 static T GetRandomNumber(T min, T max) { in GetRandomNumber() argument
116 CHECK_LT(min, max); in GetRandomNumber()
117 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/test/567-checker-builder-intrinsics/src/
DTestMinMax.java80 return Math.max(a, 20); in maxI()
99 return Math.max(a, 20L); in maxL()
173 return Math.max(a, 0); in maxIntConstantZero()
183 return Math.max(a, 1); in maxIntConstantOne()
193 return Math.max(a, -1); in maxIntConstantMinusOne()
205 return Math.max(a, 8193); in maxIntLargeConstant()
215 return Math.max(a, 0L); in maxLongConstantZero()
225 return Math.max(a, 1L); in maxLongConstantOne()
235 return Math.max(a, -1L); in maxLongConstantMinusOne()
247 return Math.max(a, 8193L); in maxLongLargeConstant()
/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/runtime/
Djava_frame_root_info.h33 static_assert(std::numeric_limits<size_t>::max() > std::numeric_limits<uint16_t>::max(),
47 static constexpr size_t kMaxVReg = std::numeric_limits<uint16_t>::max();
/art/compiler/optimizing/
Ddata_type.h191 return std::numeric_limits<bool>::max(); in MaxValueOfIntegralType()
193 return std::numeric_limits<uint8_t>::max(); in MaxValueOfIntegralType()
195 return std::numeric_limits<int8_t>::max(); in MaxValueOfIntegralType()
197 return std::numeric_limits<uint16_t>::max(); in MaxValueOfIntegralType()
199 return std::numeric_limits<int16_t>::max(); in MaxValueOfIntegralType()
201 return std::numeric_limits<uint32_t>::max(); in MaxValueOfIntegralType()
203 return std::numeric_limits<int32_t>::max(); in MaxValueOfIntegralType()
205 return std::numeric_limits<uint64_t>::max(); in MaxValueOfIntegralType()
207 return std::numeric_limits<int64_t>::max(); in MaxValueOfIntegralType()
/art/test/082-inline-execute/src/
DMain.java499 Math.max(1, 0);
500 Assert.assertEquals(Math.max(0, 0), 0);
501 Assert.assertEquals(Math.max(1, 0), 1);
502 Assert.assertEquals(Math.max(0, 1), 1);
503 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE);
504 Assert.assertEquals(Math.max(Integer.MIN_VALUE, 0), 0);
505 Assert.assertEquals(Math.max(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MAX_VALUE);
519 Math.max(1L, 0L);
520 Assert.assertEquals(Math.max(0L, 0L), 0L);
521 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/053-wait-some/src/
DMain.java67 long max = delay + epsilon; in doit() local
76 } else if (elapsed > max) { in doit()
78 + "elapsed=" + elapsed + " max=" + max); in doit()
/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/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/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/runtime/verifier/
Dreg_type_cache-inl.h97 int32_t jchar_max = static_cast<int32_t>(std::numeric_limits<jchar>::max()); in CharConstant()
110 const ConstantType& result = FromCat1Const(std::numeric_limits<jint>::max(), false); in IntConstant()
116 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant()
122 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); in PosShortConstant()
/art/test/822-hiddenapi-future/
Dhiddenapi-flags.csv1 LMyClass;->futureHidden()I,max-target-future
/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/dexdump/
Ddexdump_cfg.cc160 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()
/art/cmdline/
Dcmdline_parse_result.h74 const T& max) { in OutOfRange()
78 ", max: " + art::detail::ToStringAny(max)); in OutOfRange()

123456789