Home
last modified time | relevance | path

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

/bionic/tests/
Dmntent_test.cpp62 struct mntent ent; in TEST() local
63 memset(&ent, 0, sizeof(ent)); in TEST()
64 ent.mnt_opts = mnt_opts; in TEST()
66 EXPECT_EQ(mnt_opts, hasmntopt(&ent, "aa")); in TEST()
67 EXPECT_EQ(mnt_opts + 5, hasmntopt(&ent, "a")); in TEST()
68 EXPECT_EQ(mnt_opts + 9, hasmntopt(&ent, "b")); in TEST()
69 EXPECT_EQ(mnt_opts + 11, hasmntopt(&ent, "bb")); in TEST()
70 EXPECT_EQ(mnt_opts + 14, hasmntopt(&ent, "c")); in TEST()
71 EXPECT_EQ(nullptr, hasmntopt(&ent, "d")); in TEST()
72 EXPECT_EQ(nullptr, hasmntopt(&ent, "e")); in TEST()
/bionic/tools/versioner/src/
DUtils.cpp53 while (FTSENT* ent = fts_read(fts.get())) { in collectHeaders() local
54 if (ent->fts_info & FTS_DP) { in collectHeaders()
55 if (ent == skipping) { in collectHeaders()
65 if (ent->fts_info & FTS_D) { in collectHeaders()
66 if (ignored_directories.count(ent->fts_path) != 0) { in collectHeaders()
69 skipping = ent; in collectHeaders()
74 std::string path = ent->fts_path; in collectHeaders()
DVFS.cpp46 while (FTSENT* ent = fts_read(fts.get())) { in addDirectoryToVFS() local
47 if ((ent->fts_info & FTS_F) == 0) { in addDirectoryToVFS()
51 const char* file_path = ent->fts_accpath; in addDirectoryToVFS()
62 if (!vfs->addFile(file_path, ent->fts_statp->st_mtime, std::move(buffer_opt.get()))) { in addDirectoryToVFS()
DPreprocessor.cpp449 while (FTSENT* ent = fts_read(fts.get())) { in preprocessHeaders() local
450 llvm::StringRef path = ent->fts_path; in preprocessHeaders()
452 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
455 if (ent->fts_info != FTS_F) { in preprocessHeaders()
/bionic/docs/
Dstatus.md174 * all 6 <grp.h>/<pwd.h> (get|set|end)(gr|pw)ent functions