Home
last modified time | relevance | path

Searched refs:ReadFromFile (Results 1 – 25 of 27) sorted by relevance

12

/external/angle/util/windows/
Dtest_utils_win.cpp89 void ReadFromFile(bool blocking, HANDLE handle, std::string *out) in ReadFromFile() function
283 ReadFromFile(true, mStdoutPipe.readHandle, &mStdout); in finish()
288 ReadFromFile(true, mStderrPipe.readHandle, &mStderr); in finish()
304 ReadFromFile(false, mStdoutPipe.readHandle, &mStdout); in finished()
309 ReadFromFile(false, mStderrPipe.readHandle, &mStderr); in finished()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputbuffer.cc89 TF_RETURN_IF_ERROR(ReadFromFile()); in Inflate()
133 TF_RETURN_IF_ERROR(ReadFromFile()); in ReadCompressedBlockLength()
150 Status SnappyInputBuffer::ReadFromFile() { in ReadFromFile() function in tensorflow::io::SnappyInputBuffer
Dsnappy_inputbuffer.h77 Status ReadFromFile();
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc198 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile() function
217 if (ReadFromFile(governor_file, &res) && res != "performance") return true; in CpuScalingEnabled()
266 if (!ReadFromFile(StrCat(FPath, "type"), &info.type)) in GetCacheSizesFromKVFS()
268 if (!ReadFromFile(StrCat(FPath, "level"), &info.level)) in GetCacheSizesFromKVFS()
271 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str)) in GetCacheSizesFromKVFS()
443 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) in GetCPUCyclesPerSecond()
446 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", in GetCPUCyclesPerSecond()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc201 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile() function
220 if (ReadFromFile(governor_file, &res) && res != "performance") return true; in CpuScalingEnabled()
269 if (!ReadFromFile(StrCat(FPath, "type"), &info.type)) in GetCacheSizesFromKVFS()
271 if (!ReadFromFile(StrCat(FPath, "level"), &info.level)) in GetCacheSizesFromKVFS()
274 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str)) in GetCacheSizesFromKVFS()
483 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) in GetCPUCyclesPerSecond()
486 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", in GetCPUCyclesPerSecond()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dsysinfo.cc201 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile() function
220 if (ReadFromFile(governor_file, &res) && res != "performance") return true; in CpuScalingEnabled()
269 if (!ReadFromFile(StrCat(FPath, "type"), &info.type)) in GetCacheSizesFromKVFS()
271 if (!ReadFromFile(StrCat(FPath, "level"), &info.level)) in GetCacheSizesFromKVFS()
274 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str)) in GetCacheSizesFromKVFS()
483 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) in GetCPUCyclesPerSecond()
486 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", in GetCPUCyclesPerSecond()
/external/google-benchmark/src/
Dsysinfo.cc206 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile() function
228 if (ReadFromFile(governor_file, &res) && res != "performance") return CPUInfo::Scaling::ENABLED; in CpuScaling()
278 if (!ReadFromFile(StrCat(FPath, "type"), &info.type)) in GetCacheSizesFromKVFS()
280 if (!ReadFromFile(StrCat(FPath, "level"), &info.level)) in GetCacheSizesFromKVFS()
283 if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str)) in GetCacheSizesFromKVFS()
543 if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) in GetCPUCyclesPerSecond()
546 || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", in GetCPUCyclesPerSecond()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.cpp129 if (!ReadFromFile(fd, *buff + *read_len, size - *read_len, &just_read, in ReadFileToBuffer()
165 if (!ReadFromFile(fd, buff->data() + read_len, buff->size() - read_len, in ReadFileToVector()
Dsanitizer_file.h64 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
Dsanitizer_win.cpp576 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || in GetPreferredBase()
593 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || in GetPreferredBase()
726 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() function
Dsanitizer_rtems.cpp212 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() function
Dsanitizer_posix.cpp172 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() function
Dsanitizer_symbolizer_libcdep.cpp522 bool success = ReadFromFile(input_fd_, buffer + read_len, in ReadFromSymbolizer()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST()
137 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); in TEST()
Dsanitizer_linux_test.cc288 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { in TEST()
/external/angle/util/posix/
Dtest_utils_posix.cpp78 ReadResult ReadFromFile(int fd, std::string *out) in ReadFromFile() function
100 while (ReadFromFile(fd, out) == ReadResult::GotData) in ReadEntireFile()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_bootstrap.h72 static std::unique_ptr<XdsBootstrap> ReadFromFile(XdsClient* client,
Dxds_bootstrap.cc137 std::unique_ptr<XdsBootstrap> XdsBootstrap::ReadFromFile(XdsClient* client, in ReadFromFile() function in grpc_core::XdsBootstrap
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cpp154 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST()
159 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); in TEST()
Dsanitizer_linux_test.cpp280 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc422 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || in GetPreferredBase()
439 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || in GetPreferredBase()
568 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() function
Dsanitizer_symbolizer_libcdep.cc400 bool success = ReadFromFile(input_fd_, buffer + read_len, in ReadFromSymbolizer()
Dsanitizer_posix.cc225 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() function
Dsanitizer_common.cc142 if (!ReadFromFile(fd, *buff + *read_len, PageSize, &just_read, errno_p)) { in ReadFileToBuffer()
/external/libchrome/libchrome_tools/patch/
Dpath_service.patch50 -TEST(JSONReaderTest, ReadFromFile) {

12