Searched refs:insert_begin (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_containers.hpp | 376 void insert(T *itr, const T *insert_begin, const T *insert_end) SPIRV_CROSS_NOEXCEPT in insert() argument 378 auto count = size_t(insert_end - insert_begin); in insert() 382 for (size_t i = 0; i < count; i++, insert_begin++) in insert() 383 new (&this->ptr[this->buffer_size + i]) T(*insert_begin); in insert() 424 for (auto *source_itr = insert_begin; source_itr != insert_end; ++source_itr, ++target_itr) in insert() 428 if (new_buffer != this->ptr || insert_begin != insert_end) in insert() 461 while (itr != this->end() && insert_begin != insert_end) in insert() 462 *itr++ = *insert_begin++; in insert() 465 while (insert_begin != insert_end) in insert() 467 new (itr) T(*insert_begin); in insert() [all …]
|
/third_party/gn/src/base/containers/ |
D | circular_deque.h | 765 iterator insert_begin(this, pos.index_); in emplace() 767 MakeRoomFor(1, &insert_begin, &insert_end); in emplace() 768 new (&buffer_[insert_begin.index_]) T(std::forward<Args>(args)...); in emplace() 770 return insert_begin; in emplace() 1011 void MakeRoomFor(size_t count, iterator* insert_begin, iterator* insert_end) { in MakeRoomFor() argument 1013 *insert_end = *insert_begin; in MakeRoomFor() 1018 size_t begin_offset = insert_begin->OffsetFromBegin(); in MakeRoomFor() 1021 insert_begin->index_ = (begin_ + begin_offset) % buffer_.capacity(); in MakeRoomFor() 1023 iterator(this, (insert_begin->index_ + count) % buffer_.capacity()); in MakeRoomFor() 1033 if (src == *insert_begin) in MakeRoomFor()
|