Home
last modified time | relevance | path

Searched refs:FLAG_OPEN (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/base/files/
Dmemory_mapped_file.cc41 flags = File::FLAG_OPEN | File::FLAG_READ; in Initialize()
44 flags = File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE; in Initialize()
Dfile_unittest.cc39 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
55 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
68 file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
153 base::File::FLAG_OPEN | base::File::FLAG_DELETE_ON_CLOSE | in TEST()
253 File file(nonexistent_path, File::FLAG_OPEN | File::FLAG_READ); in TEST()
284 base::File::FLAG_OPEN | base::File::FLAG_READ | in TEST()
679 (base::File::FLAG_OPEN | base::File::FLAG_READ | base::File::FLAG_WRITE |
717 (base::File::FLAG_OPEN | base::File::FLAG_READ | base::File::FLAG_WRITE |
Dfile.h54 FLAG_OPEN = 1 << 0, // Opens a file, only if it exists. enumerator
Dfile_util.cc226 int flags = File::FLAG_OPEN | File::FLAG_WRITE_ATTRIBUTES; in TouchFile()
Dimportant_file_writer.cc166 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); in WriteFileAtomically()
Dfile_util_posix.cc1015 infile = File(from_path, File::FLAG_OPEN | File::FLAG_READ); in CopyFile()
1018 infile = File(from_path, File::FLAG_OPEN | File::FLAG_READ); in CopyFile()
Dfile_posix.cc466 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { in DoInitialize()
/external/libchrome/mojo/public/cpp/system/tests/
Dfile_data_pipe_producer_unittest.cc191 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
216 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
242 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
/external/libchrome/mojo/public/cpp/base/
Dfile_unittest.cc50 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ | in TEST()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc34 File file(path, File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE); in SetFileLength()
809 File(file_path, File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE), in TEST()
828 File(file_path, File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE), in TEST()
867 File::FLAG_OPEN | File::FLAG_READ | (read_only ? 0 : File::FLAG_WRITE); in TEST()
971 File(file_path, File::FLAG_OPEN | in TEST_F()
Dpersistent_histogram_allocator_unittest.cc197 File file(temp_file, File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
Dpersistent_histogram_allocator.cc977 File::FLAG_OPEN | File::FLAG_READ | File::FLAG_DELETE_ON_CLOSE); in DeletePersistentLocation()
/external/libchrome/mojo/public/cpp/system/
Dfile_data_pipe_producer.cc120 base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ), in StartFromPathOnFileSequence()
/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc76 base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
Dembedder_unittest.cc369 base::File::FLAG_OPEN | base::File::FLAG_WRITE); in TEST_F()
/external/libchrome/base/process/
Dprocess_metrics_unittest.cc543 File::FLAG_OPEN | File::FLAG_READ); in CheckEvent()
/external/avb/test/
Davbtool_unittest.cc2168 base::File(boot_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()