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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Ddirent.h96 __uint8_t d_namlen; /* length of string in d_name */
97 char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */ member in struct:dirent
109 __uint16_t d_namlen; /* length of string in d_name */ \
111 char d_name[__DARWIN_MAXPATHLEN]; /* entry name (up to MAXPATHLEN bytes) */ \
H A Ddisktab.h38 * Changed d_name and d_type to be char arrays rather than ptrs
82 char d_name[MAXDNMLEN]; /* drive name */ member in struct:disktab
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Ddir.h119 u_int8_t d_namlen; /* length of string in d_name */
120 char d_name[UFSMAXNAMLEN + 1];/* name with length <= UFSMAXNAMLEN */ member in struct:direct
145 * without the d_name field, plus enough space for the name with a terminating
H A Dufs_lookup.c333 !bcmp(cnp->cn_nameptr, ep->d_name,
611 if (ep->d_name[i] == '\0') {
616 if (ep->d_name[i])
651 bcopy(cnp->cn_nameptr, newdir.d_name, (unsigned)cnp->cn_namelen + 1);
769 bcmp(ep->d_name, dirp->d_name, dirp->d_namlen) == 0)) {
978 if (dp->d_name[0] != '.')
987 if (dp->d_name[1] == '.' && dp->d_ino == parentino)
H A Dufs_vnops.c677 bcopy(cnp->cn_nameptr, newdir.d_name, (unsigned)cnp->cn_namelen + 1);
1448 * d_namlen: length of string in d_name
1449 * d_name: null terminated file name
1527 bcopy(dp->d_name, xdp->d_name, dp->d_namlen + 1);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vnops.c338 dp->d_name[dp->d_namlen] = 0;
373 cname = idp->current.d_name;
376 sname = dp->d_name;
514 cd9660_rrip_getname(ep,idp->current.d_name, &namelen,
523 idp->current.d_name, &namelen,
532 strlcpy(idp->current.d_name, "..",
545 idp->current.d_name, &namelen,
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/
H A Dfdesc_vnops.c558 char d_name[8]; member in struct:dirtmp
624 bcopy(dt->d_name, dp->d_name, dp->d_namlen+1);
645 dp->d_namlen = snprintf(dp->d_name, sizeof(dp->d_name),
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_vnops.c2904 char d_name[4]; /* "." or ".." */ member in struct:hfs_stddotentry
2913 u_char d_name[3]; /* "." or ".." */ member in struct:hfs_extdotentry
2931 * u_int8_t d_namlen; // length of string in d_name
2932 * char d_name[MAXNAMELEN+1]; // null terminated file name
3024 entry->d_name[0] = '.';
3025 entry->d_name[1] = '\0';
3026 entry->d_name[2] = '\0';
3034 entry->d_name[0] = '.';
3035 entry->d_name[1] = '.';
3036 entry->d_name[
[all...]
H A Dhfs_catalog.c2664 nameptr = (u_int8_t *)&entry->d_name[0];
2667 nameptr = (u_int8_t *)&catent.d_name[0];
2920 nameptr = (u_int8_t *)&catent.d_name[0];
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_subr.c6590 !((dp->d_namlen == 1 && dp->d_name[0] == '.') ||
6591 (dp->d_namlen == 2 && dp->d_name[0] == '.' && dp->d_name[1] == '.'))) {
6597 strncmp(dp->d_name,"._",2) ||
6598 (dp->d_namlen >= 4 && !strncmp(&(dp->d_name[2]), "._",2))) {
6662 !((dp->d_namlen == 1 && dp->d_name[0] == '.') ||
6663 (dp->d_namlen == 2 && dp->d_name[0] == '.' && dp->d_name[1] == '.'))
6665 NDINIT(&nd_temp, DELETE, USEDVP, UIO_SYSSPACE, CAST_USER_ADDR_T(dp->d_name), ctx);
H A Dvfs_syscalls.c5597 bcopy(dep->d_name, entry64.d_name, dep->d_namlen + 1);
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs4_vnops.c731 strlcpy(dp->d_name, ".", len);
751 strlcpy(dp->d_name, "..", len);
906 dp->d_name[0] = '\0';
H A Dnfs_serv.c4062 nfsm_chain_add_string(error, &nmrep, dp->d_name, nlen);
4273 (dp->d_name[0] == '.') && (dp->d_name[1] == '.'));
4302 nfsm_chain_add_string(error, &nmrep, dp->d_name, nlen);
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Ddevfs_vnops.c1220 strlcpy(dirent.d_name, name, DEVMAXNAMESIZE);
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dtests.c4111 my_dirent_p->d_namlen, &my_dirent_p->d_name[0] );
4118 memcmp( &my_dirent_p->d_name[0], my_file_namep, my_dirent_p->d_namlen ) == 0 ) {

Completed in 135 milliseconds