Searched refs:VectorBuffer (Results 1 – 4 of 4) sorted by relevance
14 TEST(VectorBuffer, DeletePOD) { in TEST() argument16 VectorBuffer<int> buffer(size); in TEST()27 TEST(VectorBuffer, DeleteMoveOnly) { in TEST() argument29 VectorBuffer<MoveOnlyInt> buffer(size); in TEST()40 TEST(VectorBuffer, PODMove) { in TEST() argument42 VectorBuffer<int> dest(size); in TEST()44 VectorBuffer<int> original(size); in TEST()53 TEST(VectorBuffer, MovableMove) { in TEST() argument55 VectorBuffer<MoveOnlyInt> dest(size); in TEST()57 VectorBuffer<MoveOnlyInt> original(size); in TEST()[all …]
38 class VectorBuffer {40 constexpr VectorBuffer() = default;47 VectorBuffer(size_t count) in VectorBuffer() function51 VectorBuffer(VectorBuffer&& other) noexcept in VectorBuffer() function57 ~VectorBuffer() { free(buffer_); } in ~VectorBuffer()59 VectorBuffer& operator=(VectorBuffer&& other) {157 DISALLOW_COPY_AND_ASSIGN(VectorBuffer);
401 using VectorBuffer = internal::VectorBuffer<T>;600 buffer_ = VectorBuffer(); in shrink_to_fit()614 buffer_ = VectorBuffer(); in clear()909 static void MoveBuffer(VectorBuffer& from_buf, in MoveBuffer()912 VectorBuffer* to_buf, in MoveBuffer()943 VectorBuffer new_buffer(new_capacity + 1); in SetCapacityTo()1085 VectorBuffer buffer_;
11 using base::internal::VectorBuffer;