Searched refs:fpath (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | ftw_test.cpp | 52 void smoke_test_ftw(const char* fpath, const struct stat* sb, int tflag) { in smoke_test_ftw() argument 53 ASSERT_TRUE(fpath != nullptr); in smoke_test_ftw() 60 EXPECT_EQ(-1, stat(fpath, &sb)); in smoke_test_ftw() 66 if (access(fpath, R_OK) == 0) { in smoke_test_ftw() 67 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DP) << fpath << ' ' << tflag; in smoke_test_ftw() 69 EXPECT_EQ(FTW_DNR, tflag) << fpath; in smoke_test_ftw() 72 EXPECT_EQ(FTW_SL, tflag) << fpath; in smoke_test_ftw() 74 EXPECT_EQ(FTW_F, tflag) << fpath; 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() [all …]
|