Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dnode-inl.h54 struct dirhandle { struct
55 explicit dirhandle(DIR* dir) : d(dir), next_off(0) { CHECK(dir != nullptr); } in dirhandle() function
65 ~dirhandle() { closedir(d); } in ~dirhandle() argument
285 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_;
DFuseDaemon.cpp70 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()
Dnode_test.cpp10 using mediaprovider::fuse::dirhandle;