/system/core/libsparse/ |
D | sparse_crc32.c | 104 uint32_t crc; in sparse_crc32() local 106 crc = crc_in ^ ~0U; in sparse_crc32() 108 crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); in sparse_crc32() 109 return crc ^ ~0U; in sparse_crc32()
|
D | output_file.h | 25 int gz, int sparse, int chunks, int crc); 28 int chunks, int crc);
|
D | sparse_read.c | 277 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse() argument 296 if (crc) { in sparse_file_read_sparse() 410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read() argument 412 if (crc && !sparse) { in sparse_file_read() 417 return sparse_file_read_sparse(s, fd, crc); in sparse_file_read() 423 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) in sparse_file_import() argument 470 ret = sparse_file_read(s, fd, true, crc); in sparse_file_import() 479 struct sparse_file *sparse_file_import_auto(int fd, bool crc) in sparse_file_import_auto() argument 485 s = sparse_file_import(fd, true, crc); in sparse_file_import_auto()
|
D | sparse.c | 152 bool crc) in sparse_file_write() argument 159 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); in sparse_file_write() 171 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, in sparse_file_callback() argument 180 sparse, chunks, crc); in sparse_file_callback() 199 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) in sparse_file_len() argument 207 s->block_size, s->len, false, sparse, chunks, crc); in sparse_file_len()
|
D | simg_dump.py | 138 crc = struct.unpack("<I", crc) 139 print("Unverified CRC32 0x%08X" % (crc))
|
D | sparse_crc32.h | 19 uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);
|
D | output_file.c | 553 int64_t len, bool sparse, int chunks, bool crc) in output_file_init() argument 562 out->use_crc = crc; in output_file_init() 643 int chunks, int crc) in output_file_open_callback() argument 658 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback() 668 int gz, int sparse, int chunks, int crc) in output_file_open_fd() argument 681 ret = output_file_init(out, block_size, len, sparse, chunks, crc); in output_file_open_fd()
|
/system/extras/ext4_utils/ |
D | crc16.c | 52 u16 crc = crc_in; in ext4_crc16() local 55 crc = crc16_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); in ext4_crc16() 57 return crc; in ext4_crc16()
|
D | ext4_utils.c | 85 void write_ext4_image(int fd, int gz, int sparse, int crc) in write_ext4_image() argument 87 sparse_file_write(info.sparse_file, fd, gz, sparse, crc); in write_ext4_image() 372 u16 crc; in ext4_update_free() local 384 crc = ext4_crc16(~0, aux_info.sb->s_uuid, sizeof(aux_info.sb->s_uuid)); in ext4_update_free() 385 crc = ext4_crc16(crc, &i, sizeof(i)); in ext4_update_free() 386 crc = ext4_crc16(crc, &aux_info.bg_desc[i], offsetof(struct ext2_group_desc, bg_checksum)); in ext4_update_free() 387 aux_info.bg_desc[i].bg_checksum = crc; in ext4_update_free()
|
D | make_ext4fs_main.c | 69 int crc = 0; in main() local 125 crc = 1; in main() 204 sparse, crc, wipe, sehnd, verbose); in main()
|
D | ext2simg.c | 185 int crc = 0; in main() local 190 crc = 1; in main() 249 write_ext4_image(outfd, gzip, sparse, crc); in main()
|
D | ext4_utils.h | 169 void write_ext4_image(int fd, int gz, int sparse, int crc); 189 int sparse, int crc, int wipe,
|
D | make_ext4fs.c | 460 int sparse, int crc, int wipe, in make_ext4fs_internal() argument 608 write_ext4_image(fd, gzip, sparse, crc); in make_ext4fs_internal()
|
/system/core/libsparse/include/sparse/ |
D | sparse.h | 158 bool crc); 172 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc); 192 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, 211 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc); 226 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc); 242 struct sparse_file *sparse_file_import_auto(int fd, bool crc);
|
/system/core/libzipfile/ |
D | zipfile.c | 82 unsigned long crc; in uninflate() local
|