Lines Matching defs:file
321 buf = xmalloc(st_size, "failed to load file into memory");
334 log_errx("%s is not a FIP file", filename);
340 /* Walk through each ToC entry in the file. */
359 "failed to allocate image buffer, is FIP file corrupted?");
365 log_errx("FIP %s is corrupted: entry size exceeds FIP file size",
579 /* Generate the FIP file. */
598 log_errx("Failed to set file position");
604 log_errx("Failed to set file position");
617 * The difference between the two subcommands is that when the FIP file
619 * in update_fip() creating the new FIP file from scratch because the
626 /* Add or replace images in the FIP file. */
691 } else if (strncmp(p, "file=", strlen("file=")) == 0) {
692 p += strlen("file=");
783 printf(" --blob uuid=...,file=...\tAdd an image with the given UUID pointed to by file.\n");
902 printf(" --blob uuid=...,file=...\tAdd or update an image with the given UUID pointed to by file.\n");
903 printf(" --out FIP_FILENAME\t\tSet an alternative output FIP file.\n");
1001 char file[PATH_MAX];
1009 snprintf(file, sizeof(file), "%s.bin",
1012 snprintf(file, sizeof(file), "%s",
1018 file, argv[0]);
1022 if (access(file, F_OK) != 0 || fflag) {
1024 log_dbgx("Unpacking %s", file);
1025 write_image_to_file(image, file);
1028 file);
1042 printf(" --blob uuid=...,file=...\tUnpack an image with the given UUID to file.\n");
1043 printf(" --force\t\t\tIf the output file already exists, use --force to overwrite it.\n");
1174 printf(" --force\t\tIf the output FIP file already exists, use --force to overwrite it.\n");
1175 printf(" --out FIP_FILENAME\tSet an alternative output FIP file.\n");