/original-bsd/lib/libc/gen/ |
H A D | scandir.c | 34 (((dp)->d_namlen + 1 + 3) &~ 3)) 75 p->d_namlen = d->d_namlen; 76 bcopy(d->d_name, p->d_name, p->d_namlen + 1);
|
H A D | getcwd.c | 301 bcopy(dp->d_name, bup, dp->d_namlen + 1); 318 if (bpt - pt <= dp->d_namlen + (first ? 1 : 2)) { 336 bpt -= dp->d_namlen; 337 bcopy(dp->d_name, bpt, dp->d_namlen);
|
/original-bsd/sys/ufs/ffs/ |
H A D | dir.h | 50 u_char d_namlen; /* length of string in d_name */ member 82 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))) 85 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
H A D | ufs_lookup.c | 292 namlen = ep->d_namlen; 296 namlen = ep->d_namlen; 570 namlen = ep->d_namlen; 574 namlen = ep->d_namlen; 628 newdir.d_namlen = cnp->cn_namelen; 635 { u_char tmp = newdir.d_namlen; 636 newdir.d_namlen = newdir.d_type; 855 namlen = dp->d_namlen; 859 namlen = dp->d_namlen;
|
/original-bsd/sys/ufs/ufs/ |
H A D | dir.h | 58 u_int8_t d_namlen; /* length of string in d_name */ member 91 ((sizeof(struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))) 94 ((sizeof(struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
H A D | ufs_lookup.c | 296 namlen = ep->d_namlen; 300 namlen = ep->d_namlen; 594 namlen = ep->d_namlen; 598 namlen = ep->d_namlen; 645 newdir.d_namlen = cnp->cn_namelen; 652 { u_char tmp = newdir.d_namlen; 653 newdir.d_namlen = newdir.d_type; 768 bcmp(ep->d_name, dirp->d_name, dirp->d_namlen) == 0)) { 913 namlen = dp->d_namlen; 917 namlen = dp->d_namlen;
|
/original-bsd/usr.bin/uucp/port/LIBNDIR/ |
H A D | ndir.h | 43 u_short d_namlen; /* length of string in d_name */ member 55 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
H A D | readdir.c | 44 dir.d_namlen = strlen(dir.d_name);
|
/original-bsd/sbin/fsck/ |
H A D | dir.c | 103 tmp = tdp->d_namlen; 104 tdp->d_namlen = tdp->d_type; 116 tmp = tdp->d_namlen; 117 tdp->d_namlen = tdp->d_type; 159 dp->d_namlen = 0; 219 type = dp->d_namlen; 222 namlen = dp->d_namlen; 226 namlen = dp->d_namlen; 331 dirp->d_namlen = newent.d_namlen; 343 tmp = dirp->d_namlen; [all …]
|
H A D | pass2.c | 220 proto.d_namlen = 1; 227 proto.d_type = proto.d_namlen; 228 proto.d_namlen = tmp; 263 proto.d_namlen = 2; 270 proto.d_type = proto.d_namlen; 271 proto.d_namlen = tmp; 324 if (dirp->d_namlen <= 2 && 327 if (dirp->d_namlen == 1) {
|
/original-bsd/sys/isofs/cd9660/ |
H A D | cd9660_vnops.c | 475 dp->d_name[dp->d_namlen] = 0; 508 cl = idp->current.d_namlen; 517 if (!(sl = dp->d_namlen)) { 520 sl = dp->d_namlen - 1; 528 idp->assocent.d_namlen = 0; 533 idp->saveent.d_namlen = 0; 583 idp->saveent.d_namlen = idp->assocent.d_namlen = 0; 674 if (idp->current.d_namlen) 681 idp->current.d_namlen = 1; 685 idp->current.d_namlen = 2; [all …]
|
/original-bsd/usr.sbin/dev_mkdb/ |
H A D | dev_mkdb.c | 109 bcopy(dp->d_name, buf, dp->d_namlen); 110 buf[dp->d_namlen] = '\0'; 111 data.size = dp->d_namlen + 1;
|
/original-bsd/sbin/restore/ |
H A D | dirs.c | 144 nulldir.d_namlen = 1; 238 if (namelen + dp->d_namlen >= MAXPATHLEN) { 242 (void) strncat(locname, dp->d_name, (int)dp->d_namlen); 298 } while (dp->d_namlen != len || strncmp(dp->d_name, name, len) != 0); 331 dp->d_namlen = dp->d_type; 334 dp->d_namlen = dp->d_type; 342 dp->d_namlen > NAME_MAX) { 351 if (dp->d_namlen > NAME_MAX) 354 dp->d_namlen, NAME_MAX); 415 ndp->d_namlen = strlen(ndp->d_name);
|
H A D | interactive.c | 518 if (namelen + dp->d_namlen >= MAXPATHLEN) { 523 (int)dp->d_namlen); 700 adirent.d_namlen = dp->d_namlen; 701 memmove(adirent.d_name, dp->d_name, dp->d_namlen + 1);
|
/original-bsd/sys/sys/ |
H A D | dir.h | 33 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
H A D | dirent.h | 25 u_int8_t d_namlen; /* length of string in d_name */ member
|
/original-bsd/usr.bin/diff/diff/ |
H A D | diffdir.c | 26 short d_namlen; member 207 ep->d_namlen = rp->d_namlen; 210 if (ep->d_namlen > 0) { 211 ep->d_entry = malloc(ep->d_namlen + 1);
|
/original-bsd/sys/news3400/newsos/ |
H A D | news_compat.c | 52 u_short d_namlen; 60 u_short d_namlen; member
|
/original-bsd/sys/stand/ |
H A D | ls.c | 78 if (((DP *)dp)->d_namlen > MAXNAMLEN+1) {
|
/original-bsd/sys/stand.att/ |
H A D | ls.c | 71 if (((DP *)dp)->d_namlen > MAXNAMLEN+1) {
|
/original-bsd/usr.bin/learn/learn/ |
H A D | start.c | 33 n = ep->d_namlen;
|
/original-bsd/sys/miscfs/procfs/ |
H A D | procfs_vnops.c | 723 dp->d_namlen = pt->pt_namlen; 759 dp->d_namlen = i + 1; 760 bcopy("..", dp->d_name, dp->d_namlen); 767 dp->d_namlen = 7; 780 dp->d_namlen = sprintf(dp->d_name, "%ld",
|
/original-bsd/sys/tahoe/stand/ |
H A D | ls.c | 77 if(((struct direct *)dp)->d_namlen > MAXNAMLEN+1)
|
/original-bsd/usr.bin/uucp/libuu/ |
H A D | anlwrk.c | 147 (plen != 2 && (dentp->d_namlen-plen) != 5)) { 151 if (dentp->d_name[dentp->d_namlen-5] > MaxGrade) {
|
/original-bsd/local/sccscmds/sccscmds.2/util/ |
H A D | curdir.c | 69 i = dir->d_namlen; in cat()
|