Lines Matching defs:happened
158 int i, ret, happened;
178 happened = 0;
182 happened |= *p_sought & (POLLIN | POLLRDNORM);
185 happened |= POLLHUP;
206 happened |= *p_sought & (POLLOUT | POLLWRNORM | POLLWRBAND);
208 return happened;
257 int happened = 0;
260 happened |= (POLLIN | POLLRDNORM) & sought;
273 happened |= (POLLIN | POLLRDNORM) & sought;
278 happened |= POLLHUP;
281 happened |= POLLERR;
285 happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought;
288 happened |= (POLLPRI | POLLRDBAND) & sought;
290 return happened;
299 int happened = 0;
320 happened |= POLLHUP;
322 /* If the event happened on an unconnected server socket,
325 happened |= (POLLIN | POLLRDNORM) & sought;
330 happened |= POLLHUP;
334 happened |= (POLLIN | POLLRDNORM) & sought;
337 happened |= POLLERR;
341 happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought;
344 happened |= (POLLPRI | POLLRDBAND) & sought;
346 return happened;
458 int happened = compute_revents (pfd[i].fd, pfd[i].events,
460 if (happened)
462 pfd[i].revents = happened;
593 int happened;
621 happened = windows_compute_revents_socket ((SOCKET) h, pfd[i].events,
628 happened = windows_compute_revents (h, &sought);
632 if ((pfd[i].revents |= happened) != 0)