Home
last modified time | relevance | path

Searched refs:handlers (Results 1 - 25 of 89) sorted by relevance

1234

/third_party/python/Lib/logging/
H A Dconfig.py30 import logging.handlers namespace
90 handlers = _install_handlers(cp, formatters)
91 _install_loggers(cp, handlers, disable_existing_loggers)
136 """Install and return handlers"""
137 hlist = cp["handlers"]["keys"]
142 handlers = {}
163 if issubclass(klass, logging.handlers.MemoryHandler):
167 handlers[hand] = h
168 #now all handlers are loaded, fixup inter-handler references...
170 h.setTarget(handlers[
[all...]
H A D__init__.py792 A base class for loggers and handlers which allows them to share
842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized
853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
854 if acquire and release and handlers:
857 handlers.remove(wr)
1002 This version removes the handler from an internal map of handlers,
1020 This method should be called from handlers when an exception is
1456 self.handlers = []
1614 all the handlers o
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go32 handlers []Handler
75 handlers: []Handler{defaultHandler{}},
88 // prepend the new handlers so we use them first
89 c.handlers = append([]Handler{handler}, c.handlers...)
122 for _, h := range c.handlers {
126 for _, h := range c.handlers {
131 for _, h := range c.handlers {
157 for _, h := range c.handlers {
171 for _, h := range c.handlers {
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go32 handlers []Handler
75 handlers: []Handler{defaultHandler{}},
88 // prepend the new handlers so we use them first
89 c.handlers = append([]Handler{handler}, c.handlers...)
122 for _, h := range c.handlers {
126 for _, h := range c.handlers {
131 for _, h := range c.handlers {
157 for _, h := range c.handlers {
171 for _, h := range c.handlers {
[all...]
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go32 handlers []Handler
75 handlers: []Handler{defaultHandler{}},
88 // prepend the new handlers so we use them first
89 c.handlers = append([]Handler{handler}, c.handlers...)
122 for _, h := range c.handlers {
126 for _, h := range c.handlers {
131 for _, h := range c.handlers {
157 for _, h := range c.handlers {
171 for _, h := range c.handlers {
[all...]
/third_party/python/Lib/test/
H A Dtest_logging.py23 import logging.handlers namespace
120 hlist = self.logger1.handlers + self.root_logger.handlers
121 raise AssertionError('Unexpected handlers: %s' % hlist)
123 hlist = self.logger2.handlers + self.root_logger.handlers
124 raise AssertionError('Unexpected handlers: %s' % hlist)
134 while self.root_logger.handlers:
135 h = self.root_logger.handlers[0]
347 handler = self.root_logger.handlers[
[all...]
H A Dtest_urllib2.py451 on handlers. eg:
466 handlers = []
476 handlers.append(h)
478 return handlers
590 # handler returning non-None means no more handlers will be called
598 handlers = add_ordered_mock_handlers(o, meth_spec)
608 self.assertEqual(r, handlers[2])
609 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")]
617 handlers
[all...]
H A Dtest_pkgutil.py232 import logging.handlers namespace
240 ('logging.handlers', logging.handlers),
241 ('logging.handlers:', logging.handlers),
242 ('logging.handlers:SysLogHandler', logging.handlers.SysLogHandler),
243 ('logging.handlers.SysLogHandler', logging.handlers.SysLogHandler),
244 ('logging.handlers
[all...]
H A Dtest_urllib2net.py241 def _test_urls(self, urls, handlers, retry=True):
246 urlopen = urllib.request.build_opener(*handlers).open
281 handlers = []
286 handlers.append(cfh)
288 return handlers
/third_party/typescript/tests/baselines/reference/
H A DcontextualTypingOfTooShortOverloads.js20 (...handlers: RequestHandler[]): T;
21 (...handlers: RequestHandlerParams[]): T;
25 (path: PathParams, ...handlers: RequestHandler[]): T;
26 (path: PathParams, ...handlers: RequestHandlerParams[]): T;
H A DcorrelatedUnions.js61 const handlers: HandlerMap = {
79 if (block.type in handlers) {
80 handlers[block.type](block.data)
258 var handlers = {
269 if (block.type in handlers) {
270 handlers[block.type](block.data);
407 declare const handlers: HandlerMap;
H A DinstantiateContextualTypes.js11 declare let handlers: A<(value: number) => void>;
12 fn(handlers, value => alert(value));
191 fn(handlers, value => alert(value));
/third_party/ltp/testcases/kernel/uevents/
H A Duevent03.c11 * itself and for two event handlers called eventX and mouseY.
72 char *handlers, *handler1, *handler2, *sysname; in verify_uevent() local
168 handlers = get_input_field_value('H'); in verify_uevent()
174 tst_res(TINFO, "Handlers: %s", handlers); in verify_uevent()
176 handler1 = strtok(handlers, " "); in verify_uevent()
178 tst_brk(TBROK, "Expected mouseX and eventY handlers!"); in verify_uevent()
184 tst_brk(TBROK, "Expected mouseX and eventY handlers!"); in verify_uevent()
222 free(handlers); in verify_uevent()
/third_party/python/Lib/test/support/
H A Dlogging_helper.py1 import logging.handlers namespace
3 class TestHandler(logging.handlers.BufferingHandler):
10 logging.handlers.BufferingHandler.__init__(self, 0)
/third_party/node/test/parallel/
H A Dtest-diagnostics-channel-tracing-channel-sync.js18 const handlers = {
30 channel.subscribe(handlers);
39 channel.unsubscribe(handlers);
H A Dtest-diagnostics-channel-tracing-channel-sync-error.js17 const handlers = {
28 channel.subscribe(handlers);
H A Dtest-diagnostics-channel-tracing-channel-async-error.js17 const handlers = {
28 channel.subscribe(handlers);
H A Dtest-diagnostics-channel-tracing-channel-async.js17 const handlers = {
33 channel.subscribe(handlers);
/third_party/node/lib/
H A Ddiagnostics_channel.js281 subscribe(handlers) {
283 if (!handlers[name]) continue;
285 this[name]?.subscribe(handlers[name]);
289 unsubscribe(handlers) {
293 if (!handlers[name]) continue;
295 if (!this[name]?.unsubscribe(handlers[name])) {
/third_party/python/Lib/unittest/
H A D_log.py53 self.old_handlers = logger.handlers[:]
56 logger.handlers = [handler]
64 self.logger.handlers = self.old_handlers
/third_party/python/Modules/
H A Dpyexpat.c80 PyObject **handlers; member
146 PyObject *handler = self->handlers[type]; in have_handler()
282 self->handlers[CharacterData], args, self); in call_character_handler()
417 self->handlers[StartElement], args, self); in my_StartElementHandler()
446 self->handlers[NAME], args, self); \
577 self->handlers[ElementDecl], args, self); in my_ElementDeclHandler()
961 new_parser->handlers = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
979 /* allocate and clear handlers first */ in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
983 new_parser->handlers = PyMem_New(PyObject *, i); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
984 if (!new_parser->handlers) { in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DURLHandler.java31 private static final Map<String, Method> handlers; field in URLHandler
98 handlers = h;
108 if (handlers != null) { in get()
109 Method m = handlers.get(protocol); in get()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DURLHandler.java35 private static final Map<String, Method> handlers; field in URLHandler
102 handlers = h;
112 if (handlers != null) { in get()
113 Method m = handlers.get(protocol); in get()
/third_party/python/Lib/multiprocessing/
H A Dforkserver.py192 handlers = {
199 for (sig, val) in handlers.items()}
299 def _serve_one(child_r, fds, unused_fds, handlers):
300 # close unnecessary stuff and reset signal handlers
302 for sig, val in handlers.items():
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dgas_server.c48 struct dl_list handlers; /* struct gas_server_handler::list */ member
224 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req()
520 dl_list_init(&gas->handlers); in gas_server_init()
534 dl_list_for_each_safe(handler, tmp, &gas->handlers, in gas_server_deinit()
574 dl_list_add(&gas->handlers, &handler->list); in gas_server_register()

Completed in 15 milliseconds

1234