Home
last modified time | relevance | path

Searched refs:is_file (Results 1 – 14 of 14) sorted by relevance

/external/jsoncpp/devtools/
Dantglob.py138 is_file = os.path.isfile( full_path )
139 if not is_file and not is_dir:
143 entry_type = is_file and FILE_LINK or DIR_LINK
145 entry_type = is_file and FILE or DIR
/external/python/cpython3/Lib/test/
Dtest_zipapp.py30 self.assertTrue(target.is_file())
39 self.assertTrue(target.is_file())
63 self.assertTrue(expected_target.is_file())
297 self.assertTrue(target.is_file())
305 self.assertTrue(target.is_file())
Dtest_pathlib.py1851 self.assertTrue((P / 'fileA').is_file())
1852 self.assertFalse((P / 'dirA').is_file())
1853 self.assertFalse((P / 'non-existing').is_file())
1854 self.assertFalse((P / 'fileA' / 'bah').is_file())
1856 self.assertTrue((P / 'linkA').is_file())
1857 self.assertFalse((P / 'linkB').is_file())
1858 self.assertFalse((P/ 'brokenLink').is_file())
1885 self.assertFalse(P.is_file())
1907 self.assertFalse(P.is_file())
1930 self.assertFalse(P.is_file())
Dtest_os.py3115 def check_entry(self, entry, name, is_dir, is_file, is_symlink): argument
3125 self.assertEqual(entry.is_file(),
3133 self.assertEqual(entry.is_file(follow_symlinks=False),
3234 self.assertFalse(entry.is_file())
3253 self.assertTrue(entry.is_file())
3278 self.assertFalse(entry.is_file()) # broken symlink returns False
3280 self.assertFalse(entry.is_file(follow_symlinks=False))
/external/python/cpython2/Tools/nuget/
Dmake_zip.py149 if dest.is_file():
152 if dest.is_file():
166 elif f.is_file() and (not condition or condition(f)):
/external/python/cpython3/Tools/msi/
Dmake_zip.py164 if dest.is_file():
167 if dest.is_file():
181 elif f.is_file() and (not condition or condition(f)):
/external/python/cpython3/Lib/
Dzipapp.py103 if source.is_file():
113 has_main = (source / '__main__.py').is_file()
Dpathlib.py1339 def is_file(self): member in Path
/external/curl/src/
Dtool_getparam.c1241 char is_file; in getparameter() local
1247 is_file = *p++; /* pass the separator */ in getparameter()
1251 nlen = is_file = 0; in getparameter()
1254 if('@' == is_file) { in getparameter()
/external/curl/lib/vtls/
Dnss.c341 static int is_file(const char *filename) in is_file() function
365 if(!is_file(str)) in dup_nickname()
491 if(is_file(filename)) in nss_load_cert()
685 if(key_file || (is_file(cert_file))) { in cert_stuff()
Ddarwinssl.c1176 CF_INLINE bool is_file(const char *filename) in is_file() function
1531 bool is_cert_file = is_file(ssl_cert);
1665 bool is_cert_file = is_file(ssl_cafile);
/external/python/cpython3/Doc/library/
Dos.rst2014 :func:`~os.DirEntry.is_dir` and :func:`~os.DirEntry.is_file` usually only
2041 ``'.'``. The ``entry.is_file()`` call will generally not make an additional
2046 if not entry.name.startswith('.') and entry.is_file():
2151 .. method:: is_file(\*, follow_symlinks=True)
2202 meaning, as do the ``is_dir()``, ``is_file()``, ``is_symlink()``
Dpathlib.rst749 .. method:: Path.is_file()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst463 ``'.'``. The :meth:`entry.is_file() <os.DirEntry.is_file>` call will generally
467 if not entry.name.startswith('.') and entry.is_file():