/bionic/libc/bionic/ |
D | stat.cpp | 34 int stat(const char* path, struct stat* sb) { in stat() function 37 __strong_alias(stat64, stat);
|
D | ftw.cpp | 29 int (*ftw_fn)(const char*, const struct stat*, int), in do_nftw() argument 30 int (*nftw_fn)(const char*, const struct stat*, int, FTW*), in do_nftw() 117 int ftw(const char* path, int (*ftw_fn)(const char*, const struct stat*, int), int nfds) { in ftw() argument 121 int nftw(const char* path, int (*nftw_fn)(const char*, const struct stat*, int, FTW*), in nftw() argument
|
D | lfs64_support.cpp | 36 typedef int (*ftw_fn)(const char*, const struct stat*, int); 37 typedef int (*nftw_fn)(const char*, const struct stat*, int, struct FTW*);
|
D | lstat.cpp | 34 int lstat(const char* path, struct stat* sb) { in lstat()
|
D | tmpfile.cpp | 80 struct stat sb; in __tmpfile_dir()
|
D | getentropy_linux.c | 219 struct stat st; in getentropy_urandom() 351 struct stat st; in getentropy_fallback() 470 HX(stat(".", &st) == -1, st); in getentropy_fallback() 474 HX(stat("/", &st) == -1, st); in getentropy_fallback()
|
D | dirent.cpp | 78 struct stat sb; in fdopendir()
|
/bionic/tests/ |
D | ftw_test.cpp | 52 void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) { in sanity_check_ftw() 59 struct stat sb; in sanity_check_ftw() 60 EXPECT_EQ(-1, stat(fpath, &sb)); in sanity_check_ftw() 78 void sanity_check_nftw(const char* fpath, const struct stat* sb, int tflag, FTW* ftwbuf) { in sanity_check_nftw() 83 int check_ftw(const char* fpath, const struct stat* sb, int tflag) { in check_ftw() 89 sanity_check_ftw(fpath, reinterpret_cast<const struct stat*>(sb), tflag); in check_ftw64() 93 int check_nftw(const char* fpath, const struct stat* sb, int tflag, FTW* ftwbuf) { in check_nftw() 99 sanity_check_nftw(fpath, reinterpret_cast<const struct stat*>(sb), tflag, ftwbuf); in check_nftw64() 151 ASSERT_EQ(0, ftw(root.dirname, bug_28197840_ftw<struct stat>, 128)); in TEST() 153 ASSERT_EQ(0, nftw(root.dirname, bug_28197840_nftw<struct stat>, 128, FTW_PHYS)); in TEST()
|
D | sys_stat_test.cpp | 40 struct stat sb; in TEST() 80 struct stat sb; in TEST() 81 ASSERT_EQ(0, stat(path.c_str(), &sb)); in TEST() 142 struct stat sb; in AssertFileModeEquals() 143 ASSERT_EQ(0, stat(filename, &sb)); in AssertFileModeEquals() 199 struct stat sb; in AssertSymlinkModeEquals() 207 struct stat tf_sb; in TEST() 208 ASSERT_EQ(0, stat(tf.filename, &tf_sb)); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | ftok.c | 35 struct stat st; in ftok() 37 if (stat(path, &st) < 0) in ftok()
|
/bionic/libc/include/ |
D | ftw.h | 58 int ftw(const char*, int (*)(const char*, const struct stat*, int), int) __INTRODUCED_IN(17); 59 int nftw(const char*, int (*)(const char*, const struct stat*, int, struct FTW*), int, int)
|
D | fts.h | 113 struct stat *fts_statp; /* stat(2) information */
|
/bionic/libc/include/sys/ |
D | stat.h | 117 struct stat { __STAT64_BODY }; struct 158 int fstat(int, struct stat*); 160 int fstatat(int, const char*, struct stat*, int); 162 int lstat(const char*, struct stat*); 164 int stat(const char*, struct stat*);
|
/bionic/libc/arch-mips64/bionic/ |
D | stat.cpp | 56 static void copy_stat(struct stat* st, struct kernel_stat* s) { in copy_stat() 75 int fstat(int fp, struct stat* st) { in fstat() 83 int fstatat(int dirfd, const char* pathname, struct stat* buf, int flags) { in fstatat()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | stat.h | 24 struct stat { struct 69 struct stat { struct
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | stat.h | 24 struct stat { struct 71 struct stat { struct
|
/bionic/tools/versioner/src/ |
D | Utils.h | 38 struct stat st; in is_directory() 39 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in is_directory()
|
D | versioner.cpp | 101 struct stat st; in collectRequirements() 102 if (stat(dependency.c_str(), &st) != 0) { in collectRequirements() 501 struct stat st; in main() 502 if (stat(platform_dir.c_str(), &st) != 0) { in main() 598 struct stat st; in main() 599 if (stat(header_dir.c_str(), &st) != 0) { in main()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | stat.h | 23 struct stat { struct
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | stat.h | 35 struct stat { struct
|
/bionic/linker/ |
D | linker_main.h | 54 struct stat* file_stat, off64_t file_offset,
|
D | linker_utils.cpp | 211 struct stat s; in resolve_paths() 212 if (stat(resolved_path, &s) == 0) { in resolve_paths()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 62 struct stat st; in getutent()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | makebuf.c | 82 struct stat st; in __swhatbuf()
|
D | mktemp.c | 50 struct stat sb; in mktemp_internal()
|