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

/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/opcache/
H A Dzend_shared_alloc.h89 zend_shared_memory_handlers *handler; member in struct:_handler_entry
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c200 static void lsapi_signal(int signo, sighandler_t handler) argument
210 sa.sa_handler = handler;
2735 perror( "Can't set signal handler for SIGCHILD" );
2739 /* Set up handler to kill children upon exit */
/PHP_TRUNK/Zend/
H A Dzend_signal.c55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*));
124 /* need to just run handler if we're inactive and getting a signal */
154 * Call the previously registered handler for a signal
163 if (p_sig.handler == SIG_DFL) { /* raise default handler */
177 } else if (p_sig.handler != SIG_IGN) { /* ignore SIG_IGN */
181 SIGG(handlers)[signo-1].handler = SIG_DFL;
183 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context);
185 (*(void (*)(int))p_sig.handler)(signo);
193 * Register a signal handler tha
232 zend_signal(int signo, void (*handler)(int)) argument
248 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*)) 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));
H A Dzend_vm_gen.php444 // Generates code for opcode handler or helper
658 // Generates opcode handler
666 // Generate opcode handler's entry point according to selected threading model
678 // This handler is used by other handlers. We will add label to call it.
689 // Generate opcode handler's code
736 // to handler of undefined opcode
745 // Emit pointer to handler of undefined opcode
772 // Try to use unspecialized handler
784 // Try to use unspecialized handler
788 // Check if specialized handler i
1257 $handler = null; variable
1292 $handler = $code; variable
1310 $handler = null; variable
1332 $handler = null; variable
[all...]
H A Dzend_compile.h135 const void *handler; member in struct:_zend_op
374 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_internal_function
921 /* call op_array handler of extendions */
H A Dzend_execute.c82 ZEND_FN(pass), /* handler */
1791 execute_data->func->internal_function.handler(execute_data, return_value);
2202 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
2205 if (handler == NULL) {
2206 /* restore the original handler */
2211 zend_user_opcode_handlers[opcode] = handler;
H A Dzend_API.h37 void (*handler)(INTERNAL_FUNCTION_PARAMETERS); member in struct:_zend_function_entry
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c186 zval handler; local
314 ZVAL_STRING(&handler, obj->stringval);
317 ZVAL_COPY_VALUE(&fci.function_name, &handler);
323 if (!zend_make_callable(&handler, &callable)) {
324 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", callable->val);
327 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'", callable->val);
333 if (Z_TYPE(handler) == IS_STRING) {
334 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", Z_STRVAL(handler));
365 zval_ptr_dtor(&handler);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c553 while (command && command->name && command->handler) {
642 const phpdbg_command_t *handler = NULL; local
680 handler = phpdbg_stack_resolve(phpdbg_prompt_commands, NULL, &top);
682 if (handler) {
683 if (!allow_async_unsafe && !(handler->flags & PHPDBG_ASYNC_SAFE)) {
684 phpdbg_error("signalsegv", "command=\"%s\"", "%s command is disallowed during hard interrupt", handler->name);
688 if (phpdbg_stack_verify(handler, &top) == SUCCESS) {
691 return handler->handler(top);
H A Dphpdbg_cmd.h100 phpdbg_command_handler_t handler; /* Command handler */ member in struct:_phpdbg_command_t
125 * 4) the handler is called passing the top of the stack as the only parameter
126 * 5) the stack is destroyed upon return from the handler
161 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
164 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \
165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags}
/PHP_TRUNK/ext/spl/
H A Dspl_array.c1169 zend_object_get_properties_t handler = Z_OBJ_HANDLER_P(array, get_properties); local
1171 if ((handler != std_object_handlers.get_properties && handler != spl_array_get_properties)
1181 /* iterator handler table */
1482 //??? It may be not safe, if user comparison handler accesses "aht"
/PHP_TRUNK/ext/dba/
H A Ddba.c289 /* a DBA handler must have specific routines */
319 static dba_handler handler[] = { variable
405 for (hptr = handler; hptr->name && strcasecmp(hptr->name, handler_name); hptr++);
480 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value->val); hptr++);
483 php_error_docref(NULL, E_WARNING, "No such handler: %s", new_value->val);
533 for(hptr = handler; hptr->name; hptr++) {
637 /* we pass additional args to the respective handler */
686 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No default handler selected");
691 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL(args[2])); hptr++);
695 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c385 ZEND_ARG_INFO(0, handler)
664 fe.handler = ZEND_MN(SoapClient___call);
2296 zend_bool handler = 1; local
2299 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|b", &handler) == SUCCESS) {
2300 SOAP_GLOBAL(use_soap_error_handler) = handler;
/PHP_TRUNK/ext/xml/
H A Dxml.c455 static void xml_set_handler(zval *handler, zval *data) argument
457 /* If we have already a handler, release it */
458 if (handler) {
459 zval_ptr_dtor(handler);
466 ZVAL_UNDEF(handler);
471 ZVAL_COPY(handler, data);
476 static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) argument
481 if (parser && handler && !EG(exception)) {
487 ZVAL_COPY_VALUE(&fci.function_name, handler);
501 if (Z_TYPE_P(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);
61 static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry);
160 * Reset output globals and setup the output handler stack */
177 * Destroy the output handler stack */
180 php_output_handler **handler local
413 php_output_handler *handler; local
428 php_output_handler *handler; local
443 php_output_handler *handler; local
462 php_output_handler *handler; local
480 php_output_handler *handler = NULL; local
519 php_output_handler *handler; local
532 php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*)) argument
544 php_output_handler_start(php_output_handler *handler) argument
699 php_output_handler_dtor(php_output_handler *handler) argument
865 php_output_handler *handler; local
880 php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf) argument
908 php_output_handler_op(php_output_handler *handler, php_output_context *context) argument
1093 php_output_handler *handler = *(php_output_handler **) h; local
1139 php_output_handler *handler = *(php_output_handler **) h; local
1153 php_output_handler *handler = *(php_output_handler **) h; local
1165 php_output_handler *handler = *(php_output_handler **) h; local
1175 php_output_handler_status(php_output_handler *handler, zval *entry) argument
[all...]

Completed in 45 milliseconds