Searched refs:adjusted_alignment (Results 1 – 2 of 2) sorted by relevance
157 uint32 adjusted_alignment = in AllocNewBlock() local160 adjusted_alignment = in AllocNewBlock()161 std::max(adjusted_alignment, static_cast<uint32>(sizeof(void*))); in AllocNewBlock()163 CHECK_LE(adjusted_alignment, static_cast<uint32>(1 << 20)) in AllocNewBlock()169 if (adjusted_block_size > adjusted_alignment) { in AllocNewBlock()170 const uint32 excess = adjusted_block_size % adjusted_alignment; in AllocNewBlock()171 adjusted_block_size += (excess > 0 ? adjusted_alignment - excess : 0); in AllocNewBlock()174 port::AlignedMalloc(adjusted_block_size, adjusted_alignment)); in AllocNewBlock()179 << " adjusted_alignment=" << adjusted_alignment; in AllocNewBlock()
296 const uint32 adjusted_alignment = in AllocNewBlock() local299 TC3_CHECK_LE(adjusted_alignment, 1 << 20) in AllocNewBlock()308 if (adjusted_alignment > __STDCPP_DEFAULT_NEW_ALIGNMENT__) { in AllocNewBlock()310 if (adjusted_alignment > 1) { in AllocNewBlock()312 if (adjusted_block_size > adjusted_alignment) { in AllocNewBlock()313 const uint32 excess = adjusted_block_size % adjusted_alignment; in AllocNewBlock()314 adjusted_block_size += (excess > 0 ? adjusted_alignment - excess : 0); in AllocNewBlock()320 block->mem = AllocateAlignedBytes(adjusted_block_size, adjusted_alignment); in AllocNewBlock()325 block->alignment = adjusted_alignment; in AllocNewBlock()330 << " adjusted_alignment=" << adjusted_alignment; in AllocNewBlock()