Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtypes.h138 struct IOVector { struct
143 IOVector() = default; argument
145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() argument
148 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() argument
150 IOVector& operator=(const IOVector& copy) = delete; argument
151 IOVector& operator=(IOVector&& move) noexcept; argument
153 const value_type* front_data() const { in front_data()
179 IOVector take_front(size_type len); argument
182 void append(block_type&& block) { in append()
201 void iterate_blocks(Fn&& callback) const { in iterate_blocks()
[all …]
Dtypes_test.cpp40 TEST(IOVector, empty) { in TEST() argument
46 TEST(IOVector, single_block) { in TEST() argument
56 TEST(IOVector, single_block_split) { in TEST() argument
67 TEST(IOVector, aligned_split) { in TEST() argument
89 TEST(IOVector, misaligned_split) { in TEST() argument
121 TEST(IOVector, drop_front) { in TEST() argument