/third_party/python/Lib/test/ |
H A D | test_fnmatch.py | 80 ignorecase = os.path.normcase('ABC') == os.path.normcase('abc') 88 normsep = os.path.normcase('\\') == os.path.normcase('/') 96 ignorecase = os.path.normcase('ABC') == os.path.normcase('abc') 123 ignorecase = os.path.normcase('ABC') == os.path.normcase('abc') 124 normsep = os.path.normcase('\\') == os.path.normcase('/') [all...] |
H A D | test_genericpath.py | 350 'normcase', 'splitdrive', 'expandvars', 'normpath', 'abspath', 356 normcase = self.pathmodule.normcase 357 # check that normcase() is idempotent 359 p = normcase(p) 360 self.assertEqual(p, normcase(p)) 362 self.assertEqual(normcase(''), '') 363 self.assertEqual(normcase(b''), b'') 365 # check that normcase raises a TypeError for invalid types 367 self.assertRaises(TypeError, normcase, pat [all...] |
H A D | test_zipimport_support.py | 228 # bdb/pdb applies normcase to its filename before displaying 229 self.assertIn(os.path.normcase(script_name.encode('utf-8')), data) 235 # bdb/pdb applies normcase to its filename before displaying 236 self.assertIn(os.path.normcase(run_name.encode('utf-8')), data)
|
H A D | test_site.py | 96 if original_dir == os.path.normcase(original_dir): 99 self.assertEqual(os.path.normcase(abs_dir), norm_dir) 305 self.assertEqual(os.path.normcase(dirs[1]), 306 os.path.normcase(wanted))
|
H A D | test_filecmp.py | 64 self.caseinsensitive = os.path.normcase('A') == os.path.normcase('a')
|
H A D | test_venv.py | 213 expect_exe = os.path.normcase( 217 expect_exe = os.path.normcase(os.path.realpath(expect_exe)) 220 cmd[0] = os.path.normcase(cmd[0])
|
H A D | test_ntpath.py | 48 return ntpath.normcase(os.fsdecode(path)) 50 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path) 914 self._check_function(self.path.normcase) 916 self.assertEqual(ntpath.normcase('\u03a9\u2126'), 'ωΩ')
|
/third_party/python/PC/layout/support/ |
H A D | filesets.py | 16 for p in map(os.path.normcase, patterns): 25 return os.path.normcase(f.stem) 38 return os.path.normcase(f.name) 46 for p in map(os.path.normcase, patterns): 59 return os.path.normcase(f.suffix)
|
/third_party/python/Lib/ |
H A D | ntpath.py | 27 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 51 def normcase(s): function 70 def normcase(s): function 601 while normcase(path) not in seen: 602 seen.add(normcase(path)) 682 if normcase(path) == normcase(os.fsencode(devnull)): 690 if normcase(path) == normcase(devnull): 765 if normcase(start_driv [all...] |
H A D | fnmatch.py | 34 name = os.path.normcase(name) 35 pat = os.path.normcase(pat) 51 pat = os.path.normcase(pat) 54 # normcase on posix is NOP. Optimize it away from the loop. 60 if match(os.path.normcase(name)):
|
H A D | filecmp.py | 145 a = dict(zip(map(os.path.normcase, self.left_list), self.left_list)) 146 b = dict(zip(map(os.path.normcase, self.right_list), self.right_list))
|
/third_party/python/Tools/scripts/ |
H A D | finddiv.py | 79 if os.path.normcase(fn).endswith(".py") or os.path.isdir(fn): 81 files.sort(key=os.path.normcase)
|
H A D | byext.py | 50 ext = os.path.normcase(ext)
|
/third_party/python/Lib/idlelib/ |
H A D | pathbrowser.py | 63 nn = os.path.normcase(name) 91 normed_name = os.path.normcase(name)
|
H A D | filelist.py | 28 key = os.path.normcase(filename) 85 newkey = os.path.normcase(filename)
|
H A D | browser.py | 31 ext = os.path.normcase(ext)
|
/third_party/python/Lib/multiprocessing/ |
H A D | popen_spawn_win32.py | 23 return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | __init__.py | 4 TOOL_ROOT = os.path.normcase(
|
H A D | _files.py | 30 filename = os.path.normcase(os.path.normpath(filename))
|
/third_party/python/Lib/venv/ |
H A D | __init__.py | 164 if os.path.normcase(real_env_exe) != os.path.normcase(context.env_exe): 311 os.path.normcase(os.path.splitext(f)[1]) in ('.exe', '.dll') 316 os.path.normcase(f).startswith(('python', 'vcruntime'))
|
/third_party/python/Lib/distutils/ |
H A D | bcppcompiler.py | 238 (base, ext) = os.path.splitext(os.path.normcase(file)) 341 # use normcase to make sure '.rc' is really '.rc' and not '.RC' 342 (base, ext) = os.path.splitext (os.path.normcase(src_name))
|
H A D | cygwinccompiler.py | 256 # use normcase to make sure '.rc' is really '.rc' and not '.RC' 257 base, ext = os.path.splitext(os.path.normcase(src_name))
|
/third_party/python/Lib/distutils/command/ |
H A D | install_lib.py | 164 ext = os.path.splitext(os.path.normcase(py_file))[1]
|
H A D | install.py | 598 sys_path = map(os.path.normcase, sys_path) 599 install_lib = os.path.normcase(os.path.normpath(self.install_lib))
|
/third_party/skia/infra/bots/ |
H A D | utils.py | 143 file_path = os.path.normcase(file_path)
|