Searched refs:FileHandleMode (Results 1 – 3 of 3) sorted by relevance
12 enum class FileHandleMode { enum19 template <FileHandleMode Mode>54 if (Mode == FileHandleMode::Local) in AsDuplicate()81 if (IsValid() && Mode == FileHandleMode::Local) in Close()97 return FileHandle(Mode == FileHandleMode::Local ? dup(fd_) : fd_); in Duplicate()100 FileHandle<FileHandleMode::Borrowed> Borrow() const { in Borrow()101 return FileHandle<FileHandleMode::Borrowed>(Get()); in Borrow()117 using LocalHandle = FileHandle<FileHandleMode::Local>;124 using RemoteHandle = FileHandle<FileHandleMode::Remote>;130 using BorrowedHandle = FileHandle<FileHandleMode::Borrowed>;
261 template <FileHandleMode Mode>332 template <FileHandleMode Mode>501 template <FileHandleMode Mode>845 template <FileHandleMode Mode>906 template <FileHandleMode Mode>
503 template <FileHandleMode Mode>