/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | gdb_dirent.h | 1 /* Portable <dirent.h>. 26 # include <dirent.h> /* OK: dirent.h */ 27 # define NAMELEN(dirent) strlen ((dirent)->d_name) /* OK: strlen d_name */ 29 # define dirent direct macro 30 # define NAMELEN(dirent) (dirent)->d_namelen /* OK: d_namelen */
|
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | dirent.h | 34 #include_next <sys/dirent.h> 36 typedef struct dirent dirent64_t; 39 #define dirent64 dirent 43 #define DIRENT64_RECLEN(len) ((sizeof(struct dirent) - \ 44 sizeof(((struct dirent *)NULL)->d_name) + \
|
/freebsd-10.1-release/lib/libc/gen/ |
H A D | scandir.c | 40 * struct dirent (through namelist). Returns -1 if there were any errors. 44 #include <dirent.h> 53 * entry. This requires the amount of space in struct dirent without the 59 ((sizeof(struct dirent) - sizeof(dp)->d_name) + \ 63 scandir(const char *dirname, struct dirent ***namelist, 64 int (*select)(const struct dirent *), int (*dcomp)(const struct dirent **, 65 const struct dirent **)) 67 struct dirent *d, *p, **names = NULL; 76 names = (struct dirent **)mallo [all...] |
H A D | dirfd.c | 35 #include <dirent.h>
|
H A D | readdir.c | 38 #include <dirent.h> 51 struct dirent * 56 struct dirent *dp; 72 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc); 87 struct dirent * 91 struct dirent *dp; 106 struct dirent *entry; 107 struct dirent **result; 109 struct dirent *dp;
|
H A D | seekdir.c | 38 #include <dirent.h>
|
H A D | telldir.h | 64 struct dirent *_readdir_unlocked(DIR *, int);
|
/freebsd-10.1-release/include/ |
H A D | dirent.h | 29 * @(#)dirent.h 8.2 (Berkeley) 7/28/94 41 #include <sys/dirent.h> 78 int alphasort(const struct dirent **, const struct dirent **); 89 struct dirent * 92 int readdir_r(DIR *, struct dirent *, struct dirent **); 96 int scandir(const char *, struct dirent ***, 97 int (*)(const struct dirent *), int (*)(const struct dirent **, [all...] |
/freebsd-10.1-release/sys/sys/ |
H A D | dir.h | 39 #warning "The information in this file should be obtained from <dirent.h>" 43 #include <dirent.h> 48 #define direct dirent
|
H A D | dirent.h | 29 * @(#)dirent.h 8.3 (Berkeley) 8/10/94 40 * The dirent structure defines the format of directory entries returned by 43 * A directory entry has a struct dirent at the front of it, containing its 50 struct dirent { struct 93 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
/freebsd-10.1-release/contrib/libarchive/tar/ |
H A D | bsdtar_platform.h | 70 * Include "dirent.h" (or its equivalent on several different platforms). 73 * In particular, FreeBSD includes d_namlen in its dirent structure, 78 # include <dirent.h> 80 # define DIRENT_NAMLEN(dirent) (dirent)->d_namlen 82 # define DIRENT_NAMLEN(dirent) strlen((dirent)->d_name) 85 # define dirent direct macro 86 # define DIRENT_NAMLEN(dirent) (dirent) [all...] |
/freebsd-10.1-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 34 # include <dirent.h> 35 # define NAMLEN(dirent) strlen((dirent)->d_name) 37 # define dirent direct macro 38 # define NAMLEN(dirent) (dirent)->d_namlen 74 struct dirent *dent;
|
H A D | bsd-nextstep.h | 38 /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ 39 #define dirent direct macro
|
/freebsd-10.1-release/contrib/libreadline/ |
H A D | posixdir.h | 21 /* This file should be included instead of <dirent.h> or <sys/dir.h>. */ 27 # include <dirent.h> 43 # if !defined (dirent) 44 # define dirent direct macro 45 # endif /* !dirent */
|
/freebsd-10.1-release/sys/fs/nandfs/ |
H A D | nandfs_dir.c | 44 #include <sys/dirent.h> 59 struct nandfs_dir_entry *dirent, *pdirent; local 123 /* Create new dirent */ 124 dirent = (struct nandfs_dir_entry *) (pos + off); 125 dirent->rec_len = blocksize - off; 126 dirent->inode = ino; 127 dirent->name_len = namelen; 128 memset(dirent->name, 0, NANDFS_DIR_NAME_LEN(namelen)); 129 memcpy(dirent->name, nameptr, namelen); 130 dirent 155 struct nandfs_dir_entry *dirent, *pdirent; local 239 struct nandfs_dir_entry *dirent; local 264 struct nandfs_dir_entry *dirent; local [all...] |
/freebsd-10.1-release/contrib/subversion/subversion/include/ |
H A D | svn_dirent_uri.h | 28 * - a dirent is a path on (local) disc or a UNC path (Windows) in 45 * to any other relative path, uri or dirent. A relative path is 54 * the path string if it's a dirent or a URI, it's up to the API user to 94 * on your computer, it's a dirent. 101 * (such as a dirent or URL), it's a relpath. 124 * source -- such as from the network -- is converted to a dirent it 148 /** Convert @a dirent from the local style to the canonical internal style. 156 svn_dirent_internal_style(const char *dirent, 159 /** Convert @a dirent from the internal style to the local style. 168 svn_dirent_local_style(const char *dirent, [all...] |
/freebsd-10.1-release/lib/libstand/ |
H A D | readdir.c | 33 struct dirent * 36 static struct dirent dir; /* XXX not thread safe */
|
/freebsd-10.1-release/contrib/ncurses/progs/ |
H A D | progs.priv.h | 68 # include <dirent.h> 69 # define NAMLEN(dirent) strlen((dirent)->d_name) 74 # define DIRENT struct dirent 77 # define DIRENT struct dirent 81 # define NAMLEN(dirent) (dirent)->d_namlen
|
/freebsd-10.1-release/sbin/fsck_msdosfs/ |
H A D | dir.c | 447 struct dosDirEntry dirent, *d; local 606 memset(&dirent, 0, sizeof dirent); 612 dirent.flags = p[11]; 618 dirent.name[j] = p[j]; 619 dirent.name[8] = '\0'; 620 for (k = 7; k >= 0 && dirent.name[k] == ' '; k--) 621 dirent.name[k] = '\0'; 622 if (dirent.name[k] != '\0') 624 if (dirent [all...] |
/freebsd-10.1-release/crypto/openssh/ |
H A D | sftp-glob.c | 25 #include <dirent.h> 64 static struct dirent * 67 /* Solaris needs sizeof(dirent) + path length (see below) */ 68 static char buf[sizeof(struct dirent) + MAXPATHLEN]; 69 struct dirent *ret = (struct dirent *)buf; 80 * Solaris defines dirent->d_name as a one byte array and expects 91 * Idiot glibc uses extensions to struct dirent for readdir with 141 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir;
|
/freebsd-10.1-release/contrib/subversion/subversion/svn/ |
H A D | list-cmd.c | 58 const svn_dirent_t *dirent, 83 if (dirent->kind == svn_node_file) 124 apr_time_exp_lt(&exp_time, dirent->time); 125 if (apr_time_sec(now - dirent->time) < (365 * 86400 / 2) 126 && apr_time_sec(dirent->time - now) < (365 * 86400 / 2)) 145 dirent->size); 149 dirent->created_rev, 150 dirent->last_author ? dirent->last_author : " ? ", 152 (dirent 55 print_dirent(void *baton, const char *path, const svn_dirent_t *dirent, const svn_lock_t *lock, const char *abs_path, const char *external_parent_url, const char *external_target, apr_pool_t *scratch_pool) argument 168 print_dirent_xml(void *baton, const char *path, const svn_dirent_t *dirent, const svn_lock_t *lock, const char *abs_path, const char *external_parent_url, const char *external_target, apr_pool_t *scratch_pool) argument [all...] |
/freebsd-10.1-release/contrib/groff/src/libs/libgroff/ |
H A D | maxfilename.cpp | 41 #include <dirent.h>
|
H A D | maxpathname.cpp | 43 # include <dirent.h>
|
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | dirent_uri.c | 123 /* Calculates the length of the dirent absolute or non absolute root in 124 DIRENT, return 0 if dirent is not rooted */ 126 dirent_root_length(const char *dirent, apr_size_t len) 129 if (len >= 2 && dirent[1] == ':' && 130 ((dirent[0] >= 'A' && dirent[0] <= 'Z') || 131 (dirent[0] >= 'a' && dirent[0] <= 'z'))) 133 return (len > 2 && dirent[2] == '/') ? 3 : 2; 136 if (len > 2 && dirent[ 125 dirent_root_length(const char *dirent, apr_size_t len) argument 168 dirent_previous_segment(const char *dirent, apr_size_t len) argument 224 dirent_is_rooted(const char *dirent) argument 875 svn_dirent_internal_style(const char *dirent, apr_pool_t *pool) argument 881 svn_dirent_local_style(const char *dirent, apr_pool_t *pool) argument 914 svn_dirent_is_root(const char *dirent, apr_size_t len) argument 969 char *dirent; local 1043 char *dirent; local 1197 svn_dirent_dirname(const char *dirent, apr_pool_t *pool) argument 1210 svn_dirent_basename(const char *dirent, apr_pool_t *pool) argument 1237 svn_dirent_split(const char **dirpath, const char **base_name, const char *dirent, apr_pool_t *pool) argument 1538 svn_dirent_is_absolute(const char *dirent) argument 1627 svn_dirent_canonicalize(const char *dirent, apr_pool_t *pool) argument 1653 svn_dirent_is_canonical(const char *dirent, apr_pool_t *scratch_pool) argument 2301 svn_uri_get_dirent_from_file_url(const char **dirent, const char *url, apr_pool_t *pool) argument 2416 svn_uri_get_file_url_from_dirent(const char **url, const char *dirent, apr_pool_t *pool) argument [all...] |
/freebsd-10.1-release/gnu/usr.bin/grep/ |
H A D | savedir.c | 34 # include <dirent.h> 35 # define NAMLEN(dirent) strlen((dirent)->d_name) 37 # define dirent direct macro 38 # define NAMLEN(dirent) (dirent)->d_namlen 109 struct dirent *dp;
|