Home
last modified time | relevance | path

Searched refs:is_dir (Results 1 – 25 of 70) sorted by relevance

123

/third_party/boost/tools/build/src/engine/
Dfilent.cpp68 assert( d->is_dir ); in file_collect_dir_content_()
126 ff->is_dir = finfo.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; in file_collect_dir_content_()
127 ff->is_file = !ff->is_dir; in file_collect_dir_content_()
139 … ff->is_dir = target_finfo->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0; in file_collect_dir_content_()
165 assert( d->is_dir ); in file_dirscan_()
252 info->is_dir = 0; in try_file_query_root()
259 info->is_dir = fileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; in try_file_query_root()
260 info->is_file = !info->is_dir; in try_file_query_root()
287 if ( !parent_info || !parent_info->is_dir ) in file_query_()
289 info->is_dir = 0; in file_query_()
[all …]
Dfileunix.cpp121 assert( d->is_dir ); in file_collect_dir_content_()
173 assert( d->is_dir ); in file_dirscan_()
360 member->is_dir = 0; in file_collect_archive_content_()
425 member->is_dir = 0; in collect_archive_content_small()
480 member->is_dir = 0; in collect_archive_content_big()
Dfilevms.cpp84 assert( d->is_dir ); in file_collect_dir_content_()
134 assert( d->is_dir ); in file_dirscan_()
319 member->is_dir = 0; in set_archive_member()
/third_party/python/Lib/
Dpathlib.py402 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 …]
Dshutil.py488 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:
Dos.py376 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/gn/src/base/files/
Dfile_enumerator.cc20 bool FileEnumerator::IsTypeMatched(bool is_dir) const { in IsTypeMatched()
22 (is_dir ? FileEnumerator::DIRECTORIES : FileEnumerator::FILES)) != 0; in IsTypeMatched()
Dfile_enumerator_posix.cc141 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()
Dfile_enumerator_win.cc157 const bool is_dir = in Next() local
162 if (is_dir && recursive_) { in Next()
172 if (IsTypeMatched(is_dir) && IsPatternMatched(filename)) in Next()
/third_party/protobuf/php/tests/
Dautoload.php11 if (!is_dir($path)) {
22 if (!is_dir($filename)) {
/third_party/gstreamer/gstplugins_good/ext/jack/
Dmeson.build31 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/boost/libs/multi_index/example/
Dcomposite_keys.cpp40 name(name_),size(size_),is_dir(is_dir_),dir(dir_) in file_entry()
45 bool is_dir; member
51 if(f.is_dir)os<<"\t <dir>"; in operator <<()
146 if(!it->is_dir){ in execute()
/third_party/lwip/src/apps/http/makefsdata/
Dtinydir.h184 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/python/Lib/importlib/
D_adapters.py41 def is_dir(self): member in DegenerateFiles.Path
44 is_file = exists = is_dir # type: ignore
Dreaders.py62 if not all(path.is_dir() for path in self._paths):
80 def is_dir(self): member in MultiplexedPath
/third_party/jsoncpp/devtools/
Dantglob.py131 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/mindspore/mindspore/run_check/
D_check_version.py78 if Path(path).is_dir():
310 if Path(self.tbe_path).is_dir():
323 if Path(self.op_impl_path).is_dir():
338 if Path(self.cce_path).is_dir():
347 elif Path(self.op_path).is_dir():
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify13.c53 int is_dir; member
102 if (objects[i].is_dir) in create_objects()
127 if (!objects[i].is_dir) in setup_marks()
/third_party/eudev/src/shared/
Dmkdir.c76 r = is_dir(p, true); in mkdir_parents_internal()
121 if (r < 0 && (errno != EEXIST || is_dir(path, true) <= 0)) in mkdir_p_internal()
/third_party/glib/gio/kqueue/
Dgkqueuefilemonitor.c345 if (sub->is_dir && sub->mon->sub_file != NULL && sub->mon->sub_file->fd != -1) in g_kqueue_file_monitor_callback()
351 if (sub->is_dir && ev.fflags & (NOTE_WRITE | NOTE_EXTEND)) in g_kqueue_file_monitor_callback()
533 sub->is_dir = 0; in _kqsub_new()
598 sub->is_dir = (st.st_mode & S_IFDIR) ? 1 : 0; in _kqsub_start_watching()
599 if (sub->is_dir) in _kqsub_start_watching()
Dkqueue-helper.h51 int is_dir; member
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c90 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/glib/gio/
Dgresourcefile.c453 gboolean is_dir; in g_resource_file_query_info() local
456 is_dir = FALSE; in g_resource_file_query_info()
461 is_dir = TRUE; in g_resource_file_query_info()
466 is_dir = TRUE; in g_resource_file_query_info()
468 if (!is_dir) in g_resource_file_query_info()
501 if (is_dir) in g_resource_file_query_info()
/third_party/f2fs-tools/fsck/
Dnode.h164 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/e2fsprogs/contrib/android/
Dfsmap.c98 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() function
141 if (is_dir(pdata->fs, de->inode)) { in walk_ext_dir()

123