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

References

projects/compiler-rt/lib/asan/asan_debugging.cpp
   35   for (uptr i = 0; i < vars.size(); i++) {
projects/compiler-rt/lib/asan/asan_descriptions.cpp
  390   uptr n_objects = vars.size();
projects/compiler-rt/lib/asan/asan_globals.cpp
  100   for (uptr i = 0, n = global_registration_site_vector->size(); i < n; i++) {
  264   for (uptr i = 0, n = dynamic_init_globals->size(); i < n; ++i) {
  430   for (uptr i = 0, n = dynamic_init_globals->size(); i < n; ++i) {
  453   for (uptr i = 0, n = dynamic_init_globals->size(); i < n; ++i) {
projects/compiler-rt/lib/asan/asan_memory_profile.cpp
   51     Sort(allocations_.data(), allocations_.size(),
   65     for (uptr i = 0; i < Min(allocations_.size(), max_number_of_contexts);
   87     for (uptr i = 0; i < allocations_.size(); i++) {
projects/compiler-rt/lib/hwasan/hwasan_report.cpp
   60     uptr old_size = error_message_ptr_->size();
projects/compiler-rt/lib/lsan/lsan_common.cpp
  220       reinterpret_cast<uptr>(registers.data() + registers.size());
  339   for (uptr i = 0; i < root_regions->size(); i++) {
  345   while (frontier->size()) {
  456   CHECK_EQ(0, frontier.size());
  512   if (!matched.size())
  518   for (uptr i = 0; i < matched.size(); i++)
  533     uptr i = InternalLowerBound(suspended_threads, 0, suspended_threads.size(),
  535     if (i >= suspended_threads.size() || suspended_threads[i] != tctx->os_id)
  547   Sort(threads.data(), threads.size());
  671   for (i = 0; i < leaks_.size(); i++) {
  679   if (i == leaks_.size()) {
  680     if (leaks_.size() == kMaxLeaksConsidered) return;
  699   CHECK(leaks_.size() <= kMaxLeaksConsidered);
  701   if (leaks_.size() == kMaxLeaksConsidered)
  709   Sort(leaks_.data(), leaks_.size(), &LeakComparator);
  711   for (uptr i = 0; i < leaks_.size(); i++) {
  742   for (uptr j = 0; j < leaked_objects_.size(); j++) {
  750   CHECK(leaks_.size() <= kMaxLeaksConsidered);
  752   for (uptr i = 0; i < leaks_.size(); i++) {
  764   for (uptr i = 0; i < leaks_.size(); i++) {
  777   for (uptr i = 0; i < leaks_.size(); i++)
  832   for (uptr i = 0; i < root_regions->size(); i++) {
  836       uptr last_index = root_regions->size() - 1;
projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
  500   bool empty() const { return size() == 0; }
  509     return data() + size();
  512     return data() + size();
  774   uptr size() const { return modules_.size(); }
  776     CHECK_LT(i, modules_.size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp
  123     u32 i = pc_vector.size();
  139     internal_memset(&pc_vector[0], 0, sizeof(pc_vector[0]) * pc_vector.size());
  144     __sanitizer_dump_coverage(pc_vector.data(), pc_vector.size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
  151     if (read_len >= buff->size())
  153     CHECK_LT(read_len, buff->size());
  154     CHECK_LE(buff->size(), max_len);
  156     if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
projects/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cpp
   42   if (name && internal_readlink(name, buf.data(), buf.size() - 1) > 0 &&
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
  920     CHECK_GE(buffer_.size(), 4096);
  922         descriptor_, (struct linux_dirent *)buffer_.data(), buffer_.size());
  950     } else if (read > buffer_.size() - 1024) {
  953       buffer_.resize(buffer_.size() * 2);
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
  547     ReadBinaryNameCached(module_name.data(), module_name.size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
  349   CHECK_LT(length_, size());
  352   VSNPrintf(data() + length_, size() - length_, format, args);
  355   CHECK_LT(length_, size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
  124   MemoryMappedSegment segment(module_name.data(), module_name.size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
  135   Sort(map_.data(), map_.size(), &IdDescPair::IdComparator);
  139   if (!map_.size())
  143       InternalLowerBound(map_, 0, map_.size(), pair, IdDescPair::IdComparator);
  144   if (idx > map_.size() || map_[idx].id != id)
projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
  516   CHECK_LT(index, thread_ids_.size());
  521   return thread_ids_.size();
  525   for (uptr i = 0; i < thread_ids_.size(); i++) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cpp
   38   if (ReadBinaryNameCached(exec.data(), exec.size())) {
   73   filename = FindFile(filename, new_file_path.data(), new_file_path.size());
   96   for (uptr i = 0; i < suppressions_.size(); i++) {
  158   return suppressions_.size();
  170   CHECK_LT(i, suppressions_.size());
  176   for (uptr i = 0; i < suppressions_.size(); i++)
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.cpp
  103   for (uptr i = 0; i < storage_.size(); ++i) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
  285     for (uptr i = 0; i < addr2line_pool_.size(); ++i) {
projects/compiler-rt/lib/stats/stats.cpp
   89   return modules.size() - 1;
projects/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
  187   internal_write(fd, marker.data(), marker.size() * sizeof(u64));
  207            p += marker.size() * sizeof(u64)) {
  208         internal_mmap(p, Min<uptr>(marker.size() * sizeof(u64), shadow_end - p),
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  143   WriteMemoryProfile(buf.data(), buf.size(), n_threads, n_running_threads);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
  546   for (uptr k = 0; k < ctx->fired_suppressions.size(); k++) {
  563   for (uptr k = 0; k < ctx->fired_suppressions.size(); k++) {
projects/compiler-rt/lib/tsan/rtl/tsan_suppressions.cpp
  149   if (!matched.size())
  152   for (uptr i = 0; i < matched.size(); i++)
  156   for (uptr i = 0; i < matched.size(); i++) {