Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/test/src/string/memory_utils/
H A Dmemory_access_test.cpp213 using AlignmentT = TestingElement<4>; in TearDown() typedef
216 expected.Touch(Offset, AlignmentT::SIZE); in TearDown()
217 expected.Touch(AlignmentT::SIZE, ParamType::SIZE); in TearDown()
221 checkOperations<Align<AlignmentT, Arg::_1>::Then<HeadTail<ParamType>>, Size, in TearDown()
223 checkOperations<Align<AlignmentT, Arg::_2>::Then<HeadTail<ParamType>>, Size, in TearDown()
/llvm-project-15.0.7/libc/src/string/memory_utils/
H A Delements.h475 template <typename AlignmentT, Arg AlignOn = Arg::_1> struct Align {
477 static constexpr size_t ALIGNMENT = AlignmentT::SIZE;
485 AlignmentT::copy(dst, src);
514 HeadTail<AlignmentT>::move(dst, src, size - next_size);
542 HeadTail<AlignmentT>::move(headtail_dst, headtail_src, headtail_size);
547 if (!AlignmentT::equals(lhs, rhs))
555 if (!AlignmentT::equals(lhs, rhs))
556 return AlignmentT::three_way_compare(lhs, rhs);
562 AlignmentT::splat_set(dst, value);