Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/utils/
Drun_tests_helper.py17 def SetLogLevel(verbose_count, add_handler=True): argument
26 handler=None if add_handler else logging.NullHandler())
/external/python/cpython3/Lib/test/
Dtest_urllib2.py457 opener.add_handler(h)
464 opener.add_handler(h)
546 OpenerDirector().add_handler, NonHandler())
565 o.add_handler(urllib.request.UnknownHandler())
606 o.add_handler(h)
1035 o.add_handler(h)
1350 o.add_handler(ph)
1367 o.add_handler(ph)
1382 o.add_handler(ph)
1392 o.add_handler(ph)
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib2.py402 opener.add_handler(h)
408 opener.add_handler(h)
466 OpenerDirector().add_handler, NonHandler())
485 o.add_handler(urllib2.UnknownHandler())
526 o.add_handler(h)
1060 o.add_handler(ph)
1078 o.add_handler(ph)
1093 o.add_handler(ph)
1108 o.add_handler(ph)
1110 o.add_handler(https_handler)
[all …]
/external/googletest/googletest/scripts/
Dupload.py376 opener.add_handler(urllib2.ProxyHandler())
377 opener.add_handler(urllib2.UnknownHandler())
378 opener.add_handler(urllib2.HTTPHandler())
379 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
380 opener.add_handler(urllib2.HTTPSHandler())
381 opener.add_handler(urllib2.HTTPErrorProcessor())
403 opener.add_handler(urllib2.HTTPCookieProcessor(self.cookie_jar))
/external/autotest/client/common_lib/
Dlogging_manager.py426 def add_handler(context): function
438 self._add_log_handlers(add_handler)
/external/python/cpython2/Lib/
Durllib2.py348 def add_handler(self, handler): member in OpenerDirector
510 opener.add_handler(klass())
515 opener.add_handler(h)
/external/python/cpython3/Lib/urllib/
Drequest.py436 def add_handler(self, handler): member in OpenerDirector
595 opener.add_handler(klass())
600 opener.add_handler(h)
/external/python/cpython2/Doc/howto/
Durllib2.rst414 ``.add_handler(some_handler_instance)`` repeatedly.
/external/python/cpython3/Doc/howto/
Durllib2.rst435 ``.add_handler(some_handler_instance)`` repeatedly.
/external/python/cpython2/Doc/library/
Durllib2.rst455 .. method:: OpenerDirector.add_handler(handler)
/external/python/cpython3/Doc/library/
Durllib.request.rst606 .. method:: OpenerDirector.add_handler(handler)