/external/libmojo/mojo/edk/system/ |
message_for_transit.h | 71 DCHECK(message_); 73 static_cast<const char*>(message_->payload_bytes()) + 78 DCHECK(message_); 80 static_cast<char*>(message_->mutable_payload_bytes()) + 86 DCHECK_GE(message_->num_payload_bytes(), header_size); 87 return message_->num_payload_bytes() - header_size; 92 const PortsMessage& ports_message() const { return *message_; } 95 return std::move(message_); 102 DCHECK(message_); 104 message_->payload_bytes()) 107 std::unique_ptr<PortsMessage> message_; member in class:mojo::edk::MessageForTransit [all...] |
channel_win.cc | 35 : message_(std::move(message)), 37 DCHECK_GT(message_->data_num_bytes(), offset_); 43 message_ = std::move(other.message_); 51 return static_cast<const char*>(message_->data()) + offset_; 54 size_t data_num_bytes() const { return message_->data_num_bytes() - offset_; } 58 DCHECK_GE(message_->data_num_bytes(), offset_ + num_bytes); 62 Channel::MessagePtr TakeChannelMessage() { return std::move(message_); } 65 Channel::MessagePtr message_; member in class:mojo::edk::__anon23486::MessageView
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
message_buffer.cc | 19 MOJO_ALLOC_MESSAGE_FLAG_NONE, &message_); 25 rv = GetMessageBuffer(message_.get(), &buffer_); 34 message_ = std::move(message); 40 MojoResult rv = GetMessageBuffer(message_.get(), &buffer_); 65 DCHECK(message_.is_valid()); 66 MojoResult result = mojo::NotifyBadMessage(message_.get(), error);
|
message_buffer.h | 37 ScopedMessageHandle TakeMessage() { return std::move(message_); } 43 ScopedMessageHandle message_; member in class:mojo::internal::MessageBuffer
|
validation_context.h | 59 Message* message() const { return message_; } 65 Message* const message_; member in class:mojo::internal::ValidationContext
|
message_builder.cc | 26 Allocate(message_.buffer(), &header); 37 message_.Initialize(static_cast<uint32_t>(Align(size)), 48 Allocate(message_.buffer(), &header);
|
message_builder.h | 24 Buffer* buffer() { return message_.buffer(); } 25 Message* message() { return &message_; } 31 Message message_; member in class:mojo::internal::MessageBuilder
|