/external/python/cpython2/Lib/test/ |
test_macurl2path.py | 6 self.assertEqual(":index.html", macurl2path.url2pathname("index.html")) 7 self.assertEqual(":bar:index.html", macurl2path.url2pathname("bar/index.html")) 8 self.assertEqual("foo:bar:index.html", macurl2path.url2pathname("/foo/bar/index.html")) 9 self.assertEqual("foo:bar", macurl2path.url2pathname("/foo/bar/")) 10 self.assertEqual("", macurl2path.url2pathname("/")) 11 self.assertRaises(RuntimeError, macurl2path.url2pathname, "http://foo.com") 12 self.assertEqual("index.html", macurl2path.url2pathname("///index.html")) 13 self.assertRaises(RuntimeError, macurl2path.url2pathname, "//index.html") 14 self.assertEqual(":index.html", macurl2path.url2pathname("./index.html")) 15 self.assertEqual(":index.html", macurl2path.url2pathname("foo/../index.html") [all...] |
/external/python/cpython3/Lib/test/ |
test_macurl2path.py | 6 self.assertEqual(":index.html", macurl2path.url2pathname("index.html")) 7 self.assertEqual(":bar:index.html", macurl2path.url2pathname("bar/index.html")) 8 self.assertEqual("foo:bar:index.html", macurl2path.url2pathname("/foo/bar/index.html")) 9 self.assertEqual("foo:bar", macurl2path.url2pathname("/foo/bar/")) 10 self.assertEqual("", macurl2path.url2pathname("/")) 11 self.assertRaises(RuntimeError, macurl2path.url2pathname, "http://foo.com") 12 self.assertEqual("index.html", macurl2path.url2pathname("///index.html")) 13 self.assertRaises(RuntimeError, macurl2path.url2pathname, "//index.html") 14 self.assertEqual(":index.html", macurl2path.url2pathname("./index.html")) 15 self.assertEqual(":index.html", macurl2path.url2pathname("foo/../index.html") [all...] |
test_urllib.py | 19 from nturl2path import url2pathname, pathname2url [all...] |
/external/python/cpython2/Lib/plat-riscos/ |
rourl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 12 def url2pathname(url): function 62 print '%r -> %r' % (url, url2pathname(url))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function 85 print '%r -> %r' % (url, url2pathname(url))
|
nturl2path.py | 3 def url2pathname(url): function
|
urllib.py | 37 "urlencode", "url2pathname", "pathname2url", "splittag", 49 from nturl2path import url2pathname, pathname2url 51 from rourl2path import url2pathname, pathname2url 53 def url2pathname(pathname): function 237 return url2pathname(splithost(url1)[1]), hdrs 473 localname = url2pathname(file) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function 85 print '%r -> %r' % (url, url2pathname(url))
|
nturl2path.py | 3 def url2pathname(url): function
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function 85 print '%r -> %r' % (url, url2pathname(url))
|
nturl2path.py | 3 def url2pathname(url): function
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function 85 print '%r -> %r' % (url, url2pathname(url))
|
nturl2path.py | 3 def url2pathname(url): function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
nturl2path.py | 3 def url2pathname(url):
function
|
urllib.py | 34 "urlencode", "url2pathname", "pathname2url", "splittag",
46 from nturl2path import url2pathname, pathname2url
48 from rourl2path import url2pathname, pathname2url
50 def url2pathname(pathname):
function 234 return url2pathname(splithost(url1)[1]), hdrs
471 localname = url2pathname(file)
[all...] |
/external/python/cpython2/Lib/ |
nturl2path.py | 3 def url2pathname(url): function
|
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function
|
urllib.py | 37 "urlencode", "url2pathname", "pathname2url", "splittag", 49 from nturl2path import url2pathname, pathname2url 51 from rourl2path import url2pathname, pathname2url 53 def url2pathname(pathname): function 242 return url2pathname(splithost(url1)[1]), hdrs 479 localname = url2pathname(file) [all...] |
/external/python/cpython3/Lib/ |
nturl2path.py | 3 def url2pathname(url): function
|
macurl2path.py | 8 __all__ = ["url2pathname","pathname2url"] 10 def url2pathname(pathname): function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib.py | 592 """Test pathname2url() and url2pathname()"""
602 result = urllib.url2pathname(expected_url)
609 # url2pathname() respectively
617 result = urllib.url2pathname(result)
619 "url2pathname() failed; %s != %s" %
629 result = urllib.url2pathname(given)
631 "url2pathname() failed; %s != %s" %
640 result = urllib.url2pathname(url)
642 'nturl2path.url2pathname() failed; %s != %s' %
646 result = urllib.url2pathname(given) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib.py | 715 """Test pathname2url() and url2pathname()""" 725 result = urllib.url2pathname(expected_url) 732 # url2pathname() respectively 740 result = urllib.url2pathname(result) 742 "url2pathname() failed; %s != %s" % 752 result = urllib.url2pathname(given) 754 "url2pathname() failed; %s != %s" % 763 result = urllib.url2pathname(url) 765 'nturl2path.url2pathname() failed; %s != %s' % 769 result = urllib.url2pathname(given [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib.py | 715 """Test pathname2url() and url2pathname()""" 725 result = urllib.url2pathname(expected_url) 732 # url2pathname() respectively 740 result = urllib.url2pathname(result) 742 "url2pathname() failed; %s != %s" % 752 result = urllib.url2pathname(given) 754 "url2pathname() failed; %s != %s" % 763 result = urllib.url2pathname(url) 765 'nturl2path.url2pathname() failed; %s != %s' % 769 result = urllib.url2pathname(given [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib.py | 715 """Test pathname2url() and url2pathname()""" 725 result = urllib.url2pathname(expected_url) 732 # url2pathname() respectively 740 result = urllib.url2pathname(result) 742 "url2pathname() failed; %s != %s" % 752 result = urllib.url2pathname(given) 754 "url2pathname() failed; %s != %s" % 763 result = urllib.url2pathname(url) 765 'nturl2path.url2pathname() failed; %s != %s' % 769 result = urllib.url2pathname(given [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib.py | 715 """Test pathname2url() and url2pathname()""" 725 result = urllib.url2pathname(expected_url) 732 # url2pathname() respectively 740 result = urllib.url2pathname(result) 742 "url2pathname() failed; %s != %s" % 752 result = urllib.url2pathname(given) 754 "url2pathname() failed; %s != %s" % 763 result = urllib.url2pathname(url) 765 'nturl2path.url2pathname() failed; %s != %s' % 769 result = urllib.url2pathname(given [all...] |