Searched refs:FLAG_OPEN (Results 1 – 17 of 17) sorted by relevance
/external/libchrome/base/files/ |
D | memory_mapped_file.cc | 41 flags = File::FLAG_OPEN | File::FLAG_READ; in Initialize() 44 flags = File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE; in Initialize()
|
D | file_unittest.cc | 39 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 |
|
D | file.h | 54 FLAG_OPEN = 1 << 0, // Opens a file, only if it exists. enumerator
|
D | file_util.cc | 226 int flags = File::FLAG_OPEN | File::FLAG_WRITE_ATTRIBUTES; in TouchFile()
|
D | important_file_writer.cc | 166 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); in WriteFileAtomically()
|
D | file_util_posix.cc | 1015 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()
|
D | file_posix.cc | 466 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { in DoInitialize()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | file_data_pipe_producer_unittest.cc | 191 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/ |
D | file_unittest.cc | 50 base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ | in TEST()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 34 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()
|
D | persistent_histogram_allocator_unittest.cc | 197 File file(temp_file, File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
|
D | persistent_histogram_allocator.cc | 977 File::FLAG_OPEN | File::FLAG_READ | File::FLAG_DELETE_ON_CLOSE); in DeletePersistentLocation()
|
/external/libchrome/mojo/public/cpp/system/ |
D | file_data_pipe_producer.cc | 120 base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ), in StartFromPathOnFileSequence()
|
/external/libchrome/mojo/core/ |
D | platform_wrapper_unittest.cc | 76 base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
|
D | embedder_unittest.cc | 369 base::File::FLAG_OPEN | base::File::FLAG_WRITE); in TEST_F()
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 543 File::FLAG_OPEN | File::FLAG_READ); in CheckEvent()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 2168 base::File(boot_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST_F()
|