Home
last modified time | relevance | path

Searched refs:pathname2url (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_urllib.py21 from nturl2path import url2pathname, pathname2url
726 return "file://%s" % urllib.request.pathname2url(filePath)
1493 result = urllib.request.pathname2url(expected_path)
1507 result = urllib.request.pathname2url(given)
1518 result = urllib.request.pathname2url(given)
1535 result = urllib.request.pathname2url(given)
1541 result = urllib.request.pathname2url(given)
1595 fileurl = "file:" + urllib.request.pathname2url(tmpfile)
1671 self.assertEqual(url2pathname(pathname2url(path)), path)
1676 self.assertEqual(pathname2url("C:"), '///C:')
[all …]
Dtest_urllib2.py692 urlpath = urllib.request.pathname2url(path)
/third_party/python/Lib/
Dnturl2path.py45 def pathname2url(p): function
/third_party/skia/tools/skpbench/
Dsheet.py160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
/third_party/flutter/skia/tools/skpbench/
Dsheet.py160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
/third_party/python/Lib/urllib/
Drequest.py1679 from nturl2path import url2pathname, pathname2url
1686 def pathname2url(pathname): function
/third_party/python/Doc/library/
Durllib.request.rst154 .. function:: pathname2url(path)
/third_party/python/Misc/
DHISTORY27713 Don't convert URLs to URLs using pathname2url.
27973 As Des Barry points out, we need to call pathname2url(file) in two
32206 - Module urllib now has two new functions url2pathname and pathname2url