Home
last modified time | relevance | path

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

/bionic/tests/
Dftw_test.cpp54 void smoke_test_ftw(const char* fpath, const struct stat* sb, int tflag) { in smoke_test_ftw() argument
55 ASSERT_TRUE(fpath != nullptr); in smoke_test_ftw()
62 EXPECT_EQ(-1, stat(fpath, &sb)); in smoke_test_ftw()
68 if (access(fpath, R_OK) == 0) { in smoke_test_ftw()
69 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DP) << fpath << ' ' << tflag; in smoke_test_ftw()
71 EXPECT_EQ(FTW_DNR, tflag) << fpath; in smoke_test_ftw()
74 EXPECT_EQ(FTW_SL, tflag) << fpath; in smoke_test_ftw()
76 EXPECT_EQ(FTW_F, tflag) << fpath; in smoke_test_ftw()
80 void smoke_test_nftw(const char* fpath, const struct stat* sb, int tflag, FTW* ftwbuf) { in smoke_test_nftw() argument
81 smoke_test_ftw(fpath, sb, tflag); in smoke_test_nftw()
[all …]