Lines Matching full:fpath
50 void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) {
51 ASSERT_TRUE(fpath != NULL);
55 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DNR || tflag == FTW_DP) << fpath;
57 EXPECT_EQ(FTW_SL, tflag) << fpath;
59 EXPECT_EQ(FTW_F, tflag) << fpath;
63 void sanity_check_nftw(const char* fpath, const struct stat* sb, int tflag, struct FTW* ftwbuf) {
64 sanity_check_ftw(fpath, sb, tflag);
65 ASSERT_EQ('/', fpath[ftwbuf->base - 1]) << fpath;
68 int check_ftw(const char* fpath, const struct stat* sb, int tflag) {
69 sanity_check_ftw(fpath, sb, tflag);
73 int check_ftw64(const char* fpath, const struct stat64* sb, int tflag) {
74 sanity_check_ftw(fpath, reinterpret_cast<const struct stat*>(sb), tflag);
78 int check_nftw(const char* fpath, const struct stat* sb, int tflag, struct FTW* ftwbuf) {
79 sanity_check_nftw(fpath, sb, tflag, ftwbuf);
83 int check_nftw64(const char* fpath, const struct stat64* sb, int tflag, struct FTW* ftwbuf) {
84 sanity_check_nftw(fpath, reinterpret_cast<const struct stat*>(sb), tflag, ftwbuf);