Searched refs:fec_filename (Results 1 – 3 of 3) sorted by relevance
/system/extras/verity/fec/ |
D | main.cpp | 173 const std::string& fec_filename) in encode() argument 183 if (!image_ecc_new(fec_filename, &ctx)) { in encode() 188 fec_filename.c_str()); in encode() 215 const std::string& fec_filename, std::string& out_filename) in decode() argument 224 if (!image_ecc_load(fec_filename, &ctx) || in decode() 231 inp_filename.c_str(), ctx.rs_n, fec_filename.c_str()); in decode() 238 fec_filename.c_str()); in decode() 267 std::string fec_filename; in main() local 374 fec_filename = argv[argc - 1]; in main() 386 fec_filename = argv[1]; in main() [all …]
|
D | image.cpp | 150 INFO("memory mapping '%s' (size %" PRIu64 ")\n", ctx->fec_filename, in mmap_image_load() 164 ctx->fec_filename, ctx->inp_size, strerror(errno)); in mmap_image_load() 230 FATAL("failed to read file %s\n", ctx->fec_filename); in file_image_load() 338 INFO("mmaping '%s' (size %u)\n", ctx->fec_filename, ctx->fec_size); in mmap_image_ecc_new() 341 int fd = TEMP_FAILURE_RETRY(open(ctx->fec_filename, in mmap_image_ecc_new() 345 FATAL("failed to open file '%s': %s\n", ctx->fec_filename, in mmap_image_ecc_new() 353 FATAL("failed to ftruncate file '%s': %s\n", ctx->fec_filename, in mmap_image_ecc_new() 358 INFO("memory mapping '%s' (size %zu)\n", ctx->fec_filename, fec_size); in mmap_image_ecc_new() 364 FATAL("failed to mmap '%s' (size %zu): %s\n", ctx->fec_filename, in mmap_image_ecc_new() 390 ctx->fec_filename = filename.c_str(); in image_ecc_new() [all …]
|
D | image.h | 47 const char *fec_filename; member
|