Home
last modified time | relevance | path

Searched refs:ReadFileToBuffer (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp199 TEST_P(SanitizerCommonFileTest, ReadFileToBuffer) { in TEST_P() argument
203 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size)); in TEST_P()
213 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size, data_.size())); in TEST_P()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_linux.cpp20 if (!ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
H A Dsanitizer_procmaps_common.cpp153 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
H A Dsanitizer_suppressions.cpp81 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile()
H A Dsanitizer_flag_parser.cpp156 if (!ReadFileToBuffer(path, &data, &data_mapped_size, &len, in ParseFile()
H A Dsanitizer_file.cpp127 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
H A Dsanitizer_fuchsia.cpp388 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
H A Dsanitizer_linux.cpp617 if (!ReadFileToBuffer("/proc/self/environ", &environ, &environ_size, &len)) in GetEnv()
652 if (!ReadFileToBuffer(path, &buff, &buff_size, &buff_len, 1024 * 1024)) { in ReadNullSepFileToArray()
1211 if (ReadFileToBuffer("/proc/self/cmdline", &tmpbuf, &tmpsize, &tmplen, in ReadLongProcessName()
H A Dsanitizer_common.h756 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,