Home
last modified time | relevance | path

Searched refs:reclen (Results 1 – 7 of 7) sorted by relevance

/glibc-2.36/sysdeps/unix/sysv/linux/
Dreaddir64_r.c34 size_t reclen; in __readdir64_r() local
76 reclen = dp->d_reclen; in __readdir64_r()
78 dirp->offset += reclen; in __readdir64_r()
82 if (reclen > offsetof (struct dirent64, d_name) + NAME_MAX + 1) in __readdir64_r()
89 reclen = offsetof (struct dirent64, d_name) + namelen + 1; in __readdir64_r()
105 *result = memcpy (entry, dp, reclen); in __readdir64_r()
106 entry->d_reclen = reclen; in __readdir64_r()
139 size_t reclen;
181 reclen = dp->d_reclen;
183 dirp->offset += reclen;
[all …]
Dreaddir_r.c27 size_t reclen; in __readdir_r() local
37 reclen = dp->d_reclen; in __readdir_r()
38 if (reclen <= offsetof (struct dirent, d_name) + NAME_MAX + 1) in __readdir_r()
46 reclen = offsetof (struct dirent, d_name) + namelen + 1; in __readdir_r()
56 *result = memcpy (entry, dp, reclen); in __readdir_r()
57 entry->d_reclen = reclen; in __readdir_r()
Dreaddir64.c42 size_t reclen; in __readdir64() local
74 reclen = dp->d_reclen; in __readdir64()
76 dirp->offset += reclen; in __readdir64()
120 size_t reclen;
152 reclen = dp->d_reclen;
154 dirp->offset += reclen;
Dgetdents64.c98 unsigned int reclen = source->d_reclen;
110 result.d_reclen = reclen;
123 reclen - offsetof (struct dirent64, d_name));
125 p += reclen;
Dreaddir.c33 size_t reclen; in __readdir_unlocked() local
65 reclen = dp->d_reclen; in __readdir_unlocked()
67 dirp->offset += reclen; in __readdir_unlocked()
/glibc-2.36/ChangeLog.old/
DChangeLog.712020 only reclen bytes.
DChangeLog.1895382 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more