HomeSort by relevance Sort by last modified time
    Searched defs:FdFile (Results 1 - 2 of 2) sorted by null

  /art/runtime/base/unix_file/
fd_file.h 30 class FdFile : public RandomAccessFile {
32 FdFile();
33 // Creates an FdFile using the given file descriptor. Takes ownership of the
35 explicit FdFile(int fd);
36 explicit FdFile(int fd, const std::string& path);
38 // Destroys an FdFile, closing the file descriptor if Close hasn't already
43 virtual ~FdFile();
70 DISALLOW_COPY_AND_ASSIGN(FdFile);
fd_file.cc 26 FdFile::FdFile() : fd_(-1), auto_close_(true) {
29 FdFile::FdFile(int fd) : fd_(fd), auto_close_(true) {
32 FdFile::FdFile(int fd, const std::string& path) : fd_(fd), file_path_(path), auto_close_(true) {
36 FdFile::~FdFile() {
42 void FdFile::DisableAutoClose() {
46 bool FdFile::Open(const std::string& path, int flags)
    [all...]

Completed in 42 milliseconds