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

/PHP_5_5/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);
4958 void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry) /* {{{ */ argument
4962 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4963 zval_ptr_dtor(&shutdown_function_entry->arguments[i]);
4965 efree(shutdown_function_entry->arguments);
4980 static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) /* {{{ */
4985 if (!zend_is_callable(shutdown_function_entry->arguments[0], 0, &function_name TSRMLS_CC)) {
4997 shutdown_function_entry->arguments[0],
4999 shutdown_function_entry->arg_count - 1,
5000 shutdown_function_entry
5115 php_shutdown_function_entry shutdown_function_entry; local
5146 zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL); local
[all...]
/PHP_5_5/ext/session/
H A Dsession.c1756 php_shutdown_function_entry shutdown_function_entry; local
1813 shutdown_function_entry.arg_count = 1;
1814 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
1818 shutdown_function_entry.arguments[0] = callback;
1821 if (!register_user_shutdown_function("session_shutdown", sizeof("session_shutdown"), &shutdown_function_entry TSRMLS_CC)) {
1823 efree(shutdown_function_entry.arguments);
2116 php_shutdown_function_entry shutdown_function_entry; local
2126 shutdown_function_entry.arg_count = 1;
2127 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
2131 shutdown_function_entry
[all...]

Completed in 13 milliseconds