Home
last modified time | relevance | path

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

/external/strace/
Dstrace.c153 static char *outfname = NULL; variable
568 perror_msg("%s", outfname); in tprintf()
589 perror_msg("%s", outfname); in tprints()
635 else if (nprocs > 1 && !outfname) in printleader()
686 sprintf(name, "%.512s.%u", outfname, tcp->pid); in newoutf()
1570 outfname = xstrdup(optarg); in init()
1692 if (outfname) { in init()
1694 if (outfname[0] == '|' || outfname[0] == '!') { in init()
1701 shared_log = strace_popen(outfname + 1); in init()
1704 shared_log = strace_fopen(outfname); in init()
[all …]
DChangeLog-CVS1447 swapping. Do not open outfname when followfork > 1.
1512 * defs.h (rflag, tflag, outfname): Remove.
1514 outfname, username): Make static.
5424 * strace.c (outfname): Initialize to NULL.
5427 Check if outfname is NULL instead of checking outf for stderr.
/external/elfutils/src/
Dld.c769 if (ld_state.outfname != NULL) in parse_opt_2nd()
776 ld_state.outfname = arg; in parse_opt_2nd()
Dld.h778 const char *outfname; member
Dldgeneric.c2651 if (ld_state.outfname == NULL) in ld_generic_open_outfile()
2652 ld_state.outfname = "a.out"; in ld_generic_open_outfile()
2654 size_t outfname_len = strlen (ld_state.outfname); in ld_generic_open_outfile()
2663 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX"); in ld_generic_open_outfile()
6988 if (rename (ld_state.tempfname, ld_state.outfname) != 0) in ld_generic_finalize()
6994 if (stat (ld_state.outfname, &new_st) != 0 in ld_generic_finalize()
6999 unlink (ld_state.outfname); in ld_generic_finalize()