Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.cpp105 uptr *read_len, uptr max_len, error_t *errno_p) { in ReadFileToBuffer() argument
119 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
130 errno_p)) { in ReadFileToBuffer()
150 error_t *errno_p) { in ReadFileToVector() argument
155 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToVector()
166 &just_read, errno_p)) { in ReadFileToVector()
Dsanitizer_rtems.cpp195 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *errno_p) { in OpenFile() argument
203 if (internal_iserror(res, errno_p)) in OpenFile()
Dsanitizer_file.h60 error_t *errno_p = nullptr);
Dsanitizer_fuchsia.cpp408 uptr *read_len, uptr max_len, error_t *errno_p) { in ReadFileToBuffer() argument
428 if (status != ZX_OK && errno_p) *errno_p = status; in ReadFileToBuffer()
Dsanitizer_posix.cpp153 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *errno_p) { in OpenFile() argument
163 if (internal_iserror(res, errno_p)) in OpenFile()
Dsanitizer_common.h685 uptr max_len = 1 << 26, error_t *errno_p = nullptr);
697 error_t *errno_p = nullptr);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc124 uptr *read_len, uptr max_len, error_t *errno_p) { in ReadFileToBuffer() argument
132 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
142 if (!ReadFromFile(fd, *buff + *read_len, PageSize, &just_read, errno_p)) { in ReadFileToBuffer()
Dsanitizer_posix.cc208 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *errno_p) { in OpenFile() argument
216 if (internal_iserror(res, errno_p)) in OpenFile()
Dsanitizer_common.h229 error_t *errno_p = nullptr);
257 error_t *errno_p = nullptr);