Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/external/lisa/
Dlogging.conf11 handlers=consoleHandler,fileHandler
28 handlers=consoleHandler,fileHandler
34 handlers=consoleHandler,fileHandler
40 handlers=consoleHandler,fileHandler
46 handlers=consoleHandler,fileHandler
52 handlers=consoleHandler,fileHandler
58 handlers=consoleHandler,fileHandler
64 handlers=consoleHandler,fileHandler
70 handlers=consoleHandler,fileHandler
76 handlers=consoleHandler,fileHandler
[all …]
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dshared_x_display.cc51 EventHandlersMap::iterator handlers = event_handlers_.find(type); in RemoveEventHandler() local
52 if (handlers == event_handlers_.end()) in RemoveEventHandler()
56 std::remove(handlers->second.begin(), handlers->second.end(), handler); in RemoveEventHandler()
57 handlers->second.erase(new_end, handlers->second.end()); in RemoveEventHandler()
60 if (handlers->second.empty()) in RemoveEventHandler()
61 event_handlers_.erase(handlers); in RemoveEventHandler()
76 EventHandlersMap::iterator handlers = event_handlers_.find(e.type); in ProcessPendingXEvents() local
77 if (handlers == event_handlers_.end()) in ProcessPendingXEvents()
79 for (std::vector<XEventHandler*>::iterator it = handlers->second.begin(); in ProcessPendingXEvents()
80 it != handlers->second.end(); ++it) { in ProcessPendingXEvents()
/external/vogar/src/vogar/
DOptionParser.java144 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); field in OptionParser
146 handlers.put(boolean.class, new BooleanHandler()); in handlers.put()
147 handlers.put(Boolean.class, new BooleanHandler()); in handlers.put()
149 handlers.put(byte.class, new ByteHandler()); in handlers.put()
150 handlers.put(Byte.class, new ByteHandler()); in handlers.put()
151 handlers.put(short.class, new ShortHandler()); in handlers.put()
152 handlers.put(Short.class, new ShortHandler()); in handlers.put()
153 handlers.put(int.class, new IntegerHandler()); in handlers.put()
154 handlers.put(Integer.class, new IntegerHandler()); in handlers.put()
155 handlers.put(long.class, new LongHandler()); in handlers.put()
[all …]
/external/python/cpython2/Lib/logging/
Dconfig.py31 import logging.handlers
85 handlers = _install_handlers(cp, formatters)
86 _install_loggers(cp, handlers, disable_existing_loggers)
147 handlers = {}
169 if issubclass(klass, logging.handlers.MemoryHandler):
176 handlers[hand] = h
179 h.setTarget(handlers[t])
180 return handlers
183 def _install_loggers(cp, handlers, disable_existing_loggers): argument
198 for h in root.handlers[:]:
[all …]
D__init__.py637 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
638 if acquire and release and handlers:
641 if wr in handlers:
642 handlers.remove(wr)
1136 self.handlers = []
1304 if not (hdlr in self.handlers):
1305 self.handlers.append(hdlr)
1315 if hdlr in self.handlers:
1316 self.handlers.remove(hdlr)
1333 for hdlr in c.handlers:
[all …]
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
DSLF4JBridgeHandler.java137 Handler[] handlers = rootLogger.getHandlers(); in uninstall() local
138 for (int i = 0; i < handlers.length; i++) { in uninstall()
139 if (handlers[i] instanceof SLF4JBridgeHandler) { in uninstall()
140 rootLogger.removeHandler(handlers[i]); in uninstall()
153 Handler[] handlers = rootLogger.getHandlers(); in isInstalled() local
154 for (int i = 0; i < handlers.length; i++) { in isInstalled()
155 if (handlers[i] instanceof SLF4JBridgeHandler) { in isInstalled()
168 java.util.logging.Handler[] handlers = rootLogger.getHandlers(); in removeHandlersForRootLogger() local
169 for (int i = 0; i < handlers.length; i++) { in removeHandlersForRootLogger()
170 rootLogger.removeHandler(handlers[i]); in removeHandlersForRootLogger()
/external/clang/lib/AST/
DStmtCXX.cpp27 Stmt *tryBlock, ArrayRef<Stmt *> handlers) { in Create() argument
29 Size += ((handlers.size() + 1) * sizeof(Stmt *)); in Create()
32 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
45 ArrayRef<Stmt *> handlers) in CXXTryStmt() argument
46 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
49 std::copy(handlers.begin(), handlers.end(), Stmts + 1); in CXXTryStmt()
/external/python/cpython2/Doc/library/
Dlogging.config.rst34 in :mod:`logging` itself) and defining handlers which are declared either in
35 :mod:`logging` or :mod:`logging.handlers`.
194 * *handlers* - the corresponding value will be a dict in which each
216 handlers:
224 class : logging.handlers.RotatingFileHandler
233 :class:`logging.handlers.RotatingFileHandler` with the keyword arguments
249 * ``handlers`` (optional). A list of ids of the handlers for this
253 propagation, filters and handlers specified.
285 the object graph of loggers, handlers, filters, formatters at
287 handlers can be controlled just by setting levels (and, in the case of
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexCode.java35 public final TryHandler[] handlers; field in DexCode
47 TryHandler[] handlers, in DexCode() argument
55 this.handlers = handlers; in DexCode()
103 + Arrays.hashCode(handlers) * 17; in computeHashCode()
131 if (!Arrays.equals(handlers, o.handlers)) { in computeEquals()
204 if (handlers != null) { in toString()
206 for (int handlerIndex = 0; handlerIndex < handlers.length; handlerIndex++) { in toString()
207 TryHandler handler = handlers[handlerIndex]; in toString()
267 if (handlers != null) { in toSmaliString()
269 for (TryHandler handler : handlers) { in toSmaliString()
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dlogging_setup.py10 import logging.handlers
52 for handler in root.handlers:
62 syslog_handler = logging.handlers.SysLogHandler(
64 facility=logging.handlers.SysLogHandler.LOG_DAEMON)
/external/javassist/src/main/javassist/bytecode/stackmap/
DLiveness.java78 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness1() local
79 while (handlers != null) { in computeLiveness1()
80 TypedBlock h = (TypedBlock)handlers.body; in computeLiveness1()
86 handlers = handlers.next; in computeLiveness1()
171 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness2except() local
173 while (handlers != null) { in computeLiveness2except()
174 TypedBlock h = (TypedBlock)handlers.body; in computeLiveness2except()
186 handlers = handlers.next; in computeLiveness2except()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DStructuredLockingTest.java105 List<TryCatchBlockNode> handlers = analyzer.getHandlers(i); in assertStructuredLocking() local
106 if (handlers == null || handlers.isEmpty()) { in assertStructuredLocking()
118 List<TryCatchBlockNode> handlers = analyzer.getHandlers(i); in assertStructuredLocking() local
119 if (handlers != null) { in assertStructuredLocking()
120 for (TryCatchBlockNode node : handlers) { in assertStructuredLocking()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DDexBuilder.java255 tryInfo.handlers, in build()
472 TryHandler[] handlers = getDexTryHandlers(canonicalHandlers.inverse());
473 return new TryInfo(tries, handlers);
485 CatchHandlers<BasicBlock> handlers = block.getCatchHandlers();
490 assert handlers.isEmpty() || block.canThrow();
491 if (!handlers.isEmpty()) {
492 if (handlerToIndex.containsKey(handlers)) {
493 handlers = indexToHandler.get(handlerToIndex.get(handlers));
495 handlerToIndex.put(handlers, handlerToIndex.size());
501 currentTryItem = new TryItem(handlers, start, end);
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib2.py393 handlers = []
401 handlers.append(h)
403 return handlers
484 handlers = add_ordered_mock_handlers(o, meth_spec)
498 handlers = add_ordered_mock_handlers(o, meth_spec)
508 self.assertEqual(r, handlers[2])
509 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")]
517 handlers = []
525 handlers.append(h)
530 self.assertEqual(o.calls[0][0], handlers[1])
[all …]
/external/python/cpython2/Doc/howto/
Dlogging.rst331 of components: loggers, handlers, filters, and formatters.
340 Log event information is passed between loggers, handlers, filters and
390 The flow of log event information in loggers and handlers is illustrated in the
402 objects pass along relevant log messages to all interested log handlers.
460 determine whether the event is passed to the logger's handlers.
462 Child loggers propagate messages up to the handlers associated with their
464 handlers for all the loggers an application uses. It is sufficient to
465 configure handlers for a top-level logger and create child loggers as needed.
481 email address. This scenario requires three individual handlers where each
486 :ref:`useful-handlers`); the tutorials use mainly :class:`StreamHandler` and
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DURLStreamHandlerRuntime.java36 private Map<String, URLStreamHandler> handlers; field in URLStreamHandlerRuntime
49 handlers = getHandlersReference(); in startup()
50 handlers.put(protocol, handler); in startup()
64 handlers.remove(protocol); in shutdown()
/external/syslinux/gpxe/src/core/
Dansiesc.c39 static void ansiesc_call_handler ( struct ansiesc_handler *handlers, in ansiesc_call_handler() argument
44 for ( handler = handlers ; handler->function ; handler++ ) { in ansiesc_call_handler()
111 ansiesc_call_handler ( ctx->handlers, ctx->function, in ansiesc_process()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/
DJDK14AdapterLoggerNameTest.java64 Handler[] handlers = logger.getHandlers(); in removeHandlers() local
65 for (int i = 0; i < handlers.length; i++) { in removeHandlers()
66 logger.removeHandler(handlers[i]); in removeHandlers()
/external/autotest/site_utils/
Dlog_socket_server_unittest.py6 import logging.handlers
28 logging.getLogger().handlers = []
29 socketHandler = logging.handlers.SocketHandler('localhost', port)
/external/libnfnetlink/src/
Drtnl.c36 for (h = rtnl_handle->handlers; h; h = h->next) { in find_handler()
65 hdlr->next = rtnl_handle->handlers; in rtnl_handler_register()
66 rtnl_handle->handlers = hdlr; in rtnl_handler_register()
81 for (h = rtnl_handle->handlers; h; h = h->next) { in rtnl_handler_unregister()
86 rtnl_handle->handlers = h->next; in rtnl_handler_unregister()
/external/clang/tools/scan-build/share/scan-build/
Dsorttable.js383 var handlers = element.events[type];
384 if (!handlers) {
385 handlers = element.events[type] = {};
388 handlers[0] = element["on" + type];
392 handlers[handler.$$guid] = handler;
416 var handlers = this.events[event.type];
418 for (var i in handlers) {
419 this.$$handleEvent = handlers[i];
/external/clang/tools/scan-build-py/libscanbuild/resources/
Dsorttable.js383 var handlers = element.events[type];
384 if (!handlers) {
385 handlers = element.events[type] = {};
388 handlers[0] = element["on" + type];
392 handlers[handler.$$guid] = handler;
416 var handlers = this.events[event.type];
418 for (var i in handlers) {
419 this.$$handleEvent = handlers[i];
/external/mockftpserver/branches/1.x_Branch/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.0/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/1.2.3/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.

12345678910>>...14