Home
last modified time | relevance | path

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

12

/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/angle/third_party/jsoncpp/source/devtools/
Dantglob.py141 is_file = os.path.isfile(full_path)
142 if not is_file and not is_dir:
146 entry_type = is_file and FILE_LINK or DIR_LINK
148 entry_type = is_file and FILE or DIR
/external/crosvm/gpu_display/
Dbuild.rs21 if file_type.is_file() && entry.file_name() == name.as_ref() { in scan_path()
47 protocol_path.is_file(), in find_protocol()
/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.py1942 self.assertTrue((P / 'fileA').is_file())
1943 self.assertFalse((P / 'dirA').is_file())
1944 self.assertFalse((P / 'non-existing').is_file())
1945 self.assertFalse((P / 'fileA' / 'bah').is_file())
1947 self.assertTrue((P / 'linkA').is_file())
1948 self.assertFalse((P / 'linkB').is_file())
1949 self.assertFalse((P/ 'brokenLink').is_file())
1950 self.assertIs((P / 'fileA\udfff').is_file(), False)
1951 self.assertIs((P / 'fileA\x00').is_file(), False)
1977 self.assertIs((P / 'fileA\udfff').is_file(), False)
[all …]
Dtest_zipfile.py2783 assert a.is_file()
2787 assert c.is_file() and f.is_file()
2789 assert e.is_file()
2792 assert i.is_file()
2813 assert a.is_file()
2821 assert a.is_file()
Dtest_os.py3674 def check_entry(self, entry, name, is_dir, is_file, is_symlink): argument
3684 self.assertEqual(entry.is_file(),
3692 self.assertEqual(entry.is_file(follow_symlinks=False),
3796 self.assertFalse(entry.is_file())
3815 self.assertTrue(entry.is_file())
3840 self.assertFalse(entry.is_file()) # broken symlink returns False
3842 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.py1411 def is_file(self): member in Path
/external/python/cpython3/PC/layout/support/
Dcatalog.py37 return file.is_file() and file.stat().st_size
Dfilesets.py87 if f.is_file() and condition(f)
Dappxmanifest.py471 if (ns.source / SCCD_FILENAME).is_file():
503 if sccd.is_file():
/external/python/cpython3/PC/layout/
Dmain.py148 if pdb.is_file():
152 if lib.is_file():
337 if zip_path.is_file():
377 if ns.zip.is_file():
/external/adhd/cras/client/cras-sys/generator/src/
Dmain.rs14 if dst_dir.is_file() { in copy_headers()
/external/bc/tests/
Dafl.py87 (entry.is_file() and get_files)):
/external/curl/src/
Dtool_getparam.c1328 char is_file; in getparameter() local
1334 is_file = *p++; /* pass the separator */ in getparameter()
1338 nlen = is_file = 0; in getparameter()
1341 if('@' == is_file) { in getparameter()
/external/python/cpython3/Lib/importlib/
Dresources.py238 return path.is_file()
/external/curl/lib/vtls/
Dnss.c381 static int is_file(const char *filename) in is_file() function
405 if(!is_file(str)) in dup_nickname()
541 if(is_file(filename)) in nss_load_cert()
740 if(key_file || (is_file(cert_file))) { in cert_stuff()
Dsectransp.c1233 CF_INLINE bool is_file(const char *filename) in is_file() function
1615 bool is_cert_file = is_file(ssl_cert);
1751 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/crosvm/p9/src/
Dserver.rs116 } else if metadata.is_file() { in metadata_to_qid()
739 } else if md.is_file() { in readdir()
/external/crosvm/io_jail/src/
Dlib.rs257 if !path.is_file() { in parse_seccomp_filters()
/external/python/cpython3/Doc/library/
Dpathlib.rst645 :meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`,
769 .. method:: Path.is_file()
1141 :func:`os.path.isfile` :meth:`Path.is_file`
/external/python/parse_type/tasks/_vendor/
Dpathlib.py1196 def is_file(self): member in Path

12