Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dsimg2img.c52 int process_raw_chunk(FILE *in, FILE *out, u32 blocks, u32 blk_sz, u32 *crc32) in process_raw_chunk() argument
63 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_raw_chunk()
75 int process_skip_chunk(FILE *out, u32 blocks, u32 blk_sz, u32 *crc32) in process_skip_chunk() argument
98 *crc32 = sparse_crc32(*crc32, zerobuf, skip_chunk); in process_skip_chunk()
111 u32 crc32 = 0; in main() local
182 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32); in main()
190 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32); in main()
218 if (sparse_header.image_checksum != crc32) { in main()
220 crc32, sparse_header.image_checksum); in main()
Doutput_file.c54 u32 crc32; member
177 out->crc32 = sparse_crc32(out->crc32, zero_buf, chunk); in emit_skip_chunk()
242 out->crc32 = sparse_crc32(out->crc32, data, len); in write_chunk_raw()
244 out->crc32 = sparse_crc32(out->crc32, zero_buf, zero_len); in write_chunk_raw()
258 sparse_header.image_checksum = out->crc32; in close_output_file()
308 out->crc32 = 0; in open_output_file()
/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 */