Home
last modified time | relevance | path

Searched refs:pathname2url (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_urllib.py22 from nturl2path import url2pathname, pathname2url namespace
726 return "file://%s" % urllib.request.pathname2url(filePath)
1487 """Test pathname2url() and url2pathname()"""
1493 result = urllib.request.pathname2url(expected_path)
1495 "pathname2url() failed; %s != %s" %
1507 result = urllib.request.pathname2url(given)
1509 "pathname2url() failed; %s != %s" %
1518 result = urllib.request.pathname2url(given)
1520 "pathname2url() failed; %s != %s" %
1532 # Test special prefixes are correctly handled in pathname2url()
[all...]
H A Dtest_urllib2.py44 u, p = context.pop('url2pathname'), context.pop('pathname2url')
710 urlpath = urllib.request.pathname2url(path)
/third_party/python/Lib/
H A Dnturl2path.py45 def pathname2url(p): function
/third_party/skia/tools/skpbench/
H A Dsheet.py160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
/third_party/python/Lib/urllib/
H A Drequest.py130 'pathname2url', 'url2pathname', 'getproxies',
1678 from nturl2path import url2pathname, pathname2url namespace
1685 def pathname2url(pathname): member in DataHandler

Completed in 12 milliseconds