Lines Matching refs:events
118 pc.events = POLLIN; in uv__io_check_fd()
135 struct pollfd events[1024]; in uv__io_poll() local
170 pc.events = w->pevents; in uv__io_poll()
174 if (w->events == 0) { in uv__io_poll()
197 if (w->events != 0 || add_failed) { in uv__io_poll()
216 w->events = w->pevents; in uv__io_poll()
245 events, in uv__io_poll()
246 ARRAY_SIZE(events), in uv__io_poll()
293 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
297 pe = events + i; in uv__io_poll()
352 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
654 static int uv__parse_data(char *buf, int *events, uv_fs_event_t* handle) { in uv__parse_data() argument
660 *events = 0; in uv__parse_data()
688 *events = UV_RENAME; in uv__parse_data()
692 *events = UV_CHANGE; in uv__parse_data()
706 *events = UV_RENAME; in uv__parse_data()
708 *events = UV_CHANGE; in uv__parse_data()
723 int events = 0; in uv__ahafs_event() local
746 rc = uv__parse_data(result_data, &events, handle); in uv__ahafs_event()
768 handle->cb(handle, fname, events, 0); in uv__ahafs_event()
1297 struct pollfd* events; in uv__platform_invalidate_fd() local
1305 events = (struct pollfd*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
1308 if (events != NULL) in uv__platform_invalidate_fd()
1311 if ((int) events[i].fd == fd) in uv__platform_invalidate_fd()
1312 events[i].fd = -1; in uv__platform_invalidate_fd()
1315 pc.events = 0; in uv__platform_invalidate_fd()