Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dincremental_server.cpp203 pendingBlocksBuffer_.resize(kChunkFlushSize + 2 * kBlockSize); in IncrementalServer()
204 pendingBlocks_ = pendingBlocksBuffer_.data() + sizeof(ChunkHeader); in IncrementalServer()
265 std::vector<char> pendingBlocksBuffer_; member in incremental::IncrementalServer
510 if (flush || pendingBlocks_ - pendingBlocksBuffer_.data() > kChunkFlushSize) { in Send()
516 auto dataBytes = pendingBlocks_ - (pendingBlocksBuffer_.data() + sizeof(ChunkHeader)); in Flush()
521 *(ChunkHeader*)pendingBlocksBuffer_.data() = toBigEndian<int32_t>(dataBytes); in Flush()
523 if (!WriteFdExactly(adb_fd_, pendingBlocksBuffer_.data(), totalBytes)) { in Flush()
527 pendingBlocks_ = pendingBlocksBuffer_.data() + sizeof(ChunkHeader); in Flush()