Home
last modified time | relevance | path

Searched refs:IOVector (Results 1 – 8 of 8) sorted by relevance

/packages/modules/adb/
Dtypes_test.cpp22 static IOVector::block_type create_block(const std::string& string) { in create_block()
23 return IOVector::block_type(string.begin(), string.end()); in create_block()
26 static IOVector::block_type create_block(char value, size_t len) { in create_block()
27 auto block = IOVector::block_type(); in create_block()
34 static IOVector::block_type copy_block(const T& block) { in copy_block()
35 auto copy = IOVector::block_type(); in copy_block()
40 TEST(IOVector, empty) { in TEST() argument
42 IOVector bc; in TEST()
46 TEST(IOVector, single_block) { in TEST() argument
49 IOVector bc; in TEST()
[all …]
Dtypes.cpp19 IOVector& IOVector::operator=(IOVector&& move) noexcept { in operator =()
29 IOVector::block_type IOVector::clear() { in clear()
41 void IOVector::drop_front(IOVector::size_type len) { in drop_front()
65 IOVector IOVector::take_front(IOVector::size_type len) { in take_front()
74 IOVector res; in take_front()
114 void IOVector::trim_front() { in trim_front()
131 void IOVector::trim_chain_front() { in trim_chain_front()
138 void IOVector::pop_front_block() { in pop_front_block()
148 IOVector::block_type IOVector::coalesce() && { in coalesce()
190 return const_cast<const IOVector*>(this)->coalesce<>(); in coalesce()
[all …]
Dtypes.h138 struct IOVector { struct
143 IOVector() = default; argument
145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() function
147 IOVector(const IOVector& copy) = delete;
148 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() function
150 IOVector& operator=(const IOVector& copy) = delete; argument
151 IOVector& operator=(IOVector&& move) noexcept; argument
179 IOVector take_front(size_type len); argument
Dtransport_fd.cpp96 auto block = IOVector::block_type(MAX_PAYLOAD); in Run()
206 auto header_block = IOVector::block_type(header_begin, header_end); in Write()
226 IOVector read_buffer_;
234 IOVector write_buffer_ GUARDED_BY(write_mutex_);
236 IOVector incoming_queue_;
Dcompression_utils.h64 IOVector input_buffer_;
87 IOVector input_buffer_;
383 IOVector output_buffer_;
Dsocket.h66 IOVector packet_queue;
/packages/modules/adb/daemon/
Dusb.cpp707 IOVector incoming_payload_;
710 IOVector read_data_;
/packages/modules/adb/client/
Dusb_libusb.cpp683 IOVector incoming_payload_ GUARDED_BY(read_mutex_);