/art/test/911-get-stack-trace/src/art/ |
H A D | AllTraces.java | 74 public static void printAll(int max) { argument 75 PrintThread.printAll(getAllStackTraces(max)); 81 public static native Object[][] getAllStackTraces(int max); argument
|
H A D | ThreadListTraces.java | 67 public static void printList(Thread[] threads, int max) { argument 68 PrintThread.printAll(getThreadListStackTraces(threads, max)); 72 public static native Object[][] getThreadListStackTraces(Thread threads[], int max); argument
|
H A D | Recurse.java | 20 public static int foo(int x, int start, int max, ControlData data) { argument 21 bar(x, start, max, data); 25 private static long bar(int x, int start, int max, ControlData data) { argument 26 baz(x, start, max, data); 30 private static Object baz(int x, int start, int max, ControlData data) { argument 32 printOrWait(start, max, data); 34 foo(x - 1, start, max, data); 39 private static void printOrWait(int start, int max, ControlData data) { argument 41 PrintThread.print(Thread.currentThread(), start, max);
|
H A D | PrintThread.java | 37 public static void print(Thread t, int start, int max) { argument 38 print(getStackTrace(t, start, max)); 91 public static native String[][] getStackTrace(Thread thread, int start, int max); argument
|
/art/test/133-static-invoke-super/src/ |
H A D | Main.java | 12 public void testDirect(int max) { argument 13 for (int i = 0; i < max; ++i) { 14 getVarDirect(max); 17 public void testStatic(int max) { argument 18 for (int i = 0; i < max; ++i) { 19 getVar(max);
|
/art/cmdline/ |
H A D | cmdline_parse_result.h | 70 // which is printed from the actual/min/max values. 74 const T& max) { 78 ", max: " + art::detail::ToStringAny(max)); 72 OutOfRange(const T& value, const T& min, const T& max) argument
|
H A D | cmdline_parser.h | 122 ArgumentBuilder<TArg>& WithRange(const TArg& min, const TArg& max) { argument 125 argument_info_.max_ = max;
|
/art/test/911-get-stack-trace/ |
H A D | stack_trace.cc | 128 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint start, jint max) { 129 std::unique_ptr<jvmtiFrameInfo[]> frames(new jvmtiFrameInfo[max]); 133 jvmtiError result = jvmti_env->GetStackTrace(thread, start, max, frames.get(), &count); 143 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jint max) { 147 jvmtiError result = jvmti_env->GetAllStackTraces(max, &stack_infos, &thread_count); 171 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobjectArray jthreads, jint max) { 182 max, 127 Java_art_PrintThread_getStackTrace( JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint start, jint max) argument 142 Java_art_AllTraces_getAllStackTraces( JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jint max) argument 170 Java_art_ThreadListTraces_getThreadListStackTraces( JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobjectArray jthreads, jint max) argument
|
/art/runtime/base/ |
H A D | bit_vector.cc | 223 // Difference until max, we know both accept it: 258 storage_[idx] = std::numeric_limits<uint32_t>::max(); 275 unsigned int max = storage_size_; local 276 for (int idx = max - 1; idx >= 0; idx--) {
|
/art/runtime/ |
H A D | utils.h | 46 if (std::numeric_limits<T>::max() < result) { 60 if (result < std::numeric_limits<T>::min() || std::numeric_limits<T>::max() < result) { 255 double max, 263 static constexpr uint32_t max() { return std::numeric_limits<uint32_t>::max(); } function in struct:art::Arc4RandomGenerator 272 static T GetRandomNumber(T min, T max) { argument 273 CHECK_LT(min, max); 274 std::uniform_int_distribution<T> dist(min, max);
|
H A D | utils.cc | 906 double max, 918 sane_val = iss.eof() && (value >= min) && (value <= max); 922 sane_val = *end == '\0' && value >= min && value <= max; 903 ParseDouble(const std::string& option, char after_char, double min, double max, double* parsed_value, UsageFn Usage) argument
|
H A D | dex_file.cc | 470 if (i == std::numeric_limits<size_t>::max()) { 928 // Note: Signed type is important for max and min. 930 int32_t max = code_item.tries_size_ - 1; local 932 while (min <= max) { 933 int32_t mid = min + ((max - min) / 2); 940 max = mid - 1;
|
H A D | dex_file_verifier.cc | 38 static constexpr uint32_t kTypeIdLimit = std::numeric_limits<uint16_t>::max(); 286 uintptr_t max = 0 - 1; local 287 size_t available_bytes_till_end_of_mem = max - reinterpret_cast<uintptr_t>(start);
|
/art/compiler/optimizing/ |
H A D | induction_var_analysis.cc | 734 int64_t max = Primitive::MaxValueOfIntegralType(to); local 739 IsAtMost(initial, &value) && value <= max) { 937 int64_t max = Primitive::MaxValueOfIntegralType(type); local 943 (IsAtMost(upper_expr, &value) && value <= (max - stride_value + 1)); 945 return (IsAtMost(upper_expr, &value) && value <= (max - stride_value)); 963 int64_t max = Primitive::MaxValueOfIntegralType(type); local 968 max--; 975 IsAtMost(lower_expr, &value) && value <= max && 977 IsAtMost(upper_expr, &value) && value <= max;
|
H A D | induction_var_range.cc | 25 return std::numeric_limits<int32_t>::min() <= c && c <= std::numeric_limits<int32_t>::max(); 50 if (a > 0 && b > 0 && a > (std::numeric_limits<int64_t>::max() / b)) { 166 int32_t max = Primitive::MaxValueOfIntegralType(type); local 167 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) 481 // in any loop, or are contained in a proper interval. This allows finding the min/max 545 // analysis (finding max a * (TC - 1) + OFFSET for a == 1 and TC = UPPER - OFFSET or finding 643 // loop-body is minimal 1 and maximal, with safe trip-count, max int, 648 return Value(std::numeric_limits<int32_t>::max()); 672 return is_min ? Value(0) : Value(std::numeric_limits<int32_t>::max()); 948 : std::max(v [all...] |
/art/tools/jfuzz/ |
H A D | jfuzz.cc | 345 case 4: fprintf(out_, "%s.max", prefix); break; 347 case 6: fputs("Math.max", out_); break; 359 case 3: fprintf(out_, "%s.max", prefix); break; 361 case 5: fputs("Math.max", out_); break; 1089 // Return random integer in range [0,max). 1090 uint32_t random0(uint32_t max) { argument 1091 std::uniform_int_distribution<uint32_t> gen(0, max - 1); 1095 // Return random integer in range [1,max]. 1096 uint32_t random1(uint32_t max) { argument 1097 std::uniform_int_distribution<uint32_t> gen(1, max); [all...] |
/art/tools/dmtracedump/ |
H A D | tracedump.cc | 45 /* thread list in key file is not reliable, so just max out */ 2346 int32_t max = (d1->numMethods < d2->numMethods) ? d2->numMethods : d1->numMethods; local 2347 max++; 2348 DiffEntry* diffs = new DiffEntry[max]; 2349 memset(diffs, 0, max * sizeof(DiffEntry));
|