Searched refs:OpenFileWithFlags (Results 1 – 3 of 3) sorted by relevance
31 return OpenFileWithFlags(name, O_RDONLY); in OpenFileForReading()35 return OpenFileWithFlags(name, O_RDWR); in OpenFileReadWrite()39 return OpenFileWithFlags(name, O_RDWR | O_CREAT | O_TRUNC); in CreateEmptyFile()42 File* OS::OpenFileWithFlags(const char* name, int flags) { in OpenFileWithFlags() function in art::OS
42 static File* OpenFileWithFlags(const char* name, int flags);
30 file_.reset(OS::OpenFileWithFlags(filename, O_CREAT | O_RDWR)); in Init()