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

/PHP_TRUNK/Zend/
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_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_vm_gen.php342 // Generates code for opcode handler or helper
542 // Generates opcode handler
550 // Generate opcode handler's entry point according to selected threading model
562 // This handler is used by other handlers. We will add label to call it.
573 // Generate opcode handler's code
620 // to handler of undefined opcode
629 // Emit pointer to handler of undefined opcode
653 // Try to use unspecialized handler
661 // Try to use unspecialized handler
664 // Check if specialized handler i
1090 $handler = null; variable
1125 $handler = $code; variable
1143 $handler = null; variable
1165 $handler = null; variable
[all...]
H A Dzend_compile.h110 opcode_handler_t handler; member in struct:_zend_op
325 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_internal_function
710 /* call op_array handler of extendions */
H A Dzend_API.h37 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_function_entry
H A Dzend_execute.c81 ZEND_FN(pass), /* handler */
1426 execute_data->func->internal_function.handler(execute_data, return_value TSRMLS_CC);
1796 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
1799 if (handler == NULL) {
1800 /* restore the original handler */
1805 zend_user_opcode_handlers[opcode] = handler;
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.h89 zend_shared_memory_handlers *handler; member in struct:_handler_entry
/PHP_TRUNK/ext/dom/
H A Ddocument.c334 xmlCharEncodingHandlerPtr handler; local
343 handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval));
345 if (handler != NULL) {
346 xmlCharEncCloseFunc(handler);
/PHP_TRUNK/ext/xml/
H A Dxml.c449 static void xml_set_handler(zval *handler, zval *data) argument
451 /* If we have already a handler, release it */
452 if (handler) {
453 zval_ptr_dtor(handler);
460 ZVAL_UNDEF(handler);
465 ZVAL_COPY(handler, data);
470 static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) argument
476 if (parser && handler && !EG(exception)) {
482 ZVAL_COPY_VALUE(&fci.function_name, handler);
496 if (Z_TYPE_P(handler)
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c186 zval handler; local
315 ZVAL_STRING(&handler, obj->stringval);
318 ZVAL_COPY_VALUE(&fci.function_name, &handler);
324 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) {
325 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable->val);
328 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'", callable->val);
334 if (Z_TYPE(handler) == IS_STRING) {
335 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", Z_STRVAL(handler));
366 zval_ptr_dtor(&handler);
[all...]
/PHP_TRUNK/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);
159 * Reset output globals and setup the output handler stack */
176 * Destroy the output handler stack */
179 php_output_handler **handler local
428 php_output_handler *handler; local
443 php_output_handler *handler; local
458 php_output_handler *handler; local
477 php_output_handler *handler; local
495 php_output_handler *handler = NULL; local
534 php_output_handler *handler; local
547 php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void* TSRMLS_DC) TSRMLS_DC) argument
885 php_output_handler *handler; local
900 php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC) argument
928 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_TRUNK/sapi/apache_hooks/
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);
H A Dmod_php7.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...]
/PHP_TRUNK/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 */
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c648 while (command && command->name && command->handler) {
746 const phpdbg_command_t *handler = NULL; local
773 handler = phpdbg_stack_resolve(
776 if (handler) {
777 if (phpdbg_stack_verify(handler, &top, why TSRMLS_CC) == SUCCESS) {
778 return handler->handler(top TSRMLS_CC);
H A Dphpdbg_cmd.h98 phpdbg_command_handler_t handler; /* Command handler */ member in struct:_phpdbg_command_t
122 * 4) the handler is called passing the top of the stack as the only parameter
123 * 5) the stack is destroyed upon return from the handler
158 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent) \
159 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent}
161 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args) \
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL}
/PHP_TRUNK/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->val); hptr++);
481 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value->val);
531 for(hptr = handler; hptr->name; hptr++) {
635 /* we pass additional args to the respective handler */
684 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No default handler selected");
689 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL(args[2])); hptr++);
693 php_error_docref2(NULL TSRMLS_CC, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c1175 zend_object_get_properties_t handler = Z_OBJ_HANDLER_P(array, get_properties); local
1176 if ((handler != std_object_handlers.get_properties && handler != spl_array_get_properties)
1186 /* iterator handler table */
1487 //??? It may be not safe, if user comparison handler accesses "aht"
/PHP_TRUNK/ext/soap/
H A Dsoap.c385 ZEND_ARG_INFO(0, handler)
655 fe.handler = ZEND_MN(SoapClient___call);
2304 zend_bool handler = 1; local
2307 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &handler) == SUCCESS) {
2308 SOAP_GLOBAL(use_soap_error_handler) = handler;

Completed in 47 milliseconds