Home
last modified time | relevance | path

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

/external/chromium_org/ppapi/c/
Dppb_file_io.h124 int32_t (*Open)(PP_Resource file_io,
146 int32_t (*Query)(PP_Resource file_io,
166 int32_t (*Touch)(PP_Resource file_io,
196 int32_t (*Read)(PP_Resource file_io,
220 int32_t (*Write)(PP_Resource file_io,
241 int32_t (*SetLength)(PP_Resource file_io,
258 int32_t (*Flush)(PP_Resource file_io, struct PP_CompletionCallback callback);
271 void (*Close)(PP_Resource file_io);
293 int32_t (*ReadToArray)(PP_Resource file_io,
305 int32_t (*Open)(PP_Resource file_io,
[all …]
/external/chromium_org/ppapi/thunk/
Dppb_file_io_thunk.cc36 int32_t Open(PP_Resource file_io, in Open() argument
41 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in Open()
49 int32_t Query(PP_Resource file_io, in Query() argument
53 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in Query()
59 int32_t Touch(PP_Resource file_io, in Touch() argument
64 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in Touch()
72 int32_t Read(PP_Resource file_io, in Read() argument
78 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in Read()
87 int32_t Write(PP_Resource file_io, in Write() argument
93 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in Write()
[all …]
Dppb_file_io_private_thunk.cc22 int32_t RequestOSFileHandle(PP_Resource file_io, in RequestOSFileHandle() argument
25 EnterResource<PPB_FileIO_API> enter(file_io, callback, true); in RequestOSFileHandle()
/external/chromium_org/ppapi/tests/
Dtest_file_io.cc83 pp::FileIO* file_io, in ReadEntireFile() argument
93 file_io->Read(read_offset, buf, sizeof(buf), callback.GetCallback())); in ReadEntireFile()
106 pp::FileIO* file_io, in ReadToArrayEntireFile() argument
114 callback.WaitForResult(file_io->Read(offset, 256, callback.GetCallback())); in ReadToArrayEntireFile()
145 pp::FileIO* file_io, in WriteEntireBuffer() argument
155 callback.WaitForResult(file_io->Write(write_offset, in WriteEntireBuffer()
305 pp::FileIO file_io(instance_); in TestOpenDirectory() local
306 callback.WaitForResult(file_io.Open(dir_ref, PP_FILEOPENFLAG_READ, in TestOpenDirectory()
323 pp::FileIO file_io(instance_); in TestReadWriteSetLength() local
324 callback.WaitForResult(file_io.Open(file_ref, in TestReadWriteSetLength()
[all …]
Dtest_file_ref.cc348 pp::FileIO file_io(instance_); in TestQueryAndTouchFile() local
350 file_io.Open(file_ref, in TestQueryAndTouchFile()
359 callback.WaitForResult(file_io.Write(0, "test", 4, callback.GetCallback())); in TestQueryAndTouchFile()
392 callback.WaitForResult(file_io.Query(&info, callback.GetCallback())); in TestQueryAndTouchFile()
424 pp::FileIO file_io(instance_); in TestDeleteFileAndDirectory() local
426 file_io.Open(file_ref, PP_FILEOPENFLAG_CREATE, callback.GetCallback())); in TestDeleteFileAndDirectory()
486 pp::FileIO file_io(instance_); in TestRenameFileAndDirectory() local
488 file_io.Open(file_ref, PP_FILEOPENFLAG_CREATE, callback.GetCallback())); in TestRenameFileAndDirectory()
554 pp::FileIO file_io(instance_); in TestQuery() local
555 callback.WaitForResult(file_io.Open(file_ref, PP_FILEOPENFLAG_CREATE, in TestQuery()
[all …]
Dtest_url_loader.cc33 pp::FileIO* file_io, in WriteEntireBuffer() argument
43 callback.WaitForResult(file_io->Write(write_offset, in WriteEntireBuffer()
153 std::string TestURLLoader::ReadEntireFile(pp::FileIO* file_io, in ReadEntireFile() argument
160 callback.WaitForResult(file_io->Read(offset, buf, sizeof(buf), in ReadEntireFile()
241 pp::FileIO file_io(instance_); in PrepareFileForPost() local
242 callback.WaitForResult(file_io.Open(file_ref, in PrepareFileForPost()
256 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, data, in PrepareFileForPost()
Dtest_url_loader.h31 std::string ReadEntireFile(pp::FileIO* file_io, std::string* data);
Dtest_post_message.cc620 pp::FileIO file_io(instance_); in TestSendingResource() local
621 ASSERT_NE(0, file_io.pp_resource()); in TestSendingResource()
625 file_io.Open(file_ref, PP_FILEOPENFLAG_READ, callback.GetCallback())); in TestSendingResource()
633 file_io.Read(0, buffer, length, callback.GetCallback())); in TestSendingResource()
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dexample.dsc5 'NAME' : 'file_io',
7 'SOURCES' : ['file_io.cc'],
15 'NAME': 'file_io',
/external/chromium_org/ppapi/c/dev/
Dppb_file_io_dev.h108 int32_t (*Map)(PP_Resource file_io,
124 void (*Unmap)(PP_Resource file_io, void* address, int64_t length);
129 int64_t (*GetMapPageSize)(PP_Resource file_io);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dfake_pepper_interface_html5fs.h102 virtual int32_t Open(PP_Resource file_io,
106 virtual int32_t Query(PP_Resource file_io,
109 virtual int32_t Read(PP_Resource file_io,
114 virtual int32_t Write(PP_Resource file_io,
119 virtual int32_t SetLength(PP_Resource file_io,
122 virtual int32_t Flush(PP_Resource file_io, PP_CompletionCallback callback);
123 virtual void Close(PP_Resource file_io);
Dfake_pepper_interface_html5fs.cc297 int32_t FakeFileIoInterface::Open(PP_Resource file_io, in Open() argument
302 core_interface_->resource_manager()->Get<FakeFileIoResource>(file_io); in Open()
345 int32_t FakeFileIoInterface::Query(PP_Resource file_io, in Query() argument
349 core_interface_->resource_manager()->Get<FakeFileIoResource>(file_io); in Query()
360 int32_t FakeFileIoInterface::Read(PP_Resource file_io, in Read() argument
366 core_interface_->resource_manager()->Get<FakeFileIoResource>(file_io); in Read()
385 int32_t FakeFileIoInterface::Write(PP_Resource file_io, in Write() argument
391 core_interface_->resource_manager()->Get<FakeFileIoResource>(file_io); in Write()
414 int32_t FakeFileIoInterface::SetLength(PP_Resource file_io, in SetLength() argument
418 core_interface_->resource_manager()->Get<FakeFileIoResource>(file_io); in SetLength()
[all …]
/external/chromium_org/ppapi/api/
Dppb_file_io.idl98 * @param[in] file_io A <code>PP_Resource</code> corresponding to a
109 int32_t Open([in] PP_Resource file_io,
119 * @param[in] file_io A <code>PP_Resource</code> corresponding to a
132 int32_t Query([in] PP_Resource file_io,
142 * @param[in] file_io A <code>PP_Resource</code> corresponding to a file
153 int32_t Touch([in] PP_Resource file_io,
167 * @param[in] file_io A <code>PP_Resource</code> corresponding to a file
184 int32_t Read([in] PP_Resource file_io,
194 * @param[in] file_io A <code>PP_Resource</code> corresponding to a file
209 int32_t Write([in] PP_Resource file_io,
[all …]
/external/chromium_org/ppapi/api/dev/
Dppb_file_io_dev.idl68 * @param[in] file_io A PP_Resource corresponding to a file.
90 int32_t Map([in] PP_Resource file_io,
102 * @param[in] file_io A PP_Resource corresponding to a file.
107 void Unmap(PP_Resource file_io, mem_t address, int64_t length);
114 int64_t GetMapPageSize(PP_Resource file_io);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dmount_node_html5fs.cc279 FileIoInterface* file_io = mount_->ppapi()->GetFileIoInterface(); in Init() local
280 fileio_resource_ = file_io->Create(mount_->ppapi()->GetInstance()); in Init()
284 int32_t open_result = file_io->Open(fileio_resource_, in Init()
/external/chromium_org/ppapi/c/private/
Dppb_file_io_private.h38 int32_t (*RequestOSFileHandle)(PP_Resource file_io,
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dfile-io.rst32 ``examples/api/file_io``.
39 * `file_io.h
96 The ``file_io`` example
99 The Native Client SDK includes an example, ``file_io``, that demonstrates how
110 * ``file_io.cc`` - The code that sets up and provides an entry point to the
113 The remainder of this section covers the code in the ``file_io.cc`` file for
121 Unlike most other examples, the ``file_io`` example also demonstrates how to
131 The high-level flow for the ``file_io`` example is described below. Note that
187 ``file_io`` deep dive
190 The ``file_io`` example displays a user interface with a couple of fields and
[all …]
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c310 static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_fl… in Pnacl_M14_PPB_FileIO_Open() argument
312 return iface->Open(file_io, file_ref, open_flags, *callback); in Pnacl_M14_PPB_FileIO_Open()
315 static int32_t Pnacl_M14_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_… in Pnacl_M14_PPB_FileIO_Query() argument
317 return iface->Query(file_io, info, *callback); in Pnacl_M14_PPB_FileIO_Query()
320 static int32_t Pnacl_M14_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time la… in Pnacl_M14_PPB_FileIO_Touch() argument
322 return iface->Touch(file_io, last_access_time, last_modified_time, *callback); in Pnacl_M14_PPB_FileIO_Touch()
325 static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t… in Pnacl_M14_PPB_FileIO_Read() argument
327 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); in Pnacl_M14_PPB_FileIO_Read()
330 static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, … in Pnacl_M14_PPB_FileIO_Write() argument
332 return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); in Pnacl_M14_PPB_FileIO_Write()
[all …]
/external/chromium_org/ppapi/api/private/
Dppb_file_io_private.idl23 int32_t RequestOSFileHandle([in] PP_Resource file_io,
/external/chromium_org/native_client_sdk/src/libraries/ppapi_cpp/
Dlibrary.dsc24 'file_io.cc',
115 'file_io.h',
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dservice_runtime.h185 const pp::FileIO& file_io);
/external/icu4c/test/depstest/
Ddependencies.txt18 stdio_input stdio_output file_io readlink_function dir_io mmap_functions dlfcn
76 group: file_io
572 file_io mmap_functions
/external/chromium_org/ppapi/
Dppapi_sources.gypi162 'cpp/file_io.cc',
163 'cpp/file_io.h',
/external/chromium_org/native_client_sdk/src/build_tools/
Dsdk_files.list5 examples/api/file_io/*
/external/chromium_org/native_client_sdk/src/doc/sdk/
Drelease-notes.rst164 * The **file_io** example has been rewritten to do all file operations on a