Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse_read.c100 uint32_t *crc32) in process_raw_chunk() argument
119 if (crc32) { in process_raw_chunk()
126 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_raw_chunk()
137 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk() argument
160 if (crc32) { in process_fill_chunk()
169 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_fill_chunk()
178 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_skip_chunk() argument
191 if (crc32) { in process_skip_chunk()
196 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_skip_chunk()
204 static int process_crc32_chunk(int fd, unsigned int chunk_size, uint32_t crc32) in process_crc32_chunk() argument
[all …]
Doutput_file.c89 uint32_t crc32; member
401 out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk()
440 out->crc32 = sparse_crc32(out->crc32, data, len); in write_sparse_data_chunk()
442 out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len); in write_sparse_data_chunk()
466 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
561 out->crc32 = 0; in output_file_init()
/system/core/gpttool/
Dgpttool.c52 u32 crc32; member
356 n = crc32(0, Z_NULL, 0); in main()
357 n = crc32(n, (void*) ptbl.entry, sizeof(ptbl.entry)); in main()
360 n = crc32(0, Z_NULL, 0); in main()
361 n = crc32(n, (void*) &ptbl.header, sizeof(ptbl.header)); in main()
362 hdr->crc32 = n; in main()
/system/core/libzipfile/
Dcentraldir.c75 unsigned long crc32; in read_central_directory_entry() local
106 crc32 = read_le_int(&p[0x10]); in read_central_directory_entry()
/system/core/adb/
Dprotocol.txt36 unsigned data_crc32; /* crc32 of data payload */