Searched defs:data_num_bytes (Results 1 - 7 of 7) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dmessage_buffer.h32 uint32_t data_num_bytes() const { return data_num_bytes_; } function in class:mojo::internal::MessageBuffer
H A Dvalidation_context.cc19 size_t data_num_bytes,
26 data_end_(data_begin_ + data_num_bytes),
18 ValidationContext(const void* data, size_t data_num_bytes, size_t num_handles, Message* message, const base::StringPiece& description) argument
/external/libmojo/mojo/public/cpp/bindings/
H A Dmessage.h47 uint32_t data_num_bytes() const { return buffer_->data_num_bytes(); } function in class:mojo::Message
89 DCHECK(buffer_->data_num_bytes() >= header()->num_bytes);
90 size_t num_bytes = buffer_->data_num_bytes() - header()->num_bytes;
/external/libmojo/mojo/edk/system/
H A Dchannel.cc123 size_t data_num_bytes) {
124 if (data_num_bytes < sizeof(Header))
128 if (header->num_bytes != data_num_bytes) {
130 << " != " << data_num_bytes;
135 size_t payload_size = data_num_bytes - sizeof(Header);
146 size_t payload_size = data_num_bytes - header->num_header_bytes;
172 DCHECK_EQ(message->data_num_bytes(), data_num_bytes);
122 Deserialize(const void* data, size_t data_num_bytes) argument
H A Dchannel.h114 static MessagePtr Deserialize(const void* data, size_t data_num_bytes);
117 size_t data_num_bytes() const { return size_; } function in struct:mojo::edk::Channel::Message
H A Dchannel_win.cc37 DCHECK_GT(message_->data_num_bytes(), offset_);
54 size_t data_num_bytes() const { return message_->data_num_bytes() - offset_; } function in class:mojo::edk::__anon10991::MessageView
58 DCHECK_GE(message_->data_num_bytes(), offset_ + num_bytes);
264 if (message_view.data_num_bytes() == 0) {
305 static_cast<DWORD>(message_view.data_num_bytes()),
H A Dchannel_posix.cc45 DCHECK_GT(message_->data_num_bytes(), offset_);
63 size_t data_num_bytes() const { return message_->data_num_bytes() - offset_; } function in class:mojo::edk::__anon10990::MessageView
67 DCHECK_GT(message_->data_num_bytes(), offset_ + num_bytes);
333 message_view.data_num_bytes()
369 message_view.data_num_bytes());
382 } while (bytes_written < message_view.data_num_bytes());

Completed in 106 milliseconds