Home
last modified time | relevance | path

Searched refs:outfname (Results 1 – 6 of 6) sorted by relevance

/external/strace/
Dstrace.c84 char *outfname = NULL; variable
267 outfname = strdup(optarg);
349 if (outfname) {
353 if (outfname[0] == '|' || outfname[0] == '!') {
369 if ((outf = popen(outfname + 1, "w")) == NULL) {
371 progname, outfname + 1,
377 else if ((outf = fopen(outfname, "w")) == NULL) {
379 progname, outfname, strerror(errno));
398 if (!outfname || outfname[0] == '|' || outfname[0] == '!')
400 if (outfname && optind < argc) {
[all …]
Ddefs.h404 extern char *outfname;
DChangeLog3423 * strace.c (outfname): Initialize to NULL.
3426 Check if outfname is NULL instead of checking outf for stderr.
/external/elfutils/src/
Dld.c704 if (ld_state.outfname != NULL) in parse_opt_2nd()
711 ld_state.outfname = arg; in parse_opt_2nd()
Dld.h753 const char *outfname; member
Dldgeneric.c2448 if (ld_state.outfname == NULL) in ld_generic_open_outfile()
2449 ld_state.outfname = "a.out"; in ld_generic_open_outfile()
2451 size_t outfname_len = strlen (ld_state.outfname); in ld_generic_open_outfile()
2460 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX"); in ld_generic_open_outfile()
6244 if (rename (ld_state.tempfname, ld_state.outfname) != 0) in ld_generic_finalize()
6250 if (stat (ld_state.outfname, &new_st) != 0 in ld_generic_finalize()
6255 unlink (ld_state.outfname); in ld_generic_finalize()