Searched refs:NaClIPCAdapter (Results 1 – 4 of 4) sorted by relevance
43 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::RewrittenMessage146 void SetData(const NaClIPCAdapter::NaClMessageHeader& header,[all …]
33 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 …]
54 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);
247 scoped_refptr<NaClIPCAdapter> ipc_adapter( in OnStart()248 new NaClIPCAdapter(handle, io_thread_.message_loop_proxy().get())); in OnStart()