Home
last modified time | relevance | path

Searched refs:DirectoryEntry (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/jni/include/libfuse_jni/
DReaddirHelper.h33 struct DirectoryEntry { struct
41 DirectoryEntry(const std::string& name, int type) : d_name(name), d_type(type) {} in DirectoryEntry() argument
53 std::vector<std::shared_ptr<DirectoryEntry>>* directory_entries); argument
/packages/providers/MediaProvider/jni/
DReaddirHelper.cpp38 std::vector<std::shared_ptr<DirectoryEntry>>* directory_entries) { in addDirectoryEntriesFromLowerFs()
46 directory_entries->push_back(std::make_shared<DirectoryEntry>("", errno)); in addDirectoryEntriesFromLowerFs()
55 std::make_shared<DirectoryEntry>(entry->d_name, entry->d_type)); in addDirectoryEntriesFromLowerFs()
DMediaProviderWrapper.cpp127 std::vector<std::shared_ptr<DirectoryEntry>> getFilesInDirectoryInternal( in getFilesInDirectoryInternal()
130 std::vector<std::shared_ptr<DirectoryEntry>> directory_entries; in getFilesInDirectoryInternal()
138 directory_entries.push_back(std::make_shared<DirectoryEntry>("", EFAULT)); in getFilesInDirectoryInternal()
149 directory_entries.push_back(std::make_shared<DirectoryEntry>("", EFAULT)); in getFilesInDirectoryInternal()
153 directory_entries.push_back(std::make_shared<DirectoryEntry>("", EPERM)); in getFilesInDirectoryInternal()
166 directory_entries.push_back(std::make_shared<DirectoryEntry>("", EFAULT)); in getFilesInDirectoryInternal()
169 directory_entries.push_back(std::make_shared<DirectoryEntry>(d_name.c_str(), DT_REG)); in getFilesInDirectoryInternal()
399 std::vector<std::shared_ptr<DirectoryEntry>> MediaProviderWrapper::GetDirectoryEntries( in GetDirectoryEntries()
402 std::vector<std::shared_ptr<DirectoryEntry>> res; in GetDirectoryEntries()
DMediaProviderWrapper.h140 std::vector<std::shared_ptr<DirectoryEntry>> GetDirectoryEntries(uid_t uid,
Dnode-inl.h75 std::vector<std::shared_ptr<DirectoryEntry>> de;
DFuseDaemon.cpp71 using mediaprovider::fuse::DirectoryEntry;
1974 std::shared_ptr<DirectoryEntry> de; in do_readdir_common()
/packages/modules/Virtualization/guest/zipfuse/src/
Dinode.rs71 Directory(HashMap<CString, DirectoryEntry>),
76 pub struct DirectoryEntry { struct
92 pub fn get_directory(&self) -> Option<&HashMap<CString, DirectoryEntry>> { in get_directory() argument
117 fn add_to_directory(&mut self, name: CString, entry: DirectoryEntry) { in add_to_directory() argument
157 Some(DirectoryEntry { inode, .. }) => Some(*inode), in find()
172 self.get_mut(parent).unwrap().add_to_directory(name, DirectoryEntry { inode, kind }); in add()
Dmain.rs40 use crate::inode::{DirectoryEntry, Inode, InodeData, InodeKind, InodeTable};
152 buf: Box<[(CString, DirectoryEntry)]>,
376 let mut buf: Vec<(CString, DirectoryEntry)> = Vec::with_capacity(directory.len()); in opendir()
442 inner: Vec<(CString, DirectoryEntry)>,