/external/python/cpython2/Lib/test/ |
D | test_macurl2path.py | 19 self.assertEqual("drive", macurl2path.pathname2url("drive:")) 20 self.assertEqual("drive/dir", macurl2path.pathname2url("drive:dir:")) 21 self.assertEqual("drive/dir/file", macurl2path.pathname2url("drive:dir:file")) 22 self.assertEqual("drive/file", macurl2path.pathname2url("drive:file")) 23 self.assertEqual("file", macurl2path.pathname2url("file")) 24 self.assertEqual("file", macurl2path.pathname2url(":file")) 25 self.assertEqual("dir", macurl2path.pathname2url(":dir:")) 26 self.assertEqual("dir/file", macurl2path.pathname2url(":dir:file")) 27 self.assertRaises(RuntimeError, macurl2path.pathname2url, "/") 28 self.assertEqual("dir/../file", macurl2path.pathname2url("dir::file"))
|
D | test_urllib.py | 399 return "file://%s" % urllib.pathname2url(os.path.abspath(filePath)) 808 result = urllib.pathname2url(expected_path) 822 result = urllib.pathname2url(given) 833 result = urllib.pathname2url(given)
|
D | test_pydoc.py | 321 mod_url = nturl2path.pathname2url(mod_file)
|
D | test_urllib2.py | 615 urlpath = urllib.pathname2url(path)
|
/external/python/cpython2/Lib/plat-riscos/ |
D | rourl2path.py | 48 def pathname2url(pathname): function 67 print '%r -> %r' % (path, pathname2url(path))
|
/external/python/setuptools/setuptools/tests/ |
D | test_dist.py | 8 from setuptools.extern.six.moves.urllib.request import pathname2url 22 index_url = urljoin('file://', pathname2url(str(index)))
|
D | test_packageindex.py | 180 url = 'file:' + urllib.request.pathname2url(str(tmpdir)) + '/'
|
/external/python/cpython3/Lib/test/ |
D | test_urllib.py | 19 from nturl2path import url2pathname, pathname2url 724 return "file://%s" % urllib.request.pathname2url(filePath) 1491 result = urllib.request.pathname2url(expected_path) 1505 result = urllib.request.pathname2url(given) 1516 result = urllib.request.pathname2url(given) 1575 fileurl = "file:" + urllib.request.pathname2url(tmpfile) 1651 self.assertEqual(url2pathname(pathname2url(path)), path) 1656 self.assertEqual(pathname2url("C:"), '///C:') 1657 self.assertEqual(pathname2url("C:\\"), '///C:') 1660 self.assertEqual(pathname2url(r"\\\folder\test" "\\"), [all …]
|
D | test_urllib2.py | 690 urlpath = urllib.request.pathname2url(path)
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils_test.py | 28 from six.moves.urllib.request import pathname2url 56 origin = urljoin('file://', pathname2url(os.path.abspath(tar_file_path))) 75 origin = urljoin('file://', pathname2url(os.path.abspath(zip_file_path)))
|
/external/python/cpython2/Lib/ |
D | nturl2path.py | 40 def pathname2url(p): function
|
D | macurl2path.py | 52 def pathname2url(pathname): function
|
D | urllib.py | 49 from nturl2path import url2pathname, pathname2url 51 from rourl2path import url2pathname, pathname2url 58 def pathname2url(pathname): function
|
D | pydoc.py | 642 url = nturl2path.pathname2url(path)
|
/external/python/cpython3/Lib/ |
D | nturl2path.py | 45 def pathname2url(p): function
|
/external/skia/tools/skpbench/ |
D | sheet.py | 160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
|
/external/skqp/tools/skpbench/ |
D | sheet.py | 160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
|
/external/libchrome/mojo/public/tools/bindings/generators/ |
D | mojom_js_generator.py | 192 return urllib.pathname2url(
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1673 from nturl2path import url2pathname, pathname2url 1680 def pathname2url(pathname): function
|
/external/python/cpython2/Doc/library/ |
D | urllib.rst | 279 .. function:: pathname2url(path)
|
/external/python/six/documentation/ |
D | index.rst | 758 * :func:`py2:urllib.pathname2url`
|
/external/python/cpython3/Doc/library/ |
D | urllib.request.rst | 149 .. function:: pathname2url(path)
|
/external/python/cpython2/Misc/ |
D | HISTORY | 10334 Don't convert URLs to URLs using pathname2url. 10594 As Des Barry points out, we need to call pathname2url(file) in two 14827 - Module urllib now has two new functions url2pathname and pathname2url
|
/external/python/cpython3/Misc/ |
D | HISTORY | 27713 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
|