/external/syslinux/gpxe/src/core/ |
D | open.c | 46 struct uri_opener *opener; in xfer_open_uri() local 56 for_each_table_entry ( opener, URI_OPENERS ) { in xfer_open_uri() 57 if ( strcmp ( resolved_uri->scheme, opener->scheme ) == 0 ) { in xfer_open_uri() 59 xfer, opener->scheme ); in xfer_open_uri() 60 rc = opener->open ( xfer, resolved_uri ); in xfer_open_uri() 110 struct socket_opener *opener; in xfer_open_socket() local 116 for_each_table_entry ( opener, SOCKET_OPENERS ) { in xfer_open_socket() 117 if ( ( opener->semantics == semantics ) && in xfer_open_socket() 118 ( opener->family == peer->sa_family ) ) { in xfer_open_socket() 119 return opener->open ( xfer, peer, local ); in xfer_open_socket()
|
/external/toolchain-utils/cwp/bartlett/test/ |
D | server_tester.py | 30 self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(self._jar)) 63 response = self.opener.open(request).read() 68 response = self.opener.open(request).read() 75 response = self.opener.open(request).read() 77 response = self.opener.open(request).read()
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 374 def add_ordered_mock_handlers(opener, meth_spec): argument 399 h.add_parent(opener) 402 opener.add_handler(h) 406 opener = OpenerDirector() 408 opener.add_handler(h) 409 return opener 1129 opener = OpenerDirector() 1136 opener.add_handler(auth_handler) 1137 opener.add_handler(http_handler) 1138 self._test_basic_auth(opener, auth_handler, "Authorization", [all …]
|
D | test_urllib2net.py | 165 opener = urllib2.build_opener() 166 res = opener.open(req) 177 opener = urllib2.build_opener() 180 opener.open(request) 184 opener.open(request)
|
D | test_urllib2_localnet.py | 353 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler) 364 self.opener.open, 370 self.opener.open, 377 result = self.opener.open(self.URL) 387 result = self.opener.open(self.URL) 452 opener = urllib2.build_opener(proxy_handler) 453 urllib2.install_opener(opener)
|
/external/python/cpython2/Lib/idlelib/ |
D | CodeContext.py | 100 opener = firstword in BLOCKOPENERS and firstword 105 return indent, text, opener 121 indent, text, opener = self.get_line_info(linenum) 124 if opener in ("else", "elif"): 127 if opener and linenum < new_topvisible and indent >= stopindent: 128 lines.append((linenum, indent, text, opener))
|
/external/libmojo/base/android/linker/ |
D | legacy_linker_jni.cc | 91 const LibraryOpener& opener) { in GenericLoadLibrary() argument 104 if (!opener.Open(library.GetPtr(), library_name, context)) { in GenericLoadLibrary() 189 FileLibraryOpener opener; in LoadLibrary() local 195 opener); in LoadLibrary() 228 ZipLibraryOpener opener(zipfile_name_str.c_str()); in LoadLibraryInZipFile() local 234 opener); in LoadLibraryInZipFile()
|
/external/python/cpython2/Doc/howto/ |
D | urllib2.rst | 385 because ``urlopen`` (or the opener object used) may have followed a 401 When you fetch a URL you use an opener (an instance of the perhaps 403 the default opener - via ``urlopen`` - but you can create custom 410 installed, for example to get an opener that handles cookies, or to get an 411 opener that does not handle redirections. 413 To create an opener, instantiate an ``OpenerDirector``, and then call 417 creating opener objects with a single function call. ``build_opener`` adds 424 ``install_opener`` can be used to make an ``opener`` object the (global) default 425 opener. This means that calls to ``urlopen`` will use the opener you have 455 ``HTTPBasicAuthHandler`` and an opener to use this handler. [all …]
|
/external/toolchain-utils/ |
D | get_common_image_version.py | 74 opener = urllib.URLopener() 75 all_versions = opener.open(VERSIONS_HISTORY_URL)
|
/external/googletest/googlemock/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/googletest/googletest/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/v8/testing/gtest/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/google-breakpad/src/testing/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/v8/testing/gmock/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | upload.py | 148 self.opener = self._GetOpener() 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 360 opener = urllib2.OpenerDirector() 361 opener.add_handler(urllib2.ProxyHandler()) 362 opener.add_handler(urllib2.UnknownHandler()) 363 opener.add_handler(urllib2.HTTPHandler()) 364 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) 365 opener.add_handler(urllib2.HTTPSHandler()) [all …]
|
/external/python/cpython2/Lib/ |
D | robotparser.py | 57 opener = URLopener() 58 f = opener.open(self.url) 61 self.errcode = opener.errcode
|
D | urllib2.py | 146 opener = build_opener(https_handler) 149 opener = build_opener(https_handler) 151 _opener = opener = build_opener() 153 opener = _opener 154 return opener.open(url, data, timeout) 156 def install_opener(opener): argument 158 _opener = opener 492 opener = OpenerDirector() 510 opener.add_handler(klass()) 515 opener.add_handler(h) [all …]
|
D | urllib.py | 80 opener = FancyURLopener(proxies=proxies, context=context) 82 opener = FancyURLopener() 83 _urlopener = opener 85 opener = _urlopener 87 return opener.open(url) 89 return opener.open(url, data) 93 opener = FancyURLopener(context=context) 95 _urlopener = opener = FancyURLopener() 97 opener = _urlopener 98 return opener.retrieve(url, filename, reporthook, data)
|
/external/autotest/client/common_lib/ |
D | file_utils.py | 142 opener = urllib2.build_opener(proxy_handler) 143 urllib2.install_opener(opener)
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | StreamServiceTest.java | 247 Thread opener = new Thread(openSocketTask, "SocketOpener"); in getSocketFuture() local 248 opener.setDaemon(true); in getSocketFuture() 249 opener.start(); in getSocketFuture()
|
/external/toolchain-utils/cwp/interpreter/ |
D | app_engine_pull.py | 47 opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookiejar)) 48 urllib2.install_opener(opener)
|
/external/python/cpython2/Lib/distutils/command/ |
D | register.py | 295 opener = urllib2.build_opener( 300 result = opener.open(req)
|
/external/icu/icu4c/source/i18n/unicode/ |
D | udat.h | 1649 udat_registerOpener(UDateFormatOpener opener, UErrorCode *status); 1656 udat_unregisterOpener(UDateFormatOpener opener, UErrorCode *status);
|
/external/regex-re2/lib/codereview/ |
D | codereview.py | 2477 f = self.opener.open(req) 2784 self.opener = self._GetOpener() 2837 response = self.opener.open(req) 2863 response = self.opener.open(req) 2957 f = self.opener.open(req) 2988 opener = urllib2.OpenerDirector() 2989 opener.add_handler(urllib2.ProxyHandler()) 2990 opener.add_handler(urllib2.UnknownHandler()) 2991 opener.add_handler(urllib2.HTTPHandler()) 2992 opener.add_handler(urllib2.HTTPDefaultErrorHandler()) [all …]
|
/external/python/cpython2/Doc/library/ |
D | urllib2.rst | 89 .. function:: install_opener(opener) 91 Install an :class:`OpenerDirector` instance as the default global opener. 92 Installing an opener is only necessary if you want urlopen to use that opener; 997 opener = urllib2.build_opener(auth_handler) 999 urllib2.install_opener(opener) 1016 opener = urllib2.build_opener(proxy_handler, proxy_auth_handler) 1018 opener.open('http://www.example.com/login.html') 1035 opener = urllib2.build_opener() 1036 opener.addheaders = [('User-agent', 'Mozilla/5.0')] 1037 opener.open('http://www.example.com/')
|