Lines Matching defs:src
105 static inline void CopyMaybeOverlap(JSTaggedValue* dst, JSTaggedValue* src, size_t count)
107 std::copy_n(src, count, dst);
110 static inline void CopyNoOverlap(JSTaggedValue* __restrict__ dst, JSTaggedValue* __restrict__ src, size_t count)
112 std::copy_n(src, count, dst);
119 void Barriers::CopyObject(const JSThread* thread, JSTaggedValue* dst, JSTaggedValue* src, size_t count)
124 // step 1. copy from src to dst directly.
125 CopyObjectPrimitive<maybeOverlap>(dst, src, count);
170 inline void Barriers::CopyObjectPrimitive(JSTaggedValue* dst, JSTaggedValue* src, size_t count)
175 CopyMaybeOverlap(dst, src, count);
177 CopyNoOverlap(dst, src, count);