/external/rust/crates/walkdir/src/ |
D | dent.rs | 35 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 …]
|
D | lib.rs | 122 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 …]
|
D | error.rs | 6 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/ |
D | read_dir.rs | 48 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
|
D | mod.rs | 55 pub use self::read_dir::{read_dir, DirEntry, ReadDir};
|
/external/rust/crates/walkdir/src/tests/ |
D | util.rs | 8 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/ |
D | read_dir.rs | 5 use tokio::fs::{DirEntry, ReadDir}; 30 type Item = io::Result<DirEntry>;
|
/external/crosvm/devices/src/virtio/fs/ |
D | read_dir.rs | 12 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/ |
D | read_dir.rs | 24 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/ |
D | fuzzing.rs | 5 use crate::filesystem::{DirEntry, DirectoryIterator, FileSystem, ZeroCopyReader, ZeroCopyWriter}; 21 fn next(&mut self) -> Option<DirEntry> { in next() argument
|
D | filesystem.rs | 66 pub struct DirEntry<'a> { struct 345 fn next(&mut self) -> Option<DirEntry>; in next() argument
|
/external/rust/crates/syn/tests/repo/ |
D | mod.rs | 9 use walkdir::DirEntry; 37 pub fn base_dir_filter(entry: &DirEntry) -> bool { in base_dir_filter()
|
/external/vm_tools/p9/src/server/ |
D | tests.rs | 95 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/ |
D | fs.rs | 7 use walkdir::{DirEntry, WalkDir}; 92 fn is_benchmark(entry: &DirEntry) -> bool { in list_existing_benchmarks()
|
/external/rust/crates/zip/examples/ |
D | write_dir.rs | 9 use walkdir::{DirEntry, WalkDir}; 61 it: &mut dyn Iterator<Item = DirEntry>, in zip_dir()
|
/external/rust/crates/syn/tests/ |
D | test_round_trip.rs | 29 use walkdir::{DirEntry, WalkDir}; 54 .collect::<Result<Vec<DirEntry>, walkdir::Error>>() in test_round_trip()
|
D | test_precedence.rs | 32 use walkdir::{DirEntry, WalkDir}; 100 .collect::<Result<Vec<DirEntry>, walkdir::Error>>() in test_rustc_precedence()
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_scandir.py | 31 class DirEntry(BaseClass): class 144 dir_entry = DirEntry(self.filesystem)
|
/external/rust/crates/walkdir/ |
D | README.md | 72 use walkdir::{DirEntry, WalkDir}; 74 fn is_hidden(entry: &DirEntry) -> bool {
|
/external/python/cpython3/Lib/ |
D | shutil.py | 212 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/ |
D | build.rs | 44 fs::{self, DirEntry}, 801 fn is_tracked(file: &DirEntry) { 819 F: Fn(&DirEntry),
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | ModularizeUtilities.cpp | 281 if (auto DirEntry = FileMgr->getDirectory(DirName)) in loadModuleMap() local 282 Dir = *DirEntry; in loadModuleMap()
|
/external/python/cpython3/Lib/test/ |
D | test_genericalias.py | 33 from os import DirEntry 74 DirEntry,
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 13171 } 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/ |
D | 3.6.0a3.rst | 124 Expose the DirEntry type as os.DirEntry. Code patch by Jelle Zijlstra.
|