Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtypes_test.cpp27 static IOVector::block_type create_block(const std::string& string) { in create_block()
28 return IOVector::block_type(string.begin(), string.end()); in create_block()
31 static IOVector::block_type create_block(char value, size_t len) { in create_block()
32 auto block = IOVector::block_type(); in create_block()
42 static IOVector::block_type copy_block(const T& block) { in copy_block()
43 auto copy = IOVector::block_type(); in copy_block()
48 TEST(IOVector, empty) { in TEST() argument
50 IOVector bc; in TEST()
54 TEST(IOVector, move_constructor) { in TEST() argument
55 IOVector x; 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.h140 struct IOVector { struct
145 IOVector() = default; argument
147 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() function
149 IOVector(const IOVector& copy) = delete;
150 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() argument
152 IOVector& operator=(const IOVector& copy) = delete; argument
153 IOVector& operator=(IOVector&& move) noexcept; argument
181 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.h124 IOVector packet_queue;
/packages/modules/adb/daemon/
Dusb.cpp725 IOVector incoming_payload_;
728 IOVector read_data_;
/packages/modules/adb/client/
Dusb_libusb.cpp879 IOVector incoming_payload_ GUARDED_BY(read_mutex_);