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

/PHP_TRUNK/ext/session/
H A Dsession.c1798 php_shutdown_function_entry shutdown_function_entry; local
1855 shutdown_function_entry.arg_count = 1;
1856 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
1860 shutdown_function_entry.arguments[0] = callback;
1863 if (!register_user_shutdown_function("session_shutdown", sizeof("session_shutdown"), &shutdown_function_entry TSRMLS_CC)) {
1865 efree(shutdown_function_entry.arguments);
2174 php_shutdown_function_entry shutdown_function_entry; local
2184 shutdown_function_entry.arg_count = 1;
2185 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
2189 shutdown_function_entry
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h258 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC);
260 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);
4831 void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry) /* {{{ */ argument
4835 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4836 zval_ptr_dtor(&shutdown_function_entry->arguments[i]);
4838 efree(shutdown_function_entry->arguments);
4853 static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) /* {{{ */
4858 if (!zend_is_callable(shutdown_function_entry->arguments[0], 0, &function_name TSRMLS_CC)) {
4870 shutdown_function_entry->arguments[0],
4872 shutdown_function_entry->arg_count - 1,
4873 shutdown_function_entry
4988 php_shutdown_function_entry shutdown_function_entry; local
5019 zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL); local
[all...]

Completed in 12 milliseconds