Home
last modified time | relevance | path

Searched refs:_handlers (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc/test/http2_test/
Dhttp2_base_server.py33 self._handlers = {}
34 self._handlers['ConnectionMade'] = self.on_connection_made_default
35 self._handlers['DataReceived'] = self.on_data_received_default
36 self._handlers['WindowUpdated'] = self.on_window_update_default
37 self._handlers['RequestReceived'] = self.on_request_received_default
38 self._handlers['SendDone'] = self.on_send_done_default
39 self._handlers['ConnectionLost'] = self.on_connection_lost
40 self._handlers['PingAcknowledged'] = self.on_ping_acknowledged_default
46 self._handlers = handlers
49 self._handlers['ConnectionMade']()
[all …]
Dtest_goaway.py29 self._base_server._handlers['RequestReceived'] = self.on_request_received
30 self._base_server._handlers['DataReceived'] = self.on_data_received
31 self._base_server._handlers['SendDone'] = self.on_send_done
32 self._base_server._handlers['ConnectionLost'] = self.on_connection_lost
Dtest_ping.py27 self._base_server._handlers['RequestReceived'] = self.on_request_received
28 self._base_server._handlers['DataReceived'] = self.on_data_received
29 self._base_server._handlers['ConnectionLost'] = self.on_connection_lost
Dtest_data_frame_padding.py32 self._base_server._handlers['DataReceived'] = self.on_data_received
33 self._base_server._handlers['WindowUpdated'] = self.on_window_update
34 self._base_server._handlers['RequestReceived'] = self.on_request_received
Dtest_rst_after_data.py25 self._base_server._handlers['DataReceived'] = self.on_data_received
26 self._base_server._handlers['SendDone'] = self.on_send_done
Dtest_rst_during_data.py25 self._base_server._handlers['DataReceived'] = self.on_data_received
26 self._base_server._handlers['SendDone'] = self.on_send_done
Dtest_max_streams.py27 self._base_server._handlers['DataReceived'] = self.on_data_received
28 self._base_server._handlers['ConnectionMade'] = self.on_connection_made
Dtest_rst_after_header.py24 self._base_server._handlers['RequestReceived'] = self.on_request_received
/external/rust/crates/grpcio-sys/grpc/test/http2_test/
Dhttp2_base_server.py35 self._handlers = {}
36 self._handlers['ConnectionMade'] = self.on_connection_made_default
37 self._handlers['DataReceived'] = self.on_data_received_default
38 self._handlers['WindowUpdated'] = self.on_window_update_default
39 self._handlers['RequestReceived'] = self.on_request_received_default
40 self._handlers['SendDone'] = self.on_send_done_default
41 self._handlers['ConnectionLost'] = self.on_connection_lost
42 self._handlers['PingAcknowledged'] = self.on_ping_acknowledged_default
48 self._handlers = handlers
51 self._handlers['ConnectionMade']()
[all …]
Dtest_goaway.py31 self._base_server._handlers[
33 self._base_server._handlers['DataReceived'] = self.on_data_received
34 self._base_server._handlers['SendDone'] = self.on_send_done
35 self._base_server._handlers['ConnectionLost'] = self.on_connection_lost
Dtest_ping.py29 self._base_server._handlers[
31 self._base_server._handlers['DataReceived'] = self.on_data_received
32 self._base_server._handlers['ConnectionLost'] = self.on_connection_lost
Dtest_data_frame_padding.py34 self._base_server._handlers['DataReceived'] = self.on_data_received
35 self._base_server._handlers['WindowUpdated'] = self.on_window_update
36 self._base_server._handlers[
Dtest_rst_after_data.py27 self._base_server._handlers['DataReceived'] = self.on_data_received
28 self._base_server._handlers['SendDone'] = self.on_send_done
Dtest_rst_during_data.py27 self._base_server._handlers['DataReceived'] = self.on_data_received
28 self._base_server._handlers['SendDone'] = self.on_send_done
Dtest_max_streams.py29 self._base_server._handlers['DataReceived'] = self.on_data_received
30 self._base_server._handlers['ConnectionMade'] = self.on_connection_made
Dtest_rst_after_header.py26 self._base_server._handlers[
/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py181 return id(logging._handlers), logging._handlers, logging._handlers.copy()
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common.py563 self._handlers = {}
628 if prefix in self._handlers:
652 self._handlers[prefix] = handler
690 handler = self._handlers[resolved_prefix]
748 sorted_prefixes = sorted(self._handlers)
807 if token in self._handlers:
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h165 LOWWERNAME##_handlers = PEMALLOC(zend_object_handlers); \
166 memcpy(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \
178 PHP_PROTO_FREE_CLASS_OBJECT(NAME, LOWWERNAME##_free, LOWWERNAME##_handlers); \
434 LOWWERNAME##_handlers = PEMALLOC(zend_object_handlers); \
435 memcpy(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \
437 LOWWERNAME##_handlers->free_obj = LOWWERNAME##_free; \
438 LOWWERNAME##_handlers->dtor_obj = LOWWERNAME##_dtor; \
439 LOWWERNAME##_handlers->offset = XtOffsetOf(CAMELNAME, std);
464 PHP_PROTO_FREE_CLASS_OBJECT(NAME, LOWWERNAME##_free, LOWWERNAME##_handlers); \
569 zend_object_handlers *LOWERNAME##_handlers; \
/external/python/cpython2/Lib/logging/
D__init__.py626 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers variable
691 if self._name in _handlers:
692 del _handlers[self._name]
695 _handlers[name] = self
798 if self._name and self._name in _handlers:
799 del _handlers[self._name]
Dconfig.py82 logging._handlers.clear()
510 if name not in logging._handlers:
515 handler = logging._handlers[name]
540 logging._handlers.clear()
/external/python/cpython3/Lib/logging/
D__init__.py814 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers variable
872 if self._name in _handlers:
873 del _handlers[self._name]
876 _handlers[name] = self
980 if self._name and self._name in _handlers:
981 del _handlers[self._name]
Dconfig.py273 logging._handlers.clear()
507 if name not in logging._handlers:
512 handler = logging._handlers[name]
/external/python/cpython2/Lib/test/
Dtest_logging.py65 self.saved_handlers = logging._handlers.copy()
102 logging._handlers.clear()
103 logging._handlers.update(self.saved_handlers)
/external/python/cpython3/Lib/test/
Dtest_logging.py87 self.saved_handlers = logging._handlers.copy()
137 logging._handlers.clear()
138 logging._handlers.update(self.saved_handlers)
686 self.assertEqual(len(logging._handlers), 0)
690 self.assertGreater(len(logging._handlers), 0)
3180 h = logging._handlers['hand1']
4378 self.saved_handlers = logging._handlers.copy()
4392 logging._handlers.clear()
4393 logging._handlers.update(self.saved_handlers)

12