Searched refs:is_file (Results 1 – 14 of 14) sorted by relevance
/external/jsoncpp/devtools/ |
D | antglob.py | 138 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/ |
D | test_zipapp.py | 30 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())
|
D | test_pathlib.py | 1851 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())
|
D | test_os.py | 3115 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/ |
D | make_zip.py | 149 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/ |
D | make_zip.py | 164 if dest.is_file(): 167 if dest.is_file(): 181 elif f.is_file() and (not condition or condition(f)):
|
/external/python/cpython3/Lib/ |
D | zipapp.py | 103 if source.is_file(): 113 has_main = (source / '__main__.py').is_file()
|
D | pathlib.py | 1339 def is_file(self): member in Path
|
/external/curl/src/ |
D | tool_getparam.c | 1241 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/ |
D | nss.c | 341 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()
|
D | darwinssl.c | 1176 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/ |
D | os.rst | 2014 :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()``
|
D | pathlib.rst | 749 .. method:: Path.is_file()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 463 ``'.'``. The :meth:`entry.is_file() <os.DirEntry.is_file>` call will generally 467 if not entry.name.startswith('.') and entry.is_file():
|