Home
last modified time | relevance | path

Searched refs:DirEntry (Results 1 – 25 of 43) sorted by relevance

12

/external/rust/crates/walkdir/src/
Ddent.rs35 pub struct DirEntry { struct
61 impl DirEntry { argument
199 ent: &fs::DirEntry, in from_entry() argument
200 ) -> Result<DirEntry> { in from_entry() argument
208 Ok(DirEntry { in from_entry()
220 ent: &fs::DirEntry, in from_entry() argument
221 ) -> Result<DirEntry> { in from_entry() argument
227 Ok(DirEntry { in from_entry()
239 ent: &fs::DirEntry, in from_entry() argument
240 ) -> Result<DirEntry> { in from_entry() argument
[all …]
Dlib.rs122 pub use crate::dent::DirEntry;
245 dyn FnMut(&DirEntry, &DirEntry) -> Ordering
396 F: FnMut(&DirEntry, &DirEntry) -> Ordering + Send + Sync + 'static, in sort_by() argument
418 F: FnMut(&DirEntry) -> K + Send + Sync + 'static, in sort_by_key()
514 type Item = Result<DirEntry>;
575 deferred_dirs: Vec<DirEntry>,
602 fn new(dent: &DirEntry) -> io::Result<Ancestor> { in new()
609 fn new(dent: &DirEntry) -> io::Result<Ancestor> { in new()
653 Closed(vec::IntoIter<Result<DirEntry>>),
657 type Item = Result<DirEntry>;
[all …]
Derror.rs6 use crate::DirEntry;
173 pub(crate) fn from_entry(dent: &DirEntry, err: io::Error) -> Self { in from_entry() argument
/external/rust/crates/tokio/src/fs/
Dread_dir.rs48 Pending(sys::Blocking<(Option<io::Result<std::fs::DirEntry>>, std::fs::ReadDir)>),
53 pub async fn next_entry(&mut self) -> io::Result<Option<DirEntry>> { in next_entry() argument
76 pub fn poll_next_entry(&mut self, cx: &mut Context<'_>) -> Poll<io::Result<Option<DirEntry>>> { in poll_next_entry() argument
92 Some(Ok(std)) => Ok(Some(DirEntry(Arc::new(std)))), in poll_next_entry()
109 impl DirEntry { impl
145 pub struct DirEntry(Arc<std::fs::DirEntry>); struct
147 impl DirEntry { impl
274 pub(super) fn as_inner(&self) -> &std::fs::DirEntry { in as_inner() argument
Dmod.rs55 pub use self::read_dir::{read_dir, DirEntry, ReadDir};
/external/rust/crates/walkdir/src/tests/
Dutil.rs8 use crate::{DirEntry, Error};
24 ents: Vec<DirEntry>,
45 pub fn ents(&self) -> &[DirEntry] { in ents() argument
58 pub fn sorted_ents(&self) -> Vec<DirEntry> { in sorted_ents() argument
103 I: IntoIterator<Item = result::Result<DirEntry, Error>>, in run_recursive()
/external/rust/crates/tokio-stream/src/wrappers/
Dread_dir.rs5 use tokio::fs::{DirEntry, ReadDir};
30 type Item = io::Result<DirEntry>;
/external/crosvm/devices/src/virtio/fs/
Dread_dir.rs12 use fuse::filesystem::{DirEntry, DirectoryIterator};
68 fn next(&mut self) -> Option<DirEntry> { in next() argument
92 let entry = DirEntry { in next()
/external/libchromeos-rs/src/
Dread_dir.rs24 pub struct DirEntry<'r> { struct
42 pub fn next(&mut self) -> Option<io::Result<DirEntry>> { in next() argument
84 let entry = DirEntry { in next()
/external/crosvm/fuse/src/
Dfuzzing.rs5 use crate::filesystem::{DirEntry, DirectoryIterator, FileSystem, ZeroCopyReader, ZeroCopyWriter};
21 fn next(&mut self) -> Option<DirEntry> { in next() argument
Dfilesystem.rs66 pub struct DirEntry<'a> { struct
345 fn next(&mut self) -> Option<DirEntry>; in next() argument
/external/rust/crates/syn/tests/repo/
Dmod.rs9 use walkdir::DirEntry;
37 pub fn base_dir_filter(entry: &DirEntry) -> bool { in base_dir_filter()
/external/vm_tools/p9/src/server/
Dtests.rs95 enum DirEntry<'a> { enum
102 entries: &'a [DirEntry<'a>],
106 impl<'a> DirEntry<'a> { implementation
110 DirEntry::File { name, content } => { in create()
114 DirEntry::Directory { name, entries } => { in create()
136 let f = DirEntry::File { in create_local_file()
400 DirEntry::Directory { in setup()
403 DirEntry::File { in setup()
407 DirEntry::Directory { in setup()
409 entries: &[DirEntry::File { in setup()
[all …]
/external/rust/crates/criterion/src/
Dfs.rs7 use walkdir::{DirEntry, WalkDir};
92 fn is_benchmark(entry: &DirEntry) -> bool { in list_existing_benchmarks()
/external/rust/crates/zip/examples/
Dwrite_dir.rs9 use walkdir::{DirEntry, WalkDir};
61 it: &mut dyn Iterator<Item = DirEntry>, in zip_dir()
/external/rust/crates/syn/tests/
Dtest_round_trip.rs29 use walkdir::{DirEntry, WalkDir};
54 .collect::<Result<Vec<DirEntry>, walkdir::Error>>() in test_round_trip()
Dtest_precedence.rs32 use walkdir::{DirEntry, WalkDir};
100 .collect::<Result<Vec<DirEntry>, walkdir::Error>>() in test_rustc_precedence()
/external/python/pyfakefs/pyfakefs/
Dfake_scandir.py31 class DirEntry(BaseClass): class
144 dir_entry = DirEntry(self.filesystem)
/external/rust/crates/walkdir/
DREADME.md72 use walkdir::{DirEntry, WalkDir};
74 fn is_hidden(entry: &DirEntry) -> bool {
/external/python/cpython3/Lib/
Dshutil.py212 if isinstance(src, os.DirEntry) and hasattr(os.path, 'samestat'):
229 return fn.stat() if isinstance(fn, os.DirEntry) else os.stat(fn)
232 return fn.is_symlink() if isinstance(fn, os.DirEntry) else os.path.islink(fn)
256 fn = fn.path if isinstance(fn, os.DirEntry) else fn
370 if isinstance(src, os.DirEntry):
/external/rust/crates/ring/
Dbuild.rs44 fs::{self, DirEntry},
801 fn is_tracked(file: &DirEntry) {
819 F: Fn(&DirEntry),
/external/llvm-project/clang-tools-extra/modularize/
DModularizeUtilities.cpp281 if (auto DirEntry = FileMgr->getDirectory(DirName)) in loadModuleMap() local
282 Dir = *DirEntry; in loadModuleMap()
/external/python/cpython3/Lib/test/
Dtest_genericalias.py33 from os import DirEntry
74 DirEntry,
/external/python/cpython3/Modules/
Dposixmodule.c13171 } DirEntry; typedef
13182 DirEntry_dealloc(DirEntry *entry) in DirEntry_dealloc()
13196 DirEntry_test_mode(PyTypeObject *defining_class, DirEntry *self,
13208 os_DirEntry_is_symlink_impl(DirEntry *self, PyTypeObject *defining_class) in os_DirEntry_is_symlink_impl()
13226 DirEntry_fetch_stat(PyObject *module, DirEntry *self, int follow_symlinks) in DirEntry_fetch_stat()
13271 DirEntry_get_lstat(PyTypeObject *defining_class, DirEntry *self) in DirEntry_get_lstat()
13296 os_DirEntry_stat_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_stat_impl()
13324 DirEntry_test_mode(PyTypeObject *defining_class, DirEntry *self, in DirEntry_test_mode()
13413 os_DirEntry_is_dir_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_is_dir_impl()
13431 os_DirEntry_is_file_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_is_file_impl()
[all …]
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a3.rst124 Expose the DirEntry type as os.DirEntry. Code patch by Jelle Zijlstra.

12