Home
last modified time | relevance | path

Searched refs:outname (Results 1 – 25 of 32) sorted by relevance

12

/external/libgsm/src/
Dtoast.c27 char *inname, *outname; variable
235 char * tmp = outname; in P0()
241 outname = (char *)0; in P0()
324 perror(outname); in P0()
326 progname, outname); in P0()
330 if (outname && chmod(outname, instat.st_mode & 07777)) { in P0()
331 perror(outname); in P0()
333 progname, outname); in P0()
346 (void)chown(outname, instat.st_uid, instat.st_gid); in P0()
356 if (outname) { in P0()
[all …]
/external/dtc/tests/
Dmove_and_save.c27 char outname[PATH_MAX]; in main() local
42 sprintf(outname, "moved.%s", inname); in main()
43 save_blob(outname, fdt1); in main()
50 sprintf(outname, "shunted.%s", inname); in main()
51 save_blob(outname, fdt2); in main()
58 sprintf(outname, "deshunted.%s", inname); in main()
59 save_blob(outname, fdt3); in main()
Dopen_pack.c26 char outname[PATH_MAX]; in main() local
44 sprintf(outname, "opened.%s", inname); in main()
45 save_blob(outname, fdt1); in main()
50 sprintf(outname, "repacked.%s", inname); in main()
51 save_blob(outname, fdt1); in main()
Dnopulate.c48 char outname[PATH_MAX]; in main() local
56 sprintf(outname, "noppy.%s", inname); in main()
89 save_blob(outname, fdt2); in main()
Dmangle-layout.c113 char outname[PATH_MAX]; in main() local
123 sprintf(outname, "v%d.%s.%s", version, blockorder, inname); in main()
144 save_blob(outname, buf.buf); in main()
Ddtb_reverse.c122 char outname[PATH_MAX]; in main() local
131 sprintf(outname, "%s.reversed.test.dtb", argv[1]); in main()
147 save_blob(outname, out); in main()
/external/rust/crates/libz-sys/src/zlib/examples/
Dgun.c548 local int gunzip(z_stream *strm, char *inname, char *outname, int test) in gunzip() argument
567 else if (outname == NULL || *outname == 0) { in gunzip()
568 outname = "-"; in gunzip()
572 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); in gunzip()
575 fprintf(stderr, "gun cannot create %s\n", outname); in gunzip()
591 copymeta(inname, outname); /* copy attributes */ in gunzip()
599 if (outfile > 2) unlink(outname); in gunzip()
603 if (outfile > 2) unlink(outname); in gunzip()
607 if (outfile > 2) unlink(outname); in gunzip()
610 outname, strerror(errno)); in gunzip()
[all …]
/external/libcups/ppdc/
Dppdmerge.cxx41 *outname; // Output filename (if any) in main() local
54 outname = NULL; in main()
66 if (outname) in main()
73 outname = argv[i]; in main()
139 if (outname && !strcmp(inname, outname)) in main()
199 if (outname) in main()
201 const char *ext = strrchr(outname, '.'); in main()
203 outfile = cupsFileOpen(outname, "w9"); in main()
205 outfile = cupsFileOpen(outname, "w"); in main()
Dppdc.cxx43 *outname, // Output filename in main() local
315 outname = d->model_name->value; in main()
322 outname = make_model; in main()
326 outname = d->file_name->value; in main()
328 outname = d->pc_file_name->value; in main()
330 if (strstr(outname, ".PPD")) in main()
334 outname[j] && j < (int)(sizeof(pcfilename) - 1); in main()
336 pcfilename[j] = (char)tolower(outname[j] & 255); in main()
343 strlcpy(pcfilename, outname, sizeof(pcfilename)); in main()
/external/dtc/
Ddtc.c165 const char *outname = "-"; in main() local
189 outname = optarg; in main()
283 fprintf(depfile, "%s:", outname); in main()
289 outform = guess_type_by_name(outname, NULL); in main()
308 dti->outname = outname; in main()
341 if (streq(outname, "-")) { in main()
344 outf = fopen(outname, "wb"); in main()
347 outname, strerror(errno)); in main()
/external/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc36 char inname[80], outname[40], bitname[40]; in main() local
92 sscanf(argv[4], "%s", outname); in main()
105 if ((outp = fopen(outname, "wb")) == NULL) { in main()
106 printf(" G.711: Cannot write file %s.\n", outname); in main()
109 printf("\nInput: %s\nOutput: %s\n", inname, outname); in main()
/external/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc40 char inname[60], outbit[40], outname[40]; in main() local
86 sscanf(argv[4], "%s", outname); in main()
96 if ((outp = fopen(outname, "wb")) == NULL) { in main()
97 printf(" G.722: Cannot write file %s.\n", outname); in main()
101 outname); in main()
/external/selinux/semodule-utils/semodule_expand/
Dsemodule_expand.c40 char *basename, *outname; in main() local
107 outname = argv[optind]; in main()
169 outfile = fopen(outname, "w"); in main()
171 perror(outname); in main()
180 argv[0], outname); in main()
/external/selinux/semodule-utils/semodule_link/
Dsemodule_link.c80 char *basename, *outname = NULL; in main() local
96 outname = optarg; in main()
150 if (outname) { in main()
151 outfile = fopen(outname, "w"); in main()
153 perror(outname); in main()
/external/curl/tests/unit/
Dunit1654.c49 char outname[256];
64 msnprintf(outname, sizeof(outname), "%s-out", arg);
130 Curl_altsvc_save(curl, asi, outname);
/external/python/cpython3/Doc/tools/extensions/
Descape4chm.py43 outname = app.builder.config.htmlhelp_basename
44 with app.builder.open_file(outdir, outname + '.hhk', 'r') as f:
46 with app.builder.open_file(outdir, outname + '.hhk', 'w') as f:
/external/webrtc/modules/audio_coding/codecs/isac/main/test/
DsimpleKenny.c50 char outname[500]; in main() local
150 sscanf(argv[2], "%s", outname); in main()
200 if ((outp = fopen(outname, "wb")) == NULL) { in main()
201 printf(" iSAC: Cannot write file %s.\n", outname); in main()
206 _splitpath(outname, outDrive, outPath, outPrefix, outSuffix); in main()
215 printf("Output................... %s\n", outname); in main()
/external/vboot_reference/futility/
Dcmd_dump_fmap.c40 char *outname = 0; in dump_fmap() local
82 outname = NULL; in dump_fmap()
86 outname = extract_names[j]; in dump_fmap()
114 if (!outname) { in dump_fmap()
118 outname = buf; in dump_fmap()
120 FILE *fp = fopen(outname, "wb"); in dump_fmap()
123 progname, outname, strerror(errno)); in dump_fmap()
141 printf("saved as \"%s\"\n", outname); in dump_fmap()
/external/libpng/contrib/gregbook/
Dwpng.c164 char *inname = NULL, outname[256]; in main() local
369 strcpy(outname, inname); in main()
370 strcpy(outname+len, ".png"); in main()
373 strncpy(outname, inname, len); in main()
374 strcpy(outname+len, ".png"); in main()
377 if ((wpng_info.outfile = fopen(outname, "rb")) != NULL) { in main()
379 outname); in main()
382 } else if (!(wpng_info.outfile = fopen(outname, "wb"))) { in main()
384 outname); in main()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java92 String outname = null; in CodeMangler() local
104 outname = args[++i]; in CodeMangler()
205 if (outname == null) { in CodeMangler()
206 outname = inname; in CodeMangler()
207 } else if (!(outname.startsWith("\\") || outname.startsWith("/"))) { in CodeMangler()
208 outname = username + File.separator + outname; in CodeMangler()
210 outdir = new File(outname); in CodeMangler()
/external/libpng/
Dpngtest.c853 test_one_file(const char *inname, const char *outname) in test_one_file() argument
888 if ((fpout = fopen(outname, "wb")) == NULL) in test_one_file()
890 fprintf(STDERR, "Could not open output file %s\n", outname); in test_one_file()
937 fprintf(STDERR, "%s -> %s: libpng read error\n", inname, outname); in test_one_file()
959 fprintf(STDERR, "%s -> %s: libpng write error\n", inname, outname); in test_one_file()
1717 if ((fpout = fopen(outname, "rb")) == NULL) in test_one_file()
1719 fprintf(STDERR, "Could not find file %s\n", outname); in test_one_file()
1740 inname, outname); in test_one_file()
1772 outname); in test_one_file()
1815 static const char *outname = "pngout/png"; variable
[all …]
/external/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc104 char inname[100], outname[100], outbitsname[100], bottleneck_file[100]; in TEST() local
277 sscanf(argv[i++], "%s", outname); in TEST()
503 while ((int)outname[h] != 0) { in TEST()
504 outbitsname[h] = outname[h]; in TEST()
514 if ((outp = fopen(outname, "wb")) == NULL) { in TEST()
515 FAIL() << " iSAC: Cannot write file " << outname; in TEST()
521 printf("\nInput:%s\nOutput:%s\n\n", inname, outname); in TEST()
/external/python/rsa/rsa/
Dcli.py181 def write_outfile(self, outdata: bytes, outname: str) -> None:
184 if outname:
185 print('Writing output to %s' % outname, file=sys.stderr)
186 with open(outname, 'wb') as outfile:
/external/libogg/
Ddepcomp226 outname="$stripped.o"
230 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
231 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
/external/python/cpython3/Lib/distutils/
Dutil.py534 outname = os.path.join(dest, filename)
535 mkpath(os.path.dirname(outname))
536 res = copy_file(os.path.join(src, filename), outname, update=1)
537 if res[1]: copied.append(outname)

12