Home
last modified time | relevance | path

Searched refs:fdnew (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/tests/
Delfstrmerge.c43 static int fdnew = -1; variable
78 if (fdnew != -1) in release()
82 close (fdnew); in release()
365 fdnew = mkstemp (fnew); in main()
370 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in main()
373 if (fdnew < 0) in main()
376 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in main()
655 if (fchmod (fdnew, st.st_mode & ALLPERMS) != 0) in main()
657 if (fchown (fdnew, st.st_uid, st.st_gid) != 0) in main()
666 close (fdnew); in main()
[all …]
/external/elfutils/src/
Delfcompress.c257 int fdnew = -1; in process_file() local
304 close (fdnew); in process_file()
579 fdnew = mkstemp (fnew); in process_file()
584 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in process_file()
587 if (fdnew < 0) in process_file()
596 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in process_file()
1281 if (fchown (fdnew, st.st_uid, st.st_gid) != 0) in process_file()
1284 if (fchmod (fdnew, st.st_mode & ALLPERMS) != 0) in process_file()