Searched defs:fd (Results 1 - 25 of 1450) sorted by relevance

1234567891011>>

/external/bison/lib/
H A Ddup-safer.c31 dup_safer (int fd) argument
33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
H A Ddup-safer-flag.c34 dup_safer_flag (int fd, int flag) argument
36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
H A Dfd-safer.c37 fd_safer (int fd) argument
39 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO)
41 int f = dup_safer (fd);
43 close (fd);
45 fd = f;
48 return fd;
H A Dpipe-safer.c31 pipe_safer (int fd[2]) argument
34 if (pipe (fd) == 0)
39 fd[i] = fd_safer (fd[i]);
40 if (fd[i] < 0)
43 close (fd[1 - i]);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Disatty.c12 int isatty(int fd) { argument
13 return ki_isatty(fd);
H A Dtcdrain.c18 int tcdrain(int fd) { argument
H A Dfchown.c8 int fchown(int fd, uid_t owner, gid_t group) { argument
9 return ki_fchown(fd, owner, group);
H A Dftruncate.c8 int ftruncate(int fd, off_t length) { argument
9 return ki_ftruncate(fd, length);
H A Dfutimes.c8 int futimes(int fd, const struct timeval times[2]) { argument
9 return ki_futimes(fd, times);
H A Dtcflow.c17 int tcflow(int fd, int action) { argument
H A Dtcflush.c16 int tcflush(int fd, int queue_selector) { argument
17 return ki_tcflush(fd, queue_selector);
H A Dtcgetattr.c17 int tcgetattr(int fd, struct termios* termios_p) { argument
18 return ki_tcgetattr(fd, termios_p);
/external/valgrind/main/memcheck/tests/
H A Dmmaptest.c9 int fd; local
12 fd = open("dir", O_RDONLY);
13 mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0);
/external/android-clat/
H A Dmtu.c33 int fd; local
36 fd = socket(AF_INET, SOCK_STREAM, 0);
37 if(fd < 0) {
42 if(ioctl(fd, SIOCGIFMTU, &if_mtu) < 0) {
/external/chromium_org/base/files/
H A Dscoped_file.cc21 void ScopedFDCloseTraits::Free(int fd) { argument
29 PCHECK(0 == IGNORE_EINTR(close(fd)));
/external/chromium_org/base/mac/
H A Dclose_nocancel.cc68 int close_implementation(int fd);
70 int close_interface(int fd) { argument
71 return close_implementation(fd);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Daccept.c10 int accept(int fd, struct sockaddr* addr, socklen_t* len) { argument
11 return ki_accept(fd, addr, len);
H A Dbind.c10 int bind(int fd, const struct sockaddr* addr, socklen_t len) { argument
11 return ki_bind(fd, addr, len);
H A Dconnect.c10 int connect(int fd, const struct sockaddr* addr, socklen_t len) { argument
11 return ki_connect(fd, addr, len);
H A Dgetpeername.c10 int getpeername(int fd, struct sockaddr* addr, socklen_t* len) { argument
11 return ki_getpeername(fd, addr, len);
H A Dgetsockname.c10 int getsockname(int fd, struct sockaddr* addr, socklen_t* len) { argument
11 return ki_getsockname(fd, addr, len);
H A Dlisten.c10 int listen(int fd, int backlog) { argument
11 return ki_listen(fd, backlog);
H A Drecvmsg.c10 ssize_t recvmsg(int fd, struct msghdr* msg, int flags) { argument
11 return ki_recvmsg(fd, msg, flags);
H A Dsendmsg.c10 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags) { argument
11 return ki_sendmsg(fd, msg, flags);
H A Dshutdown.c10 int shutdown(int fd, int how) { argument
11 return ki_shutdown(fd, how);

Completed in 466 milliseconds

1234567891011>>