/PHP-5.3/Zend/ |
H A D | zend_default_classes.c | 32 zend_register_interfaces(TSRMLS_C); in zend_register_default_classes() 33 zend_register_default_exception(TSRMLS_C); in zend_register_default_classes() 34 zend_register_iterator_wrapper(TSRMLS_C); in zend_register_default_classes() 35 zend_register_closure_ce(TSRMLS_C); in zend_register_default_classes()
|
H A D | zend.c | 84 gc_init(TSRMLS_C); in ZEND_INI_MH() 559 zend_ini_shutdown(TSRMLS_C); in executor_globals_dtor() 705 zend_ini_startup(TSRMLS_C); in zend_startup() 849 gc_reset(TSRMLS_C); in zend_activate() 850 init_compiler(TSRMLS_C); in zend_activate() 851 init_executor(TSRMLS_C); in zend_activate() 852 startup_scanner(TSRMLS_C); in zend_activate() 887 shutdown_scanner(TSRMLS_C); in zend_deactivate() 891 shutdown_executor(TSRMLS_C); in zend_deactivate() 894 shutdown_compiler(TSRMLS_C); in zend_deactivate() [all …]
|
H A D | zend_language_parser.y | 155 top_statement_list { zend_do_end_compilation(TSRMLS_C); } 169 statement { zend_verify_namespace(TSRMLS_C); } 170 …| function_declaration_statement { zend_verify_namespace(TSRMLS_C); zend_do_early_binding(TSRMLS_C… 171 …| class_declaration_statement { zend_verify_namespace(TSRMLS_C); zend_do_early_binding(TSRMLS_C);… 172 | T_HALT_COMPILER '(' ')' ';' { zend_do_halt_compiler_register(TSRMLS_C); YYACCEPT; } 175 top_statement_list '}' { zend_do_end_namespace(TSRMLS_C); } 177 top_statement_list '}' { zend_do_end_namespace(TSRMLS_C); } 178 | T_USE use_declarations ';' { zend_verify_namespace(TSRMLS_C); } 179 | constant_declaration ';' { zend_verify_namespace(TSRMLS_C); } 229 ';' { zend_do_extended_info(TSRMLS_C); zend_do_for_cond(&$6, &$7 TSRMLS_CC); } [all …]
|
H A D | zend_ini_parser.y | 167 currently_parsed_filename = zend_ini_scanner_get_filename(TSRMLS_C); in ini_error() 172 …f, "%s in %s on line %d\n", msg, currently_parsed_filename, zend_ini_scanner_get_lineno(TSRMLS_C)); in ini_error() 206 retval = ini_parse(TSRMLS_C); in zend_parse_ini_file() 209 shutdown_ini_scanner(TSRMLS_C); in zend_parse_ini_file() 235 retval = ini_parse(TSRMLS_C); in zend_parse_ini_string() 237 shutdown_ini_scanner(TSRMLS_C); in zend_parse_ini_string()
|
/PHP-5.3/ext/standard/ |
H A D | pageinfo.c | 64 pstat = sapi_get_stat(TSRMLS_C); in php_statpage() 86 php_statpage(TSRMLS_C); in php_getuid() 95 php_statpage(TSRMLS_C); in php_getgid() 148 php_statpage(TSRMLS_C); in PHP_FUNCTION() 159 php_statpage(TSRMLS_C); in php_getlastmod() 167 long lm = php_getlastmod(TSRMLS_C); in PHP_FUNCTION()
|
H A D | php_rand.h | 50 …() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C)))) 52 …GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
|
H A D | rand.c | 200 php_mt_reload(TSRMLS_C); in php_mt_srand() 217 php_mt_reload(TSRMLS_C); in php_mt_rand() 300 number = php_rand(TSRMLS_C); in PHP_FUNCTION() 339 number = (long) (php_mt_rand(TSRMLS_C) >> 1); in PHP_FUNCTION()
|
H A D | lcg.c | 61 lcg_seed(TSRMLS_C); in php_combined_lcg() 121 RETURN_DOUBLE(php_combined_lcg(TSRMLS_C)); in PHP_FUNCTION()
|
/PHP-5.3/ext/intl/ |
H A D | intl_error.c | 44 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_free_custom_error_msg() 74 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_init() 88 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_reset() 108 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_custom_msg() 130 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_get_message() 154 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_code() 166 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_get_code()
|
H A D | php_intl.c | 552 collator_register_Collator_class( TSRMLS_C ); in PHP_MINIT_FUNCTION() 558 formatter_register_class( TSRMLS_C ); in PHP_MINIT_FUNCTION() 564 normalizer_register_Normalizer_class( TSRMLS_C ); in PHP_MINIT_FUNCTION() 570 locale_register_Locale_class( TSRMLS_C ); in PHP_MINIT_FUNCTION() 575 msgformat_register_class(TSRMLS_C); in PHP_MINIT_FUNCTION() 580 dateformat_register_IntlDateFormatter_class( TSRMLS_C ); in PHP_MINIT_FUNCTION() 586 resourcebundle_register_class( TSRMLS_C); in PHP_MINIT_FUNCTION() 637 grapheme_close_global_iterator( TSRMLS_C ); in PHP_RSHUTDOWN_FUNCTION()
|
/PHP-5.3/main/ |
H A D | main.c | 266 zend_unset_timeout(TSRMLS_C); in PHP_INI_MH() 1401 zend_activate(TSRMLS_C); in php_start_sapi() 1443 zend_activate(TSRMLS_C); in php_request_startup() 1444 sapi_activate(TSRMLS_C); in php_request_startup() 1501 sapi_activate(TSRMLS_C); in php_request_startup() 1578 zend_deactivate(TSRMLS_C); in php_request_shutdown_for_hook() 1669 zend_deactivate(TSRMLS_C); in php_request_shutdown() 1872 sapi_activate(TSRMLS_C); in php_module_startup() 1908 gc_globals_ctor(TSRMLS_C); in php_module_startup() 2192 sapi_flush(TSRMLS_C); in php_module_shutdown() [all …]
|
H A D | SAPI.c | 62 php_setup_sapi_content_types(TSRMLS_C); in sapi_globals_ctor() 186 post_reader_func(TSRMLS_C); in sapi_read_post_data() 326 sapi_module.activate(TSRMLS_C); in sapi_activate_headers_only() 330 sapi_module.input_filter_init(TSRMLS_C); in sapi_activate_headers_only() 377 sapi_read_post_data(TSRMLS_C); in sapi_activate() 395 sapi_module.activate(TSRMLS_C); in sapi_activate() 447 sapi_module.deactivate(TSRMLS_C); in sapi_deactivate() 450 destroy_uploaded_files_hash(TSRMLS_C); in sapi_deactivate() 456 sapi_send_headers_free(TSRMLS_C); in sapi_deactivate() 880 sapi_send_headers_free(TSRMLS_C); in sapi_send_headers() [all …]
|
H A D | output.c | 697 sapi_flush(TSRMLS_C); in php_ub_body_write_no_header() 714 php_header(TSRMLS_C); in php_ub_body_write() 717 if (php_header(TSRMLS_C)) { in php_ub_body_write() 718 if (zend_is_compiling(TSRMLS_C)) { in php_ub_body_write() 719 OG(output_start_filename) = zend_get_compiled_filename(TSRMLS_C); in php_ub_body_write() 720 OG(output_start_lineno) = zend_get_compiled_lineno(TSRMLS_C); in php_ub_body_write() 721 } else if (zend_is_executing(TSRMLS_C)) { in php_ub_body_write() 723 OG(output_start_lineno) = zend_get_executed_lineno(TSRMLS_C); in php_ub_body_write() 1040 php_start_implicit_flush(TSRMLS_C); in PHP_FUNCTION() 1042 php_end_implicit_flush(TSRMLS_C); in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/interbase/ |
H A D | ibase_blobs.c | 120 _php_ibase_error(TSRMLS_C); in _php_ibase_blob_get() 143 _php_ibase_error(TSRMLS_C); in _php_ibase_blob_add() 169 _php_ibase_error(TSRMLS_C); in _php_ibase_blob_info() 227 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() 278 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() 363 _php_ibase_error(TSRMLS_C); in _php_ibase_blob_end() 372 _php_ibase_error(TSRMLS_C); in _php_ibase_blob_end() 437 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() 445 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() 532 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() [all …]
|
H A D | ibase_query.c | 132 _php_ibase_error(TSRMLS_C); in _php_ibase_free_stmt_handle() 233 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_array() 343 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 353 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 360 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 371 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 381 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 393 _php_ibase_error(TSRMLS_C); in _php_ibase_alloc_query() 987 _php_ibase_error(TSRMLS_C); in _php_ibase_exec() 1276 _php_ibase_error(TSRMLS_C); in PHP_FUNCTION() [all …]
|
/PHP-5.3/sapi/milter/ |
H A D | php_milter.c | 119 if (php_request_startup(TSRMLS_C)==FAILURE) { in ZEND_DECLARE_MODULE_GLOBALS() 185 if (php_request_startup(TSRMLS_C)==FAILURE) { in mlfi_connect() 613 php_error(E_WARNING, IS_NONE, get_active_function_name(TSRMLS_C)); in PHP_FUNCTION() 634 php_error(E_WARNING, IS_NONE, get_active_function_name(TSRMLS_C)); in PHP_FUNCTION() 654 php_error(E_WARNING, NOT_EOM, get_active_function_name(TSRMLS_C)); in PHP_FUNCTION() 1044 php_output_activate(TSRMLS_C); in main() 1092 php_output_activate(TSRMLS_C); in main() 1104 if (php_request_startup(TSRMLS_C)==FAILURE) { in main() 1105 zend_ini_deactivate(TSRMLS_C); in main() 1106 php_module_shutdown(TSRMLS_C); in main() [all …]
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | sapi_apache.c | 32 if (php_request_startup(TSRMLS_C) == FAILURE) { in apache_php_module_main() 73 if (php_request_startup_for_hook(TSRMLS_C) == FAILURE) in apache_php_module_hook() 77 if (php_request_startup_for_hook(TSRMLS_C) == FAILURE) in apache_php_module_hook()
|
/PHP-5.3/sapi/litespeed/ |
H A D | lsapi_main.c | 510 if (php_request_startup(TSRMLS_C) == FAILURE ) { in lsapi_module_main() 572 init_request_info( TSRMLS_C ); in processReq() 605 php_output_activate(TSRMLS_C); in cli_usage() 608 php_output_end_all(TSRMLS_C); in cli_usage() 711 php_output_end_all(TSRMLS_C); in cli_main() 727 php_output_end_all(TSRMLS_C); in cli_main() 744 cli_usage(TSRMLS_C); in cli_main() 788 cli_usage(TSRMLS_C); in cli_main() 794 php_module_shutdown(TSRMLS_C); in cli_main() 958 ret = processReq(TSRMLS_C); in main() [all …]
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_request.c | 109 char *request_uri = fpm_php_request_uri(TSRMLS_C); in fpm_request_info() 110 char *request_method = fpm_php_request_method(TSRMLS_C); in fpm_request_info() 111 char *script_filename = fpm_php_script_filename(TSRMLS_C); in fpm_request_info() 112 char *query_string = fpm_php_query_string(TSRMLS_C); in fpm_request_info() 113 char *auth_user = fpm_php_auth_user(TSRMLS_C); in fpm_request_info() 114 size_t content_length = fpm_php_content_length(TSRMLS_C); in fpm_request_info()
|
H A D | fpm_main.c | 1516 php_header(TSRMLS_C); 1672 php_output_activate(TSRMLS_C); 1675 print_modules(TSRMLS_C); 1677 print_extensions(TSRMLS_C); 1705 php_output_activate(TSRMLS_C); 1740 php_module_shutdown(TSRMLS_C); 1756 php_output_activate(TSRMLS_C); 1859 init_request_info(TSRMLS_C); 1870 php_module_shutdown(TSRMLS_C); 1951 fpm_request_end(TSRMLS_C); [all …]
|
/PHP-5.3/sapi/embed/ |
H A D | php_embed.c | 208 if (php_request_startup(TSRMLS_C)==FAILURE) { in php_embed_init() 209 php_module_shutdown(TSRMLS_C); in php_embed_init() 223 php_module_shutdown(TSRMLS_C); in php_embed_shutdown()
|
/PHP-5.3/TSRM/ |
H A D | TSRM.h | 160 #define TSRMLS_C tsrm_ls macro 161 #define TSRMLS_CC , TSRMLS_C 174 #define TSRMLS_C macro
|
/PHP-5.3/ext/session/ |
H A D | session.c | 286 php_session_destroy(TSRMLS_C); in php_session_decode() 531 php_session_track_init(TSRMLS_C); in php_session_initialize() 1143 last_modified(TSRMLS_C); 1154 last_modified(TSRMLS_C); 1205 lim->func(TSRMLS_C); 1490 php_session_reset_id(TSRMLS_C); 1886 php_session_start(TSRMLS_C); 1945 php_session_flush(TSRMLS_C); 1961 php_session_start(TSRMLS_C); 2158 php_session_start(TSRMLS_C); [all …]
|
/PHP-5.3/sapi/phttpd/ |
H A D | phttpd.c | 253 if (php_request_startup(TSRMLS_C) == FAILURE) { in php_doit() 297 php_phttpd_request_ctor(TSRMLS_C); in pm_request() 298 status = php_doit(TSRMLS_C); in pm_request() 299 php_phttpd_request_dtor(TSRMLS_C); in pm_request()
|
/PHP-5.3/sapi/cli/ |
H A D | php_cli.c | 790 if (php_request_startup(TSRMLS_C)==FAILURE) { in WinMain() 815 print_modules(TSRMLS_C); in WinMain() 817 print_extensions(TSRMLS_C); in WinMain() 1085 if (php_request_startup(TSRMLS_C)==FAILURE) { in WinMain() 1108 cli_register_file_handles(TSRMLS_C); in WinMain() 1202 zend_strip(TSRMLS_C); in WinMain() 1227 cli_register_file_handles(TSRMLS_C); in WinMain() 1239 cli_register_file_handles(TSRMLS_C); in WinMain() 1385 php_module_shutdown(TSRMLS_C); in WinMain() 1395 sapi_deactivate(TSRMLS_C); in WinMain() [all …]
|