Home
last modified time | relevance | path

Searched refs:NaClIPCAdapter (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/components/nacl/loader/
Dnacl_ipc_adapter.cc43 if (len < sizeof(NaClIPCAdapter::NaClMessageHeader)) in GetBufferStatus()
46 const NaClIPCAdapter::NaClMessageHeader* header = in GetBufferStatus()
47 reinterpret_cast<const NaClIPCAdapter::NaClMessageHeader*>(data); in GetBufferStatus()
49 sizeof(NaClIPCAdapter::NaClMessageHeader) + header->payload_size; in GetBufferStatus()
61 explicit DescThunker(NaClIPCAdapter* adapter_param) in DescThunker()
64 scoped_refptr<NaClIPCAdapter> adapter;
67 NaClIPCAdapter* ToAdapter(void* handle) { in ToAdapter()
86 NaClDesc* MakeNaClDescCustom(NaClIPCAdapter* adapter) { in MakeNaClDescCustom()
139 class NaClIPCAdapter::RewrittenMessage
146 void SetData(const NaClIPCAdapter::NaClMessageHeader& header,
[all …]
Dnacl_ipc_adapter_unittest.cc33 adapter_ = new NaClIPCAdapter(scoped_ptr<IPC::Channel>(sink_), in SetUp()
60 scoped_refptr<NaClIPCAdapter> adapter_;
90 EXPECT_EQ(sizeof(NaClIPCAdapter::NaClMessageHeader) + sizeof(int), in TEST_F()
93 const NaClIPCAdapter::NaClMessageHeader* output_header = in TEST_F()
94 reinterpret_cast<const NaClIPCAdapter::NaClMessageHeader*>(buf); in TEST_F()
105 sizeof(NaClIPCAdapter::NaClMessageHeader)])); in TEST_F()
115 const int buf_size = sizeof(NaClIPCAdapter::NaClMessageHeader) + sizeof(int); in TEST_F()
118 NaClIPCAdapter::NaClMessageHeader* header = in TEST_F()
119 reinterpret_cast<NaClIPCAdapter::NaClMessageHeader*>(buf); in TEST_F()
126 &buf[sizeof(NaClIPCAdapter::NaClMessageHeader)]) = value; in TEST_F()
[all …]
Dnacl_ipc_adapter.h54 class NaClIPCAdapter : public base::RefCountedThreadSafe<NaClIPCAdapter>,
79 NaClIPCAdapter(const IPC::ChannelHandle& handle, base::TaskRunner* runner);
83 NaClIPCAdapter(scoped_ptr<IPC::Channel> channel, base::TaskRunner* runner);
116 friend class base::RefCountedThreadSafe<NaClIPCAdapter>;
153 virtual ~NaClIPCAdapter();
186 DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter);
Dnacl_listener.cc247 scoped_refptr<NaClIPCAdapter> ipc_adapter( in OnStart()
248 new NaClIPCAdapter(handle, io_thread_.message_loop_proxy().get())); in OnStart()