Lines Matching refs:datafile
142 char *datafile = NULL; in process_args() local
182 params.datafile = optarg; in process_args()
201 datafile = optarg; in process_args()
202 params.auto_its = !strcmp(datafile, "auto"); in process_args()
299 params.datafile = datafile; in process_args()
300 else if (!params.datafile) in process_args()
303 if (type == IH_TYPE_SCRIPT && !params.datafile) in process_args()
421 dfd = open(params.datafile, O_RDONLY | O_BINARY); in main()
424 params.cmdname, params.datafile, in main()
431 params.cmdname, params.datafile, in main()
461 char *file = params.datafile; in main()
501 file = params.datafile; in main()
526 copy_file(ifd, params.datafile, pad_len); in main()
626 copy_file (int ifd, const char *datafile, int pad) in copy_file() argument
641 fprintf (stderr, "Adding Image %s\n", datafile); in copy_file()
644 if ((dfd = open(datafile, O_RDONLY|O_BINARY)) < 0) { in copy_file()
646 params.cmdname, datafile, strerror(errno)); in copy_file()
652 params.cmdname, datafile, strerror(errno)); in copy_file()
659 params.cmdname, datafile, strerror(errno)); in copy_file()
674 params.cmdname, datafile); in copy_file()
682 params.cmdname, datafile); in copy_file()