Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 850) sorted by relevance

12345678910>>...34

/openbsd-src/usr.sbin/nsd/
H A Dnetio.c39 netio_add_handler(netio_type *netio, netio_handler_type *handler) in netio_add_handler() argument
44 assert(handler); in netio_add_handler()
62 elt->handler = handler; in netio_add_handler()
63 elt->handler->pfd = -1; in netio_add_handler()
68 netio_remove_handler(netio_type *netio, netio_handler_type *handler) in netio_remove_handler() argument
73 assert(handler); in netio_remove_handler()
76 if ((*elt_ptr)->handler == handler) { in netio_remove_handler()
80 (*elt_ptr)->handler = NULL; in netio_remove_handler()
145 netio_handler_type *handler = elt->handler; in netio_dispatch() local
146 if (handler->fd != -1 && numfd < MAX_NETIO_FDS) { in netio_dispatch()
[all …]
H A Dipc.c32 static void xfrd_handle_ipc_read(struct event* handler, xfrd_state_type* xfrd);
107 netio_handler_type *handler, in parent_handle_xfrd_command() argument
113 (struct ipc_handler_conn_data *) handler->user_data; in parent_handle_xfrd_command()
118 if ((len = read(handler->fd, &mode, sizeof(mode))) == -1) { in parent_handle_xfrd_command()
127 close(handler->fd); in parent_handle_xfrd_command()
128 handler->fd = -1; in parent_handle_xfrd_command()
219 nsd->children[i].handler->fd = -1; in child_is_done()
309 netio_handler_type *handler, in parent_handle_child_command() argument
315 (struct main_ipc_handler_data*)handler->user_data; in parent_handle_child_command()
321 send_stat_to_child(data, handler->fd); in parent_handle_child_command()
[all …]
/openbsd-src/lib/libexpat/lib/
H A Dxmlrole.c116 ((state)->handler \
119 # define setTopLevel(state) ((state)->handler = internalSubset)
145 state->handler = prolog1; in prolog0()
148 state->handler = prolog1; in prolog0()
151 state->handler = prolog1; in prolog0()
154 state->handler = prolog1; in prolog0()
162 state->handler = doctype0; in prolog0()
165 state->handler = error; in prolog0()
194 state->handler = doctype0; in prolog1()
197 state->handler = error; in prolog1()
[all …]
H A Dexpat.h185 There is no need to free the model from the handler, it can be kept
195 /* The Attlist declaration handler is called for *each* attribute. So
197 generate multiple calls to this handler. The "default" parameter
210 /* The XML declaration handler is called for *both* XML declarations
250 1, 2 or 3 original parts on application level in the element handler
315 there is no applicable handler. This includes both characters that
318 construct which could be reported but for which no handler has been
322 character is not passed to the default handler. There are no
324 default handler: for example, a comment might be split between
370 XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler);
[all...]
/openbsd-src/sys/dev/pci/drm/apple/
H A Diomfb_internal.h59 #define TRAMPOLINE_VOID(func, handler) \ argument
62 trace_iomfb_callback(dcp, tag, #handler); \
63 handler(dcp); \
67 #define TRAMPOLINE_IN(func, handler, T_in) \ argument
68 typedef void (*callback_##handler)(struct apple_dcp *, T_in *); \
72 callback_##handler cb = handler; \
74 trace_iomfb_callback(dcp, tag, #handler); \
79 #define TRAMPOLINE_INOUT(func, handler, T_in, T_out) \ argument
80 typedef T_out (*callback_##handler)(struct apple_dcp *, T_in *); \
85 callback_##handler cb = handler; \
[all …]
/openbsd-src/gnu/usr.bin/perl/Porting/
H A Dgit-deltatool541 { name => 'E(x)amine', handler => 'examine' },
542 { name => '(+)Cherrymaint', handler => 'cherry' },
543 { name => '(?)NeedHelp', handler => 'blocking' },
544 { name => 'S(k)ip', handler => 'skip' },
545 { name => '(Q)uit', handler => 'quit' },
553 { name => '(B)ack', handler => 'repeat' },
562 { name => '(E)dit', handler => 'edit' },
563 { name => '(I)gnore', handler => 'none' },
564 { name => '(D)one', handler => 'done' },
575 handler => 'head2',
[all …]
/openbsd-src/gnu/usr.bin/perl/lib/
H A Dsigtrap.pm16 my $handler = \&handler_traceback;
27 print "Installing handler $handler for $_\n" if $Verbose;
28 $SIG{$_} = $handler;
44 $handler = \&handler_traceback;
47 $handler = \&handler_die;
51 $handler = shift;
52 unless (ref $handler or $handler eq 'IGNORE'
53 or $handler eq 'DEFAULT') {
55 $handler = Symbol::qualify($handler, (caller)[0]);
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Diterator_factory.t81 handler => 'TAP::Parser::SourceHandler::File',
85 handler => 'TAP::Parser::SourceHandler::File',
90 handler => 'TAP::Parser::SourceHandler::Perl',
94 handler => 'TAP::Parser::SourceHandler::Perl',
98 handler => 'TAP::Parser::SourceHandler::Perl',
102 handler => 'TAP::Parser::SourceHandler::Perl',
106 handler => 'TAP::Parser::SourceHandler::Executable',
111 handler => 'TAP::Parser::SourceHandler::RawTAP',
116 handler => 'TAP::Parser::SourceHandler::RawTAP',
120 handler => 'TAP::Parser::SourceHandler::Handle',
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c80 interrupt_handler handler; member
104 hcd->handler = ih; in init_handler_common_data()
119 handler_data->handler(handler_data->handler_arg); in dm_irq_work_func()
137 struct amdgpu_dm_irq_handler_data *handler; in remove_irq_handler() local
158 handler = list_entry(entry, struct amdgpu_dm_irq_handler_data, in remove_irq_handler()
161 if (handler == NULL) in remove_irq_handler()
164 if (ih == handler->handler) { in remove_irq_handler()
166 list_del(&handler->list); in remove_irq_handler()
181 kfree(handler); in remove_irq_handler()
201 struct amdgpu_dm_irq_handler_data *handler; in unregister_all_irq_handlers() local
[all …]
/openbsd-src/sys/arch/hppa/hppa/
H A Dintr.c51 int (*handler)(void *); member
147 if (intr_table[irq].handler == NULL && in cpu_intr_findirq()
155 cpu_intr_map(void *v, int pri, int irq, int (*handler)(void *), void *arg, in cpu_intr_map()
169 if (iv->handler) { in cpu_intr_map()
185 iv->handler = handler; in cpu_intr_map()
195 cpu_intr_establish(int pri, int irq, int (*handler)(void *), void *arg, in cpu_intr_establish()
202 if (irq < 0 || irq >= CPU_NINTS || intr_table[irq].handler) in cpu_intr_establish()
220 iv->handler = handler; in cpu_intr_establish()
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
H A DIteratorFactory.pm95 This is a hashref keyed on handler class whose values contain config to be passed
135 Loads the handler classes defined in L</config>. For example, given a config:
153 for my $handler ( keys %{ $self->config } ) {
154 my $sclass = $self->_load_handler($handler);
162 my ( $self, $handler ) = @_;
165 for my $dclass ( "TAP::Parser::SourceHandler::$handler", $handler ) {
180 "handler '$dclass' does not implement can_handle & make_iterator";
184 "Cannot load handler '$handler'
[all...]
H A DGrammar.pm84 handler => sub {
92 handler => sub {
129 handler => sub {
141 handler => sub {
159 handler => sub {
167 handler => sub {
182 handler => sub {
198 handler => sub {
207 handler => sub {
304 my $handler
[all...]
/openbsd-src/sbin/isakmpd/
H A Dike_auth.c560 struct cert_handler *handler; in rsa_sig_decode_hash() local
593 handler = cert_get(ISAKMP_CERTENC_KEYNOTE); in rsa_sig_decode_hash()
595 handler = cert_get(GET_ISAKMP_CERT_ENCODING(p->p)); in rsa_sig_decode_hash()
596 if (!handler) { in rsa_sig_decode_hash()
613 if (handler->cert_obtain(id, id_len, 0, &rawcert, &rawcertlen)) { in rsa_sig_decode_hash()
614 if (handler->id == ISAKMP_CERTENC_X509_SIG) { in rsa_sig_decode_hash()
615 cert = handler->cert_get(rawcert, rawcertlen); in rsa_sig_decode_hash()
620 if (!handler->cert_get_key(cert, &key)) { in rsa_sig_decode_hash()
623 handler->cert_free(cert); in rsa_sig_decode_hash()
628 "of type %d", handler->id)); in rsa_sig_decode_hash()
[all …]
H A Dcert.c113 struct cert_handler *handler; in certreq_decode() local
116 handler = cert_get(type); in certreq_decode()
117 if (!handler) in certreq_decode()
121 aca.handler = handler; in certreq_decode()
127 rc = handler->certreq_decode(&aca.data, data, datalen); in certreq_decode()
135 handler->free_aca(aca.data); in certreq_decode()
148 handler->free_aca(aca.data); in certreq_decode()
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dsignals.c15 handler (int sig) in handler() function
18 handler (sig) in handler()
22 signal (sig, handler);
46 signal (SIGALRM, handler); in main()
49 signal (SIGUSR1, handler); in main()
H A Dsiginfo.c30 handler (int sig, siginfo_t *info, void *context) in handler() function
36 handler (int sig) in handler() function
49 action.sa_sigaction = handler; in main()
52 action.sa_handler = handler; in main()
/openbsd-src/sys/arch/octeon/dev/
H A Docteon_intr.c93 void *handler; in octeon_intr_establish() local
99 handler = ic->ic_establish(irq, level, ih_fun, ih_arg, ih_what); in octeon_intr_establish()
100 if (handler == NULL) { in octeon_intr_establish()
106 ih->ih_ih = handler; in octeon_intr_establish()
125 void *handler; in octeon_intr_establish_fdt_idx() local
143 handler = ic->ic_establish_fdt_idx(ic->ic_cookie, node, idx, level, in octeon_intr_establish_fdt_idx()
145 if (handler == NULL) { in octeon_intr_establish_fdt_idx()
151 ih->ih_ih = handler; in octeon_intr_establish_fdt_idx()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Dsmu_v13_0_10.c45 struct amdgpu_reset_handler *handler; in smu_v13_0_10_get_reset_handler() local
49 list_for_each_entry(handler, &reset_ctl->reset_handlers, in smu_v13_0_10_get_reset_handler()
51 if (handler->reset_method == reset_context->method) in smu_v13_0_10_get_reset_handler()
52 return handler; in smu_v13_0_10_get_reset_handler()
58 list_for_each_entry (handler, &reset_ctl->reset_handlers, in smu_v13_0_10_get_reset_handler()
60 if (handler->reset_method == AMD_RESET_METHOD_MODE2) in smu_v13_0_10_get_reset_handler()
61 return handler; in smu_v13_0_10_get_reset_handler()
118 struct amdgpu_reset_handler *handler; in smu_v13_0_10_async_reset() local
123 list_for_each_entry(handler, &reset_ctl->reset_handlers, in smu_v13_0_10_async_reset()
125 if (handler in smu_v13_0_10_async_reset()
[all...]
H A Dsienna_cichlid.c50 struct amdgpu_reset_handler *handler; in sienna_cichlid_get_reset_handler() local
53 list_for_each_entry(handler, &reset_ctl->reset_handlers, in sienna_cichlid_get_reset_handler()
55 if (handler->reset_method == reset_context->method) in sienna_cichlid_get_reset_handler()
56 return handler; in sienna_cichlid_get_reset_handler()
61 list_for_each_entry (handler, &reset_ctl->reset_handlers, in sienna_cichlid_get_reset_handler()
63 if (handler->reset_method == AMD_RESET_METHOD_MODE2) in sienna_cichlid_get_reset_handler()
64 return handler; in sienna_cichlid_get_reset_handler()
119 struct amdgpu_reset_handler *handler; in sienna_cichlid_async_reset() local
124 list_for_each_entry(handler, &reset_ctl->reset_handlers, in sienna_cichlid_async_reset()
126 if (handler->reset_method == reset_ctl->active_reset) { in sienna_cichlid_async_reset()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DErrorHandling.cpp64 void llvm::install_fatal_error_handler(fatal_error_handler_t handler, in install_fatal_error_handler() argument
70 ErrorHandler = handler; in install_fatal_error_handler()
91 llvm::fatal_error_handler_t handler = nullptr; in report_fatal_error() local
99 handler = ErrorHandler; in report_fatal_error()
103 if (handler) { in report_fatal_error()
104 handler(handlerData, Reason.str().c_str(), GenCrashDiag); in report_fatal_error()
128 void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, in install_bad_alloc_error_handler() argument
134 BadAllocErrorHandler = handler; in install_bad_alloc_error_handler()
222 LLVMFatalErrorHandler handler = in bindingsErrorHandler() local
224 handler(reason); in bindingsErrorHandler()
/openbsd-src/regress/sys/kern/signal/fpsig/
H A Dfpsig.c24 handler(int signo) in handler() function
48 handler(0); in main()
49 handler(1); in main()
51 signal(SIGALRM, handler); in main()
55 handler(0); in main()
/openbsd-src/gnu/llvm/llvm/utils/UpdateTestChecks/
H A Disel.py36 handler = None
40 handler = s
43 if handler is None:
45 handler = (scrub_isel_default, ISEL_FUNCTION_DEFAULT_RE)
47 return handler
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dexcept.c942 tree handler; local
944 for (handler = handlers; handler; handler = TREE_CHAIN (handler))
945 if (TREE_TYPE (handler)
946 && can_convert_eh (type, TREE_TYPE (handler)))
948 lineno = STMT_LINENO (handler);
950 TREE_TYPE (handler));
963 tree handler; local
965 for (handler = handlers; handler; handler = TREE_CHAIN (handler))
967 if (TREE_CHAIN (handler) == NULL_TREE)
969 else if (TREE_TYPE (handler) == NULL_TREE)
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/libsupc++/
H A Deh_terminate.cc40 __cxxabiv1::__terminate (std::terminate_handler handler) in __terminate() argument
43 handler (); in __terminate()
57 __cxxabiv1::__unexpected (std::unexpected_handler handler) in __unexpected() argument
59 handler(); in __unexpected()
/openbsd-src/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Deh_terminate.cc44 __cxxabiv1::__terminate (std::terminate_handler handler) in __terminate() argument
47 handler (); in __terminate()
61 __cxxabiv1::__unexpected (std::unexpected_handler handler) in __unexpected() argument
63 handler(); in __unexpected()

12345678910>>...34