Home
last modified time | relevance | path

Searched refs:altsep (Results 1 – 25 of 47) sorted by relevance

12

/external/python/cpython3/Lib/
Dntpath.py16 altsep = '/' variable
145 altsep = b'/'
149 altsep = '/'
151 normp = p.replace(altsep, sep)
455 altsep = b'/'
461 altsep = '/'
471 path = path.replace(altsep, sep)
601 altsep = b'/'
605 altsep = '/'
609 drivesplits = [splitdrive(p.replace(altsep, sep).lower()) for p in paths]
[all …]
Dgenericpath.py117 def _splitext(p, sep, altsep, extsep): argument
125 if altsep:
126 altsepIndex = p.rfind(altsep)
Dmacpath.py12 altsep = None variable
98 return genericpath._splitext(p, b':', altsep, b'.')
100 return genericpath._splitext(p, sep, altsep, extsep)
Dpathlib.py65 altsep = self.altsep
71 if altsep:
72 part = part.replace(altsep, sep)
89 if altsep:
90 part = part.replace(altsep, sep)
123 altsep = '/' variable in _WindowsFlavour
284 altsep = '' variable in _PosixFlavour
821 if (not name or name[-1] in [self._flavour.sep, self._flavour.altsep]
833 if f.sep in suffix or f.altsep and f.altsep in suffix:
Dtrace.py148 if os.altsep:
149 base = base.replace(os.altsep, ".")
/external/python/cpython2/Lib/
Dgenericpath.py93 def _splitext(p, sep, altsep, extsep): argument
100 if altsep:
101 altsepIndex = p.rfind(altsep)
Dntpath.py30 altsep = '/' variable
36 altsep = '/' variable
116 normp = p.replace(altsep, sep)
200 return genericpath._splitext(p, sep, altsep, extsep)
Dmacpath.py24 altsep = None variable
75 return genericpath._splitext(p, sep, altsep, extsep)
Dposixpath.py36 altsep = None variable
98 return genericpath._splitext(p, sep, altsep, extsep)
Dos2emxpath.py27 altsep = '\\' variable
Dtrace.py216 if os.altsep:
217 base = base.replace(os.altsep, ".")
/external/python/cpython2/Lib/plat-os2emx/
Dpwd.py83 return path.replace(os.altsep, os.sep)
93 return conv.replace(os.altsep, os.sep)
/external/python/cpython2/Lib/test/
Dtest_socketserver.py123 if fn[0] in (os.sep, os.altsep):
126 fn = fn.replace(os.sep, os.altsep)
128 fn = fn.replace(os.altsep, os.sep)
/external/python/cpython2/Lib/idlelib/
DAutoComplete.py27 if os.altsep: # e.g. '/' on Windows...
28 SEPS += os.altsep
/external/python/cpython3/Lib/idlelib/
Dautocomplete.py24 if os.altsep: # e.g. '/' on Windows...
25 SEPS += os.altsep
/external/skqp/tools/skqp/
Dmake_rendertests_list.py21 assert '/' in [os.sep, os.altsep]
Dmake_apk_list.py96 assert '/' in [os.sep, os.altsep] and '..' == os.pardir
Dmake_universal_apk.py82 assert '/' in [os.sep, os.altsep] # 'a/b' over os.path.join('a', 'b')
/external/skia/tools/skqp/
Dmake_rendertests_list.py21 assert '/' in [os.sep, os.altsep]
Dmake_apk_list.py96 assert '/' in [os.sep, os.altsep] and '..' == os.pardir
Dfind_commit_with_best_gold_results.py16 assert '/' in [os.sep, os.altsep]
Dmake_universal_apk.py82 assert '/' in [os.sep, os.altsep] # 'a/b' over os.path.join('a', 'b')
/external/libchrome/third_party/jinja2/
Dloaders.py29 or (path.altsep and path.altsep in piece) or \
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py22 altsep = None variable
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py1053 if os.path.altsep:
1054 arcname = arcname.replace(os.path.altsep, os.path.sep)
1134 while arcname[0] in (os.sep, os.altsep):

12