/external/chromium_org/ppapi/proxy/ |
D | serialized_handle.cc | 20 SerializedHandle::SerializedHandle() in SerializedHandle() function in ppapi::proxy::SerializedHandle 29 SerializedHandle::SerializedHandle(Type type_param) in SerializedHandle() function in ppapi::proxy::SerializedHandle 38 SerializedHandle::SerializedHandle(const base::SharedMemoryHandle& handle, in SerializedHandle() function in ppapi::proxy::SerializedHandle 48 SerializedHandle::SerializedHandle( in SerializedHandle() function in ppapi::proxy::SerializedHandle 59 bool SerializedHandle::IsHandleValid() const { in IsHandleValid() 73 void SerializedHandle::Close() { in Close() 89 *this = SerializedHandle(); in Close() 93 bool SerializedHandle::WriteHeader(const Header& hdr, Pickle* pickle) { in WriteHeader() 108 bool SerializedHandle::ReadHeader(PickleIterator* iter, Header* hdr) { in ReadHeader()
|
D | resource_message_params.cc | 20 for (std::vector<SerializedHandle>::iterator iter = data_.begin(); in ~SerializedHandles() 59 IPC::ParamTraits<std::vector<SerializedHandle> >::Write(msg, in WriteHandles() 73 return IPC::ParamTraits<std::vector<SerializedHandle> >::Read( in ReadHandles() 84 SerializedHandle ResourceMessageParams::TakeHandleOfTypeAtIndex( in TakeHandleOfTypeAtIndex() 86 SerializedHandle::Type type) const { in TakeHandleOfTypeAtIndex() 87 SerializedHandle handle; in TakeHandleOfTypeAtIndex() 88 std::vector<SerializedHandle>& data = handles_->data(); in TakeHandleOfTypeAtIndex() 91 data[index] = SerializedHandle(); in TakeHandleOfTypeAtIndex() 99 SerializedHandle serialized = TakeHandleOfTypeAtIndex( in TakeSharedMemoryHandleAtIndex() 100 index, SerializedHandle::SHARED_MEMORY); in TakeSharedMemoryHandleAtIndex() [all …]
|
D | plugin_dispatcher_unittest.cc | 77 ppapi::proxy::SerializedHandle( in TEST_F() 78 ppapi::proxy::SerializedHandle::SOCKET), in TEST_F() 79 ppapi::proxy::SerializedHandle( in TEST_F() 80 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); in TEST_F()
|
D | serialized_handle.h | 30 class PPAPI_PROXY_EXPORT SerializedHandle { 53 SerializedHandle(); 55 explicit SerializedHandle(Type type); 58 SerializedHandle(const base::SharedMemoryHandle& handle, uint32 size); 61 SerializedHandle(const Type type,
|
D | resource_message_params.h | 28 const std::vector<SerializedHandle>& handles() const { in handles() 43 SerializedHandle TakeHandleOfTypeAtIndex(size_t index, 44 SerializedHandle::Type type) const; 69 void AppendHandle(const SerializedHandle& handle) const; 94 std::vector<SerializedHandle>& data() { return data_; } in data() 108 std::vector<SerializedHandle> data_;
|
D | nacl_message_scanner.cc | 23 using ppapi::proxy::SerializedHandle; 28 typedef std::vector<SerializedHandle> Handles; 47 base::Callback<void(PP_Resource, const IPC::Message&, SerializedHandle*)> 52 const SerializedHandle& handle, in WriteHandle() 54 SerializedHandle::WriteHeader(handle.header(), msg); in WriteHandle() 56 if (handle.type() != SerializedHandle::INVALID) { in WriteHandle() 68 void ScanParam(const SerializedHandle& handle, ScanningResults* results) { in ScanParam() 76 const SerializedHandle& handle) { in HandleWriter() 82 std::vector<SerializedHandle*> var_handles = var.GetHandles(); in ScanParam() 131 SerializedHandle* handle = NULL; in ScanParam() [all …]
|
D | ppb_audio_proxy.h | 29 class SerializedHandle; variable 60 ppapi::proxy::SerializedHandle socket_handle, 61 ppapi::proxy::SerializedHandle handle);
|
D | nacl_message_scanner.h | 24 class SerializedHandle; variable 47 std::vector<SerializedHandle>* handles, 109 SerializedHandle* handle);
|
D | ppb_graphics_3d_proxy.h | 27 class SerializedHandle; variable 36 const SerializedHandle& shared_state); 84 SerializedHandle* handle); 102 ppapi::proxy::SerializedHandle* transfer_buffer);
|
D | resource_message_test_sink.h | 17 class SerializedHandle; variable 94 void set_serialized_handle(const SerializedHandle* serialized_handle) { in set_serialized_handle() 102 const SerializedHandle* serialized_handle_; // Non-owning pointer.
|
D | ppb_audio_proxy.cc | 27 using ppapi::proxy::SerializedHandle; 265 SerializedHandle fd_wrapper(SerializedHandle::SOCKET, socket_handle); in AudioChannelConnected() 266 SerializedHandle handle_wrapper(shared_memory, audio_buffer_length); in AudioChannelConnected() 314 SerializedHandle socket_handle, in OnMsgNotifyAudioStreamCreated() 315 SerializedHandle handle) { in OnMsgNotifyAudioStreamCreated()
|
D | ppapi_param_traits.cc | 230 void ParamTraits<ppapi::proxy::SerializedHandle>::Write(Message* m, in Write() 232 ppapi::proxy::SerializedHandle::WriteHeader(p.header(), m); in Write() 234 case ppapi::proxy::SerializedHandle::SHARED_MEMORY: in Write() 237 case ppapi::proxy::SerializedHandle::SOCKET: in Write() 238 case ppapi::proxy::SerializedHandle::FILE: in Write() 241 case ppapi::proxy::SerializedHandle::INVALID: in Write() 248 bool ParamTraits<ppapi::proxy::SerializedHandle>::Read(const Message* m, in Read() 251 ppapi::proxy::SerializedHandle::Header header; in Read() 252 if (!ppapi::proxy::SerializedHandle::ReadHeader(iter, &header)) in Read() 255 case ppapi::proxy::SerializedHandle::SHARED_MEMORY: { in Read() [all …]
|
D | raw_var_data.h | 30 typedef base::Callback<void(IPC::Message*, const SerializedHandle&)> 75 std::vector<SerializedHandle*> GetHandles(); 120 virtual SerializedHandle* GetHandle(); 197 virtual SerializedHandle* GetHandle() OVERRIDE; 207 SerializedHandle plugin_shm_handle_;
|
D | ppb_buffer_proxy.h | 20 class SerializedHandle; variable 70 ppapi::proxy::SerializedHandle* result_shm_handle);
|
D | nacl_message_scanner_unittest.cc | 45 std::vector<SerializedHandle> unused_handles; in OpenQuotaFile() 61 std::vector<SerializedHandle> unused_handles; in TEST_F() 139 std::vector<SerializedHandle> unused_handles; in TEST_F() 211 std::vector<SerializedHandle> unused_handles; in TEST_F()
|
D | ppapi_command_buffer_proxy.h | 25 class SerializedHandle; variable 32 const SerializedHandle& shared_state);
|
D | raw_var_data.cc | 205 std::vector<SerializedHandle*> RawVarDataGraph::GetHandles() { in GetHandles() 206 std::vector<SerializedHandle*> result; in GetHandles() 208 SerializedHandle* handle = data_[i]->GetHandle(); in GetHandles() 257 SerializedHandle* RawVarData::GetHandle() { in GetHandle() 428 plugin_shm_handle_ = SerializedHandle(plugin_handle, in Init() 515 if (!IPC::ParamTraits<SerializedHandle>::Read( in Read() 532 SerializedHandle* ArrayBufferRawVarData::GetHandle() { in GetHandle()
|
D | ppb_graphics_3d_proxy.cc | 56 const SerializedHandle& shared_state) { in Init() 171 ppapi::proxy::SerializedHandle shared_state; in CreateProxyResource() 225 SerializedHandle* shared_state) { in OnMsgCreate() 299 SerializedHandle* transfer_buffer) { in OnMsgCreateTransferBuffer()
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_audio_input_host.cc | 149 ppapi::proxy::SerializedHandle serialized_socket_handle( in OnOpenComplete() 150 ppapi::proxy::SerializedHandle::SOCKET); in OnOpenComplete() 151 ppapi::proxy::SerializedHandle serialized_shared_memory_handle( in OnOpenComplete() 152 ppapi::proxy::SerializedHandle::SHARED_MEMORY); in OnOpenComplete()
|
D | pepper_media_stream_track_host_base.cc | 19 using ppapi::proxy::SerializedHandle; 73 SerializedHandle handle(host_->ShareHandleWithRemote(platform_file, false), in InitBuffers() 82 std::vector<SerializedHandle>(1, handle)); in InitBuffers()
|
/external/chromium_org/chrome/renderer/pepper/ |
D | pepper_shared_memory_message_filter.h | 19 class SerializedHandle; variable 41 ppapi::proxy::SerializedHandle* plugin_shm_handle);
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_ipc_adapter.cc | 485 ppapi::proxy::SerializedHandle sh; in OnMessageReceived() 528 typedef std::vector<ppapi::proxy::SerializedHandle> Handles; in RewriteMessage() 543 case ppapi::proxy::SerializedHandle::SHARED_MEMORY: { in RewriteMessage() 555 case ppapi::proxy::SerializedHandle::SOCKET: { in RewriteMessage() 565 case ppapi::proxy::SerializedHandle::FILE: { in RewriteMessage() 585 case ppapi::proxy::SerializedHandle::INVALID: { in RewriteMessage() 605 ppapi::proxy::SerializedHandle sh) { in CreateOpenResourceReply() 615 ppapi::proxy::SerializedHandle::WriteHeader(sh.header(), in CreateOpenResourceReply() 638 ppapi::proxy::SerializedHandle sh; in OnFileTokenResolved() 689 ppapi::proxy::SerializedHandle sh; in OnFileTokenResolved()
|
/external/chromium_org/ppapi/host/ |
D | ppapi_host.cc | 21 using proxy::SerializedHandle; 106 resource, msg, std::vector<SerializedHandle>()); in SendUnsolicitedReply() 112 const std::vector<SerializedHandle>& handles) { in SendUnsolicitedReplyWithHandles() 118 for (std::vector<SerializedHandle>::const_iterator it = handles.begin(); in SendUnsolicitedReplyWithHandles()
|
D | ppapi_host.h | 28 class SerializedHandle; variable 70 const std::vector<proxy::SerializedHandle>& handles);
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_flash_file_message_filter.cc | 140 reply_context.params.AppendHandle(ppapi::proxy::SerializedHandle( in OnOpenFile() 141 ppapi::proxy::SerializedHandle::FILE, transit_file)); in OnOpenFile() 262 reply_context.params.AppendHandle(ppapi::proxy::SerializedHandle( in OnCreateTemporaryFile() 263 ppapi::proxy::SerializedHandle::FILE, transit_file)); in OnCreateTemporaryFile()
|