Searched refs:namlen (Results 1 - 25 of 45) sorted by relevance

12

/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/
H A Dibcs2_dirent.h50 #define IBCS2_RECLEN(de,namlen) ALIGN((IBCS2_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_dirent.h54 #define LINUX_RECLEN(de,namlen) ALIGN((LINUX_NAMEOFF(de) + (namlen) + 2))
/netbsd-6-1-5-RELEASE/sys/compat/osf1/
H A Dosf1_dirent.h45 #define OSF1_RECLEN(de,namlen) ALIGN((OSF1_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/compat/sunos/
H A Dsunos_dirent.h46 #define SUNOS_RECLEN(de,namlen) ALIGN((SUNOS_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/compat/sunos32/
H A Dsunos32_dirent.h47 #define SUNOS32_RECLEN(de,namlen) ALIGN((SUNOS32_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/compat/svr4/
H A Dsvr4_dirent.h52 #define SVR4_RECLEN(de,namlen) ALIGN((SVR4_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_dirent.h53 #define SVR4_32_RECLEN(de,namlen) ALIGN32((SVR4_32_NAMEOFF(de) + (namlen) + 1))
/netbsd-6-1-5-RELEASE/sys/sys/
H A Ddirent.h101 * a name of size "namlen". This requires the amount of space in struct dirent
103 * null byte (namlen+1), rounded up to a the appropriate byte boundary.
105 #define _DIRENT_RECLEN(dp, namlen) \
106 ((_DIRENT_NAMEOFF(dp) + (namlen) + 1 + _DIRENT_ALIGN(dp)) & \
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Ddir.h114 #define DIRECTSIZ(namlen) \
115 ((sizeof(struct direct) - (FFS_MAXNAMLEN+1)) + (((namlen)+1 + 3) &~ 3))
H A Dufs_lookup.c137 int namlen, error; local
354 namlen = ep->d_type;
356 namlen = ep->d_namlen;
359 namlen = ep->d_type;
361 namlen = ep->d_namlen;
363 if (namlen == cnp->cn_namelen &&
365 (unsigned)namlen)) {
677 int namlen; local
684 namlen = ep->d_type;
686 namlen
1183 int error, namlen; local
1245 int error, rootino, namlen; local
1319 int namlen, error; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetcwd.c321 size_t namlen = _D_EXACT_NAMLEN (d);
323 if (dirroom <= namlen)
335 allocated += MAX (allocated, namlen);
348 dirp -= namlen;
349 memcpy (dirp, d->d_name, namlen);
320 size_t namlen = _D_EXACT_NAMLEN (d); local
/netbsd-6-1-5-RELEASE/sys/fs/adosfs/
H A Dadutil.c200 adoshash(const u_char *nam, int namlen, int nelt, int inter) argument
204 val = namlen;
205 while (namlen--)
H A Dadvfsops.c359 int namlen, error; local
424 namlen = strlen(nam);
429 ap->slinkto = malloc(namlen + 1, M_ANODE, M_WAITOK);
430 memcpy(ap->slinkto, nam, namlen);
432 ap->slinkto = malloc(namlen + 1, M_ANODE, M_WAITOK);
433 memcpy(ap->slinkto, nam, namlen);
436 ap->slinkto = malloc(namlen + 2, M_ANODE, M_WAITOK);
438 memcpy(&ap->slinkto[1], nam, namlen);
440 namlen++;
442 ap->slinkto[namlen]
[all...]
/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Dminixfs3.c415 int namlen; local
442 namlen = sizeof(dp->mfsd_name);
444 namlen = cp - (dp->mfsd_name);
446 if (namlen == length &&
862 int namlen; local
876 namlen = sizeof(dp->mfsd_name);
878 namlen = cp - (dp->mfsd_name);
880 n = alloc(sizeof *n + namlen);
887 strncpy(n->e_name, dp->mfsd_name, namlen);
888 n->e_name[namlen]
[all...]
H A Dcd9660.c65 char namlen [ISODCL( 1, 1)]; /* 711 */ member in struct:ptable_ent
72 #define PTSIZE(pp) roundup(PTFIXSZ + isonum_711((pp)->namlen), 2)
86 for (i = isonum_711(pp->namlen); --i >= 0; path++, cp++) {
216 path += isonum_711(pp->namlen) + 1;
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/
H A Dext2fs_lookup.c284 int namlen, error; local
453 namlen = ep->e2d_namlen;
454 if (namlen == cnp->cn_namelen &&
456 (unsigned)namlen)) {
714 int namlen = de->e2d_namlen; local
720 else if (namlen > EXT2FS_MAXNAMLEN)
721 error_msg = "namlen > EXT2FS_MAXNAMLEN";
722 else if (reclen < EXT2FS_DIRSIZ(namlen))
735 reclen, namlen);
974 int error, namlen; local
1024 int error, rootino, namlen; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dieee.c77 unsigned long namlen; member in struct:ieee_var
951 unsigned long namlen; local
962 || ! ieee_read_id (info, pp, &name, &namlen))
972 namcopy = savestring (name, namlen);
1048 namcopy = savestring (name, namlen);
1076 namcopy = savestring (name, namlen);
1084 namcopy = savestring (name, namlen);
1104 if (namlen == 0)
1119 if (strncmp (name, "__XRYCPP", namlen) == 0)
1145 namcopy = savestring (name, namlen);
1342 unsigned long namlen; local
1503 unsigned long namlen; local
1552 unsigned long namlen; local
1603 unsigned long namlen; local
1691 unsigned long namlen; local
1774 unsigned long namlen; local
1828 unsigned long namlen; local
2091 unsigned long namlen; local
2476 unsigned long namlen; local
2506 unsigned long namlen, mangledlen, classlen; local
2551 unsigned long namlen; member in struct:ieee_method
2900 unsigned long namlen, mangledlen; local
3309 unsigned long classlen, namlen; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Dcoff-rs6000.c262 bfd_size_type namlen; member in struct:member_layout
305 info->namlen = strlen (info->name);
306 info->padded_namlen = info->namlen + (info->namlen & 1);
1260 size_t namlen;
1294 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1295 off = ((namlen + 1) & ~ (size_t) 1) + SXCOFFARFMAG;
1349 namlen = strtol (hdr.namlen, (cha
1257 size_t namlen; local
1517 bfd_size_type namlen; local
1771 size_t namlen; local
2203 bfd_size_type namlen; local
2297 bfd_size_type namlen; local
2424 bfd_size_type namlen; local
2529 size_t namlen; local
[all...]
H A Dvms-lib.c1515 unsigned short namlen; member in struct:lib_index
1543 if (idx->namlen > MAX_KEYLEN)
1546 return 9 + idx->namlen;
1549 return 7 + idx->namlen;
1609 if (is_elfidx && idx->namlen >= MAX_KEYLEN)
1612 unsigned int kl = idx->namlen;
1779 bfd_putl16 (idx->namlen, k->keylen);
1786 bfd_putl16 (idx->namlen, en->keylen);
1787 memcpy (en->keyname, idx->name, idx->namlen);
1794 en->keylen = idx->namlen;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/
H A Dcoff-rs6000.c262 bfd_size_type namlen; member in struct:member_layout
305 info->namlen = strlen (info->name);
306 info->padded_namlen = info->namlen + (info->namlen & 1);
1260 size_t namlen;
1294 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1295 off = ((namlen + 1) & ~ (size_t) 1) + SXCOFFARFMAG;
1349 namlen = strtol (hdr.namlen, (cha
1257 size_t namlen; local
1517 bfd_size_type namlen; local
1771 size_t namlen; local
2203 bfd_size_type namlen; local
2297 bfd_size_type namlen; local
2424 bfd_size_type namlen; local
2529 size_t namlen; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dcollect2-aix.c174 size_t namlen; local
180 && PARSE_INTEGER (namlen, member.ar_namlen)
183 && namlen > 0
190 offset += sizeof (member) + namlen + SXCOFFARFMAG;
/netbsd-6-1-5-RELEASE/usr.bin/passwd/
H A Dyp_passwd.c171 int reason, vallen, namlen = (int)strlen(nam); local
177 reason = yp_match(domain, "master.passwd.byname", nam, namlen,
180 reason = yp_match(domain, "passwd.byname", nam, namlen,
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/include/coff/
H A Dxcoff.h507 char namlen[4]; member in struct:xcoff_ar_hdr
510 name is given in the namlen field. If the length of the name is
513 namlen. The contents of the archive member follow; the number of
545 char namlen[4]; member in struct:xcoff_ar_hdr_big
548 name is given in the namlen field. If the length of the name is
551 namlen. The contents of the archive member follow; the number of
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/include/coff/
H A Dxcoff.h507 char namlen[4]; member in struct:xcoff_ar_hdr
510 name is given in the namlen field. If the length of the name is
513 namlen. The contents of the archive member follow; the number of
545 char namlen[4]; member in struct:xcoff_ar_hdr_big
548 name is given in the namlen field. If the length of the name is
551 namlen. The contents of the archive member follow; the number of
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dinode.c579 u_int16_t namlen = dirp->e2d_namlen; local
582 if (namlen > MAXPATHLEN) {
584 namlen = MAXPATHLEN;
589 (void)memcpy(buf, dirp->e2d_name, (size_t)namlen);
590 buf[namlen] = '\0';

Completed in 231 milliseconds

12