Lines Matching refs:sb
52 void smoke_test_ftw(const char* fpath, const struct stat* sb, int tflag) { in smoke_test_ftw() argument
54 ASSERT_TRUE(sb != nullptr); in smoke_test_ftw()
59 struct stat sb; in smoke_test_ftw() local
60 EXPECT_EQ(-1, stat(fpath, &sb)); in smoke_test_ftw()
65 if (S_ISDIR(sb->st_mode)) { in smoke_test_ftw()
71 } else if (S_ISLNK(sb->st_mode)) { in smoke_test_ftw()
78 void smoke_test_nftw(const char* fpath, const struct stat* sb, int tflag, FTW* ftwbuf) { in smoke_test_nftw() argument
79 smoke_test_ftw(fpath, sb, tflag); in smoke_test_nftw()
83 int check_ftw(const char* fpath, const struct stat* sb, int tflag) { in check_ftw() argument
84 smoke_test_ftw(fpath, sb, tflag); in check_ftw()
88 int check_ftw64(const char* fpath, const struct stat64* sb, int tflag) { in check_ftw64() argument
89 smoke_test_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() argument
94 smoke_test_nftw(fpath, sb, tflag, ftwbuf); in check_nftw()
98 int check_nftw64(const char* fpath, const struct stat64* sb, int tflag, FTW* ftwbuf) { in check_nftw64() argument
99 smoke_test_nftw(fpath, reinterpret_cast<const struct stat*>(sb), tflag, ftwbuf); in check_nftw64()
134 static int bug_28197840_nftw(const char* path, const StatT* sb, int flag, FTW*) { in bug_28197840_nftw() argument
135 return bug_28197840_ftw(path, sb, flag); in bug_28197840_nftw()