Home
last modified time | relevance | path

Searched refs:unquote (Results 1 - 25 of 26) sorted by relevance

12

/third_party/python/Lib/email/
H A Dutils.py22 'unquote',
221 # rfc822.unquote() doesn't properly de-backslash-ify in Python pre-2.3.
222 def unquote(str): function
272 value = unquote(value)
297 s = urllib.parse.unquote(s, encoding="latin-1")
311 return unquote(value)
325 return unquote(text)
H A Dquoprimime.py39 'unquote',
118 def unquote(s): function
264 decoded += unquote(line[i:i+3])
288 return unquote(s)
H A Dmessage.py99 return value[0], value[1], utils.unquote(value[2])
101 return utils.unquote(value)
672 def get_params(self, failobj=None, header='content-type', unquote=True):
683 Content-Type. If unquote is True, the value is unquoted.
689 if unquote:
695 unquote=True):
709 the 3-tuple) is always unquoted, unless unquote is set to False.
722 if unquote:
762 unquote=requote):
790 for p, v in self.get_params(header=header, unquote
[all...]
H A D_header_value_parser.py72 import urllib # For urllib.parse.unquote namespace
780 value = urllib.parse.unquote(value, encoding='latin-1')
/third_party/python/Lib/test/
H A Dtest_urllib.py1081 """Tests for unquote() and unquote_plus()
1093 result = urllib.parse.unquote(given)
1095 "using unquote(): %r != %r" % (expect, result))
1103 result = urllib.parse.unquote(escape_string)
1105 "using unquote(): not all characters escaped: "
1107 self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, None)
1108 self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, ())
1114 result = urllib.parse.unquote(given)
1115 self.assertEqual(expect, result, "using unquote(): %r != %r"
1119 result = urllib.parse.unquote(give
[all...]
H A Dssl_servers.py65 path = os.path.normpath(urllib.parse.unquote(path))
/third_party/python/Lib/
H A Dnturl2path.py29 return urllib.parse.unquote('\\'.join(components))
39 path = path + '\\' + urllib.parse.unquote(comp)
/third_party/ninja/src/
H A Dbrowse.py40 from urllib.request import unquote namespace
42 from urllib2 import unquote namespace
168 target = unquote(self.path[1:])
/third_party/python/Lib/urllib/
H A Drequest.py104 urlparse, urlsplit, urljoin, unwrap, quote, unquote,
380 self.host = unquote(self.host)
816 user_pass = '%s:%s' % (unquote(user),
817 unquote(password))
820 hostport = unquote(hostport)
1550 host = unquote(host)
1560 dirs = list(map(unquote, dirs))
1657 # even base64 encoded data URLs might be quoted so unquote in any case:
1683 return unquote(pathname)
1890 host = unquote(hos
[all...]
H A Drobotparser.py114 line[1] = urllib.parse.unquote(line[1].strip())
168 parsed_url = urllib.parse.urlparse(urllib.parse.unquote(url))
H A Dparse.py45 "unquote", "unquote_plus", "unquote_to_bytes",
659 def unquote(string, encoding='utf-8', errors='replace'): function
667 unquote('abc%20def') -> 'abc def'.
788 name = unquote(name, encoding=encoding, errors=errors)
791 value = unquote(value, encoding=encoding, errors=errors)
797 """Like unquote(), but also replace plus signs by spaces, as required for
803 return unquote(string, encoding, errors)
/third_party/python/Lib/http/
H A Dserver.py794 displaypath = urllib.parse.unquote(self.path,
797 displaypath = urllib.parse.unquote(self.path)
847 path = urllib.parse.unquote(path, errors='surrogatepass')
849 path = urllib.parse.unquote(path)
923 path = urllib.parse.unquote(path)
1109 uqrest = urllib.parse.unquote(rest)
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuDataDumper.java204 RbValue.of(unquote(match.get(1)))); in processLine()
220 wrappedValue += unquote(match.get(0)); in processLine()
296 private static String unquote(String s) { in unquote() method in IcuDataDumper.IcuDataParser
/third_party/python/Lib/wsgiref/
H A Dsimple_server.py85 env['PATH_INFO'] = urllib.parse.unquote(path, 'iso-8859-1')
/third_party/rust/crates/nom/src/bytes/
H A Dcomplete.rs739 fn unquote<'a>(input: &'a str) -> IResult<&'a str, &'a str> { in unquote() functions
754 assert_eq!(unquote(r#""""#), Ok(("", ""))); in escaped_hang_1118()
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dtzfmt.h1026 static UnicodeString& unquote(const UnicodeString& pattern, UnicodeString& result);
/third_party/icu/icu4c/source/i18n/unicode/
H A Dtzfmt.h1026 static UnicodeString& unquote(const UnicodeString& pattern, UnicodeString& result);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dtzfmt.h1026 static UnicodeString& unquote(const UnicodeString& pattern, UnicodeString& result);
/third_party/node/tools/
H A Dtest.py81 from urllib.parse import unquote # Python 3 namespace
83 from urllib import unquote # Python 2 namespace
1512 prefix = unquote(prefix).split()
1513 suffix = unquote(suffix).split()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneFormat.java1898 _gmtPatternPrefix = unquote(gmtPattern.substring(0, idx)); in initGMTPattern()
1899 _gmtPatternSuffix = unquote(gmtPattern.substring(idx + 3)); in initGMTPattern()
1908 private static String unquote(String s) { in unquote() method in TimeZoneFormat
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeZoneFormat.java1828 _gmtPatternPrefix = unquote(gmtPattern.substring(0, idx)); in initGMTPattern()
1829 _gmtPatternSuffix = unquote(gmtPattern.substring(idx + 3)); in initGMTPattern()
1838 private static String unquote(String s) { in unquote() method in TimeZoneFormat
/third_party/icu/icu4c/source/i18n/
H A Dtzfmt.cpp2401 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix);
2402 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix);
2406 TimeZoneFormat::unquote(const UnicodeString& pattern, UnicodeString& result) {
/third_party/node/deps/icu-small/source/i18n/
H A Dtzfmt.cpp2401 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix);
2402 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix);
2406 TimeZoneFormat::unquote(const UnicodeString& pattern, UnicodeString& result) {
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dtzfmt.cpp2401 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix);
2402 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix);
2406 TimeZoneFormat::unquote(const UnicodeString& pattern, UnicodeString& result) {
/third_party/python/Lib/test/test_email/
H A Dtest_email.py438 self.assertEqual(msg.get_param('name', unquote=False),
464 eq(msg.get_param('importance', unquote=False), '"high value"')
468 eq(msg.get_params(unquote=False), [('text/plain', ''),
4448 self.assertEqual(quoprimime.unquote(quoprimime.quote(c)), c)
5121 eq(msg.get_param('title', unquote=False),

Completed in 45 milliseconds

12