Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/
DContainer.cpp33 constexpr const static size_t kPaddingAlignment = 4u; variable
54 size_t overage = size % kPaddingAlignment; in CalculatePaddingForAlignment()
55 return overage == 0 ? 0 : kPaddingAlignment - overage; in CalculatePaddingForAlignment()
59 CHECK(padding < kPaddingAlignment); in WritePadding()
61 static_assert(sizeof(zero) >= kPaddingAlignment, "Not enough source bytes for padding"); in WritePadding()