Searched defs:handler (Results 1 - 17 of 17) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_signal.h41 void* handler; /* signal handler or context */ member in struct:_zend_signal_entry_t
59 int running; /* in signal handler execution */
91 ZEND_API int zend_signal(int signo, void (*handler)(int) TSRMLS_DC);
H A Dzend_signal.c55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC);
125 /* need to just run handler if we're inactive and getting a signal */
155 * Call the previously registered handler for a signal
164 if (p_sig.handler == SIG_DFL) { /* raise default handler */
178 } else if (p_sig.handler != SIG_IGN) { /* ignore SIG_IGN */
182 SIGG(handlers)[signo-1].handler = SIG_DFL;
184 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context);
186 (*(void (*)(int))p_sig.handler)(signo);
194 * Register a signal handler tha
249 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC) argument
[all...]
H A Dzend_API.h37 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_function_entry
H A Dzend_execute.c679 /* object was removed by error handler, nothing to assign to */
1480 ((zend_internal_function *) execute_data_ptr->function_state.function)->handler(execute_data_ptr->opline->extended_value, *return_value_ptr, (execute_data_ptr->function_state.function->common.fn_flags & ZEND_ACC_RETURN_REFERENCE)?return_value_ptr:NULL, execute_data_ptr->object, return_value_used TSRMLS_CC);
1511 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1514 if (handler == NULL) {
1515 /* restore the original handler */
1520 zend_user_opcode_handlers[opcode] = handler;
H A Dzend_vm_gen.php306 // Generates code for opcode handler or helper
480 // Generates opcode handler
488 // Generate opcode handler's entry point according to selected threading model
500 // This handler is used by other handlers. We will add label to call it.
511 // Generate opcode handler's code
558 // to handler of undefined opcode
567 // Emit pointer to handler of undefined opcode
591 // Try to use unspecialized handler
599 // Try to use unspecialized handler
602 // Check if specialized handler i
1075 $handler = null; variable
1110 $handler = $code; variable
1128 $handler = null; variable
1150 $handler = null; variable
[all...]
H A Dzend_compile.h107 opcode_handler_t handler; member in struct:_zend_op
320 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_internal_function
835 /* call op_array handler of extendions */
/PHP_5_4/ext/xml/
H A Dxml.c480 static void xml_set_handler(zval **handler, zval **data) argument
482 /* If we have already a handler, release it */
483 if (*handler) {
484 zval_ptr_dtor(handler);
492 *handler = NULL;
499 *handler = *data;
504 static zval *xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) argument
509 if (parser && handler && !EG(exception)) {
522 fci.function_name = handler;
536 if (Z_TYPE_P(handler)
[all...]
/PHP_5_4/ext/xsl/
H A Dxsltprocessor.c190 zval handler; local
318 INIT_PZVAL(&handler);
319 ZVAL_STRING(&handler, obj->stringval, 1);
322 fci.function_name = &handler;
328 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) {
329 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable);
332 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'", callable);
338 if (Z_TYPE(handler) == IS_STRING) {
339 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(&handler));
[all...]
/PHP_5_4/sapi/apache_hooks/
H A Dmod_php5.c274 void (*handler)(int);
286 handler = signal(SIGPIPE, SIG_IGN);
296 signal(SIGPIPE, handler);
352 *p = ':'; /* a well behaved header handler shouldn't change its original arguments */
529 php_error, /* error handler */
531 sapi_apache_header_handler, /* header handler */
532 sapi_apache_send_headers, /* send headers handler */
533 NULL, /* send header handler */
932 php_handler *handler; local
933 handler
951 php_handler *handler; local
1261 php_run_hook(php_handler *handler, request_rec *r) argument
[all...]
H A Dsapi_apache.c63 int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRMLS_DC) argument
84 switch(handler->type) {
86 php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
89 file_handle.filename = handler->name;
93 if( (tmp = strstr(handler->name, "::")) != NULL && *(tmp+2) != '\0' ) {
98 ZVAL_STRING(class, handler->name, 1);
107 php_error(E_ERROR, "Unable to call %s - not a Class::Method\n", handler->name);
/PHP_5_4/ext/dba/
H A Ddba.c287 /* a DBA handler must have specific routines */
317 static dba_handler handler[] = { variable
403 for (hptr = handler; hptr->name && strcasecmp(hptr->name, handler_name); hptr++);
478 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++);
481 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value);
531 for(hptr = handler; hptr->name; hptr++) {
635 /* we pass additional args to the respective handler */
679 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No default handler selected");
684 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL_PP(args[2])); hptr++);
688 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No such handler
[all...]
/PHP_5_4/ext/dom/
H A Dxpath.c82 zval handler; local
196 INIT_PZVAL(&handler);
197 ZVAL_STRING(&handler, obj->stringval, 1);
200 fci.function_name = &handler;
206 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) {
207 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable);
210 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'.", callable);
216 if (Z_TYPE(handler) == IS_STRING) {
217 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(&handler));
[all...]
H A Ddocument.c355 xmlCharEncodingHandlerPtr handler; local
373 handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval));
375 if (handler != NULL) {
376 xmlCharEncCloseFunc(handler);
/PHP_5_4/main/
H A Doutput.c40 const char php_output_default_handler_name[sizeof("default output handler")] = "default output handler";
41 const char php_output_devnull_handler_name[sizeof("null output handler")] = "null output handler";
59 static inline php_output_handler_status_t php_output_handler_op(php_output_handler *handler, php_output_context *context);
60 static inline int php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC);
61 static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry);
153 * Reset output globals and setup the output handler stack */
170 * Destroy the output handler stack */
173 php_output_handler **handler local
422 php_output_handler *handler; local
437 php_output_handler *handler; local
452 php_output_handler *handler; local
471 php_output_handler *handler; local
488 php_output_handler *handler = NULL; local
528 php_output_handler *handler; local
539 php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void* TSRMLS_DC) TSRMLS_DC) argument
878 php_output_handler *handler; local
894 php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC) argument
922 php_output_handler_op(php_output_handler *handler, php_output_context *context) argument
1112 php_output_handler *handler = *(php_output_handler **) h; local
1158 php_output_handler *handler = *(php_output_handler **) h; local
1172 php_output_handler *handler = *(php_output_handler **) h; local
1184 php_output_handler *handler = *(php_output_handler **) h; local
1194 php_output_handler_status(php_output_handler *handler, zval *entry) argument
[all...]
/PHP_5_4/ext/soap/
H A Dsoap.c384 ZEND_ARG_INFO(0, handler)
633 fe.handler = ZEND_MN(SoapClient___call);
2294 zend_bool handler = 1; local
2297 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &handler) == SUCCESS) {
2298 SOAP_GLOBAL(use_soap_error_handler) = handler;
/PHP_5_4/ext/spl/
H A Dspl_array.c1138 zend_object_get_properties_t handler = Z_OBJ_HANDLER_PP(array, get_properties); local
1139 if ((handler != std_object_handlers.get_properties && handler != spl_array_get_properties)
1149 /* iterator handler table */
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c200 static void lsapi_signal(int signo, sighandler_t handler) argument
210 sa.sa_handler = handler;
2716 perror( "Can't set signal handler for SIGCHILD" );
2720 /* Set up handler to kill children upon exit */

Completed in 60 milliseconds