Home
last modified time | relevance | path

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

/system/extras/boot_control_copy/
Dboot_control_copy.cpp88 #define COPY_BUF_SIZE (1024 * 1024) macro
91 char copy_buf[COPY_BUF_SIZE]; in copy_data()
96 size_t num_to_read = remaining > COPY_BUF_SIZE ? COPY_BUF_SIZE : remaining; in copy_data()
/system/core/libsparse/
Dsparse_read.cpp49 static constexpr int64_t COPY_BUF_SIZE = 1024 * 1024; variable
109 chunk = std::min(len, COPY_BUF_SIZE); in GetCrc32()
232 for (i = 0; i < (COPY_BUF_SIZE / sizeof(fill_val)); i++) { in process_fill_chunk()
237 chunk = std::min(len, COPY_BUF_SIZE); in process_fill_chunk()
255 memset(copybuf, 0, COPY_BUF_SIZE); in process_skip_chunk()
258 int chunk = std::min(len, COPY_BUF_SIZE); in process_skip_chunk()
346 copybuf = (char*)malloc(COPY_BUF_SIZE); in sparse_file_read_sparse()