Home
last modified time | relevance | path

Searched refs:extsep (Results 1 – 25 of 49) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_pkg.py90 hier = [("t1", None), ("t1 __init__"+os.extsep+"py", "")]
97 ("t2 __init__"+os.extsep+"py", "'doc for t2'"),
99 ("t2 sub __init__"+os.extsep+"py", ""),
101 ("t2 sub subsub __init__"+os.extsep+"py", "spam = 1"),
144 ("t3 __init__"+os.extsep+"py", ""),
146 ("t3 sub __init__"+os.extsep+"py", ""),
148 ("t3 sub subsub __init__"+os.extsep+"py", "spam = 1"),
161 ("t4 __init__"+os.extsep+"py", ""),
164 ("t4 sub __init__"+os.extsep+"py", ""),
165 ("t4 sub subsub"+os.extsep+"py",
[all …]
Dtest_import.py20 return (name + os.extsep + "py",
21 name + os.extsep + "pyc",
22 name + os.extsep + "pyo",
23 name + os.extsep + "pyw",
64 pyo = TESTFN + os.extsep + "pyo"
68 pyc = TESTFN + os.extsep + "pyc"
102 test_with_extension(os.extsep + "py")
119 fname = TESTFN + os.extsep + "py"
146 fname = TESTFN + os.extsep + "py"
196 filename = module + os.extsep + 'py'
[all …]
Dtest_repr.py230 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py'))
233 touch(os.path.join(self.subpkgname, '__init__'+os.extsep+'py'))
255 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
263 touch(os.path.join(self.subpkgname, 'foo'+os.extsep+'py'), '''\
278 touch(os.path.join(self.subpkgname, 'bar'+os.extsep+'py'), '''\
288 touch(os.path.join(self.subpkgname, 'baz'+os.extsep+'py'), '''\
299 touch(os.path.join(self.subpkgname, 'qux'+os.extsep+'py'), '''\
Dtest_imageop.py78 uu.decode(get_qualified_path('testrgb'+os.extsep+'uue'), 'test'+os.extsep+'rgb')
80 image, width, height = getimage('test'+os.extsep+'rgb')
177 unlink('test'+os.extsep+'rgb')
Dtest_pkgimport.py26 self.package_dir, '__init__'+os.extsep+'py'), 'w').close()
27 self.module_path = os.path.join(self.package_dir, 'foo'+os.extsep+'py')
Dtest_runpy.py111 pkg_fname = os.path.join(pkg_dir, "__init__"+os.extsep+"py")
118 test_fname = mod_base+os.extsep+"py"
215 sibling_fname = os.path.join(module_dir, "sibling"+os.extsep+"py")
226 nephew_fname = os.path.join(cousin_dir, "nephew"+os.extsep+"py")
Dtest_tokenize.py650 fn = test_support.findfile("tokenize_tests" + os.extsep + "txt")
706 fn = test_support.findfile("tokenize_tests" + os.extsep + "txt")
/external/python/cpython2/Lib/
Dwhichdb.py32 f = open(filename + os.extsep + "pag", "rb")
36 f = open(filename + os.extsep + "dir", "rb")
43 f = open(filename + os.extsep + "db", "rb")
58 os.stat(filename + os.extsep + "dat")
59 size = os.stat(filename + os.extsep + "dir").st_size
63 f = open(filename + os.extsep + "dir", "rb")
Dgenericpath.py93 def _splitext(p, sep, altsep, extsep): argument
104 dotIndex = p.rfind(extsep)
109 if p[filenameIndex] != extsep:
Ddumbdbm.py57 self._dirfile = filebasename + _os.extsep + 'dir'
63 self._datfile = filebasename + _os.extsep + 'dat'
64 self._bakfile = filebasename + _os.extsep + 'bak'
Dmacpath.py20 extsep = '.' variable
75 return genericpath._splitext(p, sep, altsep, extsep)
Dpkgutil.py520 sname = os.extsep.join(name.split('.'))
521 sname_pkg = sname + os.extsep + "pkg"
522 init_py = "__init__" + os.extsep + "py"
Dposixpath.py32 extsep = '.' variable
98 return genericpath._splitext(p, sep, altsep, extsep)
Dos2emxpath.py25 extsep = '.' variable
Dntpath.py27 extsep = '.' variable
200 return genericpath._splitext(p, sep, altsep, extsep)
/external/python/cpython3/Lib/
Dgenericpath.py117 def _splitext(p, sep, altsep, extsep): argument
129 dotIndex = p.rfind(extsep)
134 if p[filenameIndex:filenameIndex+1] != extsep:
Dposixpath.py18 extsep = '.' variable
125 extsep = b'.'
128 extsep = '.'
129 return genericpath._splitext(p, sep, None, extsep)
Dmacpath.py8 extsep = '.' variable
100 return genericpath._splitext(p, sep, altsep, extsep)
/external/python/cpython2/Lib/test/support/
Dscript_helper.py107 script_filename = script_basename+os.extsep+'py'
123 zip_filename = zip_basename+os.extsep+'zip'
155 zip_filename = zip_basename+os.extsep+'zip'
/external/python/cpython3/Lib/test/support/
Dscript_helper.py205 script_filename += os.extsep + 'py'
215 zip_filename = zip_basename+os.extsep+'zip'
253 zip_filename = zip_basename+os.extsep+'zip'
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddata.py153 if ext.startswith(_os.path.extsep):
154 ext = ext[len(_os.path.extsep):]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddata.py153 if ext.startswith(_os.path.extsep):
154 ext = ext[len(_os.path.extsep):]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py153 if ext.startswith(_os.path.extsep):
154 ext = ext[len(_os.path.extsep):]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py153 if ext.startswith(_os.path.extsep):
154 ext = ext[len(_os.path.extsep):]
/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py17 PYTHON_SOURCE_EXTENSION = os.extsep + "py"

12