/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/ |
H A D | mkdniimg.c | 28 static char *ofname; variable 103 ofname = optarg; 135 if (ofname == NULL) { 177 outfile = fopen(ofname, "w"); 179 ERRS("could not open \"%s\" for writing", ofname); 186 ERRS("unable to write to file %s", ofname); 198 unlink(ofname);
|
H A D | buffalo-tftp.c | 28 static char *ofname; variable 101 err = write_buf_to_file(ofname, buf, src_len); 103 ERR("unable to write to file '%s'", ofname); 123 if (ofname == NULL) { 156 ofname = optarg;
|
H A D | mkwrgimg.c | 50 static char *ofname; variable 137 ofname = optarg; 165 if (ofname == NULL) { 213 outfile = fopen(ofname, "w"); 215 ERRS("could not open \"%s\" for writing", ofname); 222 ERRS("unable to write to file %s", ofname); 233 unlink(ofname);
|
H A D | buffalo-enc.c | 28 static char *ofname; variable 102 err = write_buf_to_file(ofname, buf, ep.datalen); 104 ERR("unable to write to file '%s'", ofname); 142 ERR("unable to read from file '%s'", ofname); 162 err = write_buf_to_file(ofname, buf, totlen); 164 ERR("unable to write to file '%s'", ofname); 185 if (ofname == NULL) { 259 ofname = optarg;
|
H A D | fix-u-media-header.c | 62 static char *ofname; variable 188 if (ofname == NULL) { 210 f = fopen(ofname, "w"); 212 ERRS("could not open \"%s\" for writing", ofname); 229 unlink(ofname); 290 DBG("U-Media header fixed in \"%s\"", ofname); 335 ofname = optarg;
|
H A D | mkcameofw.c | 53 static char *ofname; variable 197 CHKSTR(ofname, "output file"); 240 f = fopen(ofname, "w"); 242 ERRS("could not open \"%s\" for writing", ofname); 253 DBG("firmware file \"%s\" completed", ofname); 261 unlink(ofname); 385 ofname = optarg;
|
H A D | mkplanexfw.c | 51 static char *ofname; variable 154 ofname = optarg; 184 if (ofname == NULL) { 236 outfile = fopen(ofname, "w"); 238 ERRS("could not open \"%s\" for writing", ofname); 245 ERRS("unable to write to file %s", ofname); 257 unlink(ofname);
|
H A D | osbridge-crc.c | 40 static char *ofname; variable 101 ofname = optarg; 117 if (ofname == NULL) { 152 outfile = fopen(ofname, "w"); 154 ERRS("could not open \"%s\" for writing", ofname); 161 ERRS("unable to write to file %s", ofname); 173 unlink(ofname);
|
H A D | mkzcfw.c | 66 static char *ofname; variable 233 if (ofname == NULL) { 246 f = fopen(ofname, "w"); 248 ERRS("could not open \"%s\" for writing", ofname); 259 DBG("firmware file \"%s\" completed", ofname); 267 unlink(ofname); 388 ofname = optarg;
|
H A D | pc1crypt.c | 196 static char *ofname; variable 263 ofname = optarg; 279 if (ofname == NULL) { 303 outfile = fopen(ofname, "w"); 305 ERRS("could not open \"%s\" for writing", ofname); 333 ERRS("unable to write to file %s", ofname); 349 unlink(ofname);
|
H A D | buffalo-tag.c | 36 static char *ofname; variable 99 CHECKSTR(ofname, "output file", 0); 278 err = write_buf_to_file(ofname, buf, buflen); 280 ERR("unable to write to file '%s'", ofname); 334 ofname = optarg;
|
H A D | mkcasfw.c | 175 char *ofname; variable 972 ofname = argv[optind++]; 988 WARN("generation of invalid images disabled", ofname); 992 WARN("generating invalid image", ofname); 995 outfile = fopen(ofname, "w"); 997 ERRS("could not open \"%s\" for writing", ofname); 1017 DBG(1,"Image file %s completed.", ofname); 1023 unlink(ofname);
|
H A D | mkcsysimg.c | 140 char *ofname = NULL; variable 1108 ofname = argv[optind++]; 1124 WARN("generation of invalid images disabled", ofname); 1128 WARN("generating invalid image", ofname); 1131 outfile = fopen(ofname, "w"); 1133 ERRS("could not open \"%s\" for writing", ofname); 1143 DBG(1,"Image file %s completed.", ofname); 1149 unlink(ofname);
|
H A D | mkzynfw.c | 105 char *ofname = NULL; variable 905 if (ofname != NULL) { 913 ofname = arg; 1095 if (ofname == NULL) { 1109 outfile = fopen(ofname, "w"); 1111 ERRS("could not open \"%s\" for writing", ofname); 1118 DBG(1,"Image file %s completed.", ofname); 1126 unlink(ofname);
|
H A D | mktplinkfw.c | 107 static char *ofname; variable 557 if (ofname == NULL) { 644 f = fopen(ofname, "w"); 646 ERRS("could not open \"%s\" for writing", ofname); 657 DBG("firmware file \"%s\" completed", ofname); 665 unlink(ofname); 1001 ofname = optarg;
|
H A D | mkmylofw.c | 104 char *ofname = NULL; variable 1241 ofname = argv[optind++]; 1266 outfile = fopen(ofname, "w"); 1268 errmsg(1, "could not open \"%s\" for writing", ofname); 1285 dbgmsg(1,"Firmware file %s completed.", ofname); 1293 unlink(ofname);
|