Home
last modified time | relevance | path

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

123

/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/experimental/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.py221 def unquote(str): function
279 value = unquote(value)
301 s = urllib.unquote(s)
315 rawval = unquote(value[2])
323 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/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))
Dmacurl2path.py50 return urllib.unquote(rv)
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)
DCGIHTTPServer.py162 uqrest = urllib.unquote(rest)
314 path = urllib.unquote(path)
Dmimetools.py76 return rfc822.unquote(p[n:])
/external/python/cpython2/Lib/test/
Dtest_urllib.py658 result = urllib.unquote(given)
668 result = urllib.unquote(escape_string)
672 result = urllib.unquote(escape_string)
681 result = urllib.unquote(given)
686 result = urllib.unquote(given)
691 result = urllib.unquote(given)
699 result = urllib.unquote(given)
708 result = urllib.unquote(given)
719 result = urllib.unquote(given)
728 r = urllib.unquote(u'br%C3%BCckner_sapporo_20050930.doc')
Dtest_rfc822.py249 eq(rfc822.unquote('"foo\\\\wacky\\"name"'), 'foo\\wacky"name')
/external/toolchain-utils/cwp/bartlett/
Dserver.py93 file_key = str(urllib.unquote(resource))
121 fkey = str(urllib.unquote(resource))
/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)
/external/clang/tools/clang-format/
Dclang-format-bbedit.applescript8 …return do shell script "python -c \"import urllib, urlparse, sys; print urllib.unquote(urlparse.ur…
/external/python/cpython2/Doc/library/
Demail.message.rst371 .. method:: get_params([failobj[, header[, unquote]]])
378 described in :meth:`get_param` and is unquoted if optional *unquote* is
386 *unquote* argument added.
389 .. method:: get_param(param[, failobj[, header[, unquote]]])
418 ``VALUE`` item in the 3-tuple) is always unquoted, unless *unquote* is set
422 *unquote* argument added, and 3-tuple return value possible.
482 :func:`email.utils.unquote`.
490 string will always be unquoted as per :func:`email.utils.unquote`.
/external/clang/tools/scan-view/share/
DScanView.py194 name = urllib.unquote(name.replace('+', ' '))
195 value = urllib.unquote(value.replace('+', ' '))
652 path = posixpath.normpath(urllib.unquote(o.path))
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py82 env['PATH_INFO'] = urllib.unquote(path)
/external/autotest/frontend/afe/
Drpc_handler.py156 return urllib.unquote(request.META['QUERY_STRING'])

123