Home
last modified time | relevance | path

Searched refs:d_name_len (Results 1 – 10 of 10) sorted by relevance

/external/strace/
Ddirent64.c86 int d_name_len; in SYS_FUNC() local
89 d_name_len = d->d_reclen - d_name_offset; in SYS_FUNC()
91 d_name_len = len - i - d_name_offset; in SYS_FUNC()
93 if (d_name_len > D_NAME_LEN_MAX) in SYS_FUNC()
94 d_name_len = D_NAME_LEN_MAX; in SYS_FUNC()
105 if (print_quoted_string(d->d_name, d_name_len, in SYS_FUNC()
Ddirent.c121 int d_name_len = oob ? len - i : d->d_reclen; in SYS_FUNC() local
122 d_name_len -= offsetof(kernel_dirent, d_name) + 1; in SYS_FUNC()
123 if (d_name_len > D_NAME_LEN_MAX) in SYS_FUNC()
124 d_name_len = D_NAME_LEN_MAX; in SYS_FUNC()
132 if (print_quoted_string(d->d_name, d_name_len, in SYS_FUNC()
/external/strace/tests-m32/
Dgetdents.c78 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() local
79 assert(d_name_len > 0); in print_dirent()
86 printf("\"%.*s\"", d_name_len, d->d_name); in print_dirent()
Dgetdents64.c87 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() local
88 assert(d_name_len > 0); in print_dirent()
95 printf("\"%.*s\"}", d_name_len, d->d_name); in print_dirent()
/external/strace/tests/
Dgetdents.c78 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() local
79 assert(d_name_len > 0); in print_dirent()
86 printf("\"%.*s\"", d_name_len, d->d_name); in print_dirent()
Dgetdents64.c87 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() local
88 assert(d_name_len > 0); in print_dirent()
95 printf("\"%.*s\"}", d_name_len, d->d_name); in print_dirent()
/external/strace/tests-mx32/
Dgetdents.c78 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() local
79 assert(d_name_len > 0); in print_dirent()
86 printf("\"%.*s\"", d_name_len, d->d_name); in print_dirent()
Dgetdents64.c87 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() local
88 assert(d_name_len > 0); in print_dirent()
95 printf("\"%.*s\"}", d_name_len, d->d_name); in print_dirent()
/external/syslinux/core/fs/ext2/
Dext2.c64 if (len != de->d_name_len) in ext2_match_entry()
259 dirent->d_reclen = offsetof(struct dirent, d_name) + de->d_name_len + 1; in ext2_readdir()
261 memcpy(dirent->d_name, de->d_name, de->d_name_len); in ext2_readdir()
262 dirent->d_name[de->d_name_len] = '\0'; in ext2_readdir()
Dext2_fs.h212 unsigned char d_name_len; /* Name length */ member