Home
last modified time | relevance | path

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

/external/llvm-project/libc/test/src/string/memory_utils/
Dutils_test.cpp91 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()
/external/llvm-project/libc/src/string/memory_utils/
Dutils.h46 template <size_t alignment> intptr_t offset_from_last_aligned(const void *ptr) { in offset_from_last_aligned() function
Dmemset_utils.h66 size_t offset = kBlockSize - offset_from_last_aligned<kBlockSize>(dst); in SetAlignedBlocks()
Dmemcpy_utils.h93 const size_t ofla = offset_from_last_aligned<kBlockSize>(dst); in CopyAlignedBlocks()