Searched defs:FdFile (Results 1 - 2 of 2) sorted by relevance
/art/runtime/base/unix_file/ |
H A D | fd_file.h | 33 class FdFile : public RandomAccessFile { class in namespace:unix_file 35 FdFile(); 36 // Creates an FdFile using the given file descriptor. Takes ownership of the 38 explicit FdFile(int fd, bool checkUsage); 39 explicit FdFile(int fd, const std::string& path, bool checkUsage); 41 // Destroys an FdFile, closing the file descriptor if Close hasn't already 46 virtual ~FdFile(); 114 DISALLOW_COPY_AND_ASSIGN(FdFile); 117 std::ostream& operator<<(std::ostream& os, const FdFile::GuardState& kind);
|
H A D | fd_file.cc | 28 FdFile::FdFile() : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true) { function in class:unix_file::FdFile 31 FdFile::FdFile(int fd, bool check_usage) function in class:unix_file::FdFile 36 FdFile::FdFile(int fd, const std::string& path, bool check_usage) function in class:unix_file::FdFile 42 FdFile::~FdFile() { 59 void FdFile::moveTo(GuardState target, GuardState warn_threshold, const char* warning) { 70 void FdFile [all...] |
Completed in 46 milliseconds