Home
last modified time | relevance | path

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

/external/strace/
Dstrace.c116 static char *outfname = NULL; variable
361 if (outfname && followfork > 1) { in newoutf()
365 sprintf(name, "%.512s.%u", outfname, tcp->pid); in newoutf()
870 outfname = strdup(optarg); in main()
975 if (outfname) { in main()
977 if (outfname[0] == '|' || outfname[0] == '!') { in main()
989 if ((outf = strace_popen(outfname + 1)) == NULL) in main()
993 (outf = strace_fopen(outfname, "w")) == NULL) in main()
997 if (!outfname || outfname[0] == '|' || outfname[0] == '!') in main()
999 if (outfname && optind < argc) { in main()
[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.c783 if (ld_state.outfname != NULL) in parse_opt_2nd()
790 ld_state.outfname = arg; in parse_opt_2nd()
Dld.h786 const char *outfname; member
Dldgeneric.c2661 if (ld_state.outfname == NULL) in ld_generic_open_outfile()
2662 ld_state.outfname = "a.out"; in ld_generic_open_outfile()
2664 size_t outfname_len = strlen (ld_state.outfname); in ld_generic_open_outfile()
2673 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX"); in ld_generic_open_outfile()
6999 if (rename (ld_state.tempfname, ld_state.outfname) != 0) in ld_generic_finalize()
7005 if (stat (ld_state.outfname, &new_st) != 0 in ld_generic_finalize()
7010 unlink (ld_state.outfname); in ld_generic_finalize()