Lines Matching refs:params
15 static struct image_tool_params params = { variable
37 sbuf->st_size, ¶ms); in dumpimage_extract_subimage()
45 retval = tparams->extract_subimage(ptr, ¶ms); in dumpimage_extract_subimage()
49 params.cmdname, tparams->name); in dumpimage_extract_subimage()
66 params.cmdname = *argv; in main()
71 params.lflag = 1; in main()
74 params.imagefile = optarg; in main()
75 params.iflag = 1; in main()
78 params.outfile = optarg; in main()
81 params.type = genimg_get_type_id(optarg); in main()
82 if (params.type < 0) { in main()
87 params.pflag = strtoul(optarg, &ptr, 10); in main()
91 params.cmdname, *argv); in main()
108 tparams = imagetool_get_type(params.type); in main()
111 params.cmdname, genimg_get_type_name(params.type)); in main()
120 if (tparams->check_params(¶ms)) in main()
124 if (params.iflag) in main()
125 params.datafile = argv[optind]; in main()
127 params.imagefile = argv[optind]; in main()
128 if (!params.outfile) in main()
129 params.outfile = params.datafile; in main()
131 ifd = open(params.imagefile, O_RDONLY|O_BINARY); in main()
134 params.cmdname, params.imagefile, in main()
139 if (params.lflag || params.iflag) { in main()
142 params.cmdname, params.imagefile, in main()
150 params.cmdname, params.imagefile); in main()
157 params.cmdname, params.imagefile, in main()
167 if (params.iflag) { in main()
180 tparams, ¶ms); in main()
198 params.cmdname); in usage()
204 params.cmdname); in usage()
207 params.cmdname); in usage()