/external/elfutils/src/ |
D | ranlib.c | 146 copy_content (Elf *elf, int newfd, off_t off, size_t n) in copy_content() argument 158 return write_retry (newfd, rawfile + off, n) != (ssize_t) n; in copy_content() 246 int newfd = mkstemp (tmpfname); in handle_file() local 247 if (unlikely (newfd == -1)) in handle_file() 256 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in handle_file() 261 if (newfd != -1) in handle_file() 262 close (newfd); in handle_file() 277 && ((write_retry (newfd, symtab.symsoff, in handle_file() 280 || (write_retry (newfd, symtab.symsname, in handle_file() 286 && copy_content (arelf, newfd, SARMAG, index_off - SARMAG)) in handle_file() [all …]
|
D | ar.c | 434 copy_content (Elf *elf, int newfd, off_t off, size_t n) in copy_content() argument 446 return write_retry (newfd, rawfile + off, n) != (ssize_t) n; in copy_content() 753 int newfd = mkstemp (tmpfname); in do_oper_extract() local 754 if (unlikely (newfd == -1)) in do_oper_extract() 763 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in do_oper_extract() 768 if (newfd != -1) in do_oper_extract() 769 close (newfd); in do_oper_extract() 784 && ((write_retry (newfd, symtab.symsoff, in do_oper_extract() 787 || (write_retry (newfd, symtab.symsname, in do_oper_extract() 793 && copy_content (elf, newfd, SARMAG, index_off - SARMAG)) in do_oper_extract() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/ |
D | AudioFileReaderThread.c | 90 FileData *newfd = (FileData *) SDL_malloc(sizeof (FileData)); in FileReaderThread_TryNextRead() local 91 newfd->obj = inItem; in FileReaderThread_TryNextRead() 92 newfd->next = NULL; in FileReaderThread_TryNextRead() 96 frt->mFileData = newfd; in FileReaderThread_TryNextRead() 98 prev->next = newfd; in FileReaderThread_TryNextRead()
|
/external/valgrind/main/coregrind/ |
D | m_libcfile.c | 62 Int newfd; in VG_() local 66 newfd = VG_(fcntl)(oldfd, VKI_F_DUPFD, VG_(fd_hard_limit)); in VG_() 67 if (newfd != -1) in VG_() 71 VG_(fcntl)(newfd, VKI_F_SETFD, VKI_FD_CLOEXEC); in VG_() 73 vg_assert(newfd >= VG_(fd_hard_limit)); in VG_() 74 return newfd; in VG_() 356 SysRes VG_(dup2) ( Int oldfd, Int newfd ) in VG_() 359 return VG_(do_syscall2)(__NR_dup2, oldfd, newfd); in VG_()
|
/external/valgrind/main/include/ |
D | pub_tool_libcfile.h | 86 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
|
/external/qemu/ |
D | net-android.c | 1787 int newfd; in net_socket_fd_init_dgram() local 1804 newfd = net_socket_mcast_create(&saddr); in net_socket_fd_init_dgram() 1805 if (newfd < 0) { in net_socket_fd_init_dgram() 1811 dup2(newfd, fd); in net_socket_fd_init_dgram() 1812 socket_close(newfd); in net_socket_fd_init_dgram()
|
D | net.c | 1669 int newfd; in net_socket_fd_init_dgram() local 1687 newfd = net_socket_mcast_create(&saddr); in net_socket_fd_init_dgram() 1688 if (newfd < 0) { in net_socket_fd_init_dgram() 1694 dup2(newfd, fd); in net_socket_fd_init_dgram() 1695 close(newfd); in net_socket_fd_init_dgram()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-generic.c | 2939 PRE_REG_READ2(long, "dup2", unsigned int, oldfd, unsigned int, newfd); in PRE()
|
D | syswrap-linux.c | 2564 PRE_REG_READ3(long, "dup3", unsigned int, oldfd, unsigned int, newfd, int, flags); in PRE()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 659 Syscall param dup2(newfd) contains uninitialised byte(s)
|
/external/valgrind/main/ |
D | NEWS | 2913 83998 Assertion `newfd > vgPlain_max_fd' failed (see below)
|