Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dchannel.cc89 size_t extra_header_size = 0; in Message() local
92 extra_header_size = max_handles_ * sizeof(HandleEntry); in Message()
95 extra_header_size = max_handles_ * sizeof(HandleInfoEntry); in Message()
102 extra_header_size = in Message()
107 if (!IsAlignedForChannelMessage(extra_header_size)) { in Message()
108 extra_header_size += kChannelMessageAlignment - in Message()
109 (extra_header_size % kChannelMessageAlignment); in Message()
111 DCHECK(IsAlignedForChannelMessage(extra_header_size)); in Message()
114 DCHECK(extra_header_size == 0 || !is_legacy_message); in Message()
116 capacity_ = header_size + extra_header_size + capacity; in Message()
[all …]
Dchannel_unittest.cc37 size_t extra_header_size,
119 ASSERT_EQ(message1->extra_header_size(), message2->extra_header_size()); in TestMessagesAreEqual()
120 TestMemoryEqual(message1->extra_header(), message1->extra_header_size(), in TestMessagesAreEqual()
121 message2->extra_header(), message2->extra_header_size()); in TestMessagesAreEqual()
Dchannel.h170 size_t extra_header_size() const;
342 size_t extra_header_size,
Dchannel_posix.cc192 size_t extra_header_size, in GetReadPlatformHandles() argument
202 if (extra_header_size < in GetReadPlatformHandles()