Searched defs:pfd (Results 1 - 7 of 7) sorted by relevance
/system/core/libcutils/ |
H A D | abort_socket.c | 71 struct pollfd pfd[2]; local 73 pfd[0].fd = s->fd; 74 pfd[0].events = POLLOUT; 75 pfd[0].revents = 0; 76 pfd[1].fd = s->abort_fd[0]; 77 pfd[1].events = POLLIN; 78 pfd[1].revents = 0; 81 ret = poll(pfd, 2, timeout); 92 if (pfd[1].revents) { 98 if (pfd[ 123 struct pollfd pfd[2]; local 168 struct pollfd pfd[2]; local 214 struct pollfd pfd[2]; local [all...] |
/system/extras/fatblock/ |
H A D | fatblock.h | 53 struct pooled_fd pfd; member in struct:file
|
H A D | fdpool.c | 75 static void fdpool_clear(struct pooled_fd *pfd) argument 77 assert(pfd); 79 pfd->fd = INVALID_FD; 80 pfd->prev = pfd->next = NULL; 83 static void fdpool_unpool(struct pooled_fd *pfd) argument 85 close(pfd->fd); 86 fdpool_clear(pfd); 97 static void fdpool_pool(struct pooled_fd *pfd, int fd) argument 102 fdpool_insert_head(pfd); 106 fdpool_touch(struct pooled_fd *pfd) argument 114 fdpool_init(struct pooled_fd *pfd) argument 119 fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags) argument 140 fdpool_close(struct pooled_fd *pfd) argument [all...] |
/system/bluetooth/tools/ |
H A D | pipetest.c | 107 struct pollfd pfd; local 109 pfd.fd = fd; 110 pfd.events = 0; 111 _poll(&pfd, 1, -1); 117 struct pollfd pfd; local 119 pfd.fd = fd; 120 pfd.events = POLLIN; 121 _poll(&pfd, 1, -1); 127 struct pollfd pfd; local 130 pfd [all...] |
H A D | asocket_test.c | 326 struct pollfd pfd; local 328 pfd.fd = fd; 329 pfd.events = 0; 330 _poll(&pfd, 1, -1); 343 struct pollfd pfd; local 345 pfd.fd = fd; 346 pfd.events = POLLIN; 347 _poll(&pfd, 1, -1);
|
H A D | socktest.c | 340 struct pollfd pfd; local 342 pfd.fd = fd; 343 pfd.events = 0; 344 _poll(&pfd, 1, -1); 357 struct pollfd pfd; local 359 pfd.fd = fd; 360 pfd.events = POLLIN; 361 _poll(&pfd, 1, -1);
|
/system/core/libnetutils/ |
H A D | dhcpclient.c | 398 struct pollfd pfd; local 420 pfd.fd = s; 421 pfd.events = POLLIN; 422 pfd.revents = 0; 423 r = poll(&pfd, 1, timeout);
|
Completed in 122 milliseconds