Searched refs:from_begin (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/containers/ |
D | vector_buffer.h | 110 static void MoveRange(T* from_begin, T* from_end, T* to) { in MoveRange() argument 111 DCHECK(!RangesOverlap(from_begin, from_end, to)); in MoveRange() 112 memcpy(to, from_begin, (from_end - from_begin) * sizeof(T)); in MoveRange() 121 static void MoveRange(T* from_begin, T* from_end, T* to) { in MoveRange() argument 122 DCHECK(!RangesOverlap(from_begin, from_end, to)); in MoveRange() 123 while (from_begin != from_end) { in MoveRange() 124 new (to) T(std::move(*from_begin)); in MoveRange() 125 from_begin->~T(); in MoveRange() 126 from_begin++; in MoveRange() 137 static void MoveRange(T* from_begin, T* from_end, T* to) { in MoveRange() argument [all …]
|
D | circular_deque.h | 910 size_t from_begin, in MoveBuffer() argument 918 if (from_begin < from_end) { in MoveBuffer() 920 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_end], in MoveBuffer() 922 *to_end = from_end - from_begin; in MoveBuffer() 923 } else if (from_begin > from_end) { in MoveBuffer() 925 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_capacity], in MoveBuffer() 927 size_t right_size = from_capacity - from_begin; in MoveBuffer()
|