RawChannel 36 mojo/embedder/embedder.cc system::RawChannel::Create(platform_handle.Pass())); RawChannel 40 mojo/system/channel.cc bool Channel::Init(scoped_ptr<RawChannel> raw_channel) { RawChannel 53 mojo/system/channel.h public RawChannel::Delegate { RawChannel 64 mojo/system/channel.h bool Init(scoped_ptr<RawChannel> raw_channel); RawChannel 140 mojo/system/channel.h scoped_ptr<RawChannel> raw_channel_; RawChannel 70 mojo/system/multiprocess_message_pipe_unittest.cc CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass()))); RawChannel 23 mojo/system/raw_channel.cc RawChannel::ReadBuffer::ReadBuffer() : buffer_(kReadSize), num_valid_bytes_(0) { RawChannel 26 mojo/system/raw_channel.cc RawChannel::ReadBuffer::~ReadBuffer() {} RawChannel 28 mojo/system/raw_channel.cc void RawChannel::ReadBuffer::GetBuffer(char** addr, size_t* size) { RawChannel 34 mojo/system/raw_channel.cc RawChannel::WriteBuffer::WriteBuffer() : offset_(0) {} RawChannel 36 mojo/system/raw_channel.cc RawChannel::WriteBuffer::~WriteBuffer() { RawChannel 40 mojo/system/raw_channel.cc void RawChannel::WriteBuffer::GetBuffers(std::vector<Buffer>* buffers) const { RawChannel 85 mojo/system/raw_channel.cc size_t RawChannel::WriteBuffer::GetTotalBytesToWrite() const { RawChannel 94 mojo/system/raw_channel.cc RawChannel::RawChannel() RawChannel 102 mojo/system/raw_channel.cc RawChannel::~RawChannel() { RawChannel 112 mojo/system/raw_channel.cc bool RawChannel::Init(Delegate* delegate) { RawChannel 135 mojo/system/raw_channel.cc void RawChannel::Shutdown() { RawChannel 152 mojo/system/raw_channel.cc bool RawChannel::WriteMessage(scoped_ptr<MessageInTransit> message) { RawChannel 185 mojo/system/raw_channel.cc base::Bind(&RawChannel::CallOnFatalError, RawChannel 194 mojo/system/raw_channel.cc bool RawChannel::IsWriteBufferEmpty() { RawChannel 199 mojo/system/raw_channel.cc RawChannel::ReadBuffer* RawChannel::read_buffer() { RawChannel 204 mojo/system/raw_channel.cc RawChannel::WriteBuffer* RawChannel::write_buffer_no_lock() { RawChannel 209 mojo/system/raw_channel.cc void RawChannel::OnReadCompleted(bool result, size_t bytes_read) { RawChannel 308 mojo/system/raw_channel.cc void RawChannel::OnWriteCompleted(bool result, size_t bytes_written) { RawChannel 328 mojo/system/raw_channel.cc void RawChannel::CallOnFatalError(Delegate::FatalError fatal_error) { RawChannel 334 mojo/system/raw_channel.cc bool RawChannel::OnWriteCompletedNoLock(bool result, size_t bytes_written) { RawChannel 42 mojo/system/raw_channel.h class MOJO_SYSTEM_IMPL_EXPORT RawChannel { RawChannel 44 mojo/system/raw_channel.h virtual ~RawChannel(); RawChannel 76 mojo/system/raw_channel.h static scoped_ptr<RawChannel> Create(embedder::ScopedPlatformHandle handle); RawChannel 113 mojo/system/raw_channel.h friend class RawChannel; RawChannel 140 mojo/system/raw_channel.h friend class RawChannel; RawChannel 152 mojo/system/raw_channel.h RawChannel(); RawChannel 241 mojo/system/raw_channel.h base::WeakPtrFactory<RawChannel> weak_ptr_factory_; RawChannel 243 mojo/system/raw_channel.h DISALLOW_COPY_AND_ASSIGN(RawChannel); RawChannel 33 mojo/system/raw_channel_posix.cc class RawChannelPosix : public RawChannel, RawChannel 99 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::Read(size_t* bytes_read) { RawChannel 128 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::ScheduleRead() { RawChannel 137 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::WriteNoLock(size_t* bytes_written) { RawChannel 199 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::ScheduleWriteNoLock() { RawChannel 333 mojo/system/raw_channel_posix.cc scoped_ptr<RawChannel> RawChannel::Create( RawChannel 335 mojo/system/raw_channel_posix.cc return scoped_ptr<RawChannel>(new RawChannelPosix(handle.Pass())); RawChannel 55 mojo/system/raw_channel_unittest.cc void InitOnIOThread(RawChannel* raw_channel, RawChannel::Delegate* delegate) { RawChannel 102 mojo/system/raw_channel_unittest.cc class WriteOnlyRawChannelDelegate : public RawChannel::Delegate { RawChannel 194 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass())); RawChannel 213 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 219 mojo/system/raw_channel_unittest.cc class ReadCheckerRawChannelDelegate : public RawChannel::Delegate { RawChannel 281 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass())); RawChannel 306 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 314 mojo/system/raw_channel_unittest.cc RawChannelWriterThread(RawChannel* raw_channel, size_t write_count) RawChannel 334 mojo/system/raw_channel_unittest.cc RawChannel* const raw_channel_; RawChannel 340 mojo/system/raw_channel_unittest.cc class ReadCountdownRawChannelDelegate : public RawChannel::Delegate { RawChannel 383 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> writer_rc(RawChannel::Create(handles[0].Pass())); RawChannel 390 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> reader_rc(RawChannel::Create(handles[1].Pass())); RawChannel 413 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 417 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 468 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass())); RawChannel 491 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 513 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass())); RawChannel 530 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 540 mojo/system/raw_channel_unittest.cc scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass())); RawChannel 545 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, RawChannel 71 mojo/system/raw_channel_win.cc class RawChannelWin : public RawChannel { RawChannel 337 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::Read(size_t* bytes_read) { RawChannel 379 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::ScheduleRead() { RawChannel 406 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::WriteNoLock(size_t* bytes_written) { RawChannel 446 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::ScheduleWriteNoLock() { RawChannel 519 mojo/system/raw_channel_win.cc scoped_ptr<RawChannel> RawChannel::Create( RawChannel 521 mojo/system/raw_channel_win.cc return scoped_ptr<RawChannel>(new RawChannelWin(handle.Pass())); RawChannel 113 mojo/system/remote_message_pipe_unittest.cc RawChannel::Create(platform_handles_[channel_index].Pass())));