/third_party/python/Lib/ |
D | pathlib.py | 402 is_dir = path_cls.is_dir 405 if not is_dir(parent_path): 407 return self._select_from(parent_path, is_dir, exists, scandir) 412 def _select_from(self, parent_path, is_dir, exists, scandir): argument 422 def _select_from(self, parent_path, is_dir, exists, scandir): argument 425 if (is_dir if self.dironly else exists)(path): 426 for p in self.successor._select_from(path, is_dir, exists, scandir): 438 def _select_from(self, parent_path, is_dir, exists, scandir): argument 448 if not entry.is_dir(): 457 for p in self.successor._select_from(path, is_dir, exists, scandir): [all …]
|
D | shutil.py | 488 if srcentry.is_dir(): 493 elif srcentry.is_dir(): 585 return entry.is_dir(follow_symlinks=False) 635 is_dir = entry.is_dir(follow_symlinks=False) 637 is_dir = False 639 if is_dir: 642 is_dir = stat.S_ISDIR(orig_st.st_mode) 646 if is_dir:
|
D | os.py | 376 is_dir = entry.is_dir() 380 is_dir = False 382 if is_dir: 387 if not topdown and is_dir: 493 if entry.is_dir():
|
/third_party/gstreamer/gstplugins_good/ext/jack/ |
D | meson.build | 31 if fs.is_dir('C:/Program Files (x86)') 41 jack_maybe_installed = fs.is_dir(jack32_install_dir / 'include') 43 jack_maybe_installed = fs.is_dir(jack64_install_dir / 'include') 47 jack_maybe_installed = import('fs').is_dir(jack64_install_dir / 'include')
|
/third_party/gn/src/base/files/ |
D | file_enumerator.cc | 20 bool FileEnumerator::IsTypeMatched(bool is_dir) const { in IsTypeMatched() 22 (is_dir ? FileEnumerator::DIRECTORIES : FileEnumerator::FILES)) != 0; in IsTypeMatched()
|
D | file_enumerator_posix.cc | 141 const bool is_dir = info.IsDirectory(); in Next() local 143 if (recursive_ && is_dir) in Next() 146 if (is_pattern_matched && IsTypeMatched(is_dir)) in Next()
|
D | file_enumerator_win.cc | 157 const bool is_dir = in Next() local 162 if (is_dir && recursive_) { in Next() 172 if (IsTypeMatched(is_dir) && IsPatternMatched(filename)) in Next()
|
D | file_enumerator.h | 139 bool IsTypeMatched(bool is_dir) const;
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | tinydir.h | 184 int is_dir; member 550 file->is_dir = in tinydir_open() 607 if (i >= dir->n_files || !dir->_files[i].is_dir) in tinydir_open() 752 if (fa->is_dir != fb->is_dir) in tinydir_open() 754 return -(fa->is_dir - fb->is_dir); in tinydir_open()
|
/third_party/protobuf/php/tests/ |
D | autoload.php | 11 if (!is_dir($path)) { 22 if (!is_dir($filename)) {
|
/third_party/jsoncpp/devtools/ |
D | antglob.py | 131 is_dir = os.path.isdir(full_path) 132 if is_dir and not is_pruned_dir(entry): # explore child directory ? 142 if not is_file and not is_dir:
|
/third_party/python/Lib/importlib/ |
D | _adapters.py | 41 def is_dir(self): member in DegenerateFiles.Path 44 is_file = exists = is_dir # type: ignore
|
D | readers.py | 62 if not all(path.is_dir() for path in self._paths): 80 def is_dir(self): member in MultiplexedPath
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify13.c | 53 int is_dir; member 102 if (objects[i].is_dir) in create_objects() 127 if (!objects[i].is_dir) in setup_marks()
|
/third_party/rust/crates/glob/src/ |
D | lib.rs | 318 fn is_dir(p: &Path) -> bool { in is_dir() function 319 fs::metadata(p).map(|m| m.is_dir()).unwrap_or(false) in is_dir() 358 if self.require_dir && !is_dir(&path) { in next() 374 if is_dir(&path) { in next() 422 if !self.require_dir || is_dir(&path) { in next() 843 let is_dir = is_dir(path); in fill_todo() localVariable 858 if (special && is_dir) || (!special && fs::metadata(&next_path).is_ok()) { in fill_todo() 862 None if is_dir => { in fill_todo()
|
/third_party/rust/crates/cxx/gen/build/src/ |
D | out.rs | 95 if metadata.is_dir() { in best_effort_remove() 112 if metadata.is_dir() { in best_effort_remove()
|
/third_party/rust/crates/syn/tests/repo/ |
D | mod.rs | 130 if path.is_dir() { in base_dir_filter() 175 if !test_src.join(exclude).is_dir() { in clone_rust()
|
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/ |
D | prot_hsymlinks.c | 90 int is_dir; member 107 int is_dir; member 426 ufile->is_dir = (type == IS_DIRECTORY); in ufiles_add() 473 if (ufile->is_dir) in create_check_hlinks()
|
/third_party/f2fs-tools/fsck/ |
D | node.h | 164 static inline void set_cold_node(struct f2fs_node *rn, bool is_dir) in set_cold_node() argument 168 if (is_dir) in set_cold_node()
|
/third_party/python/PC/layout/ |
D | main.py | 88 if f.is_dir(): 202 if d.is_dir(): 334 elif zip_path.is_dir(): 378 elif ns.zip.is_dir():
|
/third_party/openssl/engines/ |
D | e_loader_attic.c | 867 is_dir enumerator 919 if (ctx->type != is_dir) { in OSSL_STORE_LOADER_CTX_free() 1041 ctx->type = is_dir; in file_open_ex() 1155 if (ctx->type != is_dir) { in file_find() 1521 if (ctx->type == is_dir) { in file_load() 1657 if (ctx->type == is_dir) in file_eof() 1669 if (ctx->type == is_dir) in file_close()
|
/third_party/rust/crates/linux-raw-sys/gen/src/ |
D | main.rs | 38 if entry.file_type().unwrap().is_dir() { in main() 96 if !linux_arch_entry.file_type().unwrap().is_dir() { in main()
|
/third_party/rust/crates/clap/clap_complete/src/ |
D | dynamic.rs | 81 } else if out_path.is_dir() { in try_complete() 461 values.extend(complete_path(value_os, current_dir, |p| p.is_dir())); in complete_arg_value() 518 if entry.metadata().map(|m| m.is_dir()).unwrap_or(false) { in complete_path()
|
/third_party/python/PC/layout/support/ |
D | pip.py | 30 if not pip_dir.is_dir():
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/ |
D | bin.rs | 45 match Path::new(&v).is_dir() { in validate_path()
|