Home
last modified time | relevance | path

Searched refs:FileIO (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/ppapi/cpp/
Dfile_io.cc31 FileIO::FileIO() { in FileIO() function in pp::FileIO
34 FileIO::FileIO(const InstanceHandle& instance) { in FileIO() function in pp::FileIO
44 FileIO::FileIO(const FileIO& other) in FileIO() function in pp::FileIO
48 int32_t FileIO::Open(const FileRef& file_ref, in Open()
63 int32_t FileIO::Query(PP_FileInfo* result_buf, in Query()
75 int32_t FileIO::Touch(PP_Time last_access_time, in Touch()
90 int32_t FileIO::Read(int64_t offset, in Read()
104 int32_t FileIO::Read( in Read()
131 int32_t FileIO::Write(int64_t offset, in Write()
147 int32_t FileIO::SetLength(int64_t length, in SetLength()
[all …]
Dfile_io.h23 class FileIO : public Resource {
27 FileIO();
34 explicit FileIO(const InstanceHandle& instance);
39 FileIO(const FileIO& other);
/external/chromium_org/ppapi/proxy/
Dnacl_message_scanner.h77 class PPAPI_PROXY_EXPORT FileIO {
79 FileIO(FileSystem* file_system, int64_t max_written_offset);
80 ~FileIO();
100 DISALLOW_COPY_AND_ASSIGN(FileIO);
103 FileIO* GetFile(PP_Resource file_io);
116 typedef std::map<int32_t, FileIO*> FileIOMap;
Dnacl_message_scanner.cc256 NaClMessageScanner::FileIO::FileIO(FileSystem* file_system, in FileIO() function in ppapi::proxy::NaClMessageScanner::FileIO
262 NaClMessageScanner::FileIO::~FileIO() { in ~FileIO()
265 void NaClMessageScanner::FileIO::SetMaxWrittenOffset( in SetMaxWrittenOffset()
271 bool NaClMessageScanner::FileIO::Grow(int64_t amount) { in Grow()
463 NaClMessageScanner::FileIO* NaClMessageScanner::GetFile( in GetFile()
494 new FileIO(file_system, max_written_offset))); in AuditNestedMessage()
Dnacl_message_scanner_unittest.cc34 NaClMessageScanner::FileIO* FindFileIO( in FindFileIO()
87 NaClMessageScanner::FileIO* fio = FindFileIO(test, kFileIO); in TEST_F()
148 NaClMessageScanner::FileIO* fio = FindFileIO(test, kFileIO); in TEST_F()
220 NaClMessageScanner::FileIO* fio = FindFileIO(test, kFileIO); in TEST_F()
/external/chromium_org/ppapi/api/
Dppb_file_io.idl37 * FileIO::Open() will fail.
50 * file already exists, then the FileIO::Open() call will fail.
71 * Create() creates a new FileIO object.
76 * @return A <code>PP_Resource</code> corresponding to a FileIO if
81 * IsFileIO() determines if the provided resource is a FileIO.
83 * @param[in] resource A <code>PP_Resource</code> corresponding to a FileIO.
95 * by this FileIO object until such time as the FileIO object is closed
99 * FileIO.
115 * Query() queries info about the file opened by this FileIO object. The
116 * FileIO object must be opened, and there must be no other operations
[all …]
/external/chromium_org/ppapi/api/private/
Dppb_file_io_private.idl18 * Returns a file handle corresponding to the given FileIO
19 * object. The FileIO object must have been opened with a
20 * successful call to FileIO::Open. The caller gets the ownership
/external/chromium_org/ppapi/cpp/private/
Dfile_io_private.h16 class FileIO; variable
18 class FileIO_Private : public FileIO {
Dfile_io_private.cc23 : FileIO() { in FileIO_Private()
27 : FileIO(instance) { in FileIO_Private()
/external/chromium_org/ppapi/tests/
Dtest_file_io.cc44 REGISTER_TEST_CASE(FileIO);
84 pp::FileIO* file_io, in ReadEntireFile()
107 pp::FileIO* file_io, in ReadToArrayEntireFile()
146 pp::FileIO* file_io, in WriteEntireBuffer()
307 pp::FileIO file_io(instance_); in TestOpenDirectory()
325 pp::FileIO file_io(instance_); in TestReadWriteSetLength()
419 pp::FileIO file_io2(instance_); in TestReadWriteSetLength()
453 pp::FileIO file_io(instance_); in TestReadToArrayWriteSetLength()
557 pp::FileIO file_io(instance_); in TestTouchQuery()
617 pp::FileIO file_io(instance_); in TestAbortCalls()
[all …]
Dtest_file_mapping.cc28 pp::FileIO* file_io, in ReadEntireFile()
51 pp::FileIO* file_io, in WriteEntireBuffer()
94 pp::FileIO file_io(instance_); in MapAndCheckResults()
224 pp::FileIO file_io(instance_); in TestBadParameters()
431 pp::FileIO file_io1(instance_); in TestPartialRegions()
474 pp::FileIO file_io2(instance_); in TestPartialRegions()
Dtest_url_loader.h15 class FileIO; variable
31 std::string ReadEntireFile(pp::FileIO* file_io, std::string* data);
Dtest_file_ref.cc366 pp::FileIO file_io(instance_); in TestQueryAndTouchFile()
442 pp::FileIO file_io(instance_); in TestDeleteFileAndDirectory()
484 pp::FileIO file_io_abort(instance_); in TestDeleteFileAndDirectory()
506 pp::FileIO file_io(instance_); in TestRenameFileAndDirectory()
552 pp::FileIO file_io_abort(instance_); in TestRenameFileAndDirectory()
576 pp::FileIO file_io(instance_); in TestQuery()
648 pp::FileIO file_io(instance_); in TestFileNameEscaping()
701 pp::FileIO file_io(instance_); in TestReadDirectoryEntries()
Dtest_file_io.h13 class FileIO; variable
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dfile-io.rst15 This section describes how to use the `FileIO API
37 For reference information related to FileIO, see the following documentation:
40 FileIO object
52 Pepper FileIO, FileRef, and FileSystem APIs (collectively called the File IO
68 manifest file. With this permission you can use the Pepper FileIO API without
75 explicitly request local disk space before using the FileIO API. In this case
136 #. ``pp::FileIO::Open`` is called with the ``PP_FILEOPEN_FLAG_CREATE`` flag to
139 #. ``pp::FileIO::Write`` is called to write the contents. Again, the thread is
142 #. When there is no more data to write, call ``pp::FileIO::Flush``.
149 #. ``pp::FileIO::Open`` is called to open the file. Because the callback
[all …]
/external/chromium_org/ppapi/examples/url_loader/
Dstream_to_file.cc70 pp::FileIO file_io_;
112 file_io_ = pp::FileIO(this); in OnStreamComplete()
144 file_io_ = pp::FileIO(); in OnReadComplete()
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps_interface.cc16 DEFINE_INTERFACE_FUNC(FileIO) in DEFINE_INTERFACE_FUNC()
45 REQUEST_INTERFACE(FileIO, FILEIO)
/external/chromium_org/media/cdm/ppapi/
Dcdm_file_io_test.h20 typedef base::Callback<cdm::FileIO*(cdm::FileIOClient* client)> CreateFileIOCB;
126 std::stack<cdm::FileIO*> file_io_stack_;
Dcdm_file_io_impl.h36 class CdmFileIOImpl : public cdm::FileIO {
183 pp::FileIO file_io_;
Dcdm_file_io_impl.cc278 file_io_ = pp::FileIO(pp_instance_handle_); in OpenFileForRead()
390 file_io_ = pp::FileIO(pp_instance_handle_); in OpenTempFileForWrite()
508 file_io_ = pp::FileIO(); in Reset()
/external/chromium_org/ppapi/examples/crxfs/
Dcrxfs.cc53 pp::FileIO file_io_;
87 file_io_ = pp::FileIO(handle_); in CrxFileSystemCallback()
/external/chromium_org/ppapi/tests/extensions/media_galleries/
Dtest_galleries.cc109 pp::FileIO file_io(pp::InstanceHandle(this)); in TestRead()
139 pp::FileIO file_io(pp::InstanceHandle(this)); in TestWrite()
/external/lzma/CPP/7zip/UI/Client7z/
Dmakefile21 $O\FileIO.obj \
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dfile_io.cc161 pp::FileIO file(this); in Save()
210 pp::FileIO file(this); in Load()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
Dmakefile23 $O\FileIO.obj \

12