HomeSort by relevance Sort by last modified time
    Searched refs:max_fd (Results 1 - 13 of 13) sorted by null

  /external/qemu/
iolooper-select.c 18 int max_fd; member in struct:IoLooper
41 iol->max_fd = -1;
48 if (iol->max_fd_valid && fd > iol->max_fd) {
49 iol->max_fd = fd;
56 if (iol->max_fd_valid && fd == iol->max_fd)
86 int max_fd = iol->max_fd; local
90 return max_fd + 1;
97 max_fd = fd;
99 iol->max_fd = max_fd
    [all...]
aio.c 160 int max_fd = -1; local
178 max_fd = MAX(max_fd, node->fd + 1);
182 max_fd = MAX(max_fd, node->fd + 1);
189 if (max_fd == -1)
193 ret = select(max_fd, &rdfds, &wrfds, NULL, NULL);
  /development/tools/emulator/opengl/tests/event_injector/
iolooper-select.c 36 int max_fd; member in struct:IoLooper
59 iol->max_fd = -1;
66 if (iol->max_fd_valid && fd > iol->max_fd) {
67 iol->max_fd = fd;
74 if (iol->max_fd_valid && fd == iol->max_fd)
104 int max_fd = iol->max_fd; local
108 return max_fd + 1;
115 max_fd = fd;
117 iol->max_fd = max_fd
    [all...]
  /external/dnsmasq/src/
helper.c 53 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd)
104 for (max_fd--; max_fd >= 0; max_fd--)
105 if (max_fd != STDOUT_FILENO && max_fd != STDERR_FILENO &&
106 max_fd != STDIN_FILENO && max_fd != pipefd[0] && max_fd != event_fd)
107 close(max_fd);
    [all...]
dnsmasq.c 85 long i, max_fd = sysconf(_SC_OPEN_MAX); local
132 for (i = 0; i < max_fd; i++)
370 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd);
522 if (FD_SETSIZE < (unsigned)max_fd)
523 max_fd = FD_SETSIZE;
536 max_fd -= 30; /* use other than TFTP */
538 if (max_fd < 0)
539 max_fd = 5;
540 else if (max_fd < 100)
541 max_fd = max_fd/2
    [all...]
dnsmasq.h 883 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
  /hardware/msm7k/librpc/
svc.c 83 int max_fd; member in struct:SVCXPRT
117 n = select(xprt->max_fd + 1, (fd_set *)&rfds, NULL, NULL, &tv);
124 for (n = 0; n <= xprt->max_fd; n++) {
161 xprt->max_fd = 0;
267 if (svc->xdr->fd > xprt->max_fd) xprt->max_fd = svc->xdr->fd;
311 /* don't bother decreasing the xprt->max_fd to the previous
  /libcore/luni/src/main/native/
java_lang_ProcessManager.cpp 38 const int max_fd = rlimit.rlim_max; local
39 for (int fd = 3; fd < max_fd; ++fd) {
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbevents.c 1034 int max_fd; local
1053 max_fd = 0;
1056 if ( max_fd < keyboard_fd ) {
1057 max_fd = keyboard_fd;
1062 if ( max_fd < mouse_fd ) {
1063 max_fd = mouse_fd;
1066 if ( select(max_fd+1, &fdset, NULL, NULL, &zero) > 0 ) {
  /external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
SDL_gsevents.c 784 int max_fd; local
791 max_fd = 0;
794 if ( max_fd < keyboard_fd ) {
795 max_fd = keyboard_fd;
800 if ( max_fd < mouse_fd ) {
801 max_fd = mouse_fd;
804 if ( select(max_fd+1, &fdset, NULL, NULL, &zero) > 0 ) {
  /external/protobuf/src/google/protobuf/compiler/
subprocess.cc 357 int max_fd = max(child_stdin_, child_stdout_);
371 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) {
  /external/dbus/dbus/
dbus-sysdeps-win.c 1078 int max_fd = 0;
1128 max_fd = MAX (max_fd, fdp->fd);
1135 ready = select (max_fd + 1, &read_set, &write_set, &err_set,
    [all...]
dbus-sysdeps-unix.c     [all...]

Completed in 233 milliseconds