/PHP-8.1/main/streams/ |
H A D | streams.c | 57 return (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash); in _php_stream_get_url_stream_wrappers_hash() 143 if (!FG(wrapper_errors)) { in php_get_wrapper_errors_list() 253 if (!FG(wrapper_errors)) { in php_stream_wrapper_log_error() 1683 if (FG(stream_wrappers)) { in php_shutdown_stream_hashes() 1689 if (FG(stream_filters)) { in php_shutdown_stream_hashes() 1691 efree(FG(stream_filters)); in php_shutdown_stream_hashes() 1692 FG(stream_filters) = NULL; in php_shutdown_stream_hashes() 1695 if (FG(wrapper_errors)) { in php_shutdown_stream_hashes() 1697 efree(FG(wrapper_errors)); in php_shutdown_stream_hashes() 1698 FG(wrapper_errors) = NULL; in php_shutdown_stream_hashes() [all …]
|
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 | 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 | userspace.c | 316 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opener() 320 FG(user_stream_current_filename) = filename; in user_wrapper_opener() 338 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 359 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 392 FG(user_stream_current_filename) = NULL; in user_wrapper_opener() 409 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opendir() 413 FG(user_stream_current_filename) = filename; in user_wrapper_opendir() 420 FG(user_stream_current_filename) = NULL; in user_wrapper_opendir() 460 FG(user_stream_current_filename) = NULL; in user_wrapper_opendir()
|
H A D | xp_socket.c | 328 tv.tv_sec = FG(default_socket_timeout); in php_sockop_set_option() 925 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-8.1/ext/standard/ |
H A D | file.h | 107 #define FG(v) ZEND_TSRMG(file_globals_id, php_file_globals *, v) macro 110 #define FG(v) (file_globals.v) macro
|
H A D | proc_open.c | 257 if (FG(pclose_wait)) { in proc_open_rsrc_dtor() 262 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 264 FG(pclose_ret) = wstatus; in proc_open_rsrc_dtor() 269 if (!FG(pclose_wait)) { in proc_open_rsrc_dtor() 277 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 282 FG(pclose_ret) = wstatus; in proc_open_rsrc_dtor() 286 FG(pclose_ret) = -1; in proc_open_rsrc_dtor() 346 FG(pclose_wait) = 1; /* See comment in `proc_open_rsrc_dtor` */ in PHP_FUNCTION() 348 FG(pclose_wait) = 0; in PHP_FUNCTION() 349 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 | 215 timeout.tv_sec = FG(default_socket_timeout); in php_stream_url_wrap_http_ex() 217 timeout.tv_sec = (long)FG(default_socket_timeout); in php_stream_url_wrap_http_ex() 550 if (!(have_header & HTTP_HEADER_FROM) && FG(from_address)) { in php_stream_url_wrap_http_ex() 552 smart_str_appends(&req_buf, FG(from_address)); in php_stream_url_wrap_http_ex() 582 } else if (FG(user_agent)) { in php_stream_url_wrap_http_ex() 583 ua_str = FG(user_agent); in php_stream_url_wrap_http_ex()
|
H A D | streamsfuncs.c | 129 timeout = (double)FG(default_socket_timeout); in PHP_FUNCTION() 281 timeout = (double)FG(default_socket_timeout); in PHP_FUNCTION() 1124 if (FG(default_context) == NULL) { in PHP_FUNCTION() 1125 FG(default_context) = php_stream_context_alloc(); in PHP_FUNCTION() 1127 context = FG(default_context); in PHP_FUNCTION() 1149 if (FG(default_context) == NULL) { in PHP_FUNCTION() 1150 FG(default_context) = php_stream_context_alloc(); in PHP_FUNCTION() 1152 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 | 990 FG(pclose_wait) = 1; in PHP_FUNCTION() 992 FG(pclose_wait) = 0; in PHP_FUNCTION() 993 RETURN_LONG(FG(pclose_ret)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 493 FG(default_context) = NULL; in PHP_RINIT_FUNCTION() 496 FG(stream_wrappers) = NULL; in PHP_RINIT_FUNCTION() 499 FG(stream_filters) = NULL; in PHP_RINIT_FUNCTION()
|
/PHP-8.1/main/ |
H A D | network.c | 1088 sock->timeout.tv_sec = FG(default_socket_timeout); 1329 if (FG(tmp_host_buf)) { 1330 free(FG(tmp_host_buf)); 1333 FG(tmp_host_buf) = NULL; 1334 FG(tmp_host_buf_len) = 0; 1336 memset(&FG(tmp_host_info), 0, sizeof(struct hostent)); 1338 return gethostname_re(name, &FG(tmp_host_info), &FG(tmp_host_buf), &FG(tmp_host_buf_len));
|
/PHP-8.1/ext/openssl/ |
H A D | xp_ssl.c | 2448 tv.tv_sec = (long)FG(default_socket_timeout); in php_openssl_sockop_set_option() 2450 tv.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_sockop_set_option() 2671 sslsock->s.timeout.tv_sec = (long)FG(default_socket_timeout); in php_openssl_ssl_socket_factory() 2673 sslsock->s.timeout.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
|
/PHP-8.1/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 725 stream = php_stream_open_wrapper_ex(filename, "rb", 0, NULL, FG(default_context)); in PHP_METHOD() 826 stream = php_stream_open_wrapper_ex(filename, "wb", 0, NULL, FG(default_context)); in PHP_METHOD()
|
/PHP-8.1/ext/soap/ |
H A D | php_http.c | 604 } else if (FG(user_agent)) { in make_http_soap_request() 606 smart_str_appends(&soap_headers, FG(user_agent)); in make_http_soap_request()
|
/PHP-8.1/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-8.1/sapi/cli/ |
H A D | php_cli.c | 246 tv.tv_sec = (long)FG(default_socket_timeout); in sapi_cli_select()
|
/PHP-8.1/ext/imap/ |
H A D | php_imap.c | 497 mail_parameters(NIL, SET_OPENTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION() 498 mail_parameters(NIL, SET_READTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION() 499 mail_parameters(NIL, SET_WRITETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION() 500 mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
|
/PHP-8.1/ext/sockets/ |
H A D | sockets.c | 2334 stream_data->timeout.tv_sec = FG(default_socket_timeout);
|
/PHP-8.1/ext/spl/ |
H A D | spl_directory.c | 283 intern->u.dir.dirp = php_stream_opendir(ZSTR_VAL(path), REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | magic | 32000 >6 regex \^FG=[0-9],[0-9]+$
|
H A D | magic私はガラスを食べられます | 32000 >6 regex \^FG=[0-9],[0-9]+$
|