Home
last modified time | relevance | path

Searched refs:fdset (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-fdset.c15 _cleanup_fdset_free_ FDSet *fdset = NULL; in TEST() local
20 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() local
35 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 …]
Dmeson.build193 [files('test-fdset.c')],
/systemd-251/src/basic/
Dfd-util.c176 _pure_ static bool fd_in_set(int fd, const int fdset[], size_t n_fdset) { in fd_in_set() argument
177 assert(n_fdset == 0 || fdset); in fd_in_set()
180 if (fdset[i] == fd) in fd_in_set()
/systemd-251/src/shared/
Dmeson.build126 'fdset.c',
127 'fdset.h',