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

  /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/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));
forwarder.cc 104 // |write_fds| and |max_fd| appropriately *if* the buffer isn't closed.
105 void PrepareSelect(fd_set* read_fds, fd_set* write_fds, int* max_fd) {
134 *max_fd = std::max(*max_fd, fd);
232 void Forwarder::RegisterFDs(fd_set* read_fds, fd_set* write_fds, int* max_fd) {
234 buffer1_->PrepareSelect(read_fds, write_fds, max_fd);
235 buffer2_->PrepareSelect(read_fds, write_fds, max_fd);
forwarder.h 25 void RegisterFDs(fd_set* read_fds, fd_set* write_fds, int* max_fd);
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/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);
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...]
dnsmasq.h 886 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
  /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/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/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/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/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
subprocess.cc 362 int max_fd = max(child_stdin_, child_stdout_);
376 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 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/chromium_org/third_party/pexpect/
pexpect.py 581 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
582 for i in range(3, max_fd):
    [all...]
  /external/lldb/test/pexpect-2.4/
pexpect.py 545 max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
546 for i in range (3, max_fd):
    [all...]

Completed in 443 milliseconds