Home
last modified time | relevance | path

Searched refs:outname (Results 1 – 25 of 37) 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/zlib/src/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/dtc/tests/
Dmove_and_save.c40 char outname[PATH_MAX]; in main() local
55 sprintf(outname, "moved.%s", inname); in main()
56 save_blob(outname, fdt1); in main()
63 sprintf(outname, "shunted.%s", inname); in main()
64 save_blob(outname, fdt2); in main()
71 sprintf(outname, "deshunted.%s", inname); in main()
72 save_blob(outname, fdt3); in main()
Dopen_pack.c39 char outname[PATH_MAX]; in main() local
57 sprintf(outname, "opened.%s", inname); in main()
58 save_blob(outname, fdt1); in main()
63 sprintf(outname, "repacked.%s", inname); in main()
64 save_blob(outname, fdt1); in main()
Dnopulate.c61 char outname[PATH_MAX]; in main() local
69 sprintf(outname, "noppy.%s", inname); in main()
102 save_blob(outname, fdt2); in main()
Dmangle-layout.c130 char outname[PATH_MAX]; in main() local
140 sprintf(outname, "v%d.%s.%s", version, blockorder, inname); in main()
161 save_blob(outname, buf.buf); in main()
Ddtb_reverse.c135 char outname[PATH_MAX]; in main() local
144 sprintf(outname, "%s.reversed.test.dtb", argv[1]); in main()
160 save_blob(outname, out); in main()
/external/dtc/
Ddtc.c173 const char *outname = "-"; in main() local
197 outname = optarg; in main()
288 fprintf(depfile, "%s:", outname); in main()
294 outform = guess_type_by_name(outname, NULL); in main()
311 dti->outname = outname; in main()
343 if (streq(outname, "-")) { in main()
346 outf = fopen(outname, "wb"); in main()
349 outname, strerror(errno)); in main()
/external/u-boot/scripts/dtc/
Ddtc.c171 const char *outname = "-"; in main() local
195 outname = optarg; in main()
286 fprintf(depfile, "%s:", outname); in main()
292 outform = guess_type_by_name(outname, NULL); in main()
309 dti->outname = outname; in main()
342 if (streq(outname, "-")) { in main()
345 outf = fopen(outname, "wb"); in main()
348 outname, strerror(errno)); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc43 char inname[60], outbit[40], outname[40]; in main() local
90 sscanf(argv[4], "%s", outname); in main()
100 if ((outp = fopen(outname,"wb")) == NULL) { in main()
101 printf(" G.722: Cannot write file %s.\n", outname); in main()
104 printf("\nInput:%s\nOutput bitstream:%s\nOutput:%s\n", inname, outbit, outname); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc36 char inname[80], outname[40], bitname[40]; in main() local
93 sscanf(argv[4], "%s", outname); in main()
106 if ((outp = fopen(outname, "wb")) == NULL) { in main()
107 printf(" G.711: Cannot write file %s.\n", outname); in main()
110 printf("\nInput: %s\nOutput: %s\n", inname, 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/curl/tests/unit/
Dunit1654.c49 char outname[256];
62 msnprintf(outname, sizeof(outname), "%s-out", arg);
116 Curl_altsvc_save(asi, outname);
/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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/
DsimpleKenny.c56 char outname[500]; in main() local
161 sscanf(argv[2], "%s", outname); in main()
211 if ((outp = fopen(outname, "wb")) == NULL) { in main()
212 printf(" iSAC: Cannot write file %s.\n", outname); in main()
217 _splitpath(outname, outDrive, outPath, outPrefix, outSuffix); in main()
226 printf("Output................... %s\n", outname); in main()
518 strcpy(newOutName, outname); in main()
533 rename(outname, newOutName); in main()
/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/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/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c83 char inname[50], outname[50], bottleneck_file[50], bitfilename[60], in main() local
243 sscanf(argv[argc - 1], "%s", outname); in main()
249 if ((outp = fopen(outname, "wb")) == NULL) { in main()
250 printf(" iSAC: Cannot write file %s.\n", outname); in main()
253 printf("\nInput:%s\nOutput:%s\n", inname, outname); in main()
256 while (outname[i] != '\0') { in main()
257 bitfilename[i] = outname[i]; in main()
Dkenny.cc98 char inname[100], outname[100], outbitsname[100], bottleneck_file[100]; in main() local
414 sscanf(argv[argc-1], "%s", outname); in main()
417 while ((int)outname[h] != 0) { in main()
418 outbitsname[h] = outname[h]; in main()
429 if ((outp = fopen(outname,"wb")) == NULL) { in main()
430 printf(" iSAC: Cannot write file %s\n", outname); in main()
438 printf("\nInput:%s\nOutput:%s\n\n", inname, outname); in main()
/external/v8/tools/
Dandroid-run.py50 (fd_out, outname) = tempfile.mkstemp()
61 output = file(outname).read()
63 os.unlink(outname)
/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/python/rsa/rsa/
Dcli.py183 def write_outfile(self, outdata, outname): argument
186 if outname:
187 print('Writing output to %s' % outname, file=sys.stderr)
188 with open(outname, 'wb') as outfile:
/external/libpng/
Dpngtest.c853 test_one_file(PNG_CONST char *inname, PNG_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()
1715 if ((fpout = fopen(outname, "rb")) == NULL) in test_one_file()
1717 fprintf(STDERR, "Could not find file %s\n", outname); in test_one_file()
1738 inname, outname); in test_one_file()
1770 outname); in test_one_file()
1813 static PNG_CONST char *outname = "pngout/png"; variable
[all …]
/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/ltp/utils/ffsb-6.0-rc2/
Ddepcomp180 outname="$stripped.o"
198 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
199 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"

12