Home
last modified time | relevance | path

Searched refs:normcase (Results 1 - 25 of 49) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_fnmatch.py80 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 Dtest_genericpath.py350 '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 Dtest_zipimport_support.py228 # 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 Dtest_site.py96 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 Dtest_filecmp.py64 self.caseinsensitive = os.path.normcase('A') == os.path.normcase('a')
H A Dtest_venv.py213 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 Dtest_ntpath.py48 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 Dfilesets.py16 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 Dntpath.py27 __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 Dfnmatch.py34 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 Dfilecmp.py145 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 Dfinddiv.py79 if os.path.normcase(fn).endswith(".py") or os.path.isdir(fn):
81 files.sort(key=os.path.normcase)
H A Dbyext.py50 ext = os.path.normcase(ext)
/third_party/python/Lib/idlelib/
H A Dpathbrowser.py63 nn = os.path.normcase(name)
91 normed_name = os.path.normcase(name)
H A Dfilelist.py28 key = os.path.normcase(filename)
85 newkey = os.path.normcase(filename)
H A Dbrowser.py31 ext = os.path.normcase(ext)
/third_party/python/Lib/multiprocessing/
H A Dpopen_spawn_win32.py23 return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)
/third_party/python/Tools/c-analyzer/cpython/
H A D__init__.py4 TOOL_ROOT = os.path.normcase(
H A D_files.py30 filename = os.path.normcase(os.path.normpath(filename))
/third_party/python/Lib/venv/
H A D__init__.py164 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 Dbcppcompiler.py238 (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 Dcygwinccompiler.py256 # 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 Dinstall_lib.py164 ext = os.path.splitext(os.path.normcase(py_file))[1]
H A Dinstall.py598 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 Dutils.py143 file_path = os.path.normcase(file_path)

Completed in 14 milliseconds

12