Home
last modified time | relevance | path

Searched defs:IOVector (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/
Dtypes.h140 struct IOVector { struct
145 IOVector() = default; argument
147 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() argument
150 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() function
152 IOVector& operator=(const IOVector& copy) = delete; argument
153 IOVector& operator=(IOVector&& move) noexcept; argument
155 const value_type* front_data() const { in front_data()
181 IOVector take_front(size_type len); argument
184 void append(block_type&& block) { in append()
203 void iterate_blocks(Fn&& callback) const { in iterate_blocks()
[all …]
Dtypes_test.cpp48 TEST(IOVector, empty) { in TEST() argument
54 TEST(IOVector, move_constructor) { in TEST() argument
61 TEST(IOVector, single_block) { in TEST() argument
71 TEST(IOVector, single_block_split) { in TEST() argument
82 TEST(IOVector, aligned_split) { in TEST() argument
104 TEST(IOVector, misaligned_split) { in TEST() argument
136 TEST(IOVector, drop_front) { in TEST() argument
153 TEST(IOVector, take_front) { in TEST() argument
167 TEST(IOVector, trim_front) { in TEST() argument