Searched refs:is_file (Results 1 – 20 of 20) 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/cpython2/Tools/nuget/ |
D | make_zip.py | 150 if dest.is_file(): 153 if dest.is_file(): 167 elif f.is_file() and (not condition or condition(f)):
|
/external/python/cpython3/Lib/test/ |
D | test_zipapp.py | 31 self.assertTrue(target.is_file()) 40 self.assertTrue(target.is_file()) 102 self.assertTrue(expected_target.is_file()) 351 self.assertTrue(target.is_file()) 359 self.assertTrue(target.is_file())
|
D | test_pathlib.py | 1873 self.assertTrue((P / 'fileA').is_file()) 1874 self.assertFalse((P / 'dirA').is_file()) 1875 self.assertFalse((P / 'non-existing').is_file()) 1876 self.assertFalse((P / 'fileA' / 'bah').is_file()) 1878 self.assertTrue((P / 'linkA').is_file()) 1879 self.assertFalse((P / 'linkB').is_file()) 1880 self.assertFalse((P/ 'brokenLink').is_file()) 1921 self.assertFalse(P.is_file()) 1943 self.assertFalse(P.is_file()) 1966 self.assertFalse(P.is_file()) [all …]
|
D | test_os.py | 3391 def check_entry(self, entry, name, is_dir, is_file, is_symlink): argument 3401 self.assertEqual(entry.is_file(), 3409 self.assertEqual(entry.is_file(follow_symlinks=False), 3513 self.assertFalse(entry.is_file()) 3532 self.assertTrue(entry.is_file()) 3557 self.assertFalse(entry.is_file()) # broken symlink returns False 3559 self.assertFalse(entry.is_file(follow_symlinks=False))
|
/external/python/cpython3/Lib/ |
D | zipapp.py | 102 if source.is_file(): 112 has_main = (source / '__main__.py').is_file()
|
D | pathlib.py | 1359 def is_file(self): member in Path
|
/external/python/cpython3/PC/layout/support/ |
D | catalog.py | 37 return file.is_file() and file.stat().st_size
|
D | appxmanifest.py | 262 if sccd.is_file(): 474 if (ns.source / SCCD_FILENAME).is_file():
|
D | filesets.py | 87 if f.is_file() and condition(f)
|
/external/python/cpython3/PC/layout/ |
D | main.py | 131 if pdb.is_file(): 135 if lib.is_file(): 321 if zip_path.is_file(): 380 if ns.zip.is_file():
|
/external/curl/src/ |
D | tool_getparam.c | 1305 char is_file; in getparameter() local 1311 is_file = *p++; /* pass the separator */ in getparameter() 1315 nlen = is_file = 0; in getparameter() 1318 if('@' == is_file) { in getparameter()
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 238 return path.is_file()
|
/external/curl/lib/vtls/ |
D | nss.c | 372 static int is_file(const char *filename) in is_file() function 396 if(!is_file(str)) in dup_nickname() 532 if(is_file(filename)) in nss_load_cert() 726 if(key_file || (is_file(cert_file))) { in cert_stuff()
|
D | sectransp.c | 1232 CF_INLINE bool is_file(const char *filename) in is_file() function 1614 bool is_cert_file = is_file(ssl_cert); 1750 bool is_cert_file = is_file(ssl_cafile);
|
/external/python/setuptools/setuptools/ |
D | package_index.py | 389 is_file = s and s.group(1).lower() == 'file' 390 if is_file or self.allows(urllib.parse.urlparse(url)[1]):
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 759 .. method:: Path.is_file() 1103 :func:`os.path.isfile` :meth:`Path.is_file`
|
D | os.rst | 2132 :func:`~os.DirEntry.is_dir` and :func:`~os.DirEntry.is_file` usually only 2162 ``'.'``. The ``entry.is_file()`` call will generally not make an additional 2167 if not entry.name.startswith('.') and entry.is_file(): 2277 .. method:: is_file(\*, follow_symlinks=True) 2328 meaning, as do the ``is_dir()``, ``is_file()``, ``is_symlink()``
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.1rc1.rst | 1350 is_file and similar methods. DirEntry.is_dir can also throw this exception
|
/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():
|