Lines Matching refs:events
115 struct port_event* events; in uv__platform_invalidate_fd() local
122 events = (struct port_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
124 if (events == NULL) in uv__platform_invalidate_fd()
129 if ((int) events[i].portev_object == fd) in uv__platform_invalidate_fd()
130 events[i].portev_object = -1; in uv__platform_invalidate_fd()
148 struct port_event events[1024]; in uv__io_poll() local
190 w->events = w->pevents; in uv__io_poll()
225 events[0].portev_source = 0; in uv__io_poll()
234 events, in uv__io_poll()
235 ARRAY_SIZE(events), in uv__io_poll()
260 if (events[0].portev_source == 0) { in uv__io_poll()
284 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
287 pe = events + i; in uv__io_poll()
342 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
455 int events; in uv__fs_event_read() local
490 events = 0; in uv__fs_event_read()
492 events |= UV_CHANGE; in uv__fs_event_read()
494 events |= UV_RENAME; in uv__fs_event_read()
495 assert(events != 0); in uv__fs_event_read()
497 handle->cb(handle, NULL, events, 0); in uv__fs_event_read()