Lines Matching refs:MAKE_SET
36 #define MAKE_SET(s) ((Set*) s)
58 set_free(MAKE_SET(s));
70 while ((p = set_steal_first(MAKE_SET(s)))) {
86 set_free(MAKE_SET(s));
94 return set_put(MAKE_SET(s), FD_TO_PTR(fd));
133 return !!set_get(MAKE_SET(s), FD_TO_PTR(fd));
140 return set_remove(MAKE_SET(s), FD_TO_PTR(fd)) ? fd : -ENOENT;
192 set_free(MAKE_SET(s));
204 SET_FOREACH(p, MAKE_SET(fds), i) {
240 set_free(MAKE_SET(s));
253 SET_FOREACH(e, MAKE_SET(fds), i)
262 return set_size(MAKE_SET(fds));
266 return set_isempty(MAKE_SET(fds));
272 if (!set_iterate(MAKE_SET(s), i, &p))
281 p = set_steal_first(MAKE_SET(fds));