Home
last modified time | relevance | path

Searched refs:FileRef (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/ppapi/cpp/
Dfile_ref.cc32 FileRef::FileRef(PP_Resource resource) : Resource(resource) { in FileRef() function in pp::FileRef
35 FileRef::FileRef(PassRef, PP_Resource resource) : Resource(PASS_REF, resource) { in FileRef() function in pp::FileRef
38 FileRef::FileRef(const FileSystem& file_system, in FileRef() function in pp::FileRef
52 FileRef::FileRef(const FileRef& other) in FileRef() function in pp::FileRef
56 PP_FileSystemType FileRef::GetFileSystemType() const { in GetFileSystemType()
66 Var FileRef::GetName() const { in GetName()
82 Var FileRef::GetPath() const { in GetPath()
98 FileRef FileRef::GetParent() const { in GetParent()
100 return FileRef(PASS_REF, in GetParent()
104 return FileRef(PASS_REF, in GetParent()
[all …]
Dfile_ref.h27 class FileRef : public Resource {
31 FileRef() {} in FileRef() function
38 explicit FileRef(PP_Resource resource);
44 FileRef(PassRef, PP_Resource resource);
55 FileRef(const FileSystem& file_system, const char* path);
60 FileRef(const FileRef& other);
91 FileRef GetParent() const;
143 int32_t Rename(const FileRef& new_file_ref, const CompletionCallback& cc);
Durl_response_info.cc37 FileRef URLResponseInfo::GetBodyAsFileRef() const { in GetBodyAsFileRef()
39 return FileRef(); in GetBodyAsFileRef()
40 return FileRef(PASS_REF, in GetBodyAsFileRef()
Durl_request_info.h16 class FileRef; variable
76 bool AppendFileToBody(const FileRef& file_ref,
99 bool AppendFileRangeToBody(const FileRef& file_ref,
Durl_response_info.h16 class FileRef; variable
56 FileRef GetBodyAsFileRef() const;
Ddirectory_entry.h68 FileRef file_ref() const { return FileRef(data_.file_ref); } in file_ref()
Dfile_io.h19 class FileRef; variable
64 int32_t Open(const FileRef& file_ref,
Durl_request_info.cc48 bool URLRequestInfo::AppendFileToBody(const FileRef& file_ref, in AppendFileToBody()
62 const FileRef& file_ref, in AppendFileRangeToBody()
/external/chromium_org/ppapi/tests/extensions/media_galleries/
Dtest_galleries.cc35 pp::FileRef ParseMessage(const pp::Var& var_message, std::string* test_type);
37 void TestRead(pp::FileRef file_ref);
38 void TestWrite(pp::FileRef file_ref);
53 pp::FileRef FilePassingInstance::ParseMessage(const pp::Var& var_message, in ParseMessage()
57 return pp::FileRef(); in ParseMessage()
66 return pp::FileRef(); in ParseMessage()
71 return pp::FileRef(); in ParseMessage()
76 return pp::FileRef(); in ParseMessage()
82 return pp::FileRef(); in ParseMessage()
89 return pp::FileRef(filesystem, fullpath.c_str()); in ParseMessage()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_file_ref.cc27 REGISTER_TEST_CASE(FileRef);
53 std::string TestFileRef::MakeExternalFileRef(pp::FileRef* file_ref_ext) { in MakeExternalFileRef()
69 *file_ref_ext = pp::FileRef(response_info.GetBodyAsFileRef()); in MakeExternalFileRef()
74 int32_t TestFileRef::DeleteDirectoryRecursively(pp::FileRef* dir) { in DeleteDirectoryRecursively()
92 pp::FileRef file_ref = it->file_ref(); in DeleteDirectoryRecursively()
139 pp::FileRef file_ref_pers(file_system_pers, invalid_paths[j].c_str()); in TestCreate()
144 pp::FileRef file_ref_temp(file_system_temp, invalid_paths[j].c_str()); in TestCreate()
159 pp::FileRef file_ref_pers(file_system_pers, kPersFilePath); in TestGetFileSystemType()
163 pp::FileRef file_ref_temp(file_system_temp, kTempFilePath); in TestGetFileSystemType()
167 pp::FileRef file_ref_ext; in TestGetFileSystemType()
[all …]
Dtest_file_ref.h13 class FileRef; variable
27 std::string MakeExternalFileRef(pp::FileRef* file_ref_ext);
29 int32_t DeleteDirectoryRecursively(pp::FileRef* dir);
Dtest_flash_drm.cc25 using pp::FileRef;
99 TestCompletionCallbackWithOutput<FileRef> output_callback( in TestGetVoucherFile()
104 FileRef result = output_callback.output(); in TestGetVoucherFile()
Dtest_file_io.cc199 pp::FileRef file_ref(file_system, "/file_open"); in TestOpen()
299 pp::FileRef dir_ref(file_system, "/test_dir_open_directory"); in TestOpenDirectory()
320 pp::FileRef file_ref(file_system, "/file_read_write_setlength"); in TestReadWriteSetLength()
448 pp::FileRef file_ref(file_system, "/file_read_write_setlength"); in TestReadToArrayWriteSetLength()
556 pp::FileRef file_ref(file_system, "/file_touch"); in TestTouchQuery()
609 pp::FileRef file_ref(file_system, "/file_abort_calls"); in TestAbortCalls()
762 pp::FileRef file_ref(file_system, "/file_parallel_reads"); in TestParallelReads()
849 pp::FileRef file_ref(file_system, "/file_parallel_writes"); in TestParallelWrites()
936 pp::FileRef file_ref(file_system, "/file_not_allow_mixed_read_write"); in TestNotAllowMixedReadWrite()
1007 pp::FileRef file_ref(file_system, "/file_os_fd"); in TestRequestOSFileHandle()
[all …]
Dtest_url_loader.h16 class FileRef; variable
37 int32_t PrepareFileForPost(const pp::FileRef& file_ref,
/external/chromium_org/ppapi/cpp/private/
Dflash_file.h15 class FileRef; variable
63 static PP_FileHandle OpenFile(const pp::FileRef& resource,
65 static bool QueryFile(const pp::FileRef& resource,
Dflash_drm.h14 class FileRef; variable
29 int32_t GetVoucherFile(const CompletionCallbackWithOutput<FileRef>& callback);
Dflash_file.cc154 PP_FileHandle FileFileRef::OpenFile(const pp::FileRef& resource, in OpenFile()
166 bool FileFileRef::QueryFile(const pp::FileRef& resource, in QueryFile()
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dfile_io.cc160 pp::FileRef ref(file_system_, file_name.c_str()); in Save()
209 pp::FileRef ref(file_system_, file_name.c_str()); in Load()
262 pp::FileRef ref(file_system_, file_name.c_str()); in Delete()
281 pp::FileRef ref(file_system_, dir_name.c_str()); in List()
290 pp::FileRef /* unused_ref */) { in ListCallback() argument
313 pp::FileRef ref(file_system_, dir_name.c_str()); in MakeDir()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dfile-io.rst52 Pepper FileIO, FileRef, and FileSystem APIs (collectively called the File IO
161 Deleting a file is straightforward: call ``pp::FileRef::Delete``. The thread is
175 #. ``pp::FileRef::ReadDirectoryEntries`` is called, and given a directory entry
296 It then creates a ``pp::FileRef`` resource with the name of the file. A
297 ``FileRef`` resource is a weak reference to a file in the FileSystem; that is,
298 a file can still be deleted even if there are outstanding ``FileRef``
303 pp::FileRef ref(file_system_, file_name.c_str());
363 successfully opened, and creates a new ``FileRef``:
371 pp::FileRef ref(file_system_, file_name.c_str());
444 ``FileRef``:
[all …]
/external/chromium_org/ppapi/cpp/dev/
Dfile_chooser_dev.h18 class FileRef; variable
79 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback);
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps_interface.cc17 DEFINE_INTERFACE_FUNC(FileRef) in DEFINE_INTERFACE_FUNC()
46 REQUEST_INTERFACE(FileRef, FILEREF)
/external/chromium_org/ppapi/examples/url_loader/
Dstream_to_file.cc69 pp::FileRef dest_file_;
143 dest_file_ = pp::FileRef(); in OnReadComplete()
/external/chromium_org/ppapi/examples/crxfs/
Dcrxfs.cc52 pp::FileRef file_ref_;
88 file_ref_ = pp::FileRef(file_system, filename_.c_str()); in CrxFileSystemCallback()
/external/chromium_org/media/cdm/ppapi/
Dcdm_file_io_impl.cc279 file_ref_ = pp::FileRef(file_system_, file_name_.c_str()); in OpenFileForRead()
391 file_ref_ = pp::FileRef(file_system_, temp_file_name.c_str()); in OpenTempFileForWrite()
480 file_ref_.Rename(pp::FileRef(file_system_, file_name_.c_str()), cb), in RenameTempFile()
509 file_ref_ = pp::FileRef(); in Reset()
/external/chromium_org/ppapi/cpp/trusted/
Dfile_chooser_trusted.h32 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback);

12