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

  /external/chromium_org/tools/android/forwarder2/
forwarders_manager.cc 72 int max_fd = -1; local
76 forwarder->RegisterFDs(&read_fds, &write_fds, &max_fd);
88 max_fd = std::max(max_fd, notifier_fd);
92 select(max_fd + 1, &read_fds, &write_fds, NULL, NULL));
socket.cc 415 int max_fd = socket_; local
417 if (events_[i].fd > max_fd)
418 max_fd = events_[i].fd;
420 select(max_fd + 1, &read_fds, &write_fds, NULL, tv_ptr)) <= 0) {
  /external/qemu/
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);
  /external/bluetooth/bluedroid/osi/src/
reactor.c 128 int max_fd = reactor->event_fd; local
137 if (fd > max_fd)
138 max_fd = fd;
143 ret = select(max_fd + 1, &read_set, &write_set, NULL, tv);
  /external/qemu/android/
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...]
  /sdk/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/bluetooth/bluedroid/udrv/ulinux/
uipc.c 98 int max_fd; member in struct:__anon6354
223 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]);
296 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.ch[ch_id].fd);
360 uipc_main.max_fd = MAX(uipc_main.max_fd, fd);
489 result = select(uipc_main.max_fd+1, &uipc_main.read_set, NULL, NULL, NULL);
  /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);
528 if (FD_SETSIZE < (unsigned)max_fd)
529 max_fd = FD_SETSIZE;
542 max_fd -= 30; /* use other than TFTP */
544 if (max_fd < 0)
545 max_fd = 5;
546 else if (max_fd < 100)
547 max_fd = max_fd/2
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbevents.c 1043 int max_fd; local
1062 max_fd = 0;
1065 if ( max_fd < keyboard_fd ) {
1066 max_fd = keyboard_fd;
1071 if ( max_fd < mouse_fd ) {
1072 max_fd = mouse_fd;
1075 if ( select(max_fd+1, &fdset, NULL, NULL, &zero) > 0 ) {
  /external/qemu/distrib/sdl-1.2.15/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.15/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 1266 milliseconds