Home
last modified time | relevance | path

Searched refs:size_with_header_and_padding (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/mojo/system/
Dmessage_in_transit.cc50 const size_t size_with_header_and_padding = in Create() local
53 char* buffer = static_cast<char*>(malloc(size_with_header_and_padding)); in Create()
63 size_with_header_and_padding - size_with_header); in Create()
Draw_channel_posix.cc264 message->size_with_header_and_padding()) in OnFileCanReadWithoutBlocking()
277 read_buffer_start += message->size_with_header_and_padding(); in OnFileCanReadWithoutBlocking()
278 read_buffer_num_valid_bytes_ -= message->size_with_header_and_padding(); in OnFileCanReadWithoutBlocking()
350 DCHECK_LT(write_message_offset_, message->size_with_header_and_padding()); in WriteFrontMessageNoLock()
352 message->size_with_header_and_padding() - write_message_offset_; in WriteFrontMessageNoLock()
Draw_channel_posix_unittest.cc175 if (bytes_.size() >= message->size_with_header_and_padding()) { in ReadAndCheckNextMessage()
184 message->size_with_header_and_padding()); in ReadAndCheckNextMessage()
323 write(fd(1), message, message->size_with_header_and_padding())); in TEST_F()
324 EXPECT_EQ(static_cast<ssize_t>(message->size_with_header_and_padding()), in TEST_F()
339 write(fd(1), message, message->size_with_header_and_padding())); in TEST_F()
340 EXPECT_EQ(static_cast<ssize_t>(message->size_with_header_and_padding()), in TEST_F()
Dmessage_in_transit.h64 size_t size_with_header_and_padding() const { in size_with_header_and_padding() function