Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 3 of 3) sorted by relevance

/libev/
H A Dev_poll.c54 int idx; in poll_modify() local
61 idx = pollidxs [fd]; in poll_modify()
63 if (idx < 0) /* need to allocate a new pollfd */ in poll_modify()
65 pollidxs [fd] = idx = pollcnt++; in poll_modify()
67 polls [idx].fd = fd; in poll_modify()
70 assert (polls [idx].fd == fd); in poll_modify()
73 polls [idx].events = in poll_modify()
80 if (expect_true (idx < --pollcnt)) in poll_modify()
82 polls [idx] = polls [pollcnt]; in poll_modify()
83 pollidxs [polls [idx].fd] = idx; in poll_modify()
H A Dev.c1974 #define array_free(stem, idx) \ argument
1975 ev_free (stem ## s idx); stem ## cnt idx = stem ## max idx = 0; stem ## s idx = 0
H A DChanges289 - correctly zero the idx values for arrays, so destroying and