/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/google/contexthub/contexthubhal/ |
H A D | nanohubhal.cpp | 113 static bool init_inotify(pollfd *pfd) { argument 117 pfd->fd = inotify_init1(IN_NONBLOCK); 118 if (pfd->fd < 0) { 120 } else if (inotify_add_watch(pfd->fd, NANOHUB_LOCK_DIR, IN_CREATE | IN_DELETE) < 0) { 122 close(pfd->fd); 124 pfd->events = POLLIN; 131 static void discard_inotify_evt(pollfd &pfd) { argument 132 if ((pfd.revents & POLLIN)) { 134 int ret = read(pfd.fd, buf, sizeof(buf)); 139 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 | 705 struct pollfd pfd = { local 721 pfd.revents = 0; 729 int nfds = poll(&pfd, 1, 5000); 741 if (pfd.revents & POLLIN) { 743 disconnected = pfd.revents & (POLLERR | POLLHUP);
|
/device/google/contexthub/sensorhal/ |
H A D | hubconnection.cpp | 1028 struct pollfd *pfd = &mPollFds[mInotifyPollIndex]; local 1033 int ret = poll(pfd, 1, 5000); 1034 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...] |