Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse.cpp74 unsigned int chunks = 0; in sparse_count_chunks() local
79 chunks++; in sparse_count_chunks()
81 chunks++; in sparse_count_chunks()
85 chunks++; in sparse_count_chunks()
88 return chunks; in sparse_count_chunks()
141 int chunks; in sparse_file_write() local
144 chunks = sparse_count_chunks(s); in sparse_file_write()
145 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); in sparse_file_write()
159 int chunks; in sparse_file_callback() local
162 chunks = sparse_count_chunks(s); in sparse_file_callback()
[all …]
Doutput_file.h29 int sparse, int chunks, int crc);
32 int sparse, int chunks, int crc);
Doutput_file.cpp506 int chunks, bool crc) { in output_file_init() argument
544 .total_chunks = static_cast<unsigned>(chunks), in output_file_init()
594 int sparse, int chunks, int crc) { in output_file_open_callback() argument
609 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback()
619 int sparse, int chunks, int crc) { in output_file_open_fd() argument
634 ret = output_file_init(out, block_size, len, sparse, chunks, crc); in output_file_open_fd()
/system/core/fastboot/
Dudp_test.cpp433 std::string chunks[] = {data.substr(0, max_data_size), in TEST_F() local
438 mock_socket_->ExpectSend(FastbootPacket(1, chunks[0], kFlagContinuation)); in TEST_F()
440 mock_socket_->ExpectSend(FastbootPacket(2, chunks[1], kFlagContinuation)); in TEST_F()
442 mock_socket_->ExpectSend(FastbootPacket(3, chunks[2])); in TEST_F()
448 mock_socket_->AddReceive(FastbootPacket(4, chunks[0], kFlagContinuation)); in TEST_F()
450 mock_socket_->AddReceive(FastbootPacket(5, chunks[1], kFlagContinuation)); in TEST_F()
452 mock_socket_->AddReceive(FastbootPacket(6, chunks[2])); in TEST_F()
/system/core/adb/
DSYNC.TXT60 After this the actual file is sent in chunks. Each chunk has the following
75 received is split up into chunks. The sync response id is "DATA" and length is