Home
last modified time | relevance | path

Searched refs:main_buffer_size_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/mojo/system/
Dmessage_in_transit.cc92 : main_buffer_size_(RoundUpMessageAlignment(sizeof(Header) + num_bytes)), in MessageInTransit()
94 base::AlignedAlloc(main_buffer_size_, kMessageAlignment))) { in MessageInTransit()
100 main_buffer_size_ - sizeof(Header) - num_bytes); in MessageInTransit()
102 memset(MessageInTransit::bytes(), 0, main_buffer_size_ - sizeof(Header)); in MessageInTransit()
110 : main_buffer_size_(RoundUpMessageAlignment(sizeof(Header) + num_bytes)), in MessageInTransit()
112 base::AlignedAlloc(main_buffer_size_, kMessageAlignment))) { in MessageInTransit()
118 : main_buffer_size_(message_view.main_buffer_size()), in MessageInTransit()
120 base::AlignedAlloc(main_buffer_size_, kMessageAlignment))) { in MessageInTransit()
121 DCHECK_GE(main_buffer_size_, sizeof(Header)); in MessageInTransit()
122 DCHECK_EQ(main_buffer_size_ % kMessageAlignment, 0u); in MessageInTransit()
[all …]
Dmessage_in_transit.h179 size_t main_buffer_size() const { return main_buffer_size_; } in main_buffer_size()
250 const size_t main_buffer_size_; variable