Home
last modified time | relevance | path

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

12345678910>>...105

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dsink.h21 #include "upb/handlers.h"
39 const upb_handlers *handlers; member
49 if (!s.handlers) return true; \
50 func = (functype *)upb_handlers_gethandler(s.handlers, sel, &hd); \
65 s->handlers = h; in PUTVAL()
75 if (!s.handlers) return n; in upb_sink_putstring()
76 handler = (func *)upb_handlers_gethandler(s.handlers, sel, &hd); in upb_sink_putstring()
86 if (!s.handlers) return true; in upb_sink_putunknown()
88 (func *)upb_handlers_gethandler(s.handlers, UPB_UNKNOWN_SELECTOR, &hd); in upb_sink_putunknown()
98 if (!s.handlers) return true; in upb_sink_startmsg()
[all …]
Dhandlers.h2 ** upb::Handlers (upb_handlers)
6 ** parsing or visiting a stream of data. This is similar to how handlers work
9 ** The handlers have no idea where the data is coming from, so a single set of
10 ** handlers could be used with two completely different data sources (for
44 * of Handlers::Freeze that allows specifying this as a parameter. */
47 /* All the different types of handlers that can be registered.
48 * Only needed for the advanced functions in upb::Handlers. */
74 /* A selector refers to a specific field handler in the Handlers object
78 /* Static selectors for upb::Handlers. */
245 typedef upb_handlers Handlers; typedef
[all …]
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
DCompositeHandler.java23 package com.uber.nullaway.handlers;
50 * Registry of all handlers registered on our analysis.
52 * <p>In general, handlers are a way to specialize the behavior of our analysis on particular APIs
57 private final List<Handler> handlers; field in CompositeHandler
59 CompositeHandler(ImmutableList<Handler> handlers) { in CompositeHandler() argument
60 // Attach default handlers in CompositeHandler()
61 this.handlers = handlers; in CompositeHandler()
67 for (Handler h : handlers) { in onMatchTopLevelClass()
75 for (Handler h : handlers) { in onMatchMethod()
86 for (Handler h : handlers) { in onMatchLambdaExpression()
[all …]
DHandlers.java23 package com.uber.nullaway.handlers;
27 import com.uber.nullaway.handlers.contract.ContractCheckHandler;
28 import com.uber.nullaway.handlers.contract.ContractHandler;
29 import com.uber.nullaway.handlers.contract.fieldcontract.EnsuresNonNullHandler;
30 import com.uber.nullaway.handlers.contract.fieldcontract.RequiresNonNullHandler;
32 /** Utility static methods for the handlers package. */
33 public class Handlers { class
35 private Handlers() {} in Handlers() method in Handlers
41 * @return A {@code CompositeHandler} including the standard handlers for the nullness checker.
/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/python/cpython3/Doc/library/
Dlogging.config.rst33 in :mod:`logging` itself) and defining handlers which are declared either in
34 :mod:`logging` or :mod:`logging.handlers`.
274 * *handlers* - the corresponding value will be a dict in which each
296 handlers:
304 class : logging.handlers.RotatingFileHandler
313 :class:`logging.handlers.RotatingFileHandler` with the keyword arguments
329 * ``handlers`` (optional). A list of ids of the handlers for this
333 propagation, filters and handlers specified.
365 the object graph of loggers, handlers, filters, formatters at
367 handlers can be controlled just by setting levels (and, in the case of
[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/cpython3/Lib/logging/
Dconfig.py30 import logging.handlers
79 # Handlers add themselves to logging._handlers
80 handlers = _install_handlers(cp, formatters)
81 _install_loggers(cp, handlers, disable_existing_loggers)
126 """Install and return handlers"""
127 hlist = cp["handlers"]["keys"]
132 handlers = {}
153 if issubclass(klass, logging.handlers.MemoryHandler):
157 handlers[hand] = h
158 #now all handlers are loaded, fixup inter-handler references...
[all …]
/external/webrtc/modules/desktop_capture/linux/x11/
Dshared_x_display.cc57 EventHandlersMap::iterator handlers = event_handlers_.find(type); in RemoveEventHandler() local
58 if (handlers == event_handlers_.end()) in RemoveEventHandler()
62 std::remove(handlers->second.begin(), handlers->second.end(), handler); in RemoveEventHandler()
63 handlers->second.erase(new_end, handlers->second.end()); in RemoveEventHandler()
65 // Check if no handlers left for this event. in RemoveEventHandler()
66 if (handlers->second.empty()) in RemoveEventHandler()
67 event_handlers_.erase(handlers); in RemoveEventHandler()
86 EventHandlersMap::iterator handlers = event_handlers_.find(e.type); in ProcessPendingXEvents() local
87 if (handlers == event_handlers_.end()) in ProcessPendingXEvents()
89 for (std::vector<XEventHandler*>::iterator it = handlers->second.begin(); in ProcessPendingXEvents()
[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/cpython3/Lib/test/
Dtest_logging.py23 import logging.handlers
119 hlist = self.logger1.handlers + self.root_logger.handlers
120 raise AssertionError('Unexpected handlers: %s' % hlist)
122 hlist = self.logger2.handlers + self.root_logger.handlers
123 raise AssertionError('Unexpected handlers: %s' % hlist)
133 while self.root_logger.handlers:
134 h = self.root_logger.handlers[0]
346 handler = self.root_logger.handlers[0]
375 handler = self.root_logger.handlers[0]
485 self.root_logger.handlers[0].setLevel(SOCIABLE)
[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 …]
/external/python/cpython3/Doc/howto/
Dlogging.rst352 of components: loggers, handlers, filters, and formatters.
355 * Handlers send the log records (created by loggers) to the appropriate
361 Log event information is passed between loggers, handlers, filters and
413 The flow of log event information in loggers and handlers is illustrated in the
425 objects pass along relevant log messages to all interested log handlers.
439 handler objects from the logger object. Handlers are covered in more detail
483 determine whether the event is passed to the logger's handlers.
485 Child loggers propagate messages up to the handlers associated with their
487 handlers for all the loggers an application uses. It is sufficient to
488 configure handlers for a top-level logger and create child loggers as needed.
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dhandlers.S51 .macro HANDLERS has_error from to macro
73 HANDLERS has_error=0 from=0 to=7
74 HANDLERS has_error=1 from=8 to=8
75 HANDLERS has_error=0 from=9 to=9
76 HANDLERS has_error=1 from=10 to=14
77 HANDLERS has_error=0 from=15 to=16
78 HANDLERS has_error=1 from=17 to=17
79 HANDLERS has_error=0 from=18 to=255
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DXMLFileReader.java49 * Handlers to use in read()
88 * @param handlers
89 * a set of values for the handlers to use, eg CONTENT_HANDLER | ERROR_HANDLER
94 public XMLFileReader read(String fileName, int handlers, boolean validating) { in read() argument
97 return read(fileName, new InputSource(fis), handlers, validating); in read()
113 * @param handlers
119 public XMLFileReader readCLDRResource(String resName, int handlers, boolean validating) { in readCLDRResource() argument
121 return read(resName, new InputSource(inputStream), handlers, validating); in readCLDRResource()
130 * @param handlers
136 …public XMLFileReader read(String resName, Class<?> callingClass, int handlers, boolean validating)… in read() argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
84 // Handlers are invoked in the reverse order of how they were added, this
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 …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
84 // Handlers are invoked in the reverse order of how they were added, this
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 …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
84 // Handlers are invoked in the reverse order of how they were added, this
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 …]
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/app/event/
DEventCartridge.java38 * <p>Stores the event handlers. Event handlers can be assigned on a per
40 * velocity.properties file. Event handlers may also be assigned on a per-page
42 * handlers, and then calling attachToContext. For clarity, it's recommended
45 * <p>Note that Event Handlers follow a filter pattern, with multiple event
46 * handlers allowed for each event. When the appropriate event occurs, all the
47 * appropriate event handlers are called in the sequence they were added to the
64 * Ensure that handlers are not initialized more than once.
86 /* allow for this method to be called *after* adding event handlers */ in setRuntimeServices()
271 * Call reference insertion handlers
275 * @return value returned by handlers
[all …]
/external/cronet/build/config/siso/
Dmain.star38 handlers = {}
39 handlers.update(host.handlers)
40 handlers.update(simple.handlers)
46 handlers = handlers,
/external/python/cpython2/Modules/
Dsignalmodule.c87 } Handlers[NSIG]; variable
169 Handlers[sig_num].tripped = 1; in trip_signal()
215 /* Issue #10311: asynchronously executing signal handlers should not in signal_handler()
321 old_handler = Handlers[sig_num].func; 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()
614 Handlers[i].func = DefaultHandler; in initsignal()
[all …]
/external/angle/build/config/siso/
Dmain.star50 handlers = {}
51 handlers.update(host.handlers)
52 handlers.update(simple.handlers)
58 handlers = handlers,
/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 …]
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c382 struct handlers { struct
395 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
419 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
420 return handlers->exception_handlers[vector][ec](regs); in route_exception()
428 vm->handlers = vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
431 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
437 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
442 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
448 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
452 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/external/ltp/testcases/kernel/uevents/
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()

12345678910>>...105