Lines Matching refs:FATAL
69 FATAL("empty file?\n"); in calculate_rounds()
71 FATAL("file size %" PRIu64 " is not a multiple of %u bytes\n", in calculate_rounds()
108 FATAL("failed to read file %s\n", ctx->fec_filename); in file_image_load()
126 FATAL("failed to allocate memory\n"); in file_image_load()
162 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno)); in image_load()
180 FATAL("failed to open file '%s: %s'\n", filename.c_str(), in image_save()
185 FATAL("failed to write to output: %s\n", strerror(errno)); in image_save()
206 FATAL("failed to allocate %u bytes\n", ctx->fec_size); in image_ecc_new()
217 FATAL("failed to open file '%s': %s\n", filename.c_str(), in image_ecc_load()
222 FATAL("failed to seek to header in '%s': %s\n", filename.c_str(), in image_ecc_load()
232 FATAL("failed to read %zd bytes from '%s': %s\n", sizeof(header), in image_ecc_load()
237 FATAL("invalid magic in '%s': %08x\n", filename.c_str(), p->magic); in image_ecc_load()
241 FATAL("unsupported version in '%s': %u\n", filename.c_str(), in image_ecc_load()
246 FATAL("unexpected header size in '%s': %u\n", filename.c_str(), in image_ecc_load()
251 FATAL("invalid roots in '%s': %u\n", filename.c_str(), p->roots); in image_ecc_load()
255 FATAL("invalid length in '%s': %u\n", filename.c_str(), p->fec_size); in image_ecc_load()
264 FATAL("failed to allocate ecc\n"); in image_ecc_load()
268 FATAL("inconsistent header in '%s'\n", filename.c_str()); in image_ecc_load()
272 FATAL("failed to rewind '%s': %s", filename.c_str(), strerror(errno)); in image_ecc_load()
276 FATAL("failed to read %u bytes from '%s': %s\n", ctx->fec_size, in image_ecc_load()
286 FATAL("invalid ecc data\n"); in image_ecc_load()
319 FATAL("failed to open file '%s': %s\n", ctx->fec_filename, in image_ecc_save()
324 FATAL("failed to write to output: %s\n", strerror(errno)); in image_ecc_save()
332 FATAL("failed to write padding: %s\n", strerror(errno)); in image_ecc_save()
338 FATAL("failed to write to header: %s\n", strerror(errno)); in image_ecc_save()
403 FATAL("failed to initialize encoder for thread %d\n", i); in image_process()
422 FATAL("failed to create thread %d\n", i); in image_process()
432 FATAL("failed to join thread %d: %s\n", i, strerror(errno)); in image_process()