Home
last modified time | relevance | path

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

12345678910>>...22

/third_party/glib/gobject/tests/
Dsignal-handler.c75 gulong handlers[HANDLERS]; in test_disconnect_many_ordered() local
82 handlers[i] = g_signal_connect (o, "signal1", G_CALLBACK (nop), NULL); in test_disconnect_many_ordered()
87 g_signal_handler_disconnect (o, handlers[i]); in test_disconnect_many_ordered()
100 gulong handlers[HANDLERS]; in test_disconnect_many_inverse() local
107 handlers[i] = g_signal_connect (o, "signal1", G_CALLBACK (nop), NULL); in test_disconnect_many_inverse()
112 g_signal_handler_disconnect (o, handlers[i]); in test_disconnect_many_inverse()
125 gulong handlers[HANDLERS]; in test_disconnect_many_random() local
133 handlers[i] = g_signal_connect (o, "signal1", G_CALLBACK (nop), NULL); in test_disconnect_many_random()
138 id = handlers[i]; in test_disconnect_many_random()
139 handlers[i] = handlers[j]; in test_disconnect_many_random()
[all …]
/third_party/grpc/third_party/upb/upb/
Dsink.h39 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()
100 (func *)upb_handlers_gethandler(s.handlers, UPB_STARTMSG_SELECTOR, &hd); in upb_sink_startmsg()
[all …]
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
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 {
177 for _, h := range c.handlers {
187 for _, h := range c.handlers {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
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 {
177 for _, h := range c.handlers {
187 for _, h := range c.handlers {
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Djsonrpc2.go32 handlers []Handler member
75 handlers: []Handler{defaultHandler{}},
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 {
177 for _, h := range c.handlers {
187 for _, h := range c.handlers {
[all …]
/third_party/python/Lib/logging/
Dconfig.py30 import logging.handlers
80 handlers = _install_handlers(cp, formatters)
81 _install_loggers(cp, handlers, disable_existing_loggers)
132 handlers = {}
153 if issubclass(klass, logging.handlers.MemoryHandler):
157 handlers[hand] = h
160 h.setTarget(handlers[t])
161 return handlers
180 logger.handlers = []
185 def _install_loggers(cp, handlers, disable_existing): argument
[all …]
D__init__.py844 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
845 if acquire and release and handlers:
848 if wr in handlers:
849 handlers.remove(wr)
1444 self.handlers = []
1642 if not (hdlr in self.handlers):
1643 self.handlers.append(hdlr)
1653 if hdlr in self.handlers:
1654 self.handlers.remove(hdlr)
1671 if c.handlers:
[all …]
/third_party/typescript/tests/baselines/reference/
DcontextualTypingOfTooShortOverloads.types45 (...handlers: RequestHandler[]): T;
46 >handlers : RequestHandler[]
48 (...handlers: RequestHandlerParams[]): T;
49 >handlers : RequestHandlerParams[]
53 (path: PathParams, ...handlers: RequestHandler[]): T;
55 >handlers : RequestHandler[]
57 (path: PathParams, ...handlers: RequestHandlerParams[]): T;
59 >handlers : RequestHandlerParams[]
DcontextualTypingOfTooShortOverloads.symbols52 (...handlers: RequestHandler[]): T;
53 >handlers : Symbol(handlers, Decl(contextualTypingOfTooShortOverloads.ts, 18, 5))
57 (...handlers: RequestHandlerParams[]): T;
58 >handlers : Symbol(handlers, Decl(contextualTypingOfTooShortOverloads.ts, 19, 5))
67 (path: PathParams, ...handlers: RequestHandler[]): T;
70 >handlers : Symbol(handlers, Decl(contextualTypingOfTooShortOverloads.ts, 23, 22))
74 (path: PathParams, ...handlers: RequestHandlerParams[]): T;
77 >handlers : Symbol(handlers, Decl(contextualTypingOfTooShortOverloads.ts, 24, 22))
DcontextualTypingOfTooShortOverloads.js20 (...handlers: RequestHandler[]): T;
21 (...handlers: RequestHandlerParams[]): T;
25 (path: PathParams, ...handlers: RequestHandler[]): T;
26 (path: PathParams, ...handlers: RequestHandlerParams[]): T;
DcontextualPropertyOfGenericMappedType.types4 declare function f<T extends object>(data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) =>…
5 >f : <T extends object>(data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) => void; }) => …
7 >handlers : { [P in keyof T]: (value: T[P], prop: P) => void; }
13 >f : <T extends object>(data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) => void; }) => …
DcontextualPropertyOfGenericMappedType.symbols4 declare function f<T extends object>(data: T, handlers: { [P in keyof T]: (value: T[P], prop: P) =>…
9 >handlers : Symbol(handlers, Decl(contextualPropertyOfGenericMappedType.ts, 2, 45))
/third_party/python/Lib/test/
Dtest_logging.py23 import logging.handlers
119 hlist = self.logger1.handlers + self.root_logger.handlers
122 hlist = self.logger2.handlers + self.root_logger.handlers
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)
497 self.root_logger.handlers[0].setLevel(logging.NOTSET)
502 handler = self.root_logger.handlers[0]
[all …]
/third_party/typescript/tests/cases/compiler/
DcontextualTypingOfTooShortOverloads.ts20 (...handlers: RequestHandler[]): T;
21 (...handlers: RequestHandlerParams[]): T;
25 (path: PathParams, ...handlers: RequestHandler[]): T;
26 (path: PathParams, ...handlers: RequestHandlerParams[]): T;
/third_party/python/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 …]
/third_party/grpc/third_party/upb/
DCMakeLists.txt114 add_library(handlers target
115 upb/handlers.c
116 upb/handlers-inl.h
118 upb/handlers.h
120 target_link_libraries(handlers
138 handlers
154 handlers
162 handlers
/third_party/boost/boost/process/detail/posix/
Dio_context_ref.hpp56 std::vector<std::function<void(int, const std::error_code & ec)>> &handlers; member
60 std::vector<std::function<void(int, const std::error_code & ec)>> &handlers) in async_handler_collector()
61 : exec(exec), handlers(handlers) {} in async_handler_collector()
66 handlers.push_back(t.on_exit_handler(exec)); in operator ()()
/third_party/node/deps/npm/node_modules/yargs/lib/
Dcommand.js16 let handlers = {}
77 handlers[parsedCommand.cmd] = { variable
87 if (isDefault) defaultCommand = handlers[parsedCommand.cmd]
164 self.getCommands = () => Object.keys(handlers).concat(Object.keys(aliasMap))
166 self.getCommandHandlers = () => handlers
172 const commandHandler = handlers[command] || handlers[aliasMap[command]] || defaultCommand
421 handlers = {}
435 frozen.handlers = handlers
441 handlers = frozen.handlers
Dcompletion.js47 const handlers = command.getCommandHandlers()
49 if (handlers[args[i]] && handlers[args[i]].builder) {
50 const builder = handlers[args[i]].builder
/third_party/ltp/testcases/kernel/uevents/
Duevent03.c72 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()
222 free(handlers); in verify_uevent()
/third_party/python/Lib/test/support/
Dlogging_helper.py1 import logging.handlers
3 class TestHandler(logging.handlers.BufferingHandler):
10 logging.handlers.BufferingHandler.__init__(self, 0)
/third_party/boost/boost/process/detail/windows/
Dio_context_ref.hpp58 std::vector<std::function<void(int, const std::error_code & ec)>> &handlers; member
62 std::vector<std::function<void(int, const std::error_code & ec)>> &handlers) in async_handler_collector()
63 : exec(exec), handlers(handlers) {} in async_handler_collector()
68 handlers.push_back(t.on_exit_handler(exec)); in operator ()()
/third_party/grpc/third_party/upb/cmake/
DCMakeLists.txt126 add_library(handlers target
127 ../upb/handlers.c
128 ../upb/handlers-inl.h
130 ../upb/handlers.h
132 target_link_libraries(handlers
150 handlers
/third_party/python/Doc/howto/
Dlogging.rst352 of components: loggers, handlers, filters, and formatters.
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.
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.
504 email address. This scenario requires three individual handlers where each
509 :ref:`useful-handlers`); the tutorials use mainly :class:`StreamHandler` and
[all …]
/third_party/boost/libs/asio/doc/overview/
Dstrands.qbk10 A strand is defined as a strictly sequential invocation of event handlers (i.e.
18 * Calling io_context::run() from only one thread means all event handlers
19 execute in an implicit strand, due to the io_context's guarantee that handlers
24 no possibility of concurrent execution of the handlers. This is an implicit
34 intermediate handlers should also go through the same strand. This is needed to
45 by the asynchronous operation to submit both intermediate and final handlers

12345678910>>...22