Searched defs:fds (Results 26 - 29 of 29) sorted by relevance
12
/system/bt/btif/src/ |
H A D | btif_sock_rfc.cc | 202 int fds[2] = {INVALID_FD, INVALID_FD}; local 203 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { 212 slot->fd = fds[0]; 213 slot->app_fd = fds[1];
|
/system/core/logcat/ |
H A D | logcat.cpp | 94 int fds[2]; // From popen call member in struct:android_logcat_context_internal 133 context->fds[0] = -1; 134 context->fds[1] = -1; 181 if (context->fds[1] == fileno(context->output)) { 182 context->fds[1] = -1; 190 if (context->fds[1] == context->output_fd) { 191 context->fds[1] = -1; 217 if (context->fds[1] == fileno(context->error)) { 218 context->fds[1] = -1; 227 if (context->fds[ [all...] |
/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | userial_linux.c | 602 struct pollfd fds[2]; local 618 fds[0].fd = fd; 619 fds[0].events = POLLIN | POLLERR | POLLRDNORM; 620 fds[0].revents = 0; 622 create_signal_fds(&fds[1]); 623 fds[1].events = POLLIN | POLLERR | POLLRDNORM; 624 fds[1].revents = 0; 626 n = TEMP_FAILURE_RETRY(poll(fds, 2, _timeout)); 639 if (is_signaled(&fds[1])) {
|
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 527 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { argument 533 FH fh = _fh_from_int(fds[i].fd, __func__); 535 D("adb_poll received bad FD %d", fds[i].fd); 536 fds[i].revents = POLLNVAL; 541 .events = static_cast<short>(fds[i].events) 544 original.push_back(&fds[i]); 568 if (fds[i].revents != 0) {
|
Completed in 186 milliseconds
12