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

/PHP_5_6/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);
4928 void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry) /* {{{ */ argument
4932 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4933 zval_ptr_dtor(&shutdown_function_entry->arguments[i]);
4935 efree(shutdown_function_entry->arguments);
4950 static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) /* {{{ */
4955 if (!zend_is_callable(shutdown_function_entry->arguments[0], 0, &function_name TSRMLS_CC)) {
4967 shutdown_function_entry->arguments[0],
4969 shutdown_function_entry->arg_count - 1,
4970 shutdown_function_entry
5085 php_shutdown_function_entry shutdown_function_entry; local
5116 zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL); local
[all...]
/PHP_5_6/ext/session/
H A Dsession.c1803 php_shutdown_function_entry shutdown_function_entry; local
1860 shutdown_function_entry.arg_count = 1;
1861 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
1865 shutdown_function_entry.arguments[0] = callback;
1868 if (!register_user_shutdown_function("session_shutdown", sizeof("session_shutdown"), &shutdown_function_entry TSRMLS_CC)) {
1870 efree(shutdown_function_entry.arguments);
2179 php_shutdown_function_entry shutdown_function_entry; local
2189 shutdown_function_entry.arg_count = 1;
2190 shutdown_function_entry.arguments = (zval **) safe_emalloc(sizeof(zval *), 1, 0);
2194 shutdown_function_entry
[all...]

Completed in 13 milliseconds