Searched refs:shutdown_function_entry (Results 1 - 3 of 3) sorted by relevance

/PHP_5_4/ext/standard/
H A Dbasic_functions.h260 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC);
262 PHPAPI extern zend_bool append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry TSRMLS_DC);
H A Dbasic_functions.c128 static void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry);
4906 void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry) /* {{{ */ argument
4910 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4911 zval_ptr_dtor(&shutdown_function_entry->arguments[i]);
4913 efree(shutdown_function_entry->arguments);
4928 static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) /* {{{ */
4933 if (!zend_is_callable(shutdown_function_entry->arguments[0], 0, &function_name TSRMLS_CC)) {
4945 shutdown_function_entry->arguments[0],
4947 shutdown_function_entry->arg_count - 1,
4948 shutdown_function_entry
5063 php_shutdown_function_entry shutdown_function_entry; local
5094 zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL); local
[all...]
/PHP_5_4/ext/session/
H A Dsession.c1670 php_shutdown_function_entry shutdown_function_entry; local
1705 shutdown_function_entry.arg_count = 1;
1706 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
1710 shutdown_function_entry.arguments[0] = callback;
1713 if (!register_user_shutdown_function("session_shutdown", sizeof("session_shutdown"), &shutdown_function_entry TSRMLS_CC)) {
1715 efree(shutdown_function_entry.arguments);
2001 php_shutdown_function_entry shutdown_function_entry; local
2011 shutdown_function_entry.arg_count = 1;
2012 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
2016 shutdown_function_entry
[all...]

Completed in 15 milliseconds