Searched refs:extra_header_size (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/mojo/core/ |
D | channel.cc | 89 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 …]
|
D | channel_unittest.cc | 37 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()
|
D | channel.h | 170 size_t extra_header_size() const; 342 size_t extra_header_size,
|
D | channel_fuchsia.cc | 171 memset(handles_info, 0, message_->extra_header_size()); in TakeHandles() 248 size_t extra_header_size, in GetReadPlatformHandles() argument 262 if (handles_info_size > extra_header_size) in GetReadPlatformHandles()
|
D | channel_win.cc | 105 size_t extra_header_size, in GetReadPlatformHandles() argument 113 if (handles_size > extra_header_size) in GetReadPlatformHandles()
|
D | channel_posix.cc | 192 size_t extra_header_size, in GetReadPlatformHandles() argument 202 if (extra_header_size < in GetReadPlatformHandles()
|