Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_unittest.cc39 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
47 File file(file_path, base::File::FLAG_OPEN_ALWAYS | 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()
80 File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); in TEST()
100 base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | in TEST()
145 base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | in TEST()
154 base::File::FLAG_READ); in TEST()
170 base::File::FLAG_CREATE | base::File::FLAG_READ | in TEST()
253 File file(nonexistent_path, File::FLAG_OPEN | File::FLAG_READ); in TEST()
[all …]
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_posix.cc473 if (flags & FLAG_WRITE && flags & FLAG_READ) { in DoInitialize()
477 } else if (!(flags & FLAG_READ) && in DoInitialize()
487 if (flags & FLAG_APPEND && flags & FLAG_READ) in DoInitialize()
Dfile.h61 FLAG_READ = 1 << 5, enumerator
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()
/external/libchrome/mojo/public/cpp/base/
Dfile_unittest.cc20 base::File::FLAG_CREATE | base::File::FLAG_WRITE | base::File::FLAG_READ); in TEST()
50 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ | in TEST()
64 base::File::FLAG_CREATE | base::File::FLAG_WRITE | base::File::FLAG_READ); in TEST()
/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/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()
972 (read_only ? File::FLAG_READ in TEST_F()
973 : File::FLAG_READ | File::FLAG_WRITE)), in TEST_F()
Dpersistent_histogram_allocator.cc687 File::FLAG_READ | File::FLAG_WRITE); in CreateWithFile()
842 File::FLAG_READ | File::FLAG_WRITE); in CreateSpareFile()
977 File::FLAG_OPEN | File::FLAG_READ | File::FLAG_DELETE_ON_CLOSE); in DeletePersistentLocation()
Dpersistent_histogram_allocator_unittest.cc197 File file(temp_file, File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
/external/libchrome/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc107 base::File::FLAG_READ); in SetUpFile()
/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()
/external/libchrome/base/process/
Dprocess_metrics_unittest.cc543 File::FLAG_OPEN | File::FLAG_READ); in CheckEvent()
/external/libchrome/ipc/
Dipc_channel_mojo_unittest.cc1668 base::File::FLAG_READ); in TEST_F()
1717 base::File::FLAG_READ); in TEST_F()
/external/libchrome/base/debug/
Dactivity_tracker.cc1280 File(file_path, File::FLAG_CREATE_ALWAYS | File::FLAG_READ | in CreateWithFile()
/external/avb/test/
Davbtool_unittest.cc2168 base::File(boot_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()