/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cpp | 189 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/ |
D | sanitizer_procmaps_solaris.cpp | 25 if (!ReadFileToBuffer("/proc/self/xmap", &proc_maps->data, in ReadProcMaps()
|
D | sanitizer_procmaps_linux.cpp | 20 if (!ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
|
D | sanitizer_procmaps_common.cpp | 152 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
|
D | sanitizer_suppressions.cpp | 81 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile()
|
D | sanitizer_flag_parser.cpp | 156 if (!ReadFileToBuffer(path, &data, &data_mapped_size, &len, in ParseFile()
|
D | sanitizer_file.cpp | 104 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
|
D | sanitizer_linux.cpp | 529 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()
|
D | sanitizer_fuchsia.cpp | 407 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
|
D | sanitizer_common.h | 695 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_procmaps_linux.cc | 21 CHECK(ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
|
D | sanitizer_procmaps_common.cc | 153 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
|
D | sanitizer_suppressions.cc | 68 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile()
|
D | sanitizer_flag_parser.cc | 136 if (!ReadFileToBuffer(path, &data, &data_mapped_size, &len, in ParseFile()
|
D | sanitizer_linux.cc | 412 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()
|
D | sanitizer_common.cc | 123 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() function
|
D | sanitizer_common.h | 255 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,
|