reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  356     return Min(Max(rz_log, RZSize2Log(min_rz)), RZSize2Log(max_rz));
  534       uptr fill_size = Min(size, (uptr)fl.max_malloc_fill_size);
  581         size_to_fill = Min(size_to_fill, (uptr)fl.max_free_fill_size);
  666       uptr memcpy_size = Min(new_size, m->UsedSize());
projects/compiler-rt/lib/asan/asan_debugging.cpp
   41                        Min(name_size, vars[i].name_len + 1));
   66     size = Min(size, Min(stack.size, kStackTraceMax));
   66     size = Min(size, Min(stack.size, kStackTraceMax));
projects/compiler-rt/lib/asan/asan_interceptors.cpp
  408     uptr copy_length = Min(size, from_length + 1);
  480     uptr from_size = Min(size, MaybeRealStrnlen(from, size) + 1);
projects/compiler-rt/lib/asan/asan_malloc_linux.cpp
  109   const uptr copy_size = Min(size, kDlsymAllocPoolSize - offset);
projects/compiler-rt/lib/asan/asan_memory_profile.cpp
   65     for (uptr i = 0; i < Min(allocations_.size(), max_number_of_contexts);
projects/compiler-rt/lib/asan/asan_poisoning.cpp
  123         *beg.chunk = Min(value, beg.offset);
  136       *beg.chunk = Min(beg.value, beg.offset);
  375   uptr a = RoundDownTo(Min(old_mid, new_mid), granularity);
  418   uptr r1_end = Min(beg + kMaxRangeToCheck, mid);
  420   uptr r2_end = Min(end, mid + kMaxRangeToCheck);
projects/compiler-rt/lib/asan/asan_report.cpp
   53   error_message_buffer_pos += Min(remaining, length);
projects/compiler-rt/lib/asan/asan_thread.cpp
  210         Min(stack_size_log, static_cast<uptr>(flags()->max_uar_stack_size_log));
projects/compiler-rt/lib/hwasan/hwasan_allocator.cpp
  138     uptr fill_size = Min(size, (uptr)flags()->max_malloc_fill_size);
  218         Min(TaggedSize(orig_size), (uptr)flags()->max_free_fill_size);
  249                     Min(new_size, static_cast<uptr>(meta->requested_size)));
projects/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
  149     uptr copy_size = Min(size, kDlsymAllocPoolSize - offset);
projects/compiler-rt/lib/hwasan/hwasan_linux.cpp
  226   ProtectGap(0, Min(kLowMemStart, kLowShadowStart));
projects/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h
   19   uptr len = Min(stack->size, (unsigned)7);
projects/compiler-rt/lib/hwasan/hwasan_report.cpp
  144   uptr frames = Min((uptr)flags()->stack_history_size, sa->size());
  528            Min(access_size, static_cast<uptr>(offset) + (1 << kShadowScale)));
projects/compiler-rt/lib/lsan/lsan_common.cpp
  314   uptr intersection_end = Min(region_end, root_region.begin + root_region.size);
  499       stack.size = Min(stack.size, resolution);
projects/compiler-rt/lib/msan/msan_allocator.cpp
  218   uptr memcpy_size = Min(new_size, old_size);
projects/compiler-rt/lib/msan/msan_interceptors.cpp
  905     uptr copy_size = Min(size, kDlsymAllocPoolSize - offset);
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
  107     uptr memcpy_size = Min(new_size, old_size);
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
  249     const uptr count = Min(c->max_count / 2, c->count);
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary32.h
  100       return Min(kMaxNumCached, SizeClassMap::MaxCachedHint(size));
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_size_class_map.h
  180     return Max<uptr>(1U, Min(kMaxNumCachedHint, n));
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
  384     COMMON_INTERCEPTOR_READ_RANGE(ctx, s, Min(length + 1, maxlen));
  476   COMMON_INTERCEPTOR_READ_RANGE((ctx), (s1), Min(i1 + 1, size));
  477   COMMON_INTERCEPTOR_READ_RANGE((ctx), (s2), Min(i2 + 1, size));
  539   COMMON_INTERCEPTOR_READ_RANGE((ctx), (s1), Min(i1 + 1, size));
  540   COMMON_INTERCEPTOR_READ_RANGE((ctx), (s2), Min(i2 + 1, size));
  852       COMMON_INTERCEPTOR_READ_RANGE(ctx, s1, Min(i + 1, size));
  853       COMMON_INTERCEPTOR_READ_RANGE(ctx, s2, Min(i + 1, size));
  981     SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
  991     SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
 2621     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, addr, Min(addrlen_in, *addrlen));
 2833       COMMON_INTERCEPTOR_WRITE_RANGE(ctx, addr, Min(*addrlen, addrlen0));
 2858       COMMON_INTERCEPTOR_WRITE_RANGE(ctx, addr, Min(*addrlen, addrlen0));
 3104     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, addr, Min(addr_sz, *addrlen));
 6398     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, Min((SIZE_T)res, len));
 6415     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, Min((SIZE_T)res, len));
 6418                                           Min((SIZE_T)*addrlen, srcaddr_sz));
 6439     COMMON_INTERCEPTOR_READ_RANGE(ctx, buf, Min((SIZE_T)res, len));
 6454     COMMON_INTERCEPTOR_READ_RANGE(ctx, buf, Min((SIZE_T)res, len));
 6709   COMMON_INTERCEPTOR_READ_RANGE(ctx, s, sizeof(wchar_t) * Min(res + 1, n));
 6735                                 Min(src_size + 1, n) * sizeof(wchar_t));
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
  136     SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
  148     SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp
  130   len = Min<uptr>(len, DDReport::kMaxLoopSize);
projects/compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
  103   uptr kMinFileLen = Min(PageSize, max_len);
  106   for (uptr size = kMinFileLen;; size = Min(size * 2, max_len)) {
  152       buff->resize(Min(Max(PageSize, read_len * 2), max_len));
projects/compiler-rt/lib/sanitizer_common/sanitizer_libc.cpp
  255     return (s64)(Min((u64)INT64_MAX, res));
projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_linux.cpp
   70         Min((uptr)(next_line - data_.current), segment->filename_size - 1);
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
  132     out_buf += __sanitizer::Min<uptr>(n, frame_desc.length());
projects/compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cpp
   42                      Min(path_to_exec_len, new_file_path_size - 1));
projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
  129   UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
projects/compiler-rt/lib/scudo/scudo_allocator.cpp
  534       memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize));
projects/compiler-rt/lib/tsan/rtl/tsan_debugging.cpp
  259   size = Min(size, (uptr)stack.size);
projects/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
  208         internal_mmap(p, Min<uptr>(marker.size() * sizeof(u64), shadow_end - p),
projects/compiler-rt/lib/ubsan/ubsan_diag.cpp
  265     Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min);
  272     Min = __sanitizer::Min(Max - BytesToShow, OrigMin);