/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/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/ |
probslet.h | 137 ** PR_FD_ZERO(&fdset) initializes a descriptor set fdset to the null set. 138 ** PR_FD_SET(fd, &fdset) includes a particular file descriptor fd in fdset. 139 ** PR_FD_CLR(fd, &fdset) removes a file descriptor fd from fdset. 140 ** PR_FD_ISSET(fd, &fdset) is nonzero if file descriptor fd is a member of 141 ** fdset, zero otherwise. 143 ** PR_FD_NSET(osfd, &fdset) includes a particular native file descriptor osfd 144 ** in fdset [all...] |
/frameworks/base/core/jni/ |
com_android_internal_os_ZygoteInit.cpp | 194 fd_set fdset; local 200 FD_ZERO(&fdset); 216 FD_SET(fd, &fdset); 225 err = select (nfds, &fdset, NULL, NULL, NULL); 245 if (FD_ISSET(fd, &fdset)) {
|
/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/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)
|
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);
|
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)
|
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);
|
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...] |
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...] |
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)
|
physical.c | 411 const fd_set *fdset __unused) 543 const fd_set *fdset __unused) 862 log_Printf(LogTIMER, "%s: fdset(r) %d\n", p->link.name, p->fd); 867 log_Printf(LogTIMER, "%s: fdset(e) %d\n", p->link.name, p->fd); 872 log_Printf(LogTIMER, "%s: fdset(w) %d\n", p->link.name, p->fd); 914 physical_IsSet(struct fdescriptor *d, const fd_set *fdset) 917 return p->fd >= 0 && FD_ISSET(p->fd, 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)
|
mp.c | 1064 log_Printf(LogTIMER, "mp: fdset(r) %d\n", s->fd); 1071 mpserver_IsSet(struct fdescriptor *d, const fd_set *fdset) 1074 return s->fd >= 0 && FD_ISSET(s->fd, fdset); 1079 const fd_set *fdset __unused) 1088 const fd_set *fdset __unused) [all...] |
/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/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/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/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/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/ipod/ |
SDL_ipodvideo.c | 471 fd_set fdset; local 479 FD_ZERO (&fdset); 481 FD_SET (kbfd, &fdset); 485 if (select (max_fd + 1, &fdset, 0, 0, &zero) > 0) {
|