Lines Matching refs:datafile
150 char *datafile = NULL; in process_args() local
199 params.datafile = optarg; in process_args()
218 datafile = optarg; in process_args()
219 params.auto_its = !strcmp(datafile, "auto"); in process_args()
319 params.datafile = datafile; in process_args()
320 else if (!params.datafile) in process_args()
323 if (type == IH_TYPE_SCRIPT && !params.datafile) in process_args()
449 dfd = open(params.datafile, O_RDONLY | O_BINARY); in main()
452 params.cmdname, params.datafile, in main()
459 params.cmdname, params.datafile, in main()
489 char *file = params.datafile; in main()
529 file = params.datafile; in main()
576 copy_file(ifd, params.datafile, pad_len); in main()
677 copy_file (int ifd, const char *datafile, int pad) in copy_file() argument
692 fprintf (stderr, "Adding Image %s\n", datafile); in copy_file()
695 if ((dfd = open(datafile, O_RDONLY|O_BINARY)) < 0) { in copy_file()
697 params.cmdname, datafile, strerror(errno)); in copy_file()
703 params.cmdname, datafile, strerror(errno)); in copy_file()
710 params.cmdname, datafile, strerror(errno)); in copy_file()
725 params.cmdname, datafile); in copy_file()
733 params.cmdname, datafile); in copy_file()