Searched refs:tempfname (Results 1 – 3 of 3) sorted by relevance
/external/elfutils/src/ |
D | ar.c | 587 char tempfname[] = "XXXXXX"; in do_oper_extract() local 594 xfd = mkstemp (tempfname); in do_oper_extract() 648 unlink (tempfname); in do_oper_extract() 688 r = link (tempfname, arhdr->ar_name); in do_oper_extract() 690 unlink (tempfname); in do_oper_extract() 693 r = rename (tempfname, arhdr->ar_name); in do_oper_extract() 711 r = link (tempfname, truncfname); in do_oper_extract() 713 unlink (tempfname); in do_oper_extract() 716 r = rename (tempfname, truncfname); in do_oper_extract() 724 unlink (tempfname); in do_oper_extract()
|
D | ldgeneric.c | 2646 if (status != 0 && ld_state.tempfname != NULL) in remove_tempfile() 2647 unlink (ld_state.tempfname); in remove_tempfile() 2665 char *tempfname = (char *) obstack_alloc (&ld_state.smem, in ld_generic_open_outfile() local 2667 ld_state.tempfname = tempfname; in ld_generic_open_outfile() 2673 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX"); in ld_generic_open_outfile() 2679 if (mktemp (tempfname) != NULL in ld_generic_open_outfile() 2680 && (fd = open (tempfname, O_RDWR | O_EXCL | O_CREAT | O_NOFOLLOW, in ld_generic_open_outfile() 6999 if (rename (ld_state.tempfname, ld_state.outfname) != 0) in ld_generic_finalize() 7019 ld_state.tempfname = NULL; in ld_generic_finalize()
|
D | ld.h | 788 const char *tempfname; member
|