/external/chromium_org/ppapi/cpp/ |
D | file_ref.cc | 32 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 …]
|
D | file_ref.h | 27 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);
|
D | url_response_info.cc | 37 FileRef URLResponseInfo::GetBodyAsFileRef() const { in GetBodyAsFileRef() 39 return FileRef(); in GetBodyAsFileRef() 40 return FileRef(PASS_REF, in GetBodyAsFileRef()
|
D | url_request_info.h | 16 class FileRef; variable 76 bool AppendFileToBody(const FileRef& file_ref, 99 bool AppendFileRangeToBody(const FileRef& file_ref,
|
D | url_response_info.h | 16 class FileRef; variable 56 FileRef GetBodyAsFileRef() const;
|
D | directory_entry.h | 68 FileRef file_ref() const { return FileRef(data_.file_ref); } in file_ref()
|
D | file_io.h | 19 class FileRef; variable 64 int32_t Open(const FileRef& file_ref,
|
D | url_request_info.cc | 48 bool URLRequestInfo::AppendFileToBody(const FileRef& file_ref, in AppendFileToBody() 62 const FileRef& file_ref, in AppendFileRangeToBody()
|
/external/chromium_org/ppapi/tests/extensions/media_galleries/ |
D | test_galleries.cc | 35 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/ |
D | test_file_ref.cc | 27 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 …]
|
D | test_file_ref.h | 13 class FileRef; variable 27 std::string MakeExternalFileRef(pp::FileRef* file_ref_ext); 29 int32_t DeleteDirectoryRecursively(pp::FileRef* dir);
|
D | test_flash_drm.cc | 25 using pp::FileRef; 99 TestCompletionCallbackWithOutput<FileRef> output_callback( in TestGetVoucherFile() 104 FileRef result = output_callback.output(); in TestGetVoucherFile()
|
D | test_file_io.cc | 199 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 …]
|
D | test_url_loader.h | 16 class FileRef; variable 37 int32_t PrepareFileForPost(const pp::FileRef& file_ref,
|
/external/chromium_org/ppapi/cpp/private/ |
D | flash_file.h | 15 class FileRef; variable 63 static PP_FileHandle OpenFile(const pp::FileRef& resource, 65 static bool QueryFile(const pp::FileRef& resource,
|
D | flash_drm.h | 14 class FileRef; variable 29 int32_t GetVoucherFile(const CompletionCallbackWithOutput<FileRef>& callback);
|
D | flash_file.cc | 154 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/ |
D | file_io.cc | 160 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/ |
D | file-io.rst | 52 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/ |
D | file_chooser_dev.h | 18 class FileRef; variable 79 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback);
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
D | ps_interface.cc | 17 DEFINE_INTERFACE_FUNC(FileRef) in DEFINE_INTERFACE_FUNC() 46 REQUEST_INTERFACE(FileRef, FILEREF)
|
/external/chromium_org/ppapi/examples/url_loader/ |
D | stream_to_file.cc | 69 pp::FileRef dest_file_; 143 dest_file_ = pp::FileRef(); in OnReadComplete()
|
/external/chromium_org/ppapi/examples/crxfs/ |
D | crxfs.cc | 52 pp::FileRef file_ref_; 88 file_ref_ = pp::FileRef(file_system, filename_.c_str()); in CrxFileSystemCallback()
|
/external/chromium_org/media/cdm/ppapi/ |
D | cdm_file_io_impl.cc | 279 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/ |
D | file_chooser_trusted.h | 32 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback);
|