/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
H A D | select.c | 114 struct pollfd pfd;
local 128 pfd.fd = fd;
129 pfd.events = flag[msk];
130 pfd.revents = 0;
131 FdCount = poll ( &pfd, 1, 0 );
|
H A D | SysCalls.c | 744 @param[in] pfd Address of an array of pollfd structures.
756 struct pollfd * pfd,
805 pPollFD = pfd;
755 poll( struct pollfd * pfd, nfds_t nfds, int timeout ) argument
|
/device/asus/fugu/libaudio/ |
H A D | AudioHotplugThread.cpp | 353 struct pollfd pfd = {mShutdownEventFD, POLLIN, 0}; local 354 if (poll(&pfd, 1, kOpenTimeoutMs) == -1) { 357 } else if (pfd.revents & POLLIN) {
|
/device/google/contexthub/contexthubhal/ |
H A D | nanohubhal.cpp | 111 static bool init_inotify(pollfd *pfd) { argument 115 pfd->fd = inotify_init1(IN_NONBLOCK); 116 if (pfd->fd < 0) { 118 } else if (inotify_add_watch(pfd->fd, NANOHUB_LOCK_DIR, IN_CREATE | IN_DELETE) < 0) { 120 close(pfd->fd); 122 pfd->events = POLLIN; 129 static void discard_inotify_evt(pollfd &pfd) { argument 130 if ((pfd.revents & POLLIN)) { 132 int ret = read(pfd.fd, buf, sizeof(buf)); 137 static void wait_on_dev_lock(pollfd &pfd) { argument [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | res_send.c | 559 struct pollfd pfd;
local 698 pfd.fd = s;
699 pfd.events = POLLIN;
706 n = poll(&pfd, 1, msec);
|
/device/generic/goldfish/fingerprint/ |
H A D | fingerprint.c | 687 struct pollfd pfd = { local 703 pfd.revents = 0; 711 int nfds = poll(&pfd, 1, 5000); 723 if (pfd.revents & POLLIN) { 725 disconnected = pfd.revents & (POLLERR | POLLHUP);
|
/device/google/contexthub/sensorhal/ |
H A D | hubconnection.cpp | 883 struct pollfd *pfd = &mPollFds[mInotifyPollIndex]; local 888 int ret = poll(pfd, 1, 5000); 889 if ((ret > 0) && (pfd->revents & POLLIN)) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
H A D | selectmodule.c | 849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
argument 858 fd = PyObject_AsFileDescriptor(pfd);
900 PyObject *pfd;
local 905 &pfd, &events)) {
909 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
925 PyObject *pfd;
local 930 &pfd, &events)) {
934 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
946 PyObject *pfd;
local 950 &pfd)) {
1246 PyObject *pfd; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
H A D | selectmodule.c | 883 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
argument 892 fd = PyObject_AsFileDescriptor(pfd);
934 PyObject *pfd;
local 939 &pfd, &events)) {
943 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
959 PyObject *pfd;
local 964 &pfd, &events)) {
968 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
980 PyObject *pfd;
local 984 &pfd)) {
1297 PyObject *pfd; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | selectmodule.c | 849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
argument 858 fd = PyObject_AsFileDescriptor(pfd);
900 PyObject *pfd;
local 905 &pfd, &events)) {
909 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
925 PyObject *pfd;
local 930 &pfd, &events)) {
934 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
946 PyObject *pfd;
local 950 &pfd)) {
1246 PyObject *pfd; local [all...] |