HomeSort by relevance Sort by last modified time
    Searched refs:RawChannel (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/mojo/system/
raw_channel.h 28 // |RawChannel| is an interface and base class for objects that wrap an OS
43 class MOJO_SYSTEM_IMPL_EXPORT RawChannel {
45 virtual ~RawChannel();
66 // |RawChannel|), but must not destroy it.
86 static scoped_ptr<RawChannel> Create(embedder::ScopedPlatformHandle handle);
136 friend class RawChannel;
180 friend class RawChannel;
199 RawChannel();
227 // Handles any control messages targeted to the |RawChannel| (or
230 // |RawChannel::OnReadMessageForRawChannel()| for any remaining messages
    [all...]
raw_channel_unittest.cc 57 void InitOnIOThread(RawChannel* raw_channel, RawChannel::Delegate* delegate) {
104 class WriteOnlyRawChannelDelegate : public RawChannel::Delegate {
109 // |RawChannel::Delegate| implementation:
196 scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass()));
215 FROM_HERE, base::Bind(&RawChannel::Shutdown, base::Unretained(rc.get())));
220 class ReadCheckerRawChannelDelegate : public RawChannel::Delegate {
225 // |RawChannel::Delegate| implementation (called on the I/O thread):
282 scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass()))
    [all...]
raw_channel.cc 24 // RawChannel::ReadBuffer ------------------------------------------------------
26 RawChannel::ReadBuffer::ReadBuffer() : buffer_(kReadSize), num_valid_bytes_(0) {
29 RawChannel::ReadBuffer::~ReadBuffer() {
32 void RawChannel::ReadBuffer::GetBuffer(char** addr, size_t* size) {
38 // RawChannel::WriteBuffer -----------------------------------------------------
40 RawChannel::WriteBuffer::WriteBuffer(size_t serialized_platform_handle_size)
46 RawChannel::WriteBuffer::~WriteBuffer() {
50 bool RawChannel::WriteBuffer::HavePlatformHandlesToSend() const {
73 void RawChannel::WriteBuffer::GetPlatformHandlesToSend(
94 void RawChannel::WriteBuffer::GetBuffers(std::vector<Buffer>* buffers) const
    [all...]
channel.h 52 public RawChannel::Delegate {
65 bool Init(scoped_ptr<RawChannel> raw_channel);
109 // See |RawChannel::IsWriteBufferEmpty()|.
121 // See |RawChannel::GetSerializedPlatformHandleSize()|.
132 // |RawChannel::Delegate| implementation (only called on the creation thread):
176 scoped_ptr<RawChannel> raw_channel_;
raw_channel_posix.cc 32 class RawChannelPosix : public RawChannel,
38 // |RawChannel| public methods:
42 // |RawChannel| protected methods:
149 RawChannel::EnqueueMessageNoLock(fd_message.Pass());
158 RawChannel::EnqueueMessageNoLock(message.Pass());
167 // We don't need to do anything. |RawChannel| won't extract the platform
172 return RawChannel::OnReadMessageForRawChannel(message_view);
175 RawChannel::IOResult RawChannelPosix::Read(size_t* bytes_read) {
187 RawChannel::IOResult RawChannelPosix::ScheduleRead() {
217 RawChannel::IOResult RawChannelPosix::WriteNoLock
    [all...]
raw_channel_win.cc 72 class RawChannelWin : public RawChannel {
77 // |RawChannel| public methods:
162 // |RawChannel| private methods:
365 RawChannel::IOResult RawChannelWin::Read(size_t* bytes_read) {
409 RawChannel::IOResult RawChannelWin::ScheduleRead() {
444 RawChannel::IOResult RawChannelWin::WriteNoLock(
497 RawChannel::IOResult RawChannelWin::ScheduleWriteNoLock() {
574 scoped_ptr<RawChannel> RawChannel::Create(
576 return scoped_ptr<RawChannel>(new RawChannelWin(handle.Pass()))
    [all...]
channel_unittest.cc 67 RawChannel* raw_channel() { return raw_channel_.get(); }
68 scoped_ptr<RawChannel>* mutable_raw_channel() { return &raw_channel_; }
78 raw_channel_ = RawChannel::Create(channel_pair.PassServerHandle()).Pass();
84 scoped_ptr<RawChannel> raw_channel_;
118 class MockRawChannelOnInitFails : public RawChannel {
123 // |RawChannel| public methods:
127 // |RawChannel| protected methods:
message_pipe_test_utils.cc 79 CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass())));
channel.cc 35 bool Channel::Init(scoped_ptr<RawChannel> raw_channel) {
286 DVLOG(1) << "RawChannel read error (shutdown)";
291 << "RawChannel read error (connection broken)";
297 LOG(ERROR) << "RawChannel read error (received bad message)";
300 LOG(ERROR) << "RawChannel read error (unknown)";
305 LOG(WARNING) << "RawChannel write error";
remote_message_pipe_unittest.cc 127 RawChannel::Create(platform_handles_[channel_index].Pass())));
    [all...]
  /external/chromium_org/mojo/embedder/
embedder.cc 50 if (!channel->Init(system::RawChannel::Create(platform_handle.Pass()))) {

Completed in 844 milliseconds