Searched refs:IOVector (Results 1 – 8 of 8) sorted by relevance
22 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() argument42 IOVector bc; in TEST()46 TEST(IOVector, single_block) { in TEST() argument49 IOVector bc; in TEST()[all …]
19 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 …]
138 struct IOVector { struct143 IOVector() = default; argument145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() function147 IOVector(const IOVector& copy) = delete;148 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() function150 IOVector& operator=(const IOVector& copy) = delete; argument151 IOVector& operator=(IOVector&& move) noexcept; argument179 IOVector take_front(size_type len); argument
96 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_;
64 IOVector input_buffer_;87 IOVector input_buffer_;383 IOVector output_buffer_;
66 IOVector packet_queue;
707 IOVector incoming_payload_;710 IOVector read_data_;
683 IOVector incoming_payload_ GUARDED_BY(read_mutex_);