Lines Matching defs:src

114         static void move(const T* src, const T* srcEnd, T* dst)
116 while (src != srcEnd) {
117 new (NotNull, dst) T(*src);
118 src->~T();
120 ++src;
123 static void moveOverlapping(const T* src, const T* srcEnd, T* dst)
125 if (src > dst)
126 move(src, srcEnd, dst);
128 T* dstEnd = dst + (srcEnd - src);
129 while (src != srcEnd) {
137 static void swap(T* src, T* srcEnd, T* dst)
139 std::swap_ranges(src, srcEnd, dst);
146 static void move(const T* src, const T* srcEnd, T* dst)
148 memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src));
150 static void moveOverlapping(const T* src, const T* srcEnd, T* dst)
152 memmove(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src));
154 static void swap(T* src, T* srcEnd, T* dst)
156 std::swap_ranges(reinterpret_cast<char*>(src), reinterpret_cast<char*>(srcEnd), reinterpret_cast<char*>(dst));
167 static void uninitializedCopy(const U* src, const U* srcEnd, T* dst)
169 while (src != srcEnd) {
170 new (NotNull, dst) T(*src);
172 ++src;
180 static void uninitializedCopy(const T* src, const T* srcEnd, T* dst)
182 memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src));
185 static void uninitializedCopy(const U* src, const U* srcEnd, T* dst)
187 VectorCopier<false, T>::uninitializedCopy(src, srcEnd, dst);
255 static void move(const T* src, const T* srcEnd, T* dst)
257 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::move(src, srcEnd, dst);
260 static void moveOverlapping(const T* src, const T* srcEnd, T* dst)
262 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::moveOverlapping(src, srcEnd, dst);
265 static void swap(T* src, T* srcEnd, T* dst)
267 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::swap(src, srcEnd, dst);
270 static void uninitializedCopy(const T* src, const T* srcEnd, T* dst)
272 VectorCopier<VectorTraits<T>::canCopyWithMemcpy, T>::uninitializedCopy(src, srcEnd, dst);