Home
last modified time | relevance | path

Searched refs:is_file (Results 1 – 20 of 20) 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/cpython2/Tools/nuget/
Dmake_zip.py150 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/
Dtest_zipapp.py31 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())
Dtest_pathlib.py1873 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 …]
Dtest_os.py3391 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/
Dzipapp.py102 if source.is_file():
112 has_main = (source / '__main__.py').is_file()
Dpathlib.py1359 def is_file(self): member in Path
/external/python/cpython3/PC/layout/support/
Dcatalog.py37 return file.is_file() and file.stat().st_size
Dappxmanifest.py262 if sccd.is_file():
474 if (ns.source / SCCD_FILENAME).is_file():
Dfilesets.py87 if f.is_file() and condition(f)
/external/python/cpython3/PC/layout/
Dmain.py131 if pdb.is_file():
135 if lib.is_file():
321 if zip_path.is_file():
380 if ns.zip.is_file():
/external/curl/src/
Dtool_getparam.c1305 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/
Dresources.py238 return path.is_file()
/external/curl/lib/vtls/
Dnss.c372 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()
Dsectransp.c1232 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/
Dpackage_index.py389 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/
Dpathlib.rst759 .. method:: Path.is_file()
1103 :func:`os.path.isfile` :meth:`Path.is_file`
Dos.rst2132 :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/
D3.7.1rc1.rst1350 is_file and similar methods. DirEntry.is_dir can also throw this exception
/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():