Lines Matching refs:model
13 // Usage: mkdapimg [-p] [-m <model>] -s <sig> -i <input> -o <output>
17 // If the model string <model> is not given, we will assume that
18 // the leading characters upto the first "-" is the model.
21 // specified model and signature.
35 char model[MAX_MODEL_NAME_LEN];
56 fprintf(stderr, "usage: %s [-p] [-m model] [-r region] [-v version] -s signature -i input -o output\n", progname);
63 char model[MAX_MODEL_NAME_LEN+1];
77 memset(model, 0, sizeof(model));
98 fprintf(stderr, "%s: model name exceeds %d chars\n",
102 strcpy(model, optarg);
147 if (model[0] == 0) {
150 fprintf(stderr, "%s: model name unknown\n", progname);
155 fprintf(stderr, "%s: auto model name failed, string %s too long\n", progname, signature);
158 strncpy(model, signature, p - signature);
203 strncpy(imghdr.model, model, MAX_MODEL_NAME_LEN);