Searched refs:fd (Results 1 - 25 of 2160) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dfsync.c8 int fsync(int fd) { argument
9 return ki_fsync(fd);
H A Disatty.c8 int isatty(int fd) { argument
9 return ki_isatty(fd);
H A Dftruncate.c8 int ftruncate(int fd, off_t length) { argument
9 return ki_ftruncate(fd, length);
H A Dgetdents.c8 int getdents(int fd, void* buf, unsigned int count) { argument
9 return ki_getdents(fd, buf, count);
H A Dlisten.c10 int listen(int fd, int backlog) { argument
11 return ki_listen(fd, backlog);
H A Dshutdown.c10 int shutdown(int fd, int how) { argument
11 return ki_shutdown(fd, how);
H A Dtcflush.c8 int tcflush(int fd, int queue_selector) { argument
9 return ki_tcflush(fd, queue_selector);
H A Dtcgetattr.c8 int tcgetattr(int fd, struct termios* termios_p) { argument
9 return ki_tcgetattr(fd, termios_p);
H A Dfchown.c8 int fchown(int fd, uid_t owner, gid_t group) { argument
9 return ki_fchown(fd, owner, group);
H A Drecvmsg.c8 ssize_t recvmsg(int fd, struct msghdr* msg, int flags) { argument
9 return ki_recvmsg(fd, msg, flags);
H A Dtcsetattr.c8 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p) { argument
9 return ki_tcsetattr(fd, optional_actions, termios_p);
/external/bison/lib/
H A Dfd-safer-flag.c40 fd_safer_flag (int fd, int flag) argument
42 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO)
44 int f = dup_safer_flag (fd, flag);
46 close (fd);
48 fd = f;
51 return fd;
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]);
H A Dpipe2-safer.c31 pipe2_safer (int fd[2], int flags) argument
34 if (pipe2 (fd, flags) == 0)
39 fd[i] = fd_safer_flag (fd[i], flags);
40 if (fd[i] < 0)
43 close (fd[1 - i]);
/external/chromium_org/base/
H A Dfile_descriptor_posix.h20 : fd(-1),
24 : fd(ifd),
28 return (fd == other.fd && auto_close == other.auto_close);
33 return other.fd < fd;
36 int fd; member in struct:base::FileDescriptor
/external/chromium_org/third_party/mesa/src/src/gbm/main/
H A Dbackend.h34 _gbm_create_device(int fd);
/external/mesa3d/src/gbm/main/
H A Dbackend.h34 _gbm_create_device(int fd);
/external/qemu/android/protocol/
H A Dattach-ui-proxy.h24 * fd - Socket descriptor for the proxy.
28 extern int attachUiProxy_create(int fd);
H A Dcore-commands-impl.h25 * fd - Socket descriptor for the service.
29 extern int coreCmdImpl_create(int fd);
H A Duser-events-impl.h24 * fd - Socket descriptor for the service.
28 extern int userEventsImpl_create(int fd);
/external/e2fsprogs/tests/progs/
H A Drandom_exercise.c50 int fd; local
53 fd = ((int) random()) % MAXFDS;
54 if (fd > 2)
55 return fd;
59 unsigned int get_inode_num(int fd) argument
63 if (fstat(fd, &st) < 0) {
74 int fd; local
83 fd = open(template, O_RDONLY, 0600);
84 printf("Created temp directory %s, fd = %d\n",
85 template, fd);
101 truncate_file(int fd) argument
116 unlink_file(int fd) argument
130 close_file(int fd) argument
144 int i, fd; local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dgetsectsize.c26 #include <linux/fd.h>
46 int fd; local
49 fd = open64(file, O_RDONLY);
51 fd = open(file, O_RDONLY);
53 if (fd < 0)
57 if (ioctl(fd, BLKSSZGET, sectsize) >= 0) {
58 close(fd);
63 close(fd);
72 int fd; local
75 fd
[all...]
/external/chromium/base/
H A Dfile_descriptor_posix.h21 : fd(-1),
25 : fd(ifd),
29 return (fd == other.fd && auto_close == other.auto_close);
34 return other.fd < fd;
37 int fd; member in struct:base::FileDescriptor
/external/openssh/openbsd-compat/
H A Ddaemon.c54 int fd; local
71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
72 (void)dup2(fd, STDIN_FILENO);
73 (void)dup2(fd, STDOUT_FILENO);
74 (void)dup2(fd, STDERR_FILENO);
75 if (fd > 2)
76 (void)close (fd);

Completed in 3782 milliseconds

1234567891011>>