Lines Matching refs:FdFile

139 static uint64_t GetFdFileOwnerTag(FdFile* fd_file) {  in GetFdFileOwnerTag()
145 FdFile::FdFile(int fd, bool check_usage) in FdFile() function in unix_file::FdFile
146 : FdFile(fd, std::string(), check_usage) {} in FdFile()
148 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() function in unix_file::FdFile
149 : FdFile(fd, path, check_usage, false) {} in FdFile()
151 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() function in unix_file::FdFile
164 FdFile::FdFile(const std::string& path, int flags, mode_t mode, in FdFile() function in unix_file::FdFile
172 void FdFile::Destroy() { in Destroy()
189 FdFile::FdFile(FdFile&& other) noexcept in FdFile() function in unix_file::FdFile
203 FdFile& FdFile::operator=(FdFile&& other) noexcept { in operator =()
227 FdFile::~FdFile() { in ~FdFile()
231 int FdFile::Release() { in Release()
243 void FdFile::Reset(int fd, bool check_usage) { in Reset()
264 void FdFile::moveTo(GuardState target, GuardState warn_threshold, const char* warning) { in moveTo()
275 void FdFile::moveUp(GuardState target, const char* warning) { in moveUp()
287 bool FdFile::Open(const std::string& path, int flags) { in Open()
291 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open()
316 int FdFile::Close() { in Close()
344 int FdFile::Flush() { in Flush()
362 int64_t FdFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
371 int FdFile::SetLength(int64_t new_length) { in SetLength()
382 int64_t FdFile::GetLength() const { in GetLength()
388 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
399 int FdFile::Fd() const { in Fd()
403 bool FdFile::ReadOnlyMode() const { in ReadOnlyMode()
407 bool FdFile::CheckUsage() const { in CheckUsage()
411 bool FdFile::IsOpened() const { in IsOpened()
437 bool FdFile::ReadFully(void* buffer, size_t byte_count) { in ReadFully()
441 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully()
446 bool FdFile::WriteFullyGeneric(const void* buffer, size_t byte_count, size_t offset) { in WriteFullyGeneric()
465 bool FdFile::PwriteFully(const void* buffer, size_t byte_count, size_t offset) { in PwriteFully()
469 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
473 bool FdFile::Copy(FdFile* input_file, int64_t offset, int64_t size) { in Copy()
520 bool FdFile::Unlink() { in Unlink()
547 bool FdFile::Erase(bool unlink) { in Erase()
564 int FdFile::FlushCloseOrErase() { in FlushCloseOrErase()
581 int FdFile::FlushClose() { in FlushClose()
594 void FdFile::MarkUnchecked() { in MarkUnchecked()
598 bool FdFile::ClearContent() { in ClearContent()
607 bool FdFile::ResetOffset() { in ResetOffset()
617 int FdFile::Compare(FdFile* other) { in Compare()