Searched refs:dirhandle (Results 1 – 3 of 3) sorted by relevance
54 struct dirhandle { struct55 explicit dirhandle(DIR* dir) : d(dir), next_off(0) { CHECK(dir != nullptr); } in dirhandle() function65 ~dirhandle() { closedir(d); } in ~dirhandle() argument285 inline void AddDirHandle(dirhandle* d) { in AddDirHandle()288 dirhandles_.emplace_back(std::unique_ptr<dirhandle>(d)); in AddDirHandle()291 void DestroyDirHandle(dirhandle* d) { in DestroyDirHandle()294 auto comp = [d](const std::unique_ptr<dirhandle>& ptr) { return ptr.get() == d; }; in DestroyDirHandle()418 std::vector<std::unique_ptr<dirhandle>> dirhandles_;
70 using mediaprovider::fuse::dirhandle;1275 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in pf_fsyncdir()1312 dirhandle* h = new dirhandle(dir); in pf_opendir()1328 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in do_readdir_common()1438 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in pf_releasedir()
10 using mediaprovider::fuse::dirhandle;