/external/kernel-headers/original/linux/ |
poll.h | 88 int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) 92 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; 94 memset(fdset, 0, nr); 99 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) 102 return __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); 107 void zero_fd_set(unsigned long nr, unsigned long *fdset) 109 memset(fdset, 0, FDS_BYTES(nr));
|
/external/quake/quake/src/QW/server/ |
sys_unix.c | 219 fd_set fdset; local 261 FD_ZERO(&fdset); 263 FD_SET(0, &fdset); 264 FD_SET(net_socket, &fdset); 267 if (select (net_socket+1, &fdset, NULL, NULL, &timeout) == -1) 269 stdin_ready = FD_ISSET(0, &fdset);
|
sys_win.c | 201 fd_set fdset;
local 242 FD_ZERO(&fdset);
243 FD_SET(net_socket, &fdset);
246 if (select (net_socket+1, &fdset, NULL, NULL, &timeout) == -1)
|
/external/quake/quake/src/WinQuake/ |
sys_linux.cpp | 323 fd_set fdset; local 327 FD_ZERO(&fdset); 328 FD_SET(0, &fdset); // stdin 331 if (select (1, &fdset, NULL, NULL, &timeout) == -1 || !FD_ISSET(0, &fdset))
|
/frameworks/base/core/jni/ |
com_android_internal_os_ZygoteInit.cpp | 224 fd_set fdset; local 230 FD_ZERO(&fdset); 246 FD_SET(fd, &fdset); 255 err = select (nfds, &fdset, NULL, NULL, NULL); 275 if (FD_ISSET(fd, &fdset)) {
|
/external/libppp/src/ |
server.c | 62 log_Printf(LogTIMER, "server: fdset(r) %d\n", s->fd); 73 server_IsSet(struct fdescriptor *d, const fd_set *fdset) 78 if (s->fd >= 0 && FD_ISSET(s->fd, fdset)) 82 if (descriptor_IsSet(&p->desc, fdset)) 89 server_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) 102 if (s->fd >= 0 && FD_ISSET(s->fd, fdset)) { 187 if (descriptor_IsSet(&p->desc, fdset)) { 188 descriptor_Read(&p->desc, bundle, fdset); 196 const fd_set *fdset __unused)
|
ether.c | 384 log_Printf(LogTIMER, "%s(ctrl): fdset(r) %d\n", p->link.name, dev->cs); 395 ether_IsSet(struct fdescriptor *d, const fd_set *fdset) 401 result = dev->cs >= 0 && FD_ISSET(dev->cs, fdset); 402 result += physical_IsSet(d, fdset); 409 const fd_set *fdset) 414 if (dev->cs >= 0 && FD_ISSET(dev->cs, fdset)) { 423 if (physical_IsSet(d, fdset)) 424 physical_DescriptorRead(d, bundle, fdset);
|
netgraph.c | 364 log_Printf(LogTIMER, "%s(ctrl): fdset(r) %d\n", p->link.name, dev->cs); 379 ng_IsSet(struct fdescriptor *d, const fd_set *fdset) 385 result = dev->cs >= 0 && FD_ISSET(dev->cs, fdset); 386 result += physical_IsSet(d, fdset); 393 const fd_set *fdset) 398 if (dev->cs >= 0 && FD_ISSET(dev->cs, fdset)) 401 if (physical_IsSet(d, fdset)) 402 physical_DescriptorRead(d, bundle, fdset);
|
datalink.c | 421 datalink_IsSet(struct fdescriptor *d, const fd_set *fdset) 434 return descriptor_IsSet(&dl->chat.desc, fdset); 441 return descriptor_IsSet(&dl->chap.desc, fdset) ? 1 : 442 descriptor_IsSet(&dl->physical->desc, fdset); 448 datalink_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) 461 descriptor_Read(&dl->chat.desc, bundle, fdset); 469 if (descriptor_IsSet(&dl->chap.desc, fdset)) 470 descriptor_Read(&dl->chap.desc, bundle, fdset); 471 if (descriptor_IsSet(&dl->physical->desc, fdset)) 472 descriptor_Read(&dl->physical->desc, bundle, fdset); [all...] |
prompt.c | 146 log_Printf(LogTIMER, "prompt %s: fdset(r) %d\n", p->src.from, p->fd_in); 151 log_Printf(LogTIMER, "prompt %s: fdset(e) %d\n", p->src.from, p->fd_in); 164 prompt_IsSet(struct fdescriptor *d, const fd_set *fdset) 167 return p->fd_in >= 0 && FD_ISSET(p->fd_in, fdset); 184 const fd_set *fdset __unused) 306 const fd_set *fdset __unused)
|
bundle.c | 480 log_Printf(LogTIMER, "%s: fdset(r) %d\n", TUN_NAME, bundle->dev.fd); 511 bundle_IsSet(struct fdescriptor *d, const fd_set *fdset) 517 if (descriptor_IsSet(&dl->desc, fdset)) 521 if (descriptor_IsSet(&bundle->radius.desc, fdset)) 525 if (descriptor_IsSet(&bundle->ncp.mp.server.desc, fdset)) 528 return FD_ISSET(bundle->dev.fd, fdset); 533 const fd_set *fdset) 539 if (descriptor_IsSet(&bundle->ncp.mp.server.desc, fdset)) 540 descriptor_Read(&bundle->ncp.mp.server.desc, bundle, fdset); 543 if (descriptor_IsSet(&dl->desc, fdset)) [all...] |
exec.c | 212 log_Printf(LogTIMER, "%s: fdset(w) %d\n", p->link.name, dev->fd_out); 219 log_Printf(LogTIMER, "%s: fdset(e) %d\n", p->link.name, dev->fd_out); 230 exec_IsSet(struct fdescriptor *d, const fd_set *fdset) 234 int result = dev->fd_out >= 0 && FD_ISSET(dev->fd_out, fdset); 235 result += physical_IsSet(d, fdset);
|
chap.c | 405 log_Printf(LogTIMER, "Chap: fdset(r) %d\n", chap->child.fd); 413 chap_IsSet(struct fdescriptor *d, const fd_set *fdset) 417 return chap && chap->child.fd != -1 && FD_ISSET(chap->child.fd, fdset); 422 const fd_set *fdset __unused) 479 const fd_set *fdset __unused)
|
chat.c | 325 chat_IsSet(struct fdescriptor *d, const fd_set *fdset) 328 return c->argptr && physical_IsSet(&c->physical->desc, fdset); 375 const fd_set *fdset __unused) 490 const fd_set *fdset __unused)
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbevents.c | 464 fd_set fdset; local 477 FD_ZERO(&fdset); 478 FD_SET(fd, &fdset); 481 while ( select(fd+1, &fdset, 0, 0, &tv) > 0 ) { 504 fd_set fdset; local 508 FD_ZERO(&fdset); 509 FD_SET(fd, &fdset); 512 while ( select(fd+1, &fdset, 0, 0, &tv) > 0 ) { 525 FD_ZERO(&fdset); 526 FD_SET(fd, &fdset); 1042 fd_set fdset; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
SDL_gsevents.c | 404 fd_set fdset; local 415 FD_ZERO(&fdset); 416 FD_SET(fd, &fdset); 419 while ( select(fd+1, &fdset, 0, 0, &tv) > 0 ) { 440 fd_set fdset; local 444 FD_ZERO(&fdset); 445 FD_SET(fd, &fdset); 448 while ( select(fd+1, &fdset, 0, 0, &tv) > 0 ) { 459 FD_ZERO(&fdset); 460 FD_SET(fd, &fdset); 783 fd_set fdset; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/bsd/ |
SDL_bsdaudio.c | 157 fd_set fdset; local 160 FD_ZERO(&fdset); 161 FD_SET(audio_fd, &fdset); 167 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/audio/dma/ |
SDL_dmaaudio.c | 140 fd_set fdset; local 166 FD_ZERO(&fdset); 167 FD_SET(audio_fd, &fdset); 173 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/audio/paudio/ |
SDL_paudio.c | 127 fd_set fdset; local 143 FD_ZERO(&fdset); 144 FD_SET(audio_fd, &fdset); 168 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/ |
SDL_sunaudio.c | 154 fd_set fdset; 156 FD_ZERO(&fdset); 157 FD_SET(audio_fd, &fdset); 158 select(audio_fd+1, NULL, &fdset, NULL, NULL);
|
/external/openssh/ |
sshconnect.c | 246 fd_set *fdset; local 270 fdset = (fd_set *)xcalloc(howmany(sockfd + 1, NFDBITS), 272 FD_SET(sockfd, fdset); 276 rc = select(sockfd + 1, NULL, fdset, NULL, &tv); 311 xfree(fdset); 448 fd_set *fdset; local 451 fdset = xcalloc(1, fdsetsz); 460 FD_SET(connection_in, fdset); 461 rc = select(connection_in + 1, fdset, NULL, 462 fdset, &t_remaining) [all...] |
sshd.c | 1095 fd_set *fdset; local 1104 fdset = NULL; 1121 if (fdset != NULL) 1122 xfree(fdset); 1123 fdset = (fd_set *)xcalloc(howmany(maxfd + 1, NFDBITS), 1127 FD_SET(listen_socks[i], fdset); 1130 FD_SET(startup_pipes[i], fdset); 1133 ret = select(maxfd+1, fdset, NULL, NULL, NULL); 1153 FD_ISSET(startup_pipes[i], fdset)) { 1165 if (!FD_ISSET(listen_socks[i], fdset)) [all...] |
/external/qemu/slirp/ |
misc.c | 762 fd_set fdset; local 764 FD_ZERO(&fdset); 769 select(0, &fdset, &fdset, &fdset, &t);
|
/external/qemu/slirp-android/ |
misc.c | 727 fd_set fdset; 729 FD_ZERO(&fdset); 734 select(0, &fdset, &fdset, &fdset, &t);
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11events.c | 918 fd_set fdset; local 921 FD_ZERO(&fdset); 922 FD_SET(x11_fd, &fdset); 923 if ( select(x11_fd+1, &fdset, NULL, NULL, &zero_time) == 1 ) { [all...] |