Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 5 of 5) 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()
Dtypes.cpp29 IOVector::block_type IOVector::clear() { in clear()
33 block_type res; in clear()
96 block_type block(chain_[start_index_].begin() + begin_offset_, in take_front()
103 block_type block(chain_[start_index_].begin() + len, chain_[start_index_].end()); in take_front()
118 block_type& first_block = chain_[start_index_]; in trim_front()
148 IOVector::block_type IOVector::coalesce() && { in coalesce()
Dtypes.h140 using block_type = Block; member
145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector()
174 block_type clear();
182 void append(block_type&& block) { in append()
222 template <typename CollectionType = block_type>
240 block_type coalesce() &&;
263 std::vector<block_type> chain_;
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()
/packages/modules/adb/client/
Dincremental_server.cpp132 BlockType block_type; // 1 byte member
400 buffer.header.block_type = kTypeHash; in SendTreeBlock()
453 header->block_type = kTypeData; in SendDataBlock()
468 header.block_type = 0; in SendDone()