Searched defs:ent (Results 1 - 1 of 1) sorted by relevance
/bionic/tests/ |
H A D | mntent_test.cpp | 46 struct mntent ent; local 47 memset(&ent, 0, sizeof(ent)); 48 ent.mnt_opts = mnt_opts; 50 EXPECT_EQ(mnt_opts, hasmntopt(&ent, "aa")); 51 EXPECT_EQ(mnt_opts + 5, hasmntopt(&ent, "a")); 52 EXPECT_EQ(mnt_opts + 9, hasmntopt(&ent, "b")); 53 EXPECT_EQ(mnt_opts + 11, hasmntopt(&ent, "bb")); 54 EXPECT_EQ(mnt_opts + 14, hasmntopt(&ent, "c")); 55 EXPECT_EQ(nullptr, hasmntopt(&ent, " [all...] |
Completed in 46 milliseconds