/php-src/main/streams/ |
H A D | streams.c | 59 return (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash); in _php_stream_get_url_stream_wrappers_hash() 145 if (!FG(wrapper_errors)) { in php_get_wrapper_errors_list() 255 if (!FG(wrapper_errors)) { in php_stream_wrapper_log_error() 1837 if (FG(stream_wrappers)) { in php_shutdown_stream_hashes() 1843 if (FG(stream_filters)) { in php_shutdown_stream_hashes() 1845 efree(FG(stream_filters)); in php_shutdown_stream_hashes() 1846 FG(stream_filters) = NULL; in php_shutdown_stream_hashes() 1849 if (FG(wrapper_errors)) { in php_shutdown_stream_hashes() 1851 efree(FG(wrapper_errors)); in php_shutdown_stream_hashes() 1852 FG(wrapper_errors) = NULL; in php_shutdown_stream_hashes() [all …]
|
H A D | filter.c | 39 return (FG(stream_filters) ? FG(stream_filters) : &stream_filters_hash); in _php_get_stream_filters_hash() 60 if (!FG(stream_filters)) { in php_stream_filter_register_factory_volatile() 61 ALLOC_HASHTABLE(FG(stream_filters)); in php_stream_filter_register_factory_volatile() 62 …zend_hash_init(FG(stream_filters), zend_hash_num_elements(&stream_filters_hash) + 1, NULL, NULL, 0… in php_stream_filter_register_factory_volatile() 63 zend_hash_copy(FG(stream_filters), &stream_filters_hash, NULL); in php_stream_filter_register_factory_volatile() 66 return zend_hash_add_ptr(FG(stream_filters), filterpattern, (void*)factory) ? SUCCESS : FAILURE; in php_stream_filter_register_factory_volatile() 222 HashTable *filter_hash = (FG(stream_filters) ? FG(stream_filters) : &stream_filters_hash); in php_stream_filter_create()
|
H A D | php_stream_context.h | 34 FG(default_context) ? FG(default_context) : \ 35 (FG(default_context) = php_stream_context_alloc()) )
|
H A D | userspace.c | 305 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opener() 309 FG(user_stream_current_filename) = filename; in user_wrapper_opener() 329 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 346 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 380 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 405 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opendir() 409 FG(user_stream_current_filename) = filename; in user_wrapper_opendir() 418 FG(user_stream_current_filename) = NULL; in user_wrapper_opendir() 455 FG(user_stream_current_filename) = NULL; in user_wrapper_opendir()
|
H A D | xp_socket.c | 350 tv.tv_sec = FG(default_socket_timeout); in php_sockop_set_option() 964 sock->timeout.tv_sec = FG(default_socket_timeout); in php_stream_generic_socket_factory()
|
H A D | transports.c | 69 default_timeout.tv_sec = FG(default_socket_timeout); in _php_stream_xport_create()
|
/php-src/ext/standard/ |
H A D | file.h | 114 #define FG(v) ZEND_TSRMG(file_globals_id, php_file_globals *, v) macro 117 #define FG(v) (file_globals.v) macro
|
H A D | proc_open.c | 288 if (FG(pclose_wait)) { in proc_open_rsrc_dtor() 293 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 295 FG(pclose_ret) = wstatus; in proc_open_rsrc_dtor() 300 if (!FG(pclose_wait)) { in proc_open_rsrc_dtor() 308 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 313 FG(pclose_ret) = wstatus; in proc_open_rsrc_dtor() 317 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 377 FG(pclose_wait) = 1; /* See comment in `proc_open_rsrc_dtor` */ in PHP_FUNCTION() 379 FG(pclose_wait) = 0; in PHP_FUNCTION() 380 RETURN_LONG(FG(pclose_ret)); in PHP_FUNCTION()
|
H A D | fsock.c | 61 timeout = (double)FG(default_socket_timeout); in php_fsockopen_stream()
|
H A D | http_fopen_wrapper.c | 244 timeout.tv_sec = FG(default_socket_timeout); in php_stream_url_wrap_http_ex() 246 timeout.tv_sec = (long)FG(default_socket_timeout); in php_stream_url_wrap_http_ex() 545 if (!(have_header & HTTP_HEADER_FROM) && FG(from_address)) { in php_stream_url_wrap_http_ex() 547 smart_str_appends(&req_buf, FG(from_address)); in php_stream_url_wrap_http_ex() 577 } else if (FG(user_agent)) { in php_stream_url_wrap_http_ex() 578 ua_str = FG(user_agent); in php_stream_url_wrap_http_ex()
|
H A D | streamsfuncs.c | 124 timeout = (double)FG(default_socket_timeout); in PHP_FUNCTION() 279 timeout = (double)FG(default_socket_timeout); in PHP_FUNCTION() 1166 if (FG(default_context) == NULL) { in PHP_FUNCTION() 1167 FG(default_context) = php_stream_context_alloc(); in PHP_FUNCTION() 1169 context = FG(default_context); in PHP_FUNCTION() 1191 if (FG(default_context) == NULL) { in PHP_FUNCTION() 1192 FG(default_context) = php_stream_context_alloc(); in PHP_FUNCTION() 1194 context = FG(default_context); in PHP_FUNCTION()
|
H A D | ftp_fopen_wrapper.c | 266 if (FG(from_address)) { in php_ftp_fopen_connect() 267 php_stream_printf(stream, "PASS %s\r\n", FG(from_address)); in php_ftp_fopen_connect()
|
H A D | file.c | 848 FG(pclose_wait) = 1; in PHP_FUNCTION() 850 FG(pclose_wait) = 0; in PHP_FUNCTION() 851 RETURN_LONG(FG(pclose_ret)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 432 FG(default_context) = NULL; in PHP_RINIT_FUNCTION() 435 FG(stream_wrappers) = NULL; in PHP_RINIT_FUNCTION() 438 FG(stream_filters) = NULL; in PHP_RINIT_FUNCTION()
|
/php-src/main/ |
H A D | network.c | 1079 sock->timeout.tv_sec = FG(default_socket_timeout); 1320 if (FG(tmp_host_buf)) { 1321 free(FG(tmp_host_buf)); 1324 FG(tmp_host_buf) = NULL; 1325 FG(tmp_host_buf_len) = 0; 1327 memset(&FG(tmp_host_info), 0, sizeof(struct hostent)); 1329 return gethostname_re(name, &FG(tmp_host_info), &FG(tmp_host_buf), &FG(tmp_host_buf_len));
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 2456 tv.tv_sec = (long)FG(default_socket_timeout); in php_openssl_sockop_set_option() 2458 tv.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_sockop_set_option() 2780 sslsock->s.timeout.tv_sec = (long)FG(default_socket_timeout); in php_openssl_ssl_socket_factory() 2782 sslsock->s.timeout.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 791 stream = php_stream_open_wrapper_ex(filename, "rb", 0, NULL, FG(default_context)); in pgsqlCopyFromFile_internal() 896 stream = php_stream_open_wrapper_ex(filename, "wb", 0, NULL, FG(default_context)); in pgsqlCopyToFile_internal()
|
/php-src/ext/soap/ |
H A D | php_http.c | 625 } else if (FG(user_agent)) { in make_http_soap_request() 627 smart_str_appends(&soap_headers, FG(user_agent)); in make_http_soap_request()
|
/php-src/ext/hash/ |
H A D | hash.c | 376 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash() 519 stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS, NULL, FG(default_context)); in php_hash_do_hash_hmac()
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 234 tv.tv_sec = (long)FG(default_socket_timeout); in sapi_cli_select()
|
/php-src/ext/sockets/ |
H A D | sockets.c | 2432 stream_data->timeout.tv_sec = FG(default_socket_timeout);
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 292 intern->u.dir.dirp = php_stream_opendir(ZSTR_VAL(path), REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 37123 >6 regex \^FG=[0-9],[0-9]+$
|
H A D | magic | 37123 >6 regex \^FG=[0-9],[0-9]+$
|