Searched defs:file_ref (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/ppapi/c/
H A Dpp_directory_entry.h28 PP_Resource file_ref; member in struct:PP_DirectoryEntry
/external/chromium_org/ppapi/shared_impl/
H A Durl_request_info_data.cc34 Resource* file_ref,
39 file_ref(file_ref),
40 file_ref_host_resource(file_ref->host_resource()),
33 BodyItem( Resource* file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time) argument
H A Durl_request_info_data.h25 BodyItem(Resource* file_ref,
46 scoped_refptr<Resource> file_ref; member in struct:ppapi::URLRequestInfoData::BodyItem
/external/chromium_org/ppapi/thunk/
H A Dppb_flash_drm_thunk.cc49 PP_Resource* file_ref,
55 return enter.SetResult(enter.object()->GetVoucherFile(file_ref,
48 GetVoucherFile(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback callback) argument
H A Dppb_flash_file_fileref_thunk.cc18 PP_Instance GetInstanceFromFileRef(PP_Resource file_ref) { argument
19 thunk::EnterResource<thunk::PPB_FileRef_API> enter(file_ref, true);
H A Dppb_url_request_info_thunk.cc54 PP_Resource file_ref,
62 return enter.object()->AppendFileToBody(file_ref,
53 AppendFileToBody(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time) argument
H A Dppb_file_io_thunk.cc37 PP_Resource file_ref,
44 return enter.SetResult(enter.object()->Open(file_ref,
36 Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback) argument
H A Dppb_file_ref_thunk.cc44 PP_FileSystemType GetFileSystemType(PP_Resource file_ref) { argument
46 EnterFileRef enter(file_ref, true);
52 PP_Var GetName(PP_Resource file_ref) { argument
54 EnterFileRef enter(file_ref, true);
60 PP_Var GetPath(PP_Resource file_ref) { argument
62 EnterFileRef enter(file_ref, true);
68 PP_Resource GetParent(PP_Resource file_ref) { argument
70 EnterFileRef enter(file_ref, true);
87 int32_t Touch(PP_Resource file_ref, argument
92 EnterFileRef enter(file_ref, callbac
99 Delete(PP_Resource file_ref, PP_CompletionCallback callback) argument
108 Rename(PP_Resource file_ref, PP_Resource new_file_ref, PP_CompletionCallback callback) argument
119 Query(PP_Resource file_ref, PP_FileInfo* info, PP_CompletionCallback callback) argument
130 ReadDirectoryEntries(PP_Resource file_ref, PP_ArrayOutput output, PP_CompletionCallback callback) argument
140 GetAbsolutePath(PP_Resource file_ref) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Durl_request_info_util.cc57 const PPB_FileRef_Impl* file_ref = local
61 switch (file_ref->GetFileSystemType()) {
68 file_ref->GetFileSystemURL(), &platform_path));
71 platform_path = file_ref->GetSystemPath();
97 // Ensures that the file_ref members of the given request info data are
104 if (item.is_file && !item.file_ref.get()) {
109 item.file_ref = enter.resource();
154 if (!AppendFileRefToBody(item.file_ref.get(),
H A Dpepper_file_io_host.cc245 PPB_FileRef_Impl* file_ref = static_cast<PPB_FileRef_Impl*>(file_ref_api); local
246 if (file_ref->HasValidFileSystem()) {
247 file_system_url_ = file_ref->GetFileSystemURL();
267 routing_id_, file_ref->GetSystemPath(), open_flags, message_id));
H A Dppb_file_ref_impl.cc192 scoped_refptr<PPB_FileRef_Impl> file_ref(PPB_FileRef_Impl::CreateInternal(
196 dir_files->push_back(file_ref->GetCreateInfo());
200 file_ref->GetReference();
275 PPB_FileRef_Impl* file_ref = new PPB_FileRef_Impl(info, pp_file_system); local
280 file_ref->AddFileSystemRefCount();
281 return file_ref;
/external/chromium_org/ppapi/cpp/
H A Ddirectory_entry.h13 #include "ppapi/cpp/file_ref.h"
62 bool is_null() const { return !data_.file_ref; }
68 FileRef file_ref() const { return FileRef(data_.file_ref); } function in class:pp::DirectoryEntry
H A Durl_request_info.cc7 #include "ppapi/cpp/file_ref.h"
48 bool URLRequestInfo::AppendFileToBody(const FileRef& file_ref, argument
55 file_ref.pp_resource(),
62 const FileRef& file_ref,
70 file_ref.pp_resource(),
61 AppendFileRangeToBody( const FileRef& file_ref, int64_t start_offset, int64_t length, PP_Time expected_last_modified_time) argument
H A Dfile_io.cc13 #include "ppapi/cpp/file_ref.h"
49 int32_t FileIO::Open(const FileRef& file_ref, argument
54 pp_resource(), file_ref.pp_resource(), open_flags,
58 pp_resource(), file_ref.pp_resource(), open_flags,
/external/chromium_org/ppapi/proxy/
H A Dflash_drm_resource.cc60 PP_Resource* file_ref,
62 if (!file_ref)
65 *file_ref = 0;
71 file_ref, callback));
59 GetVoucherFile( PP_Resource* file_ref, scoped_refptr<TrackedCallback> callback) argument
H A Durl_request_info_resource.cc82 PP_Resource file_ref,
86 thunk::EnterResourceNoLock<thunk::PPB_FileRef_API> enter(file_ref, true);
81 AppendFileToBody( PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time) argument
H A Dflash_file_resource.cc24 std::string GetPathFromFileRef(PP_Resource file_ref) { argument
25 thunk::EnterResourceNoLock<thunk::PPB_FileRef_API> enter(file_ref, true);
161 PP_Resource file_ref,
164 return OpenFileHelper(GetPathFromFileRef(file_ref),
169 PP_Resource file_ref,
171 return QueryFileHelper(GetPathFromFileRef(file_ref),
160 OpenFileRef(PP_Instance , PP_Resource file_ref, int32_t mode, PP_FileHandle* file) argument
168 QueryFileRef(PP_Instance , PP_Resource file_ref, PP_FileInfo* info) argument
H A Dfile_io_resource.cc91 int32_t FileIOResource::Open(PP_Resource file_ref, argument
94 EnterResourceNoLock<PPB_FileRef_API> enter(file_ref, true);
/external/chromium_org/webkit/browser/fileapi/
H A Dfile_system_file_stream_reader.cc105 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
116 snapshot_ref_ = file_ref;
99 DidCreateSnapshot( const base::Closure& callback, const net::CompletionCallback& error_callback, base::PlatformFileError file_error, const base::PlatformFileInfo& file_info, const base::FilePath& platform_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
H A Dcopy_or_move_operation_delegate.cc150 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
155 current_file_ref_ = file_ref;
226 scoped_refptr<webkit_blob::ShareableFileReference> file_ref; local
227 DidPostWriteValidation(url_pair, callback, file_ref,
245 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
255 // Note: file_ref passed here to keep the file alive until after
260 weak_factory_.GetWeakPtr(), url_pair, callback, file_ref));
263 // |file_ref| is unused; it is passed here to make sure the reference is
268 const scoped_refptr<webkit_blob::ShareableFileReference>& /*file_ref*/,
144 DidCreateSnapshot( const URLPair& url_pair, const StatusCallback& callback, base::PlatformFileError error, const base::PlatformFileInfo& file_info, const base::FilePath& platform_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
239 DoPostWriteValidation( const URLPair& url_pair, const StatusCallback& callback, base::PlatformFileError error, const base::PlatformFileInfo& file_info, const base::FilePath& platform_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
H A Dsandbox_file_stream_writer.cc118 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
119 DCHECK(!file_ref.get());
113 DidCreateSnapshotFile( const net::CompletionCallback& callback, base::PlatformFileError file_error, const base::PlatformFileInfo& file_info, const base::FilePath& platform_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
H A Dasync_file_test_helper.cc53 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
54 DCHECK(!file_ref.get());
46 CreateSnapshotFileCallback( base::RunLoop* run_loop, base::PlatformFileError* result_out, base::FilePath* platform_path_out, base::PlatformFileError result, const base::PlatformFileInfo& file_info, const base::FilePath& platform_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ditunes_file_util.cc256 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) {
260 platform_path, file_ref);
269 *file_ref = scoped_refptr<webkit_blob::ShareableFileReference>();
360 scoped_refptr<webkit_blob::ShareableFileReference> file_ref; local
365 platform_path, file_ref));
251 CreateSnapshotFileSync( fileapi::FileSystemOperationContext* context, const fileapi::FileSystemURL& url, base::PlatformFileInfo* file_info, base::FilePath* platform_path, scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) argument
H A Dnative_media_file_util.cc387 scoped_refptr<webkit_blob::ShareableFileReference> file_ref; local
390 &file_ref);
394 base::Bind(callback, error, file_info, platform_path, file_ref));
569 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) {
579 *file_ref = scoped_refptr<webkit_blob::ShareableFileReference>();
564 CreateSnapshotFileSync( fileapi::FileSystemOperationContext* context, const fileapi::FileSystemURL& url, base::PlatformFileInfo* file_info, base::FilePath* platform_path, scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) argument
/external/chromium_org/ppapi/tests/
H A Dtest_file_ref.cc17 #include "ppapi/cpp/file_ref.h"
92 pp::FileRef file_ref = it->file_ref(); local
94 rv = DeleteDirectoryRecursively(&file_ref);
98 callback.WaitForResult(file_ref.Delete(callback.GetCallback()));
351 pp::FileRef file_ref(file_system, "/file_touch");
354 file_io.Open(file_ref,
372 callback.WaitForResult(file_ref.Touch(last_access_time, last_modified_time,
425 pp::FileRef file_ref(file_system, "/file_delete");
428 file_io.Open(file_ref, PP_FILEOPENFLAG_CREAT
719 pp::FileRef file_ref = it->file_ref(); local
[all...]

Completed in 895 milliseconds

12