Home
last modified time | relevance | path

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

/system/chre/apps/test/chqts/src/general_test/
Dsimple_heap_alloc_test.cc45 constexpr size_t kMaxAlignment = variable
73 alignas(kMaxAlignment * 2) in testMaxAlignment()
74 uint8_t myFloatMemory[sizeof(MyFloat) * 3 + kMaxAlignment]; in testMaxAlignment()
75 MyFloat *mfArray = reinterpret_cast<MyFloat *>(myFloatMemory + kMaxAlignment); in testMaxAlignment()
85 alignas(kMaxAlignment * 2) in testMaxAlignment()
86 uint8_t longlongMemory[kUllSize * 3 + kMaxAlignment]; in testMaxAlignment()
88 reinterpret_cast<unsigned long long *>(longlongMemory + kMaxAlignment); in testMaxAlignment()
142 if ((ptrValue & (kMaxAlignment - 1)) != 0) { in setUp()