Lines Matching refs:File
5 * you may not use this file except in compliance with the License.
30 File* OS::OpenFileForReading(const char* name) {
34 File* OS::OpenFileReadWrite(const char* name) {
38 File* OS::CreateEmptyFile(const char* name) {
42 File* OS::OpenFileWithFlags(const char* name, int flags) {
44 std::unique_ptr<File> file(new File);
45 if (!file->Open(name, flags, 0666)) {
48 return file.release();