Home
last modified time | relevance | path

Searched full:handlers (Results 1 – 25 of 1206) sorted by relevance

12345678910>>...49

/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/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()
59 // Check if no handlers left for this event. 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()
[all …]
/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/python/cpython2/Lib/logging/
Dconfig.py31 import logging.handlers
84 # Handlers add themselves to logging._handlers
85 handlers = _install_handlers(cp, formatters)
86 _install_loggers(cp, handlers, disable_existing_loggers)
141 """Install and return handlers"""
142 hlist = cp.get("handlers", "keys")
147 handlers = {}
169 if issubclass(klass, logging.handlers.MemoryHandler):
176 handlers[hand] = h
177 #now all handlers are loaded, fixup inter-handler references...
[all …]
/external/python/cpython2/Lib/test/
Dtest_logging.py23 import logging.handlers
93 while self.root_logger.handlers:
94 h = self.root_logger.handlers[0]
286 handler = self.root_logger.handlers[0]
392 self.root_logger.handlers[0].setLevel(SOCIABLE)
404 self.root_logger.handlers[0].setLevel(logging.NOTSET)
409 handler = self.root_logger.handlers[0]
458 self.mem_hdlr = logging.handlers.MemoryHandler(10, logging.WARNING,
514 [handlers]
522 handlers=hand1
[all …]
/external/python/cpython2/Doc/howto/
Dlogging.rst331 of components: loggers, handlers, filters, and formatters.
334 * Handlers send the log records (created by loggers) to the appropriate
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.
416 handler objects from the logger object. Handlers are covered in more detail
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.
[all …]
Dlogging-cookbook.rst37 # create formatter and add it to the handlers
41 # add the handlers to the logger
153 Multiple handlers and formatters
157 minimum or maximum quota for the number of handlers you may add. Sometimes it
160 this up, simply configure the appropriate handlers. The logging calls in the
174 # create formatter and add it to the handlers
178 # add the handlers to logger
189 Notice that the 'application' code does not care about multiple handlers. All
192 The ability to create new handlers with higher- or lower-severity filters can be
261 This example uses console and file handlers, but you can use any number and
[all …]
/external/python/cpython2/Modules/
Dsignalmodule.c87 } Handlers[NSIG]; variable
172 Handlers[sig_num].tripped = 1; in trip_signal()
218 /* Issue #10311: asynchronously executing signal handlers should not in signal_handler()
320 old_handler = Handlers[sig_num].func; in signal_signal()
321 Handlers[sig_num].tripped = 0; in signal_signal()
323 Handlers[sig_num].func = obj; in signal_signal()
354 old_handler = Handlers[sig_num].func; in signal_getsignal()
536 "This module provides mechanisms to use signal handlers in Python.\n\
608 Handlers[0].tripped = 0; in initsignal()
612 Handlers[i].tripped = 0; in initsignal()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h1978 * indicates whether this field should have lazy parsing handlers that yield
3755 uint32_t selector_base; /* Used to index into a upb::Handlers table. */
3862 ** upb::Handlers (upb_handlers)
3866 ** parsing or visiting a stream of data. This is similar to how handlers work
3869 ** The handlers have no idea where the data is coming from, so a single set of
3870 ** handlers could be used with two completely different data sources (for
3888 class Handlers;
3897 UPB_DECLARE_DERIVED_TYPE(upb::Handlers, upb::RefCounted,
3906 * of Handlers::Freeze that allows specifying this as a parameter. */
3909 /* All the different types of handlers that can be registered.
[all …]
/external/protobuf/php/ext/google/protobuf/
Dupb.h1541 * indicates whether this field should have lazy parsing handlers that yield
3075 uint32_t selector_base; /* Used to index into a upb::Handlers table. */
3166 ** upb::Handlers (upb_handlers)
3170 ** parsing or visiting a stream of data. This is similar to how handlers work
3173 ** The handlers have no idea where the data is coming from, so a single set of
3174 ** handlers could be used with two completely different data sources (for
3192 class Handlers; variable
3201 UPB_DECLARE_DERIVED_TYPE(upb::Handlers, upb::RefCounted,
3210 * of Handlers::Freeze that allows specifying this as a parameter. */
3213 /* All the different types of handlers that can be registered.
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dio_service.hpp74 * associated handler. Handlers are invoked only by a thread that is currently
78 * @par Effect of exceptions thrown from handlers
125 * permitting ready handlers to be dispatched.
127 * Alternatively, if the application requires that all operations and handlers
221 * be bound into the handlers for all asynchronous operations associated with
230 * destructor defined above destroys all handlers, causing all @c shared_ptr
238 * more handlers to be dispatched, or until the io_service has been stopped.
241 * from which the io_service may execute handlers. All threads that are
250 * @return The number of handlers that were executed.
258 * The poll() function may also be used to dispatch ready handlers, but
[all …]
Dhandler_invoke_hook.hpp23 * @brief Default invoke function for handlers.
25 * Completion handlers for asynchronous operations are invoked by the
30 * Handlers may subsequently be invoked through other objects (such as
34 * operations, all intermediate handlers should be invoked using the same
40 * Implement asio_handler_invoke for your own handlers to specify a custom
/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()
205 builder.append("Handlers (numbers are offsets)\n"); 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()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D2-1.c10 * Any cancelation cleanup handlers that have been pushed and not yet popped
60 /* Set up 3 cleanup handlers */ in a_thread_func()
98 /* Check to make sure that the cleanup handlers were executed in order. */ in main()
107 ("Test FAILED: Did not execute cleanup handlers in order.\n"); in main()
111 ("Test FAILED: Did not execute cleanup handlers in order.\n"); in main()
114 printf("Test FAILED: Did not execute cleanup handlers.\n"); in main()
118 printf("Test FAILED: Did not execute cleanup handlers in order.\n"); in main()
/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/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
DSLF4JBridgeHandler.java57 * // Optionally remove existing handlers attached to j.u.l root logger
66 * handlers = org.slf4j.bridge.SLF4JBridgeHandler</pre>
137 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()
163 …* Invoking this method removes/unregisters/detaches all handlers currently attached to the root lo…
[all …]
/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/r8/src/main/java/com/android/tools/r8/ir/conversion/
DDexBuilder.java255 tryInfo.handlers, in build()
463 // Helpers for computing the try items and handlers.
466 // Canonical map of handlers.
468 // Compute the list of try items and their handlers.
472 TryHandler[] handlers = getDexTryHandlers(canonicalHandlers.inverse());
473 return new TryInfo(tries, handlers);
485 CatchHandlers<BasicBlock> handlers = block.getCatchHandlers();
489 // handlers deleted to reflect the simpler graph prior to building the dex code.
490 assert handlers.isEmpty() || block.canThrow();
491 if (!handlers.isEmpty()) {
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
DCombinedEventsManager.java30 /** This class manages several {@link EventHandler event handlers} during integration.
76 /** Get all the events handlers that have been added to the manager.
77 * @return an unmodifiable collection of the added event handlers
90 /** Remove all the events handlers that have been added to the manager.
98 /** Get all the events state wrapping the handlers that have been added to the manager.
106 /** Check if the manager does not manage any event handlers.
114 * event handlers.
192 /** Inform the event handlers that the step has been accepted
225 /** Let the event handlers reset the state if they want.
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
D2-2.c19 * NULL can be passed as any of these handlers when no treatment is required.
25 * The test fails if the registered handlers are not executed as expected.
83 /* pthread_atfork handlers */
223 /* Register the handlers */ in main()
228 "Failed to register the atfork handlers(N,N,N)"); in main()
235 "Failed to register the atfork handlers(h,N,N)"); in main()
242 "Failed to register the atfork handlers(N,h,N)"); in main()
249 "Failed to register the atfork handlers(N,N,h)"); in main()
256 "Failed to register the atfork handlers(h,h,N)"); in main()
263 "Failed to register the atfork handlers(h,N,h)"); in main()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
51 * <h4>Retrieving Command Handlers</h4>
59 * <h4>Replacing Command Handlers</h4>
68 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(M…
85 * Create a new instance. Initialize the default command handlers and
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_pop/
D1-3.c17 * 3. Verify that the cleanup handlers are popped in order.
30 int cleanup_flag[3]; /* Array to hold the cleanup flags for the 3 cleanup handlers */
33 /* 3 Cleanup handlers */
90 /* Verify that the cancellation handlers are popped in order, that is: in main()
95 ("Test FAILED: Cleanup handlers not popped in order, expected 3,2,1, but got:\n"); in main()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and

12345678910>>...49