Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 344) sorted by last modified time

12345678910>>...14

/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c1874 const void *handler; in zend_jit_exception_handler_stub() local
1879 ir_CALL(IR_VOID, ir_CONST_FUNC(handler)); in zend_jit_exception_handler_stub()
1882 handler = EG(exception_op)->handler; in zend_jit_exception_handler_stub()
3990 const void *handler; in zend_jit_handler() local
3996 handler = opline->handler; in zend_jit_handler()
3999 ir_CALL(IR_VOID, ir_CONST_FUNC(handler)); in zend_jit_handler()
4028 const void *handler; in zend_jit_tail_handler() local
4040 handler = opline->handler; in zend_jit_tail_handler()
4049 handler = opline->handler; in zend_jit_tail_handler()
15822 opline->handler = entry;
[all …]
/php-src/ext/ffi/
H A Dffi.c2176 func->internal_function.handler = ZEND_FN(ffi_trampoline); in zend_ffi_cdata_get_closure()
2929 func->internal_function.handler = ZEND_FN(ffi_trampoline); in zend_ffi_get_func()
/php-src/ext/dom/
H A Ddocument.c128 xmlCharEncodingHandlerPtr handler = xmlFindCharEncodingHandler(ZSTR_VAL(str)); in dom_document_encoding_write() local
130 if (handler != NULL) { in dom_document_encoding_write()
131 xmlCharEncCloseFunc(handler); in dom_document_encoding_write()
1622 xmlCharEncodingHandlerPtr handler = xmlFindCharEncodingHandler((const char *) docp->encoding); in dom_document_save_xml() local
1623 xmlOutputBufferPtr out = xmlOutputBufferCreateBuffer(buf, handler); in dom_document_save_xml()
1630 xmlCharEncCloseFunc(handler); in dom_document_save_xml()
1662 xmlCharEncodingHandlerPtr handler = xmlFindCharEncodingHandler((const char *) docp->encoding); in dom_document_save_xml() local
1663 xmlOutputBufferPtr out = xmlOutputBufferCreateBuffer(buf, handler); in dom_document_save_xml()
1669 xmlCharEncCloseFunc(handler); in dom_document_save_xml()
/php-src/
H A Dconfigure.ac956 [whether to enable PHP's own SIGCHLD handler],
958 [Enable PHP's own SIGCHLD handler])],
H A DNEWS135 . Clear output handler status flags during handler initialization. (haszi)
H A DUPGRADING153 signature of callable|string|null for the $handler parameters.
159 Passing an empty string to disable the handler is still allowed,
393 . Output handler status flags passed to the flags parameter of ob_start
/php-src/Zend/
H A Dzend_compile.c4550 static uint32_t find_frameless_function_offset(uint32_t arity, void *handler) in find_frameless_function_offset() argument
4555 if (*current == handler) { in find_frameless_function_offset()
4587 while (frameless_function_info->handler) { in find_frameless_function_info()
4593 uint32_t offset = find_frameless_function_offset(num_args, frameless_function_info->handler); in find_frameless_function_info()
4608 uint32_t offset = find_frameless_function_offset(num_args, frameless_function_info->handler); in zend_compile_frameless_icall_ex()
H A Dzend_inheritance.c2863 #define zend_update_inherited_handler(handler) do { \ argument
2864 if (ce->handler == (zend_function*)op_array) { \
2865 ce->handler = (zend_function*)new_op_array; \
H A Dzend_API.h37 zif_handler handler; member
H A Dzend_API.c2881 internal_function->handler = ptr->handler; in zend_register_functions()
2975 if (!internal_function->handler) { in zend_register_functions()
2993 while (flf_info->handler) { in zend_register_functions()
3004 zend_flf_handlers[zend_flf_count] = flf_info->handler; in zend_register_functions()
H A Dzend_execute_API.c984 func->internal_function.handler(call, fci->retval); in zend_call_function()
H A Dzend_execute.c1275 …if (fbc->internal_function.handler == ZEND_FN(pass) || (fbc->internal_function.fn_flags & ZEND_ACC… in zend_internal_call_should_throw()
3860 execute_data->func->internal_function.handler(execute_data, return_value); in execute_internal()
5483 ZEND_API zend_result zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) in zend_set_user_opcode_handler() argument
5486 if (handler == NULL) { in zend_set_user_opcode_handler()
5492 zend_user_opcode_handlers[opcode] = handler; in zend_set_user_opcode_handler()
H A Dzend_closures.c186 my_function->internal_function.handler = closure->orig_internal_handler; in ZEND_METHOD()
365 call.handler = zend_closure_call_magic; in zend_create_closure_from_callable()
482 invoke->internal_function.handler = ZEND_MN(Closure___invoke); in zend_get_closure_invoke_method()
804 if (UNEXPECTED(closure->func.internal_function.handler == zend_closure_internal_handler)) { in zend_create_closure_ex()
810 closure->orig_internal_handler = closure->func.internal_function.handler; in zend_create_closure_ex()
812 closure->func.internal_function.handler = zend_closure_internal_handler; in zend_create_closure_ex()
875 trampoline.handler = zend_closure_call_magic; in zend_closure_from_frame()
/php-src/ext/pcntl/
H A Dpcntl.stub.php936 /** @param callable|int $handler */
937 function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): bool {} argument
H A Dpcntl_arginfo.h22 ZEND_ARG_INFO(0, handler)
/php-src/ext/spl/
H A Dphp_spl.c539 fcc.function_handler->internal_function.handler == zif_spl_autoload_call) { in PHP_FUNCTION()
/php-src/main/
H A Doutput.c518 if (handler->dtor && handler->opaq) { in php_output_handler_set_context()
519 handler->dtor(handler->opaq); in php_output_handler_set_context()
549 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start()
706 if (handler->dtor && handler->opaq) { in php_output_handler_dtor()
707 handler->dtor(handler->opaq); in php_output_handler_dtor()
709 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor()
861 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
879 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append()
886 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
913 handler, in php_output_handler_op()
[all …]
H A Dphp_output.h225 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla…
226 …nal(const char *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_siz…
228 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(vo…
229 PHPAPI zend_result php_output_handler_start(php_output_handler *handler);
232 PHPAPI void php_output_handler_dtor(php_output_handler *handler);
233 PHPAPI void php_output_handler_free(php_output_handler **handler);
/php-src/ext/zend_test/tests/
H A Dobserver_shutdown_01.phpt2 Observer: Function calls from a shutdown handler are observable
H A Dgh10695_2.phpt2 GH-10695: Uncaught exception in exception handler catching resource dtor exception
/php-src/Zend/tests/
H A Dgh10695_4.phpt7 throw new \Exception('exception handler');
15 Fatal error: Uncaught Exception: exception handler in %s:%d
H A Ddeprecation_to_exception_during_inheritance.phpt5 if (getenv('SKIP_PRELOAD')) die('skip Error handler not active during preloading');
H A Dbug60909_1.phpt2 Bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
/php-src/Zend/tests/match/
H A D029.phpt7 throw new Exception("Custom error handler: $message");
19 Fatal error: Uncaught Exception: Custom error handler: Undefined variable $undefVar in %s029.php:4
H A D030.phpt7 throw new Exception("Custom error handler: $message");
19 Fatal error: Uncaught Exception: Custom error handler: Undefined variable $undefVar in %s030.php:4

Completed in 276 milliseconds

12345678910>>...14