HomeSort by: relevance | last modified time | path
    Searched defs:new_fd (Results 1 - 24 of 24) sorted by relevancy

  /src/external/gpl2/xcvs/dist/lib/
openat.c 55 int new_fd; local
85 new_fd = open (file, flags, mode);
95 return new_fd;
chdir-long.c 83 int new_fd = openat (cdb->fd, dir, O_RDONLY | O_DIRECTORY); local
84 if (new_fd < 0)
86 new_fd = openat (cdb->fd, dir, O_WRONLY | O_DIRECTORY);
87 if (new_fd < 0)
92 cdb->fd = new_fd;
  /src/external/gpl3/gdb/dist/gnulib/import/
chdir-long.c 75 int new_fd = openat (cdb->fd, dir, local
77 if (new_fd < 0)
81 cdb->fd = new_fd;
  /src/external/gpl3/gdb.old/dist/gnulib/import/
chdir-long.c 75 int new_fd = openat (cdb->fd, dir, local
77 if (new_fd < 0)
81 cdb->fd = new_fd;
  /src/external/bsd/kyua-cli/dist/utils/process/
child.cpp 94 /// \param new_fd The file descriptor to use as the duplicate. This is
99 safe_dup(const int old_fd, const int new_fd)
101 if (process::detail::syscall_dup2(old_fd, new_fd) == -1) {
103 throw process::system_error(F("dup2(%s, %s) failed") % old_fd % new_fd, local
  /src/external/bsd/atf/dist/atf-c/
utils.c 364 const int new_fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644); local
365 if (new_fd == -1)
367 if (new_fd != target_fd) {
368 if (dup2(new_fd, target_fd) == -1)
371 close(new_fd);
  /src/external/gpl3/binutils/dist/libiberty/
pex-unix.c 383 int new_fd, flags; local
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
pex-unix.c 383 int new_fd, flags; local
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
pex-unix.c 383 int new_fd, flags; local
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
pex-unix.c 380 int new_fd, flags; local
387 new_fd = -1, flags = 0;
394 new_fd = old_fd;
402 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
403 if (new_fd < 0)
408 new_fd = fcntl (old_fd, F_DUPFD, 3);
409 if (new_fd < 0)
411 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
420 *pnew_fd = new_fd;
421 else if (new_fd != old_fd
    [all...]
  /src/external/ibm-public/postfix/dist/src/master/
event_server.c 409 int new_fd; local
416 if ((new_fd = fcntl(fd, F_DUPFD, THRESHOLD_FD_WORKAROUND)) < 0)
419 fd = new_fd;
multi_server.c 388 int new_fd; local
395 if ((new_fd = fcntl(fd, F_DUPFD, THRESHOLD_FD_WORKAROUND)) < 0)
398 fd = new_fd;
  /src/external/gpl3/gdb.old/dist/gdbserver/
hostio.cc 304 struct fd_list *new_fd; local
335 new_fd = XNEW (struct fd_list);
336 new_fd->fd = fd;
337 new_fd->next = open_fds;
338 open_fds = new_fd;
  /src/external/gpl3/gdb.old/dist/libiberty/
pex-unix.c 383 int new_fd, flags; local
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd
    [all...]
  /src/external/gpl3/gdb/dist/gdbserver/
hostio.cc 311 struct fd_list *new_fd; local
342 new_fd = XNEW (struct fd_list);
343 new_fd->fd = fd;
344 new_fd->next = open_fds;
345 open_fds = new_fd;
  /src/external/gpl3/gdb/dist/libiberty/
pex-unix.c 383 int new_fd, flags; local
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd
    [all...]
  /src/external/gpl3/gdb.old/dist/gdbsupport/
event-loop.cc 340 struct pollfd new_fd;
341 new_fd.fd = fd;
342 new_fd.events = mask;
343 new_fd.revents = 0;
344 gdb_notifier.poll_fds.push_back (new_fd);
339 struct pollfd new_fd; local
  /src/external/gpl3/gdb/dist/gdbsupport/
event-loop.cc 340 struct pollfd new_fd;
341 new_fd.fd = fd;
342 new_fd.events = mask;
343 new_fd.revents = 0;
344 gdb_notifier.poll_fds.push_back (new_fd);
339 struct pollfd new_fd; local
  /src/external/bsd/libevent/dist/
listener.c 408 evutil_socket_t new_fd = evutil_accept4_(fd, (struct sockaddr*)&ss, &socklen, lev->accept4_flags); local
409 if (new_fd < 0)
414 evutil_closesocket(new_fd);
419 evutil_closesocket(new_fd);
427 cb(lev, new_fd, (struct sockaddr*)&ss, (int)socklen,
  /src/external/bsd/ntp/dist/sntp/libevent/
listener.c 407 evutil_socket_t new_fd = evutil_accept4_(fd, (struct sockaddr*)&ss, &socklen, lev->accept4_flags); local
408 if (new_fd < 0)
413 evutil_closesocket(new_fd);
418 evutil_closesocket(new_fd);
426 cb(lev, new_fd, (struct sockaddr*)&ss, (int)socklen,
  /src/external/bsd/libarchive/dist/libarchive/
archive_read_disk_posix.c 2006 int new_fd; local
2011 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0);
2012 if (new_fd != -1)
2013 return (new_fd);
2020 new_fd = dup(fd);
2021 __archive_ensure_cloexec_flag(new_fd);
2022 return (new_fd);
2155 int flag, new_fd, r = 0; local
2162 new_fd = open_on_current_dir(t, t->stack->name.s, flag);
2163 __archive_ensure_cloexec_flag(new_fd);
2191 int new_fd, r = 0, prev_dir_fd; local
    [all...]
  /src/external/gpl3/gcc/dist/gcc/analyzer/
sm-fd.cc 1666 const svalue *new_fd local
1671 if (!add_constraint_ge_zero (model, new_fd, cd.get_ctxt ()))
1677 sm_ctxt->on_transition (node, stmt, new_fd, m_start, new_state);
1678 model->set_value (cd.get_lhs_region (), new_fd, cd.get_ctxt ());
2062 const svalue *new_fd local
2067 if (!add_constraint_ge_zero (model, new_fd, cd.get_ctxt ()))
2069 sm_ctxt->on_transition (node, stmt, new_fd,
2071 model->set_value (cd.get_lhs_region (), new_fd, cd.get_ctxt ());
  /src/crypto/external/bsd/openssh/dist/
mux.c 337 int r, new_fd[3]; local
398 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) {
401 close(new_fd[j]);
415 new_fd[0], new_fd[1], new_fd[2]);
423 close(new_fd[0]);
424 close(new_fd[1]);
425 close(new_fd[2]);
448 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1
1003 int ok = 0, cport, r, new_fd[2]; local
    [all...]
  /src/external/bsd/unbound/dist/util/
netevent.c 2979 int new_fd; local
2982 new_fd = accept(c->fd, (struct sockaddr*)addr, addrlen);
2985 new_fd = accept4(c->fd, (struct sockaddr*)addr, addrlen, SOCK_NONBLOCK);
2987 if(new_fd == -1) {
3067 sock_close(new_fd);
3072 fd_set_nonblock(new_fd);
3074 return new_fd;
3207 int new_fd; local
3270 new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.remote_addr,
3272 if(new_fd == -1)
    [all...]

Completed in 83 milliseconds