Home | History | Annotate | Download | only in src

Lines Matching full:num_words

130 inline void CopyWords(T* dst, const T* src, size_t num_words) {
132 ASSERT(Min(dst, const_cast<T*>(src)) + num_words <=
134 ASSERT(num_words > 0);
140 if (num_words < kBlockCopyLimit) {
142 num_words--;
144 } while (num_words > 0);
146 OS::MemCopy(dst, src, num_words * kPointerSize);
153 inline void MoveWords(T* dst, const T* src, size_t num_words) {
155 ASSERT(num_words > 0);
161 if (num_words < kBlockCopyLimit &&
162 ((dst < src) || (dst >= (src + num_words * kPointerSize)))) {
163 T* end = dst + num_words;
165 num_words--;
167 } while (num_words > 0);
169 OS::MemMove(dst, src, num_words * kPointerSize);