HomeSort by: relevance | last modified time | path
    Searched defs:dirent (Results 1 - 25 of 128) sorted by relevancy

1 2 3 4 5 6

  /src/bin/ksh/
ksh_dir.h 7 # include <dirent.h>
8 # define NLENGTH(dirent) (strlen(dirent->d_name))
10 # define dirent direct macro
11 # define NLENGTH(dirent) (dirent->d_namlen)
  /src/lib/libc/compat/gen/
compat_alphasort.c 6 #include <dirent.h>
7 #include <compat/include/dirent.h>
15 "warning: reference to compatibility alphasort(); include <dirent.h> for correct reference")
18 #define dirent dirent12 macro
compat_opendir.c 8 #include <dirent.h>
9 #include <compat/include/dirent.h>
18 "warning: reference to compatibility opendir(); include <dirent.h> for correct reference")
20 "warning: reference to compatibility __opendir2(); include <dirent.h> for correct reference")
23 #define dirent dirent12 macro
compat_scandir.c 6 #include <dirent.h>
7 #include <compat/include/dirent.h>
15 "warning: reference to compatibility scandir(); include <dirent.h> for correct reference")
18 #define dirent dirent12 macro
  /src/external/bsd/libarchive/dist/tar/
bsdtar_platform.h 44 * Include "dirent.h" (or its equivalent on several different platforms).
47 * In particular, FreeBSD includes d_namlen in its dirent structure,
52 # include <dirent.h>
54 # define DIRENT_NAMLEN(dirent) (dirent)->d_namlen
56 # define DIRENT_NAMLEN(dirent) strlen((dirent)->d_name)
59 # define dirent direct macro
60 # define DIRENT_NAMLEN(dirent) (dirent)->d_namle
    [all...]
  /src/external/gpl3/gdb/dist/readline/readline/
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 */
66 /* Signal the rest of the code that it can safely use dirent.d_fileno */
  /src/external/gpl3/gdb.old/dist/readline/readline/
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 */
66 /* Signal the rest of the code that it can safely use dirent.d_fileno */
  /src/sys/arch/ews4800mips/stand/common/
fileread_bfs.c 51 struct bfs_dirent *dirent = (void *)SDBOOT_DIRENTADDR; local
108 err = dk_read(bfs_sector + inode->start_sector, 1, dirent);
114 for (i = 0; i < n; i++, dirent++)
115 if (strcmp(dirent->name, fname) == 0)
122 DPRINTF("%s (%d)\n", dirent->name, dirent->inode);
123 inode = &inode[dirent->inode - BFS_ROOT_INODE];
  /src/external/bsd/openldap/dist/include/ac/
