Searched refs:readdir (Results 1 - 25 of 171) sorted by relevance

1234567

/freebsd-current/tools/test/stress2/misc/
H A Dreaddir.sh29 # readdir(3) fuzzing inspired by the iknowthis test suite
40 sed '1,/^EOF/d' < $here/$0 > readdir.c
41 mycc -o readdir -Wall -Wextra readdir.c || exit 1
42 rm -f readdir.c
50 /tmp/readdir $mntpoint
56 /tmp/readdir /dev/fd
62 /tmp/readdir $mntpoint
69 /tmp/readdir $mntpoint
78 /tmp/readdir
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_dir.c77 entry = readdir(dp);
78 ATF_REQUIRE_MSG(entry != NULL, "readdir[%s] failed: %s",
81 entry = readdir(dp);
82 ATF_REQUIRE_MSG(entry != NULL, "readdir[%s] failed: %s",
86 entry = readdir(dp);
87 ATF_REQUIRE_MSG(entry != NULL, "readdir[%s] failed: %s",
94 entry = readdir(dp);
95 ATF_REQUIRE_MSG(entry != NULL, "readdir[%s] failed: %s",
103 entry = readdir(dp);
104 ATF_REQUIRE_MSG(entry != NULL, "readdir[
[all...]
/freebsd-current/lib/libc/tests/gen/
H A Ddir2_test.c31 * opendir, readdir, seekdir, telldir, closedir, etc
83 de = readdir(dirp);
84 ATF_REQUIRE_MSG(de != NULL, "readdir failed");
88 de = readdir(dirp);
89 ATF_REQUIRE_MSG(de != NULL, "readdir failed");
102 ATF_REQUIRE_MSG(NULL != readdir(dirp), "invalid directory index");
107 ATF_REQUIRE_MSG(NULL != readdir(dirp), "invalid directory index");
112 ATF_REQUIRE_MSG(NULL != readdir(dirp), "invalid directory index");
121 atf_tc_set_md_var(tc, "descr", "Calling telldir(3) after readdir(3) read the last entry in the block should return a valid location");
159 ATF_REQUIRE_MSG(readdir(dir
[all...]
/freebsd-current/lib/libsecureboot/
H A Dveta.c82 for (num = 0, de = readdir(dh); de; de = readdir(dh)) {
/freebsd-current/contrib/lib9p/backend/
H A Dbackend.h59 int (*readdir)(void *, struct l9p_request *); member in struct:l9p_backend
/freebsd-current/tests/sys/fs/fusefs/
H A Dreaddir.cc97 de = readdir(dir);
105 de = readdir(dir);
112 ASSERT_EQ(nullptr, readdir(dir));
132 in.body.readdir.offset == 0);
142 de = readdir(dir);
150 * getdirentries(2) can use a larger buffer size than readdir(3). It also has
169 in.body.readdir.size == 8192);
262 in.body.readdir.size == 8192);
318 ASSERT_EQ(nullptr, readdir(dir));
354 de = readdir(di
[all...]
H A DMakefile44 GTESTS+= readdir
76 # Suppress Wcast-align for readdir.cc, because it is unavoidable when using
78 CXXWARNFLAGS.readdir.cc+= -Wno-cast-align
H A Dreleasedir.cc64 in.body.readdir.offset == 0);
/freebsd-current/share/examples/sunrpc/dir/
H A Ddir_proc.c2 * dir_proc.c: remote readdir implementation
40 while (d = readdir(dirp)) {
/freebsd-current/tools/tools/commitsdb/
H A Dmake_commit_db20 foreach my $f (grep { /[^\.]/ } readdir DIR) {
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dcp_files.c38 while ((dirent = readdir(sdir)) != NULL) {
/freebsd-current/contrib/ntp/tests/libntp/
H A Drealpath.c70 while (NULL != (ent = readdir(dfs))) {
/freebsd-current/usr.sbin/pw/
H A Drm_r.c59 while ((e = readdir(d)) != NULL) {
/freebsd-current/include/
H A Ddirent.h117 readdir(DIR *);
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dgetcwd.c107 errno = 0; /* XXX readdir has no error return. */
164 if (!(dp = readdir(dir)))
171 if (!(dp = readdir(dir)))
221 * If readdir set errno, use it, not any saved error; otherwise,
/freebsd-current/libexec/rbootd/
H A Dparseconf.c332 for (dp = readdir(dfd); dp != NULL; dp = readdir(dfd)) {
/freebsd-current/lib/libc/gen/
H A Dgetcwd.c113 errno = 0; /* XXX readdir has no error return. */
158 if (!(dp = readdir(dir)))
165 if (!(dp = readdir(dir)))
210 * If readdir set errno, use it, not any saved error; otherwise,
H A Dreaddir-compat11.c28 * From: FreeBSD: head/lib/libc/gen/readdir.c 314436 2017-02-28 23:42:47Z imp
111 __sym_compat(readdir, freebsd11_readdir, FBSD_1.0);
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed_file.c128 while ((fdent = readdir(fddir)) != NULL) {
/freebsd-current/crypto/openssl/crypto/
H A DLPdir_unix.c129 direntry = readdir((*ctx)->dir);
/freebsd-current/stand/userboot/
H A Duserboot.h108 int (*readdir)(void *arg, void *h, uint32_t *fileno_return, member in struct:loader_callbacks
/freebsd-current/usr.sbin/cron/cron/
H A Ddatabase.c80 while (NULL != (dp = readdir(dir))) {
131 while (NULL != (dp = readdir(dir))) {
154 while (NULL != (dp = readdir(dir))) {
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c255 while ((ep = readdir(dp))) {
342 while ((ep = readdir(dp))) {
470 while ((ep = readdir(dp))) {
/freebsd-current/tools/build/cross-build/
H A Dclosefrom.c148 while ((dent = readdir(dirp)) != NULL) {
/freebsd-current/contrib/wireguard-tools/
H A Dipc-uapi-unix.h102 while ((ent = readdir(dir))) {

Completed in 202 milliseconds

1234567