Home
last modified time | relevance | path

Searched refs:VectorBuffer (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/containers/
Dvector_buffer_unittest.cc14 TEST(VectorBuffer, DeletePOD) { in TEST() argument
16 VectorBuffer<int> buffer(size); in TEST()
27 TEST(VectorBuffer, DeleteMoveOnly) { in TEST() argument
29 VectorBuffer<MoveOnlyInt> buffer(size); in TEST()
40 TEST(VectorBuffer, PODMove) { in TEST() argument
42 VectorBuffer<int> dest(size); in TEST()
44 VectorBuffer<int> original(size); in TEST()
53 TEST(VectorBuffer, MovableMove) { in TEST() argument
55 VectorBuffer<MoveOnlyInt> dest(size); in TEST()
57 VectorBuffer<MoveOnlyInt> original(size); in TEST()
[all …]
Dvector_buffer.h38 class VectorBuffer {
40 constexpr VectorBuffer() = default;
47 VectorBuffer(size_t count) in VectorBuffer() function
51 VectorBuffer(VectorBuffer&& other) noexcept in VectorBuffer() function
57 ~VectorBuffer() { free(buffer_); } in ~VectorBuffer()
59 VectorBuffer& operator=(VectorBuffer&& other) {
157 DISALLOW_COPY_AND_ASSIGN(VectorBuffer);
Dcircular_deque.h401 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_;
Dcircular_deque_unittest.cc11 using base::internal::VectorBuffer;