dirent.h 1 /* $NetBSD: dirent.h,v 1.4 2025/09/05 21:16:20 christos Exp $ */
3 /* Generic dirent.h */
23 # include <dirent.h>
24 # define NAMLEN(dirent) strlen((dirent)->d_name)
30 struct dirent { struct
35 struct dirent data;
40 struct dirent *readdir(DIR *dir);
43 # define dirent direct macro
44 # define NAMLEN(dirent) (dirent)->d_namle
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/
gen-unix.h 32 #include <dirent.h>
36 #include <sys/types.h> /* Required on some systems for dirent.h. */
68 struct dirent *dirent; local
74 dirent = readdir(dir->handle);
75 if (dirent != NULL) {
76 dir->filename = dirent->d_name;
  /src/share/examples/puffs/pgfs/
newfs.sql 56 -- filetype and the dirent table. however, users expect that getattr is
79 -- a row in the dirent table describes a directory entry.
81 CREATE TABLE dirent ( table
90 CREATE INDEX dirent_child ON dirent (child_fileid);
  /src/tests/fs/hfs/
t_pathconvert.c 7 #include <dirent.h>
39 struct dirent *dirent; local
62 for (offset = 0; offset < nbytes; offset += dirent->d_reclen) {
63 dirent = (struct dirent *)(buf + offset);
64 if (strchr(dirent->d_name, '/'))
65 atf_tc_fail("dirent with slash: %s", dirent->d_name);
66 if (0 == strcmp(FUNNY_FILENAME, dirent->d_name)
    [all...]
  /src/external/gpl2/gmake/dist/w32/include/
dirent.h 1 /* Windows version of dirent.h
23 # include_next <dirent.h>
38 struct dirent struct
49 struct dirent dir_sdReturn;
53 struct dirent *readdir(DIR *);
  /src/external/gpl2/xcvs/dist/lib/
glob_.h 53 # define dirent direct macro
  /src/sys/arch/mac68k/nubus/
if_ae_nubus.c 457 nubus_dirent dirent; local
470 &dir, 0x08, &dirent);
475 rv = nubus_find_rsrc(bst, bsh, na->fmt, &dir, 0x80, &dirent);
480 nubus_get_dir_from_rsrc(na->fmt, &dirent, &dir);
481 if (nubus_find_rsrc(bst, bsh, na->fmt, &dir, 0x80, &dirent) <= 0)
484 na->fmt, &dirent, ep, ETHER_ADDR_LEN) <= 0)
grf_nubus.c 139 nubus_dirent dirent; local
160 &sc->sc_slot, &dir, na->rsrcid, &dirent) <= 0) {
166 nubus_get_dir_from_rsrc(&sc->sc_slot, &dirent, &sc->board_dir);
169 &sc->sc_slot, &sc->board_dir, NUBUS_RSRC_TYPE, &dirent) <= 0)
172 &sc->sc_slot, &dir, 129, &dirent) <= 0))
177 &sc->sc_slot, &sc->board_dir, mode, &dirent) <= 0) {
182 nubus_get_dir_from_rsrc(&sc->sc_slot, &dirent, &mode_dir);
185 &sc->sc_slot, &mode_dir, VID_PARAMS, &dirent) <= 0) {
191 &dirent, (void *)&image_store, sizeof(struct image_data)) <= 0) {
  /src/external/gpl2/grep/dist/lib/
savedir.c 33 # include <dirent.h>
34 # define NAMLEN(dirent) strlen((dirent)->d_name)
36 # define dirent direct macro
37 # define NAMLEN(dirent) (dirent)->d_namlen
109 struct dirent *dp;
  /src/external/ibm-public/postfix/dist/src/util/
scan_dir.c 31 /* ".." names are skipped. Essentially, this is <dirent>
74 #include <dirent.h>
76 #define dirent direct macro
183 struct dirent *dp;
  /src/sbin/newfs_sysvbfs/
newfs_sysvbfs.c 183 struct bfs_dirent *dirent = (void *)buf; local
224 /* dirent table */
226 dirent->inode = BFS_ROOT_INODE;
227 strcpy(dirent->name, ".");
228 dirent++;
229 dirent->inode = BFS_ROOT_INODE;
230 strcpy(dirent->name, "..");
232 perror("write dirent");
  /src/sys/fs/tmpfs/
tmpfs_rename.c 423 struct tmpfs_dirent *dirent, **dep_ret = de_ret; local
435 dirent = tmpfs_dir_lookup(VP_TO_TMPFS_NODE(dvp), cnp);
436 if (dirent == NULL)
439 error = vcache_get(mp, &dirent->td_node, sizeof(dirent->td_node), &vp);
444 *dep_ret = dirent;
  /src/sys/sys/
dirent.h 1 /* $NetBSD: dirent.h,v 1.30 2016/01/22 23:31:30 dholland Exp $ */
31 * @(#)dirent.h 8.3 (Berkeley) 8/10/94
41 * The dirent structure defines the format of directory entries returned by
44 * A directory entry has a struct dirent at the front of it, containing its
50 struct dirent { struct
79 * struct direct as well as the exposed struct dirent. The two
85 * The _DIRENT_ALIGN macro returns the alignment of struct dirent.
87 * struct dirent uses 8.
92 * struct dirent
102 * a name of size "namlen". This requires the amount of space in struct dirent
    [all...]
  /src/external/gpl2/lvm2/dist/lib/misc/
lvm-file.c 26 #include <dirent.h>
148 struct dirent *dirent; local
156 while ((dirent = readdir(d)))
157 if (strcmp(dirent->d_name, ".") && strcmp(dirent->d_name, ".."))
164 return dirent ? 0 : 1;
  /src/external/gpl3/gdb/dist/gnulib/import/
dirent.in.h 1 /* A GNU-like <dirent.h>.
36 /* Define types DIR and 'struct dirent'. */
38 struct dirent struct
165 _GL_FUNCDECL_SYS (readdir, struct dirent *, (DIR *dirp) _GL_ARG_NONNULL ((1)));
167 _GL_CXXALIAS_SYS (readdir, struct dirent *, (DIR *dirp));
278 (const char *dir, struct dirent ***namelist,
279 int (*filter) (const struct dirent *),
280 int (*cmp) (const struct dirent **, const struct dirent **))
286 (const char *dir, struct dirent ***namelist
    [all...]
  /src/external/gpl3/gdb.old/dist/gnulib/import/
dirent.in.h 1 /* A GNU-like <dirent.h>.
36 /* Define types DIR and 'struct dirent'. */
38 struct dirent struct
165 _GL_FUNCDECL_SYS (readdir, struct dirent *, (DIR *dirp) _GL_ARG_NONNULL ((1)));
167 _GL_CXXALIAS_SYS (readdir, struct dirent *, (DIR *dirp));
278 (const char *dir, struct dirent ***namelist,
279 int (*filter) (const struct dirent *),
280 int (*cmp) (const struct dirent **, const struct dirent **))
286 (const char *dir, struct dirent ***namelist
    [all...]
  /src/sys/fs/autofs/
autofs_vnops.c 42 #include <sys/dirent.h>
418 struct dirent dirent; local
420 dirent.d_fileno = ino;
421 dirent.d_type = DT_DIR;
422 strlcpy(dirent.d_name, name, sizeof(dirent.d_name));
423 dirent.d_namlen = strlen(dirent.d_name);
424 dirent.d_reclen = _DIRENT_SIZE(&dirent)
438 struct dirent dirent; local
    [all...]

Completed in 60 milliseconds

1 2 3 4 5 6