Searched refs:offset_from_last_aligned (Results 1 – 4 of 4) sorted by relevance
91 EXPECT_EQ(offset_from_last_aligned<16>(forge(0)), I(0)); in TEST()92 EXPECT_EQ(offset_from_last_aligned<16>(forge(1)), I(1)); in TEST()93 EXPECT_EQ(offset_from_last_aligned<16>(forge(16)), I(0)); in TEST()94 EXPECT_EQ(offset_from_last_aligned<16>(forge(15)), I(15)); in TEST()95 EXPECT_EQ(offset_from_last_aligned<32>(forge(16)), I(16)); in TEST()
46 template <size_t alignment> intptr_t offset_from_last_aligned(const void *ptr) { in offset_from_last_aligned() function
66 size_t offset = kBlockSize - offset_from_last_aligned<kBlockSize>(dst); in SetAlignedBlocks()
93 const size_t ofla = offset_from_last_aligned<kBlockSize>(dst); in CopyAlignedBlocks()