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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
  150   while (read_len < max_len) {
  151     if (read_len >= buff->size())
  152       buff->resize(Min(Max(PageSize, read_len * 2), max_len));
  153     CHECK_LT(read_len, buff->size());
  156     if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
  156     if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
  161     read_len += just_read;
  166   buff->resize(read_len);