HomeSort by: relevance | last modified time | path
    Searched refs:ReadFromFile (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_file.h 64 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
sanitizer_file.cc 121 if (!ReadFromFile(fd, *buff + *read_len, size - *read_len, &just_read,
157 if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
sanitizer_rtems.cc 211 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_posix.cc 179 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_win.cc 536 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) ||
553 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) ||
685 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_symbolizer_libcdep.cc 459 bool success = ReadFromFile(input_fd_, buffer + read_len,
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_file.h 64 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
sanitizer_file.cpp 147 if (!ReadFromFile(fd, *buff + *read_len, size - *read_len, &just_read,
183 if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
sanitizer_win.cpp 586 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) ||
602 if (!ReadFromFile(fd, buf, buf_size, &bytes_read) || bytes_read != buf_size)
737 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_posix.cpp 172 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_symbolizer_libcdep.cpp 522 bool success = ReadFromFile(input_fd_, buffer + read_len,
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_file.h 64 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
sanitizer_file.cpp 152 if (!ReadFromFile(fd, *buff + *read_len, size - *read_len, &just_read,
188 if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len,
sanitizer_win.cpp 618 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) ||
634 if (!ReadFromFile(fd, buf, buf_size, &bytes_read) || bytes_read != buf_size)
780 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_posix.cpp 184 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read,
sanitizer_symbolizer_libcdep.cpp 537 bool ret = ReadFromFile(input_fd_, &buffer_[size_before],
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
sysinfo.cc 201 bool ReadFromFile(std::string const& fname, ArgT* arg) {
220 if (ReadFromFile(governor_file, &res) && res != "performance") return true;
269 if (!ReadFromFile(StrCat(FPath, "type"), &info.type))
271 if (!ReadFromFile(StrCat(FPath, "level"), &info.level))
274 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str))
483 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq)
486 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq",
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
sysinfo.cc 199 bool ReadFromFile(std::string const& fname, ArgT* arg) {
218 if (ReadFromFile(governor_file, &res) && res != "performance") return true;
267 if (!ReadFromFile(StrCat(FPath, "type"), &info.type))
269 if (!ReadFromFile(StrCat(FPath, "level"), &info.level))
272 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str))
444 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq)
447 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq",
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 154 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read));
159 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read));
sanitizer_linux_test.cc 281 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) {

Completed in 43 milliseconds