Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cpp189 TEST_P(SanitizerCommonFileTest, ReadFileToBuffer) { in TEST_P() argument
193 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size)); in TEST_P()
203 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size, data_.size())); in TEST_P()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_solaris.cpp25 if (!ReadFileToBuffer("/proc/self/xmap", &proc_maps->data, in ReadProcMaps()
Dsanitizer_procmaps_linux.cpp20 if (!ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
Dsanitizer_procmaps_common.cpp152 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
Dsanitizer_suppressions.cpp81 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile()
Dsanitizer_flag_parser.cpp156 if (!ReadFileToBuffer(path, &data, &data_mapped_size, &len, in ParseFile()
Dsanitizer_file.cpp104 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
Dsanitizer_linux.cpp529 if (!ReadFileToBuffer("/proc/self/environ", &environ, &environ_size, &len)) in GetEnv()
564 if (!ReadFileToBuffer(path, &buff, &buff_size, &buff_len, 1024 * 1024)) { in ReadNullSepFileToArray()
1133 if (ReadFileToBuffer("/proc/self/cmdline", &tmpbuf, &tmpsize, &tmplen, in ReadLongProcessName()
Dsanitizer_fuchsia.cpp407 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
Dsanitizer_common.h695 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_linux.cc21 CHECK(ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
Dsanitizer_procmaps_common.cc153 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
Dsanitizer_suppressions.cc68 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile()
Dsanitizer_flag_parser.cc136 if (!ReadFileToBuffer(path, &data, &data_mapped_size, &len, in ParseFile()
Dsanitizer_linux.cc412 if (!ReadFileToBuffer("/proc/self/environ", &environ, &environ_size, &len)) in GetEnv()
447 if (!ReadFileToBuffer(path, &buff, &buff_size, &buff_len, 1024 * 1024)) { in ReadNullSepFileToArray()
844 if (ReadFileToBuffer("/proc/self/cmdline", &tmpbuf, &tmpsize, &tmplen, in ReadLongProcessName()
Dsanitizer_common.cc123 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
Dsanitizer_common.h255 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,