Home
last modified time | relevance | path

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

/system/extras/verity/fec/
Dimage.h57 uint64_t inp_size; member
96 if (unlikely(offset >= ctx->inp_size)) { in image_get_interleaved_byte()
108 if (unlikely(offset >= ctx->inp_size)) { in image_set_interleaved_byte()
Dimage.cpp75 ctx->inp_size = size; in calculate_rounds()
76 ctx->blocks = fec_div_round_up(ctx->inp_size, FEC_BLOCKSIZE); in calculate_rounds()
121 INFO("allocating %" PRIu64 " bytes of memory\n", ctx->inp_size); in file_image_load()
124 ctx->input = new uint8_t[ctx->inp_size]; in file_image_load()
130 memset(ctx->input, 0, ctx->inp_size); in file_image_load()
183 if (!android::base::WriteFully(fd, ctx->output, ctx->inp_size)) { in image_save()
260 calculate_rounds(p->inp_size, ctx); in image_ecc_load()
304 f->inp_size = ctx->inp_size; in image_ecc_save()
Dmain.cpp139 printf("%" PRIu64 "\n", fec_ecc_get_size(ctx.inp_size, ctx.roots)); in print_size()
332 ctx.inp_size = parse_arg(optarg, "print-fec-size", UINT64_MAX); in main()
/system/extras/libfec/include/fec/
Dio.h51 uint64_t inp_size; member
/system/extras/libfec/
Dfec_open.cpp150 f->data_size = header.inp_size; in parse_ecc_header()
161 f->ecc.start = header.inp_size; in parse_ecc_header()