Searched defs:crc (Results 1 - 9 of 9) sorted by relevance

/system/core/libsparse/
H A Dsparse_crc32.c104 uint32_t crc; local
106 crc = crc_in ^ ~0U;
108 crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8);
109 return crc ^ ~0U;
H A Dsparse.c152 bool crc)
159 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc);
171 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, argument
180 sparse, chunks, crc);
199 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) argument
207 s->block_size, s->len, false, sparse, chunks, crc);
235 * skip chunk, and crc chunk.
151 sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, bool crc) argument
H A Dsparse_read.c264 verbose_error(s->verbose, -EINVAL, "crc block at %lld",
277 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) argument
296 if (crc) {
410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) argument
412 if (crc && !sparse) {
417 return sparse_file_read_sparse(s, fd, crc);
423 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) argument
470 ret = sparse_file_read(s, fd, true, crc);
479 struct sparse_file *sparse_file_import_auto(int fd, bool crc) argument
485 s = sparse_file_import(fd, true, crc);
[all...]
H A Doutput_file.c553 int64_t len, bool sparse, int chunks, bool crc)
562 out->use_crc = crc;
643 int chunks, int crc)
658 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc);
668 int gz, int sparse, int chunks, int crc)
681 ret = output_file_init(out, block_size, len, sparse, chunks, crc);
552 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument
641 output_file_open_callback(int (*write)(void *, const void *, int), void *priv, unsigned int block_size, int64_t len, int gz, int sparse, int chunks, int crc) argument
667 output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz, int sparse, int chunks, int crc) argument
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c59 int crc = 0; local
115 crc = 1;
179 sparse, crc, wipe, init_itabs, sehnd);
H A Dext2simg.c186 int crc = 0; local
191 crc = 1;
250 write_ext4_image(outfd, gzip, sparse, crc);
H A Dext4_utils.c84 void write_ext4_image(int fd, int gz, int sparse, int crc) argument
86 sparse_file_write(info.sparse_file, fd, gz, sparse, crc);
H A Dmake_ext4fs.c327 int crc, int wipe, int init_itabs, struct selabel_handle *sehnd)
469 write_ext4_image(fd, gzip, sparse, crc);
325 make_ext4fs_internal(int fd, const char *directory, char *mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, int init_itabs, struct selabel_handle *sehnd) argument
/system/core/libzipfile/
H A Dzipfile.c82 unsigned long crc; local

Completed in 85 milliseconds