Home
last modified time | relevance | path

Searched refs:unquote (Results 1 – 25 of 84) sorted by relevance

1234

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DJndiResourceResolverTest.java40 assertEquals("blah", JndiResourceResolver.unquote("blah")); in normalizeDataRemovesJndiFormattingForTxtRecords()
41 assertEquals("", JndiResourceResolver.unquote("\"\"")); in normalizeDataRemovesJndiFormattingForTxtRecords()
42 assertEquals("blahblah", JndiResourceResolver.unquote("blah blah")); in normalizeDataRemovesJndiFormattingForTxtRecords()
43 assertEquals("blahfoo blah", JndiResourceResolver.unquote("blah \"foo blah\"")); in normalizeDataRemovesJndiFormattingForTxtRecords()
44 assertEquals("blah blah", JndiResourceResolver.unquote("\"blah blah\"")); in normalizeDataRemovesJndiFormattingForTxtRecords()
45 assertEquals("blah\"blah", JndiResourceResolver.unquote("\"blah\\\"blah\"")); in normalizeDataRemovesJndiFormattingForTxtRecords()
46 assertEquals("blah\\blah", JndiResourceResolver.unquote("\"blah\\\\blah\"")); in normalizeDataRemovesJndiFormattingForTxtRecords()
/external/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp88 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() function
154 std::wstring unquote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) { in unquote() function
201 assert ( unquote ( "\"abc" ) == "abc" ); in main()
202 assert ( unquote ( L"\"abc" ) == L"abc" ); in main()
204 assert ( unquote ( "abc" ) == "abc" ); // no delimiter in main()
205 assert ( unquote ( L"abc" ) == L"abc" ); // no delimiter in main()
206 assert ( unquote ( "abc def" ) == "abc" ); // no delimiter in main()
207 assert ( unquote ( L"abc def" ) == L"abc" ); // no delimiter in main()
209 assert ( unquote ( "" ) == "" ); // nothing there in main()
210 assert ( unquote ( L"" ) == L"" ); // nothing there in main()
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/
Dquoted.pass.cpp101 std::basic_string<CharT, Traits> unquote ( const CharT *p, char delim='"', char escape='\\' ) { in unquote() function
166 assert ( unquote ( "\"abc" ) == "abc" ); in main()
167 assert ( unquote ( L"\"abc" ) == L"abc" ); in main()
169 assert ( unquote ( "abc" ) == "abc" ); // no delimiter in main()
170 assert ( unquote ( L"abc" ) == L"abc" ); // no delimiter in main()
171 assert ( unquote ( "abc def" ) == "abc" ); // no delimiter in main()
172 assert ( unquote ( L"abc def" ) == L"abc" ); // no delimiter in main()
174 assert ( unquote ( "" ) == "" ); // nothing there in main()
175 assert ( unquote ( L"" ) == L"" ); // nothing there in main()
/external/python/cpython2/Lib/email/
Dutils.py227 def unquote(str): function
285 value = unquote(value)
307 s = urllib.unquote(s)
321 rawval = unquote(value[2])
329 return unquote(value)
Dmessage.py86 return value[0], value[1], utils.unquote(value[2])
88 return utils.unquote(value)
513 def get_params(self, failobj=None, header='content-type', unquote=True): argument
530 if unquote:
536 unquote=True): argument
565 if unquote:
605 unquote=requote):
630 for p, v in self.get_params(header=header, unquote=requote):
666 params = self.get_params(header=header, unquote=requote)
Dquoprimime.py104 def unquote(s): function
300 decoded += unquote(line[i:i+3])
324 return unquote(s)
/external/python/cpython3/Lib/email/
Dutils.py219 def unquote(str): function
277 value = unquote(value)
302 s = urllib.parse.unquote(s, encoding="latin-1")
316 return unquote(value)
330 return unquote(text)
Dquoprimime.py118 def unquote(s): function
263 decoded += unquote(line[i:i+3])
287 return unquote(s)
Dmessage.py99 return value[0], value[1], utils.unquote(value[2])
101 return utils.unquote(value)
645 def get_params(self, failobj=None, header='content-type', unquote=True): argument
662 if unquote:
668 unquote=True): argument
695 if unquote:
735 unquote=requote):
763 for p, v in self.get_params(header=header, unquote=requote):
799 params = self.get_params(header=header, unquote=requote)
/external/python/cpython3/Lib/test/
Dtest_urllib.py955 result = urllib.parse.unquote(given)
965 result = urllib.parse.unquote(escape_string)
969 self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, None)
970 self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, ())
972 self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, b'')
978 result = urllib.parse.unquote(given)
983 result = urllib.parse.unquote(given)
988 result = urllib.parse.unquote(given)
1024 result = urllib.parse.unquote(given)
1035 result = urllib.parse.unquote(given)
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtensionTestUtility.java30 String className = unquote(System.getProperty(SYSTEM_PROPERTY_EXPECTED_STRATEGY)); in getTwrStrategyClassNameSpecifiedInSystemProperty()
65 private static String unquote(String s) { in unquote() method in ThrowableExtensionTestUtility
/external/python/cpython3/Lib/
Dnturl2path.py29 return urllib.parse.unquote('\\'.join(components))
39 path = path + '\\' + urllib.parse.unquote(comp)
/external/python/cpython2/Lib/
Dnturl2path.py24 return urllib.unquote('\\'.join(components))
34 path = path + '\\' + urllib.unquote(comp)
Durlparse.py336 def unquote(s): function
345 append(unquote(str(bits[i])).decode('latin1'))
424 name = unquote(nv[0].replace('+', ' '))
425 value = unquote(nv[1].replace('+', ' '))
Durllib.py56 return unquote(pathname)
304 host = unquote(host)
329 proxy_passwd = unquote(proxy_passwd)
335 user_passwd = unquote(user_passwd)
399 host = unquote(host)
419 proxy_passwd = unquote(proxy_passwd)
424 user_passwd = unquote(user_passwd)
523 host = unquote(host)
533 path = unquote(path)
605 data = unquote(data)
[all …]
DSimpleHTTPServer.py125 displaypath = cgi.escape(urllib.unquote(self.path))
165 path = posixpath.normpath(urllib.unquote(path))
Drobotparser.py111 line[1] = urllib.unquote(line[1].strip())
146 parsed_url = urlparse.urlparse(urllib.unquote(url))
Durllib2.py120 from urllib import (unwrap, unquote, splittype, splithost, quote,
290 self.host = unquote(self.host)
760 user_pass = '%s:%s' % (unquote(user), unquote(password))
763 hostport = unquote(hostport)
1398 host = unquote(host)
1408 dirs = map(unquote, dirs)
/external/python/cpython2/Lib/test/
Dtest_urllib.py659 result = urllib.unquote(given)
669 result = urllib.unquote(escape_string)
673 result = urllib.unquote(escape_string)
682 result = urllib.unquote(given)
687 result = urllib.unquote(given)
692 result = urllib.unquote(given)
700 result = urllib.unquote(given)
709 result = urllib.unquote(given)
720 result = urllib.unquote(given)
729 r = urllib.unquote(u'br%C3%BCckner_sapporo_20050930.doc')
/external/toolchain-utils/cwp/bartlett/
Dserver.py93 file_key = str(urllib.unquote(resource))
121 fkey = str(urllib.unquote(resource))
/external/python/cpython3/Lib/urllib/
Drequest.py104 urlparse, urlsplit, urljoin, unwrap, quote, unquote,
386 self.host = unquote(self.host)
817 user_pass = '%s:%s' % (unquote(user),
818 unquote(password))
821 hostport = unquote(hostport)
1518 host = unquote(host)
1528 dirs = list(map(unquote, dirs))
1652 return unquote(pathname)
1859 host = unquote(host)
1883 proxy_passwd = unquote(proxy_passwd)
[all …]
Drobotparser.py113 line[1] = urllib.parse.unquote(line[1].strip())
161 parsed_url = urllib.parse.urlparse(urllib.parse.unquote(url))
/external/python/cpython3/Lib/http/
Dserver.py760 displaypath = urllib.parse.unquote(self.path,
763 displaypath = urllib.parse.unquote(path)
814 path = urllib.parse.unquote(path, errors='surrogatepass')
816 path = urllib.parse.unquote(path)
899 path = urllib.parse.unquote(path)
1083 uqrest = urllib.parse.unquote(rest)
/external/libcups/cups/
Dlanguage-private.h69 extern cups_array_t *_cupsMessageLoad(const char *filename, int unquote);
/external/python/cpython2/Lib/plat-riscos/
Drourl2path.py45 components = map(lambda x: urllib.unquote(x).translate(__slash_dot), components)

1234