Home
last modified time | relevance | path

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

12

/external/autotest/client/bin/result_tools/
Dresult_info.py154 if self.is_dir:
160 if self.is_dir:
196 if self.is_dir:
206 if self.is_dir:
234 for f in [f for f in self.files if f.is_dir]:
312 def is_dir(self): member in ResultInfo
336 if not self.is_dir:
346 if self.is_dir:
472 if not self.is_dir:
491 if self.is_dir:
[all …]
Dutils.py127 if old_file.is_dir:
142 elif old_file.is_dir:
146 if not new_file.is_dir:
Dview.py342 if not entry.is_dir and re.match(DIR_SUMMARY_PATTERN, name):
362 if not entry.is_dir:
Dthrottler_lib.py69 if info.is_dir:
Dzip_file_throttler_unittest.py96 if expected.is_dir:
/external/boringssl/src/util/
Dgenerate_build_files.py370 def OnlyFIPSFragments(path, dent, is_dir): argument
371 return is_dir or (path.startswith(
373 NoTests(path, dent, is_dir))
375 def NoTestsNorFIPSFragments(path, dent, is_dir): argument
376 return (NoTests(path, dent, is_dir) and
377 (is_dir or not OnlyFIPSFragments(path, dent, is_dir)))
379 def NoTests(path, dent, is_dir): argument
382 if is_dir:
387 def OnlyTests(path, dent, is_dir): argument
390 if is_dir:
[all …]
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc109 bool is_dir);
116 bool is_dir);
156 void UpdateRecursiveWatches(InotifyReader::Watch fired_watch, bool is_dir);
327 bool is_dir) { in OnFilePathChanged() argument
336 deleted, is_dir)); in OnFilePathChanged()
344 bool is_dir) { in OnFilePathChangedOnOriginSequence() argument
412 UpdateRecursiveWatches(fired_watch, is_dir); in OnFilePathChangedOnOriginSequence()
422 UpdateRecursiveWatches(fired_watch, is_dir); in OnFilePathChangedOnOriginSequence()
500 bool is_dir) { in UpdateRecursiveWatches() argument
520 if (!is_dir) in UpdateRecursiveWatches()
/external/python/cpython3/Lib/
Dpathlib.py487 is_dir = path_cls.is_dir
490 if not is_dir(parent_path):
492 return self._select_from(parent_path, is_dir, exists, scandir)
497 def _select_from(self, parent_path, is_dir, exists, scandir): argument
507 def _select_from(self, parent_path, is_dir, exists, scandir): argument
510 if (is_dir if self.dironly else exists)(path):
511 for p in self.successor._select_from(path, is_dir, exists, scandir):
523 def _select_from(self, parent_path, is_dir, exists, scandir): argument
528 if not self.dironly or entry.is_dir():
533 for p in self.successor._select_from(path, is_dir, exists, scandir):
[all …]
Dos.py367 is_dir = entry.is_dir()
371 is_dir = False
373 if is_dir:
378 if not topdown and is_dir:
Dglob.py124 if not dironly or entry.is_dir():
/external/tensorflow/tensorflow/contrib/tensorboard/db/
Dsummary_file_writer.cc40 const Status is_dir = env_->IsDirectory(logdir); in Initialize() local
41 if (!is_dir.ok()) { in Initialize()
42 if (is_dir.code() != tensorflow::error::NOT_FOUND) { in Initialize()
43 return is_dir; in Initialize()
/external/python/cpython3/Tools/msi/
Dmake_zip.py73 if p.is_dir():
89 if p.is_dir() and p.name.lower() in EXCLUDE_FROM_EMBEDDABLE_LIBRARY:
101 if p.is_dir() and p.name.lower() in {'scripts', 'i18n', 'pynche', 'demo', 'parser'}:
179 if recurse and f.is_dir() and (not condition or condition(f)):
/external/jsoncpp/devtools/
Dantglob.py128 is_dir = os.path.isdir( full_path )
129 if is_dir and not is_pruned_dir( entry ): # explore child directory ?
139 if not is_file and not is_dir:
/external/libcxx/utils/libcxx/android/
Dexecutors.py17 def _remote_temp(self, is_dir): argument
18 dir_arg = '-d' if is_dir else ''
/external/libcxx/utils/libcxx/test/
Dexecutor.py100 def _remote_temp(self, is_dir): argument
166 def _remote_temp(self, is_dir): argument
172 dir_arg = '-d' if is_dir else ''
/external/python/cpython2/Tools/nuget/
Dmake_zip.py65 if p.is_dir():
89 if p.is_dir() and p.name.lower() in {'scripts', 'i18n', 'pynche', 'demo', 'parser'}:
164 if recurse and f.is_dir() and (not condition or condition(f)):
/external/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c90 int is_dir; member
107 int is_dir; member
423 ufile->is_dir = (type == IS_DIRECTORY); in ufiles_add()
470 if (ufile->is_dir) in create_check_hlinks()
/external/e2fsprogs/contrib/android/
Dfsmap.c48 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() function
91 if (is_dir(pdata->fs, de->inode)) { in walk_ext_dir()
Dperms.c185 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() function
238 if (is_dir(params->fs, de->inode)) { in walk_dir()
/external/e2fsprogs/e2fsck/
Dpass1.c85 unsigned is_dir:1, is_reg:1, clear:1, suppress:1, member
1511 pb.suppress = 0; pb.clear = 0; pb.is_dir = 0; in e2fsck_pass1()
2563 int is_dir, is_leaf; in scan_extent_node() local
2598 is_dir = LINUX_S_ISDIR(pctx->inode->i_mode); in scan_extent_node()
2623 else if (is_leaf && is_dir && in scan_extent_node()
2636 if (try_repairs && is_dir && problem == 0 && in scan_extent_node()
2771 if (pb->is_dir) in scan_extent_node()
2793 if (try_repairs && is_dir && in scan_extent_node()
2827 while (is_dir && (++pb->last_db_block < in scan_extent_node()
2866 if (is_dir) { in scan_extent_node()
[all …]
/external/kmod/shared/
Dutil.c387 static inline int is_dir(const char *path) in is_dir() function
409 int r = is_dir(start); in mkdir_p()
/external/valgrind/coregrind/m_initimg/
Dinitimg-pathscan.c101 if (VG_(is_dir)(buf)) in match_executable() local
/external/valgrind/coregrind/
Dpub_core_libcfile.h57 extern Bool VG_(is_dir) ( const HChar* f );
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1720 self.assertTrue(p.is_dir())
1734 self.assertTrue(p.is_dir())
1743 self.assertTrue(p.is_dir())
1754 self.assertTrue(p.is_dir())
1783 if not p.is_dir():
1828 self.assertFalse(link.is_dir())
1835 self.assertTrue(link.is_dir())
1840 self.assertTrue((P / 'dirA').is_dir())
1841 self.assertFalse((P / 'fileA').is_dir())
1842 self.assertFalse((P / 'non-existing').is_dir())
[all …]
/external/autotest/client/cros/faft/utils/
Dfirmware_updater.py67 if not self.os_if.is_dir(self._temp_path):
93 if self.os_if.is_dir(self._temp_path):

12