Searched refs:inp_size (Results 1 – 5 of 5) sorted by relevance
/system/extras/verity/fec/ |
D | image.cpp | 57 munmap(ctx->input, (size_t)ctx->inp_size); in mmap_image_free() 127 ctx->inp_size = size; in calculate_rounds() 128 ctx->blocks = fec_div_round_up(ctx->inp_size, FEC_BLOCKSIZE); in calculate_rounds() 145 if (ctx->inp_size > SIZE_MAX) { in mmap_image_load() 146 FATAL("cannot mmap %" PRIu64 " bytes\n", ctx->inp_size); in mmap_image_load() 151 ctx->inp_size); in mmap_image_load() 160 void *p = mmap(NULL, (size_t)ctx->inp_size, flags, MAP_SHARED, fd, 0); in mmap_image_load() 164 ctx->fec_filename, ctx->inp_size, strerror(errno)); in mmap_image_load() 174 INFO("allocating %" PRIu64 " bytes of memory\n", ctx->inp_size); in mmap_image_load() 177 ctx->output = new uint8_t[ctx->inp_size]; in mmap_image_load() [all …]
|
D | image.h | 58 uint64_t inp_size; member 99 if (unlikely(offset >= ctx->inp_size)) { in image_get_interleaved_byte() 111 if (unlikely(offset >= ctx->inp_size)) { in image_set_interleaved_byte()
|
D | main.cpp | 139 printf("%" PRIu64 "\n", fec_ecc_get_size(ctx.inp_size, ctx.roots)); in print_size() 331 ctx.inp_size = parse_arg(optarg, "print-fec-size", UINT64_MAX); in main()
|
/system/extras/libfec/ |
D | fec_open.cpp | 150 offset - header.fec_size != header.inp_size) { in parse_ecc_header() 152 header.inp_size); in parse_ecc_header() 156 f->data_size = header.inp_size; in parse_ecc_header() 167 f->ecc.start = header.inp_size; in parse_ecc_header()
|
/system/extras/libfec/include/fec/ |
D | io.h | 50 uint64_t inp_size; member
|