Searched refs:d_name (Results 1 - 25 of 330) sorted by relevance

1234567891011>>

/macosx-10.10.1/Libc-1044.1.2/include/
H A Ddisktab.h45 char *d_name; /* drive name */ member in struct:disktab
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Ddir.h86 * without the d_name field, plus enough space for the name with a terminating
91 (((unsigned long)&((struct direct *)0)->d_name + (dp)->d_namlen+1 + 3) & ~3)
H A Ddirent.h93 __uint8_t d_namlen; /* length of string in d_name */
94 char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */ member in struct:dirent
106 __uint16_t d_namlen; /* length of string in d_name */ \
108 char d_name[__DARWIN_MAXPATHLEN]; /* entry name (up to MAXPATHLEN bytes) */ \
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/dir/
H A Dgetdents.c103 u = up->d_name;
104 while ((*u = *sp++) && u < up->d_name + MAXNAMLEN) u++;
106 up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - up->d_name) + 1;
120 #define MAXREC roundof(sizeof(*up)-sizeof(up->d_name)+sizeof(sp->d_name)+1,8)
128 char tmp[sizeof(sp->d_name) + 1];
146 s = sp->d_name;
148 while (s < sp->d_name + sizeof(sp->d_name)
[all...]
H A Ddirstd.h45 char d_name[1]; /* entry name */ member in struct:dirent
/macosx-10.10.1/uucp-11/uucp/unix/
H A Dxqtfil.c180 if (qtop->d_name[0] == '.')
185 qtop->d_name);
190 zSdir = zbufcpy (qtop->d_name);
193 zSdir = zsappend3 ("sys", qtop->d_name, "X.");
196 zSdir = zsysdep_in_dir (qtop->d_name, "X.");
200 zSsystem = zbufcpy (qtop->d_name);
219 q->d_name, zSdir);
228 && q->d_name[0] == 'X'
229 && q->d_name[1] == '.')
239 clen = strlen (q->d_name)
[all...]
H A Ddirent.c108 strncpy (q->s.d_name, sdir.d_name, DIRSIZ);
109 q->s.d_name[DIRSIZ] = '\0';
H A Dpicksb.c139 while (strcmp (qentry->d_name, ".") == 0
140 || strcmp (qentry->d_name, "..") == 0);
142 zsystem = qentry->d_name;
171 if (strcmp (qentry->d_name, ".") == 0
172 || strcmp (qentry->d_name, "..") == 0)
176 *pzfull = zsappend3 (zStopdir, zSsysdir, qentry->d_name);
177 return zbufcpy (qentry->d_name);
/macosx-10.10.1/BerkeleyDB-21/db/os/
H A Dos_dir.c50 snprintf(buf, sizeof(buf), "%s/%s", dir, dp->d_name);
72 if (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' ||
73 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
83 if ((ret = __os_strdup(env, dp->d_name, &names[cnt])) != 0)
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/ac/
H A Ddirent.h22 # define NAMLEN(dirent) strlen((dirent)->d_name)
29 char *d_name; member in struct:dirent
/macosx-10.10.1/emacs-93/emacs/mac/inc/
H A Ddirent.h35 char *d_name; member in struct:dirent
/macosx-10.10.1/gnudiff-19/diffutils/src/
H A Ddir.c92 char *d_name = next->d_name; local
96 if (d_name[0] == '.'
97 && (d_name[1] == 0 || (d_name[1] == '.' && d_name[2] == 0)))
100 if (excluded_filename (excluded, d_name))
110 memcpy (data + data_used, d_name, d_size);
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/
H A Dast_dir.h56 #define D_NAMLEN(d) (strlen((d)->d_name))
65 #define D_RECSIZ(d,n) (sizeof(*(d))-sizeof((d)->d_name)+((n)+sizeof(char*))&~(sizeof(char*)-1))
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dscandir.c52 * d_name field, plus enough space for the name and a terminating nul byte
90 bcopy(d->d_name, p->d_name, p->d_namlen + 1);
131 return(strcmp((*(struct dirent **)d1)->d_name,
132 (*(struct dirent **)d2)->d_name));
/macosx-10.10.1/tcl-105/tcl/tcl/compat/
H A Ddirent2.h34 short d_namlen; /* Length of string in d_name */
35 char d_name[MAXNAMLEN + 1]; /* Name must be no longer than this */ member in struct:dirent
H A Dopendir.c92 strncpy(dir.d_name, dp->od_name, ODIRSIZ);
93 dir.d_name[ODIRSIZ] = '\0'; /* insure null termination */
94 dir.d_namlen = strlen(dir.d_name);
/macosx-10.10.1/tcl-105/tcl84/tcl/compat/
H A Ddirent2.h34 short d_namlen; /* Length of string in d_name */
35 char d_name[MAXNAMLEN + 1]; /* Name must be no longer than this */ member in struct:dirent
H A Dopendir.c89 strncpy(dir.d_name, dp->od_name, ODIRSIZ);
90 dir.d_name[ODIRSIZ] = '\0'; /* insure null termination */
91 dir.d_namlen = strlen(dir.d_name);
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-closefrom.c35 # define NAMLEN(dirent) strlen((dirent)->d_name)
82 fd = strtol(dent->d_name, &endp, 10);
83 if (dent->d_name != endp && *endp == '\0' &&
H A Dgetcwd.c48 (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
49 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
173 memcpy(bup, dp->d_name, dp->d_namlen + 1);
210 memcpy(bpt, dp->d_name, dp->d_namlen);
/macosx-10.10.1/sudo-73/src/
H A Dclosefrom.c35 # define NAMLEN(dirent) strlen((dirent)->d_name)
115 fd = strtol(dent->d_name, &endp, 10);
116 if (dent->d_name != endp && *endp == '\0' &&
H A Dgetcwd.c59 # define NAMLEN(dirent) strlen((dirent)->d_name)
77 (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
78 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
204 bcopy(dp->d_name, bup, NAMLEN(dp) + 1);
242 bcopy(dp->d_name, bpt, NAMLEN(dp));
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dscan_dir.c181 if (STREQ(dp->d_name, ".") || STREQ(dp->d_name, "..")) {
183 msg_info("%s: skip %s", myname, dp->d_name);
187 msg_info("%s: found %s", myname, dp->d_name);
188 return (dp->d_name);
/macosx-10.10.1/BerkeleyDB-21/db/clib/
H A Dgetcwd.c44 # define NAMLEN(dirent) strlen((dirent)->d_name)
61 (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
62 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
204 bcopy(dp->d_name, bup, dp->d_namlen + 1);
240 bcopy(dp->d_name, bpt, dp->d_namlen);
/macosx-10.10.1/cups-408/cups/cups/
H A Ddir.c394 entry->d_name));
407 DEBUG_printf(("4cupsDirRead: readdir() returned \"%s\"...", entry->d_name));
415 if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, ".."))
422 strlcpy(dp->entry.filename, entry->d_name, sizeof(dp->entry.filename));
424 snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name);

Completed in 226 milliseconds

1234567891011>>