Lines Matching defs:ndp
53 struct dirent *ndp, *nndp, *endp;
63 ndp = (struct dirent *)(void *)buf;
68 * is smaller than ndp, but it has to be done
71 for (; ndp < endp; ndp = nndp) {
72 nndp = _DIRENT_NEXT(ndp);
75 memcpy(&ino, &ndp->d_ino, sizeof(ino_t));
77 if (ndp->d_namlen >= sizeof(odp->d_name))
80 odp->d_namlen = (u_int8_t)ndp->d_namlen;
81 odp->d_type = ndp->d_type;
82 (void)memcpy(odp->d_name, ndp->d_name, (size_t)odp->d_namlen);