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

  /external/qemu/
aio.c 128 int max_fd = -1; local
146 max_fd = MAX(max_fd, node->fd + 1);
150 max_fd = MAX(max_fd, node->fd + 1);
157 if (max_fd == -1)
161 ret = select(max_fd, &rdfds, &wrfds, NULL, NULL);
iolooper-select.c 17 int max_fd; member in struct:IoLooper
40 iol->max_fd = -1;
47 if (iol->max_fd_valid && fd > iol->max_fd) {
48 iol->max_fd = fd;
55 if (iol->max_fd_valid && fd == iol->max_fd)
62 int max_fd = iol->max_fd; local
66 return max_fd + 1;
73 max_fd = fd;
75 iol->max_fd = max_fd
    [all...]
  /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 143 const int max_fd = rlimit.rlim_max; local
144 for (int fd = 3; fd < max_fd; ++fd) {
  /frameworks/base/core/jni/
android_bluetooth_ScoSocket.cpp 545 int max_fd; local
575 max_fd = (sk > signal_sk) ? sk : signal_sk;
577 while (select(max_fd + 1, &fds, NULL, NULL, NULL) < 0) {
  /external/dnsmasq/src/
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...]
  /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/ipod/
SDL_ipodvideo.c 472 int max_fd = 0; local
482 max_fd = kbfd;
485 if (select (max_fd + 1, &fdset, 0, 0, &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 ) {

Completed in 288 milliseconds