Lines Matching refs:d_name
103 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) && *s)
151 strcpy(up->d_name, tmp);
152 up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - tmp) + 1;