Searched refs:fdset (Results 1 – 4 of 4) sorted by relevance
15 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST() local20 assert_se(fdset_new_fill(&fdset) >= 0); in TEST()21 assert_se(fdset_contains(fdset, fd)); in TEST()29 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST() local35 fdset = fdset_new(); in TEST()36 assert_se(fdset); in TEST()37 copyfd = fdset_put_dup(fdset, fd); in TEST()39 assert_se(fdset_contains(fdset, copyfd)); in TEST()40 assert_se(!fdset_contains(fdset, fd)); in TEST()47 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST() local[all …]
193 [files('test-fdset.c')],
176 _pure_ static bool fd_in_set(int fd, const int fdset[], size_t n_fdset) { in fd_in_set() argument177 assert(n_fdset == 0 || fdset); in fd_in_set()180 if (fdset[i] == fd) in fd_in_set()
126 'fdset.c',127 'fdset.h',