Home
last modified time | relevance | path

Searched refs:expandvars (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_genericpath.py190 expandvars = self.pathmodule.expandvars
196 self.assertEqual(expandvars("foo"), "foo")
197 self.assertEqual(expandvars("$foo bar"), "bar bar")
198 self.assertEqual(expandvars("${foo}bar"), "barbar")
199 self.assertEqual(expandvars("$[foo]bar"), "$[foo]bar")
200 self.assertEqual(expandvars("$bar bar"), "$bar bar")
201 self.assertEqual(expandvars("$?bar"), "$?bar")
202 self.assertEqual(expandvars("$foo}bar"), "bar}bar")
203 self.assertEqual(expandvars("${foo"), "${foo")
204 self.assertEqual(expandvars("${{foo}}"), "baz1}")
[all …]
Dtest_posixpath.py489 self.assertEqual(posixpath.expandvars(u'$%s bar' % uwnonascii),
/external/python/cpython3/Lib/test/
Dtest_genericpath.py356 expandvars = self.pathmodule.expandvars
362 self.assertEqual(expandvars("foo"), "foo")
363 self.assertEqual(expandvars("$foo bar"), "bar bar")
364 self.assertEqual(expandvars("${foo}bar"), "barbar")
365 self.assertEqual(expandvars("$[foo]bar"), "$[foo]bar")
366 self.assertEqual(expandvars("$bar bar"), "$bar bar")
367 self.assertEqual(expandvars("$?bar"), "$?bar")
368 self.assertEqual(expandvars("$foo}bar"), "bar}bar")
369 self.assertEqual(expandvars("${foo"), "${foo")
370 self.assertEqual(expandvars("${{foo}}"), "baz1}")
[all …]
Dtest_ntpath.py516 self.assertPathEqual(self.path.expandvars)
/external/python/cpython2/Tools/freeze/
Dcheckextensions.py45 w = expandvars(w, vars)
72 def expandvars(str, vars): function
/external/python/cpython3/Tools/freeze/
Dcheckextensions.py45 w = expandvars(w, vars)
72 def expandvars(str, vars): function
/external/python/cpython2/Tools/pybench/
DCommandLine.py132 expandvars=os.path.expandvars,expanduser=os.path.expanduser, argument
142 path = expandvars(path)
/external/autotest/client/bin/
Dos_dep.py13 file = os.path.join(os.path.expandvars(os.path.expanduser(dir)), cmd)
/external/python/cpython2/Lib/
Dos2emxpath.py12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
Dmacpath.py120 def expandvars(path): function
Dposixpath.py283 def expandvars(path): function
Dntpath.py327 def expandvars(path): function
/external/tensorflow/tensorflow/contrib/tpu/profiler/pip_package/cloud_tpu_profiler/
Dmain.py124 logdir = os.path.expandvars(os.path.expanduser(FLAGS.logdir))
/external/python/cpython3/Lib/
Dmacpath.py145 def expandvars(path): function
Dposixpath.py285 def expandvars(path): function
Dntpath.py337 def expandvars(path): function
Dtempfile.py173 _os.path.expandvars(r'%SYSTEMROOT%\Temp'),
Dtrace.py667 s = os.path.expanduser(os.path.expandvars(s))
/external/python/cpython2/Doc/library/
Dglob.rst22 :func:`os.path.expandvars`.)
Dos.path.rst20 Functions such as :func:`expanduser` and :func:`expandvars` can be invoked
110 .. function:: expandvars(path)
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py308 def expandvars(p): function
/external/python/cpython3/Doc/library/
Dglob.rst29 :func:`os.path.expandvars`.)
Dos.path.rst27 Functions such as :func:`expanduser` and :func:`expandvars` can be invoked
184 .. function:: expandvars(path)
/external/chromium-trace/catapult/systrace/profile_chrome/
Dperf_tracing_agent.py166 os.path.expandvars('$USER-perf-symfs'))
/external/python/cpython2/Misc/NEWS.d/
D2.7.10rc1.rst231 ntpath.expandvars() no longer loses unbalanced single quotes.
469 Fixed expanding unicode variables of form $var in posixpath.expandvars().

12