OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kMessageAlignment
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/mojo/system/
message_in_transit.cc
37
STATIC_CONST_MEMBER_DEFINITION const size_t MessageInTransit::
kMessageAlignment
;
41
static_assert(sizeof(Header) %
kMessageAlignment
== 0,
51
static_assert(kMaxMessageNumBytes %
kMessageAlignment
== 0,
52
"
kMessageAlignment
not a multiple of alignment");
94
base::AlignedAlloc(main_buffer_size_,
kMessageAlignment
))) {
112
base::AlignedAlloc(main_buffer_size_,
kMessageAlignment
))) {
120
base::AlignedAlloc(main_buffer_size_,
kMessageAlignment
))) {
122
DCHECK_EQ(main_buffer_size_ %
kMessageAlignment
, 0u);
150
reinterpret_cast<uintptr_t>(buffer) % MessageInTransit::
kMessageAlignment
,
158
DCHECK_EQ(*next_message_size %
kMessageAlignment
, 0u)
[
all
...]
transport_data.cc
25
static_assert(kMaxSizePerPlatformHandle % MessageInTransit::
kMessageAlignment
==
50
static_assert(sizeof(Header) % MessageInTransit::
kMessageAlignment
== 0,
53
MessageInTransit::
kMessageAlignment
==
57
MessageInTransit::
kMessageAlignment
==
116
base::AlignedAlloc(estimated_size, MessageInTransit::
kMessageAlignment
)));
201
base::AlignedAlloc(buffer_size_, MessageInTransit::
kMessageAlignment
)));
220
buffer_size % MessageInTransit::
kMessageAlignment
!= 0)
259
MessageInTransit::
kMessageAlignment
!=
282
if (offset % MessageInTransit::
kMessageAlignment
!= 0)
333
DCHECK_EQ(offset % MessageInTransit::
kMessageAlignment
, 0u)
[
all
...]
message_in_transit.h
32
// |
kMessageAlignment
|-byte aligned and a multiple of |
kMessageAlignment
| bytes
38
// |
kMessageAlignment
|-byte aligned), and then any padding needed to make the
39
// main buffer a multiple of |
kMessageAlignment
| bytes in size.
73
static const size_t
kMessageAlignment
= 8;
86
// |buffer| should be |
kMessageAlignment
|-byte aligned.
152
// on success. |buffer| should be aligned on a |
kMessageAlignment
| boundary
154
// |
kMessageAlignment
|).
215
// Rounds |n| up to a multiple of |
kMessageAlignment
|.
217
return (n +
kMessageAlignment
- 1) & ~(kMessageAlignment - 1)
[
all
...]
Completed in 849 milliseconds