Lines Matching defs:__src
165 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp& __assign_trivially_copyable(_Tp& __dest, _Up const& __src) {
166 __dest = __src;
174 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp& __assign_trivially_copyable(_Tp& __dest, _Up& __src) {
176 static_cast<_Up&&>(__src); // this is safe, we're not actually moving anything since the assignment is trivial
185 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp& __assign_trivially_copyable(_Tp& __dest, _Up const& __src) {
188 std::__construct_at(std::addressof(__dest), __src);
198 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp& __assign_trivially_copyable(_Tp& __dest, _Up& __src) {
203 static_cast<_Up&&>(__src)); // this is safe, we're not actually moving anything since the constructor is trivial
209 __constexpr_memmove(_Tp* __dest, _Up* __src, __element_count __n) {
214 ::__builtin_memmove(__dest, __src, __count * sizeof(_Tp));
218 if (std::__is_pointer_in_range(__src, __src + __count, __dest)) {
220 std::__assign_trivially_copyable(__dest[__count - 1], __src[__count - 1]);
223 std::__assign_trivially_copyable(__dest[__i], __src[__i]);
226 ::__builtin_memmove(__dest, __src, (__count - 1) * sizeof(_Tp) + __datasizeof_v<_Tp>);