Home
last modified time | relevance | path

Searched refs:quote_from_bytes (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/third_party/jinja2/
D_compat.py97 from urllib.parse import quote_from_bytes as url_quote
/external/python/jinja/src/jinja2/
Dutils.py9 from urllib.parse import quote_from_bytes
306 rv = quote_from_bytes(obj, safe)
/external/python/cpython3/Lib/urllib/
Dparse.py853 return quote_from_bytes(string, safe)
872 def quote_from_bytes(bs, safe='/'): function
/external/python/cpython3/Lib/test/
Dtest_urlparse.py918 self.assertRaises(TypeError, urllib.parse.quote_from_bytes, 'foo')
919 result = urllib.parse.quote_from_bytes(b'archaeological arcana')
921 result = urllib.parse.quote_from_bytes(b'')
Dtest_urllib.py1015 result = urllib.parse.quote_from_bytes(given)
Dtest_pathlib.py708 from urllib.parse import quote_from_bytes
715 'file:///a/b' + quote_from_bytes(os.fsencode('\xe9')))
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py36 from urllib.parse import quote_from_bytes as urlquote_from_bytes
/external/python/cpython3/Doc/library/
Durllib.parse.rst543 ``quote_from_bytes(string.encode(encoding, errors), safe)``.
558 .. function:: quote_from_bytes(bytes, safe='/')
563 Example: ``quote_from_bytes(b'a&\xef')`` yields
/external/python/parse_type/tasks/_vendor/
Dpathlib.py18 from urllib.parse import quote as urlquote, quote_from_bytes as urlquote_from_bytes
/external/python/cpython3/Lib/
Dpathlib.py13 from urllib.parse import quote_from_bytes as urlquote_from_bytes
/external/python/cpython3/Misc/
DHISTORY13403 - Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,