Home
last modified time | relevance | path

Searched refs:d_name_offset (Results 1 – 3 of 3) sorted by relevance

/external/strace/
Ddirent64.c42 const unsigned int d_name_offset = offsetof(struct dirent64, d_name); in SYS_FUNC() local
61 else if (tcp->u_rval < (int) d_name_offset) in SYS_FUNC()
80 for (i = 0; len && i <= len - d_name_offset; ) { in SYS_FUNC()
84 if (d->d_reclen >= d_name_offset in SYS_FUNC()
86 d_name_len = d->d_reclen - d_name_offset; in SYS_FUNC()
88 d_name_len = len - i - d_name_offset; in SYS_FUNC()
109 if (d->d_reclen < d_name_offset) { in SYS_FUNC()
/external/strace/tests/
Dgetdents.c82 const unsigned int d_name_offset = offsetof(kernel_dirent, d_name); in print_dirent() local
83 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent()
Dgetdents64.c89 const unsigned int d_name_offset = offsetof(kernel_dirent64, d_name); in print_dirent() local
90 int d_name_len = d->d_reclen - d_name_offset; in print_dirent()