Home
last modified time | relevance | path

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

123456

/netbsd-src/external/gpl3/binutils/dist/zlib/examples/
H A 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 …]
/netbsd-src/common/dist/zlib/examples/
H A 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 …]
/netbsd-src/external/gpl3/gdb/dist/zlib/examples/
H A 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 …]
/netbsd-src/external/gpl3/binutils.old/dist/zlib/examples/
H A 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 …]
/netbsd-src/external/gpl3/gdb.old/dist/zlib/examples/
H A 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 …]
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dmove_and_save.c29 char outname[PATH_MAX]; in main() local
44 sprintf(outname, "moved.%s", inname); in main()
45 save_blob(outname, fdt1); in main()
52 sprintf(outname, "shunted.%s", inname); in main()
53 save_blob(outname, fdt2); in main()
60 sprintf(outname, "deshunted.%s", inname); in main()
61 save_blob(outname, fdt3); in main()
H A Dopen_pack.c28 char outname[PATH_MAX]; in main() local
46 sprintf(outname, "opened.%s", inname); in main()
47 save_blob(outname, fdt1); in main()
52 sprintf(outname, "repacked.%s", inname); in main()
53 save_blob(outname, fdt1); in main()
H A Dnopulate.c50 char outname[PATH_MAX]; in main() local
58 sprintf(outname, "noppy.%s", inname); in main()
91 save_blob(outname, fdt2); in main()
/netbsd-src/lib/libc/yp/
H A Dyp_master.c47 yp_master(const char *indomain, const char *inmap, char **outname) in __weak_alias()
54 if (outname == NULL) in __weak_alias()
56 *outname = NULL; in __weak_alias()
86 if ((*outname = strdup(yprm.master)) == NULL) in __weak_alias()
92 if (*outname) { in __weak_alias()
93 free(*outname); in __weak_alias()
94 *outname = NULL; in __weak_alias()
/netbsd-src/external/gpl2/dtc/dist/
H A 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()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dpex-common.c159 char *outname; in pex_run_in_environment() local
168 outname = (char *) orig_outname; in pex_run_in_environment()
221 if (outname == NULL) in pex_run_in_environment()
225 outname = concat (obj->tempbase, outname, NULL); in pex_run_in_environment()
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
233 if (! outname) in pex_run_in_environment()
240 if (outname != orig_outname) in pex_run_in_environment()
245 pex_add_remove (obj, outname, outname_allocated); in pex_run_in_environment()
250 obj->next_input_name = outname; in pex_run_in_environment()
269 out = obj->funcs->open_write (obj, outname, in pex_run_in_environment()
[all …]
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dpex-common.c159 char *outname; in pex_run_in_environment() local
168 outname = (char *) orig_outname; in pex_run_in_environment()
221 if (outname == NULL) in pex_run_in_environment()
225 outname = concat (obj->tempbase, outname, NULL); in pex_run_in_environment()
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
233 if (! outname) in pex_run_in_environment()
240 if (outname != orig_outname) in pex_run_in_environment()
245 pex_add_remove (obj, outname, outname_allocated); in pex_run_in_environment()
250 obj->next_input_name = outname; in pex_run_in_environment()
269 out = obj->funcs->open_write (obj, outname, in pex_run_in_environment()
[all …]
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dpex-common.c159 char *outname; in pex_run_in_environment() local
168 outname = (char *) orig_outname; in pex_run_in_environment()
221 if (outname == NULL) in pex_run_in_environment()
225 outname = concat (obj->tempbase, outname, NULL); in pex_run_in_environment()
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
233 if (! outname) in pex_run_in_environment()
240 if (outname != orig_outname) in pex_run_in_environment()
245 pex_add_remove (obj, outname, outname_allocated); in pex_run_in_environment()
250 obj->next_input_name = outname; in pex_run_in_environment()
269 out = obj->funcs->open_write (obj, outname, in pex_run_in_environment()
[all …]
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dpex-common.c159 char *outname; in pex_run_in_environment() local
168 outname = (char *) orig_outname; in pex_run_in_environment()
221 if (outname == NULL) in pex_run_in_environment()
225 outname = concat (obj->tempbase, outname, NULL); in pex_run_in_environment()
232 outname = temp_file (obj, flags, outname); in pex_run_in_environment()
233 if (! outname) in pex_run_in_environment()
240 if (outname != orig_outname) in pex_run_in_environment()
245 pex_add_remove (obj, outname, outname_allocated); in pex_run_in_environment()
250 obj->next_input_name = outname; in pex_run_in_environment()
269 out = obj->funcs->open_write (obj, outname, in pex_run_in_environment()
[all …]
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]
/netbsd-src/sys/arch/powerpc/stand/mkbootimage/
H A Dmkbootimage.c287 prep_build_image(char *kernel, char *boot, char *rawdev, char *outname) in prep_build_image() argument
323 if ((prep_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { in prep_build_image()
325 prep_fd = creat(outname, 0644); in prep_build_image()
327 errx(2, "Can't open output '%s': %s", outname, in prep_build_image()
399 outname, flength); in prep_build_image()
454 rs6000_build_image(char *kernel, char *boot, char *rawdev, char *outname) in rs6000_build_image() argument
491 if ((rs6000_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { in rs6000_build_image()
493 rs6000_fd = creat(outname, 0644); in rs6000_build_image()
495 errx(2, "Can't open output '%s': %s", outname, in rs6000_build_image()
681 bebox_build_image(char *kernel, char *boot, char *rawdev, char *outname, cha argument
851 char *kernel = NULL, *boot = NULL, *rawdev = NULL, *outname = NULL; main() local
[all...]
/netbsd-src/usr.bin/xlint/lint1/
H A Demit1.c156 outname(tag->s_name); in outtt()
159 outname(tdef->s_name); in outtt()
221 outname(sym->s_name); in outsym()
225 outname(sym->s_rename); in outsym()
294 outname(fsym->s_name); in outfdef()
298 outname(fsym->s_rename); in outfdef()
379 outname(call->func->u.ops.left->u.sym->s_name); in outcall()
546 outname(sym->s_name); in outusg()
/netbsd-src/external/gpl2/rcs/dist/src/
H A Drcsutil.c1012 runv(infd, outname, args) in runv() argument
1014 char const *outname, **args;
1059 if (outname) {
1066 STDOUT_FILENO, outname,
1069 efaterror(outname);
1100 if (outname)
1102 STDOUT_FILENO, outname,
1108 write_stderr(outname);
1154 if (outname)
1155 bufargcat(&b, '>', outname);
[all …]
/netbsd-src/usr.bin/patch/
H A Dpatch.c66 char *outname = NULL; variable
228 if (outname == NULL) in main()
229 outname = savestr(filearg[0]); in main()
375 char *realout = outname; in main()
382 if (move_file(TMPOUTNAME, outname) < 0) { in main()
387 chmod(outname, filemode); in main()
408 if (strlcpy(rejname, outname, in main()
410 fatal("filename %s is too long\n", outname); in main()
413 fatal("filename %s is too long\n", outname); in main()
448 free(outname); in reinitialize_almost_everything()
[all …]
/netbsd-src/sys/rump/
H A Dmakerumpsyscalls.sh104 eval outname=\${SYSCOMPONENT_${b}}
105 [ -z "${outname}" ] && die Unknown syscall provider $b
106 makesyscomponent $outname "$res"
/netbsd-src/external/gpl3/gdb/dist/libiberty/
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/libiberty/
H A Dpexecute.txh36 const char *@var{outname}, const char *@var{errname}, int *@var{err})
52 of the program will be sent to @var{outname}, or, if @var{outname} is
64 @var{outname} is a suffix. See the description of @var{outname},
96 @var{outname} is used to set the name of the file to use for standard
105 if @code{PEX_LAST} is set in @var{flags}, and @var{outname} is
121 @var{outname} may not be @code{NULL}. If the @var{tempbase} parameter
123 the concatenation of @var{tempbase} and @var{outname}. If
125 file name ending in @var{outname}.
129 case, if @var{outname} is not @code{NULL}, it is used as the output
130 file name. If @var{outname} is @code{NULL}, and @var{tempbase} was
[all …]

123456