Searched refs:FLAG_OPEN (Results 1 – 8 of 8) sorted by relevance
38 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()53 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()66 file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()140 base::File::FLAG_OPEN | base::File::FLAG_DELETE_ON_CLOSE | in TEST()244 base::File::FLAG_OPEN | base::File::FLAG_READ | in TEST()
37 file_.Initialize(file_name, File::FLAG_OPEN | File::FLAG_READ); in Initialize()
65 FLAG_OPEN = 1 << 0, // Opens a file, only if it exists. enumerator
93 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); in WriteFileAtomically()
200 int flags = File::FLAG_OPEN | File::FLAG_WRITE_ATTRIBUTES; in TouchFile()
867 infile = File(from_path, File::FLAG_OPEN | File::FLAG_READ); in CopyFile()870 infile = File(from_path, File::FLAG_OPEN | File::FLAG_READ); in CopyFile()
452 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { in DoInitialize()
459 File::FLAG_OPEN | File::FLAG_READ); in CheckEvent()