Searched refs:file_flags (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dfileapi_worker.cc159 void OpenFileAfterFileSystemOpenFile(int file_flags, argument
176 if (file_flags & (base::File::FLAG_CREATE |
178 file_flags &= ~(base::File::FLAG_CREATE |
180 file_flags |= base::File::FLAG_OPEN;
181 } else if (file_flags & base::File::FLAG_CREATE_ALWAYS) {
182 file_flags &= ~base::File::FLAG_CREATE_ALWAYS;
183 file_flags |= base::File::FLAG_OPEN_TRUNCATED;
189 base::Bind(&OpenFile, local_path, file_flags),
328 int file_flags,
334 if (file_flags
327 OpenFile(const base::FilePath& file_path, int file_flags, const OpenFileCallback& callback, FileSystemInterface* file_system) argument
[all...]
H A Dasync_file_util.h28 int file_flags,
H A Dfileapi_worker.h163 // Opens the file at |file_path| with options |file_flags|.
166 int file_flags,
/external/chromium_org/chrome/installer/util/
H A Dlogging_installer_unittest.cc77 uint32 file_flags = base::File::FLAG_OPEN | local
80 base::File temp_platform_file(temp_file, file_flags);
106 uint32 file_flags = base::File::FLAG_CREATE | local
111 base::File temp_move_destination_file(temp_file_move_dest, file_flags);
H A Dlogging_installer.cc40 uint32 file_flags = base::File::FLAG_OPEN | local
44 base::File old_log_file(log_file, file_flags);
/external/chromium_org/base/files/
H A Dfile_proxy.cc95 void RunWork(const FilePath& file_path, int file_flags) { argument
96 file_.Initialize(file_path, file_flags);
126 uint32 file_flags = File::FLAG_WRITE | local
131 file_.Initialize(file_path_, file_flags);
242 uint32 file_flags,
249 file_flags),
241 CreateOrOpen(const FilePath& file_path, uint32 file_flags, const StatusCallback& callback) argument
H A Dfile_proxy.h61 // callback. If File::FLAG_CREATE is set in |file_flags| it always tries to
67 uint32 file_flags,
/external/chromium_org/storage/browser/fileapi/
H A Dnative_file_util.h41 static base::File CreateOrOpen(const base::FilePath& path, int file_flags);
H A Dobfuscated_file_util.h117 int file_flags) OVERRIDE;
270 int file_flags);
331 int file_flags);
H A Dasync_file_util_adapter.h44 int file_flags,
H A Dfile_system_file_util.h66 int file_flags) = 0;
H A Dlocal_file_util.h35 int file_flags) OVERRIDE;
H A Dfile_system_operation_impl.h71 int file_flags,
150 const OpenFileCallback& callback, int file_flags);
H A Dfile_system_operation_impl.cc201 int file_flags,
205 if (file_flags &
215 url, callback, file_flags),
449 int file_flags) {
451 operation_context_.Pass(), url, file_flags,
200 OpenFile(const FileSystemURL& url, int file_flags, const OpenFileCallback& callback) argument
447 DoOpenFile(const FileSystemURL& url, const OpenFileCallback& callback, int file_flags) argument
H A Dobfuscated_file_util.cc276 const FileSystemURL& url, int file_flags) {
277 base::File file = CreateOrOpenInternal(context, url, file_flags);
278 if (file.IsValid() && file_flags & base::File::FLAG_WRITE &&
1035 FileInfo* dest_file_info, int file_flags) {
1051 base::File file = NativeFileUtil::CreateOrOpen(dest_local_path, file_flags);
1336 const FileSystemURL& url, int file_flags) {
1337 DCHECK(!(file_flags & (base::File::FLAG_DELETE_ON_CLOSE |
1346 if (!(file_flags & (base::File::FLAG_CREATE |
1360 base::File file = CreateAndOpenFile(context, url, &file_info, file_flags);
1369 if (file_flags
274 CreateOrOpen( FileSystemOperationContext* context, const FileSystemURL& url, int file_flags) argument
1032 CreateAndOpenFile( FileSystemOperationContext* context, const FileSystemURL& dest_url, FileInfo* dest_file_info, int file_flags) argument
1334 CreateOrOpenInternal( FileSystemOperationContext* context, const FileSystemURL& url, int file_flags) argument
[all...]
H A Dasync_file_util.h94 // If File::FLAG_CREATE is set in |file_flags| it always tries to create
104 int file_flags,
H A Dfile_system_operation.h353 // Opens a file at |path| with |file_flags|, where flags are OR'ed
358 int file_flags,
/external/openfst/src/include/fst/
H A Dfst.h694 int32 file_flags = 0; local
696 file_flags |= FstHeader::HAS_ISYMBOLS;
698 file_flags |= FstHeader::HAS_OSYMBOLS;
700 file_flags |= FstHeader::IS_ALIGNED;
701 hdr->SetFlags(file_flags);
722 int32 file_flags = 0; local
724 file_flags |= FstHeader::HAS_ISYMBOLS;
726 file_flags |= FstHeader::HAS_OSYMBOLS;
728 file_flags |= FstHeader::IS_ALIGNED;
729 hdr->SetFlags(file_flags);
[all...]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
H A Dprovider_async_file_util.h38 int file_flags,
H A Dprovider_async_file_util.cc268 int file_flags,
271 if ((file_flags & base::File::FLAG_CREATE) ||
272 (file_flags & base::File::FLAG_OPEN_ALWAYS) ||
273 (file_flags & base::File::FLAG_CREATE_ALWAYS) ||
274 (file_flags & base::File::FLAG_OPEN_TRUNCATED)) {
265 CreateOrOpen( scoped_ptr<storage::FileSystemOperationContext> context, const storage::FileSystemURL& url, int file_flags, const CreateOrOpenCallback& callback) argument
/external/chromium_org/content/browser/fileapi/
H A Dlocal_file_util_unittest.cc100 int file_flags = base::File::FLAG_CREATE | local
105 file_flags);
158 int file_flags = base::File::FLAG_OPEN | base::File::FLAG_READ; local
159 base::File file = file_util()->CreateOrOpen(context.get(), url, file_flags);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dfst.h507 int32 file_flags = 0; local
509 file_flags |= FstHeader::HAS_ISYMBOLS;
511 file_flags |= FstHeader::HAS_OSYMBOLS;
512 hdr->SetFlags(file_flags);
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ddevice_media_async_file_util.h45 int file_flags,
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dsyncable_file_system_operation.h74 int file_flags,
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_file_io_host.h95 int file_flags,

Completed in 448 milliseconds

12