Home
last modified time | relevance | path

Searched refs:RdOnly (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.cpp119 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
155 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToVector()
Dsanitizer_file.h53 RdOnly, enumerator
Dsanitizer_posix.cpp158 case RdOnly: flags = O_RDONLY; break; in OpenFile()
193 fd_t fd = OpenFile(file_name, RdOnly); in MapFileToMemory()
Dsanitizer_rtems.cpp198 case RdOnly: flags = O_RDONLY; break; in OpenFile()
Dsanitizer_win.cpp568 fd_t fd = OpenFile(modname, RdOnly, nullptr); in GetPreferredBase()
705 if (mode == RdOnly) { in OpenFile()
Dsanitizer_linux_libcdep.cpp656 fd_t fd = OpenFile("/proc/self/statm", RdOnly); in GetRSS()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc211 case RdOnly: flags = O_RDONLY; break; in OpenFile()
251 fd_t fd = OpenFile(file_name, RdOnly); in MapFileToMemory()
Dsanitizer_win.cc414 fd_t fd = OpenFile(modname, RdOnly, nullptr); in GetPreferredBase()
547 if (mode == RdOnly) { in OpenFile()
Dsanitizer_common.cc132 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
Dsanitizer_linux_libcdep.cc489 fd_t fd = OpenFile("/proc/self/statm", RdOnly); in GetRSS()
Dsanitizer_common.h222 RdOnly, enumerator
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc106 fd = OpenFile(tmpfile, RdOnly); in TEST()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cpp128 fd = OpenFile(tmpfile, RdOnly); in TEST()
/external/rust/crates/libc/src/
Dpsp.rs648 RdOnly = 1,