Home
last modified time | relevance | path

Searched refs:AlignUpTo8 (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/
Darena_impl.h53 inline size_t AlignUpTo8(size_t n) { in AlignUpTo8() function
160 GOOGLE_DCHECK_EQ(internal::AlignUpTo8(n), n); // Must be already aligned. in AllocateAligned()
Darena.h540 const size_t n = internal::AlignUpTo8(sizeof(T)); in AllocateInternal()
602 const size_t n = internal::AlignUpTo8(sizeof(T) * num_elements); in CreateInternalRawArray()
698 return impl_.AllocateAligned(internal::AlignUpTo8(n)); in AllocateAligned()
Darena.cc135 size_t bytes = internal::AlignUpTo8(CleanupChunk::SizeOf(size)); in AddCleanupFallback()