Home
last modified time | relevance | path

Searched refs:outname (Results 1 – 25 of 34) 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/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/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.c49 char outname[PATH_MAX]; in main() local
57 sprintf(outname, "noppy.%s", inname); in main()
90 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/cronet/third_party/quic_trace/src/tools/render/
Ddata_blob.bzl29 "outname=%s" % name,
30 "echo 'namespace {' > $$outname.cc",
31 "xxd -i datablob.tmp >> $$outname.cc",
32 "echo '}' >> $$outname.cc",
33 "echo '#include \"absl/strings/string_view.h\"' >> $$outname.cc",
34 …iew %s(reinterpret_cast<const char*>(datablob_tmp), datablob_tmp_len);' >> $$outname.cc" % varname,
35 "echo '#include \"absl/strings/string_view.h\"' >> $$outname.h",
36 "echo 'extern absl::string_view %s;' >> $$outname.h" % varname,
/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.c167 const char *outname = "-"; in main() local
191 outname = optarg; in main()
285 fprintf(depfile, "%s:", outname); in main()
291 outform = guess_type_by_name(outname, NULL); in main()
310 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/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/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/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.c44 char outname[256]; variable
61 msnprintf(outname, sizeof(outname), "%s-out", arg);
106 Curl_altsvc_save(curl, asi, outname);
/external/libxkbcommon/scripts/
Dperfect_hash.py638 outname = options.output
643 outname = tmpl_file.replace('tmpl', 'code')
645 outname = 'std'
648 print("outname = %r\n" % outname)
650 if outname == 'std':
652 elif outname == 'no':
656 outstream = open(outname, 'w')
658 sys.exit("Error: Could not open `%s' for writing." % outname)
669 if not outname == 'std':
/external/python/cpython3/Doc/tools/extensions/
Descape4chm.py44 outname = app.builder.config.htmlhelp_basename
45 with open(outdir / (outname + '.hhk'), 'rb') as f:
47 with open(outdir / (outname + '.hhk'), 'wb') 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/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/cronet/third_party/protobuf/java/internal/
Dtesting.bzl24 ctx.attr.outname,
31 "outname": attr.string(),
60 outname = suite_name,
/external/protobuf/java/internal/
Dtesting.bzl24 ctx.attr.outname,
31 "outname": attr.string(),
60 outname = suite_name,
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/
Dgzfht_test.c239 char outname[FNAME_MAX]; in compress_file() local
400 strcpy(outname, argv[1]); in compress_file()
401 strcat(outname, FEXT); in compress_file()
402 if (write_output_file(outname, outbuf, dsttotlen)) { in compress_file()
403 fprintf(stderr, "write error: %s\n", outname); in compress_file()
/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/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()

12