Home
last modified time | relevance | path

Searched refs:check_usage (Results 1 – 4 of 4) sorted by relevance

/art/libartbase/base/unix_file/
Dfd_file.h40 FdFile(int fd, bool check_usage);
41 FdFile(int fd, const std::string& path, bool check_usage);
42 FdFile(int fd, const std::string& path, bool check_usage, bool read_only_mode);
44 FdFile(const std::string& path, int flags, bool check_usage) in FdFile() argument
45 : FdFile(path, flags, 0640, check_usage) {} in FdFile()
46 FdFile(const std::string& path, int flags, mode_t mode, bool check_usage);
58 void Reset(int fd, bool check_usage);
Dfd_file.cc145 FdFile::FdFile(int fd, bool check_usage) in FdFile() argument
146 : FdFile(fd, std::string(), check_usage) {} in FdFile()
148 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() argument
149 : FdFile(fd, path, check_usage, false) {} in FdFile()
151 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() argument
153 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck), in FdFile()
165 bool check_usage) { in FdFile() argument
167 if (!check_usage || !IsOpened()) { in FdFile()
243 void FdFile::Reset(int fd, bool check_usage) { in Reset() argument
257 if (check_usage) { in Reset()
/art/libartbase/base/
Dscoped_flock.h71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile() argument
72 : FdFile(fd, path, check_usage, read_only_mode) { in LockedFile()
Dos_linux.cc64 bool check_usage = !read_only && auto_flush; in OpenFileWithFlags() local
66 new File(name, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, check_usage)); in OpenFileWithFlags()