Searched refs:file_io (Results 26 - 34 of 34) sorted by relevance

12

/external/chromium_org/ppapi/proxy/
H A Dfile_mapping_resource.cc32 PP_Resource file_io,
39 thunk::EnterResourceNoLock<thunk::PPB_FileIO_API> enter(file_io, true);
31 Map(PP_Instance , PP_Resource file_io, int64_t length, uint32_t protection, uint32_t flags, int64_t offset, void** address, scoped_refptr<TrackedCallback> callback) argument
H A Dnacl_message_scanner_unittest.cc36 PP_Resource file_io) {
38 scanner.files_.find(file_io);
43 PP_Resource file_io,
46 ResourceMessageReplyParams fio_reply_params(file_io, 0);
34 FindFileIO( const NaClMessageScanner& scanner, PP_Resource file_io) argument
42 OpenQuotaFile(NaClMessageScanner* scanner, PP_Resource file_io, PP_Resource file_system) argument
H A Dfile_system_resource_unittest.cc126 void OpenFile(PP_Resource file_io, argument
131 file_io,
H A Dnacl_message_scanner.cc464 PP_Resource file_io) {
465 FileIOMap::iterator it = files_.find(file_io);
463 GetFile( PP_Resource file_io) argument
H A Dppapi_param_traits.cc274 r->set_file_handle(desc, header.open_flags, header.file_io);
/external/chromium_org/ppapi/tests/
H A Dtest_url_loader.h31 std::string ReadEntireFile(pp::FileIO* file_io, std::string* data);
H A Dtest_url_loader.cc16 #include "ppapi/cpp/file_io.h"
33 pp::FileIO* file_io,
43 callback.WaitForResult(file_io->Write(write_offset,
154 std::string TestURLLoader::ReadEntireFile(pp::FileIO* file_io, argument
161 callback.WaitForResult(file_io->Read(offset, buf, sizeof(buf),
242 pp::FileIO file_io(instance_);
243 callback.WaitForResult(file_io.Open(file_ref,
257 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, data,
32 WriteEntireBuffer(PP_Instance instance, pp::FileIO* file_io, int32_t offset, const std::string& data, CallbackType callback_type) argument
H A Dtest_post_message.cc14 #include "ppapi/cpp/file_io.h"
666 pp::FileIO file_io(instance_);
667 ASSERT_NE(0, file_io.pp_resource());
669 file_io.Open(file_ref, PP_FILEOPENFLAG_READ, callback.GetCallback()));
676 file_io.Read(0, buffer, content_length, callback.GetCallback()));
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
H A Dpnacl_shim.c417 static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { argument
419 return iface->Open(file_io, file_ref, open_flags, *callback);
422 static int32_t Pnacl_M14_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { argument
424 return iface->Query(file_io, info, *callback);
427 static int32_t Pnacl_M14_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { argument
429 return iface->Touch(file_io, last_access_time, last_modified_time, *callback);
432 static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { argument
434 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback);
437 static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { argument
439 return iface->Write(file_io, offse
442 Pnacl_M14_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) argument
447 Pnacl_M14_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) argument
452 Pnacl_M14_PPB_FileIO_Close(PP_Resource file_io) argument
471 Pnacl_M25_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) argument
476 Pnacl_M25_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) argument
481 Pnacl_M25_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) argument
486 Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) argument
491 Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) argument
496 Pnacl_M25_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) argument
501 Pnacl_M25_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) argument
506 Pnacl_M25_PPB_FileIO_Close(PP_Resource file_io) argument
511 Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) argument
520 Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback* callback) argument
2849 Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback* callback) argument
[all...]

Completed in 315 milliseconds

12