Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dnode-inl.h66 struct dirhandle { struct
67 explicit dirhandle(DIR* dir) : d(dir), next_off(0) { CHECK(dir != nullptr); } in dirhandle() function
77 ~dirhandle() { closedir(d); } in ~dirhandle() argument
342 inline void AddDirHandle(dirhandle* d) { in AddDirHandle()
345 dirhandles_.emplace_back(std::unique_ptr<dirhandle>(d)); in AddDirHandle()
348 void DestroyDirHandle(dirhandle* d) { in DestroyDirHandle()
351 auto comp = [d](const std::unique_ptr<dirhandle>& ptr) { return ptr.get() == d; }; in DestroyDirHandle()
531 std::vector<std::unique_ptr<dirhandle>> dirhandles_;
DFuseDaemon.cpp71 using mediaprovider::fuse::dirhandle;
1519 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in pf_fsyncdir()
1556 dirhandle* h = new dirhandle(dir); in pf_opendir()
1572 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in do_readdir_common()
1683 dirhandle* h = reinterpret_cast<dirhandle*>(fi->fh); in pf_releasedir()
Dnode_test.cpp10 using mediaprovider::fuse::dirhandle;