Searched refs:chunk_size (Results 1 – 9 of 9) sorted by relevance
/system/core/init/ |
D | security.cpp | 67 ssize_t chunk_size = in MixHwrngIntoLinuxRngAction() local 69 if (chunk_size == -1) { in MixHwrngIntoLinuxRngAction() 71 } else if (chunk_size == 0) { in MixHwrngIntoLinuxRngAction() 75 chunk_size = TEMP_FAILURE_RETRY(write(urandom_fd, buf, chunk_size)); in MixHwrngIntoLinuxRngAction() 76 if (chunk_size == -1) { in MixHwrngIntoLinuxRngAction() 79 total_bytes_written += chunk_size; in MixHwrngIntoLinuxRngAction()
|
/system/update_engine/common/ |
D | mock_http_fetcher.cc | 71 const size_t chunk_size = in SendData() local 73 sent_size_ += chunk_size; in SendData() 75 delegate_->ReceivedBytes(this, &data_[sent_size_ - chunk_size], chunk_size); in SendData()
|
/system/core/libsparse/ |
D | sparse_read.cpp | 174 static int process_raw_chunk(struct sparse_file* s, unsigned int chunk_size, in process_raw_chunk() argument 180 if (chunk_size % s->block_size != 0) { in process_raw_chunk() 184 if (chunk_size / s->block_size != blocks) { in process_raw_chunk() 205 static int process_fill_chunk(struct sparse_file* s, unsigned int chunk_size, in process_fill_chunk() argument 215 if (chunk_size != sizeof(fill_val)) { in process_fill_chunk() 246 static int process_skip_chunk(struct sparse_file* s, unsigned int chunk_size, in process_skip_chunk() argument 249 if (chunk_size != 0) { in process_skip_chunk() 267 static int process_crc32_chunk(SparseFileSource* source, unsigned int chunk_size, uint32_t* crc32) { in process_crc32_chunk() argument 270 if (chunk_size != sizeof(file_crc32)) { in process_crc32_chunk()
|
/system/extras/pagecache/ |
D | pagecache.py | 120 def __init__(self, file_object, output_queue, text_file, chunk_size=-1): argument 137 self._chunk_size = chunk_size 138 assert text_file or chunk_size > 0 157 def set_chunk_size(self, chunk_size): argument 170 assert chunk_size > 0 171 self._chunk_size = chunk_size 291 text_file=True, chunk_size=64)
|
/system/update_engine/scripts/ |
D | update_device.py | 61 chunk_size = buffer_size 63 chunk_size = min(chunk_size, copy_length - copied) 64 if not chunk_size: 66 buf = fsrc.read(chunk_size)
|
/system/update_engine/payload_consumer/ |
D | extent_writer_unittest.cc | 59 void WriteAlignedExtents(size_t chunk_size, size_t first_chunk_size); 105 void ExtentWriterTest::WriteAlignedExtents(size_t chunk_size, in WriteAlignedExtents() argument 118 size_t bytes_to_write = min(data.size() - bytes_written, chunk_size); in WriteAlignedExtents()
|
D | delta_performer_integration_test.cc | 295 ssize_t chunk_size, in GenerateDeltaFile() argument 488 payload_config.hard_chunk_size = chunk_size; in GenerateDeltaFile() 901 ssize_t chunk_size, in DoSmallImageTest() argument 910 chunk_size, in DoSmallImageTest()
|
/system/core/fs_mgr/libfiemap_writer/ |
D | split_fiemap_writer.cpp | 89 uint64_t chunk_size = std::min(max_piece_size, remaining_bytes); in Create() local 90 auto writer = FiemapWriter::Open(chunk_path, chunk_size, true, on_progress); in Create()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 352 chunk_size, 200 * 1024 * 1024, "Payload chunk size (-1 for whole files)"); in Main()
|