/PHP-8.2/ext/standard/ |
H A D | pageinfo.c | 57 if (BG(page_uid)==-1 || BG(page_gid)==-1) { in php_statpage() 59 BG(page_uid) = pstat->st_uid; in php_statpage() 60 BG(page_gid) = pstat->st_gid; in php_statpage() 61 BG(page_inode) = pstat->st_ino; in php_statpage() 64 BG(page_uid) = getuid(); in php_statpage() 65 BG(page_gid) = getgid(); in php_statpage() 75 return (BG(page_uid)); in php_getuid() 82 return (BG(page_gid)); in php_getgid() 139 if (BG(page_inode) < 0) { in PHP_FUNCTION() 142 RETURN_LONG(BG(page_inode)); in PHP_FUNCTION() [all …]
|
H A D | syslog.c | 45 if (BG(syslog_device)) { in PHP_RSHUTDOWN_FUNCTION() 46 free(BG(syslog_device)); in PHP_RSHUTDOWN_FUNCTION() 47 BG(syslog_device) = NULL; in PHP_RSHUTDOWN_FUNCTION() 71 if (BG(syslog_device)) { in PHP_FUNCTION() 72 free(BG(syslog_device)); in PHP_FUNCTION() 74 BG(syslog_device) = zend_strndup(ident, ident_len); in PHP_FUNCTION() 75 php_openlog(BG(syslog_device), option, facility); in PHP_FUNCTION() 86 if (BG(syslog_device)) { in PHP_FUNCTION() 87 free(BG(syslog_device)); in PHP_FUNCTION() 88 BG(syslog_device)=NULL; in PHP_FUNCTION()
|
H A D | basic_functions.c | 213 BG(umask) = -1; in basic_globals_ctor() 218 memset(&BG(serialize), 0, sizeof(BG(serialize))); in basic_globals_ctor() 219 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in basic_globals_ctor() 222 memset(&BG(url_adapt_output_ex), 0, sizeof(BG(url_adapt_output_ex))); in basic_globals_ctor() 231 memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))); in basic_globals_ctor() 234 BG(page_uid) = -1; in basic_globals_ctor() 235 BG(page_gid) = -1; in basic_globals_ctor() 412 memset(&BG(serialize), 0, sizeof(BG(serialize))); in PHP_RINIT_FUNCTION() 413 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in PHP_RINIT_FUNCTION() 421 BG(page_uid) = -1; in PHP_RINIT_FUNCTION() [all …]
|
H A D | filestat.c | 92 BG(CurrentStatFile)=NULL; in PHP_RINIT_FUNCTION() 93 BG(CurrentLStatFile)=NULL; in PHP_RINIT_FUNCTION() 100 if (BG(CurrentStatFile)) { in PHP_RSHUTDOWN_FUNCTION() 102 BG(CurrentStatFile) = NULL; in PHP_RSHUTDOWN_FUNCTION() 104 if (BG(CurrentLStatFile)) { in PHP_RSHUTDOWN_FUNCTION() 106 BG(CurrentLStatFile) = NULL; in PHP_RSHUTDOWN_FUNCTION() 724 if (BG(CurrentStatFile)) { in php_clear_stat_cache() 726 BG(CurrentStatFile) = NULL; in php_clear_stat_cache() 728 if (BG(CurrentLStatFile)) { in php_clear_stat_cache() 824 || (BG(CurrentLStatFile) in php_stat() [all …]
|
H A D | url_scanner_ex.re | 56 ctx = &BG(url_adapt_session_ex); 58 ctx = &BG(url_adapt_output_ex); 121 hosts = &BG(url_adapt_session_hosts_ht); 123 hosts = &BG(url_adapt_output_hosts_ht); 380 …HashTable *allowed_hosts = ctx->type ? &BG(url_adapt_session_hosts_ht) : &BG(url_adapt_output_host… 654 ctx = &BG(url_adapt_session_ex); 656 ctx = &BG(url_adapt_output_ex); 669 ctx = &BG(url_adapt_session_ex); 671 ctx = &BG(url_adapt_output_ex); 691 url_state = &BG(url_adapt_output_ex); [all …]
|
H A D | dir.c | 324 …if (BG(CurrentStatFile) && !IS_ABSOLUTE_PATH(ZSTR_VAL(BG(CurrentStatFile)), ZSTR_LEN(BG(CurrentSta… in PHP_FUNCTION() 325 zend_string_release(BG(CurrentStatFile)); in PHP_FUNCTION() 326 BG(CurrentStatFile) = NULL; in PHP_FUNCTION() 328 …if (BG(CurrentLStatFile) && !IS_ABSOLUTE_PATH(ZSTR_VAL(BG(CurrentLStatFile)), ZSTR_LEN(BG(CurrentL… in PHP_FUNCTION() 329 zend_string_release(BG(CurrentLStatFile)); in PHP_FUNCTION() 330 BG(CurrentLStatFile) = NULL; in PHP_FUNCTION()
|
H A D | user_filters.c | 102 if (BG(user_filter_map)) { in PHP_RSHUTDOWN_FUNCTION() 103 zend_hash_destroy(BG(user_filter_map)); in PHP_RSHUTDOWN_FUNCTION() 104 efree(BG(user_filter_map)); in PHP_RSHUTDOWN_FUNCTION() 105 BG(user_filter_map) = NULL; in PHP_RSHUTDOWN_FUNCTION() 245 if (NULL == (fdat = zend_hash_str_find_ptr(BG(user_filter_map), (char*)filtername, len))) { in user_filter_factory_create() 263 if (NULL != (fdat = zend_hash_str_find_ptr(BG(user_filter_map), wildcard, strlen(wildcard)))) { in user_filter_factory_create() 517 if (!BG(user_filter_map)) { in PHP_FUNCTION() 518 BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable)); in PHP_FUNCTION() 519 zend_hash_init(BG(user_filter_map), 8, NULL, (dtor_func_t) filter_item_dtor, 0); in PHP_FUNCTION() 525 if (zend_hash_add_ptr(BG(user_filter_map), filtername, fdat) != NULL && in PHP_FUNCTION()
|
H A D | php_string.h | 74 # define php_mblen(ptr, len) ((int) mbrlen(ptr, len, &BG(mblen_state))) 75 # define php_mb_reset() memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)))
|
H A D | var.c | 789 BG(serialize_lock)++; in php_var_serialize_call_sleep() 791 BG(serialize_lock)--; in php_var_serialize_call_sleep() 810 BG(serialize_lock)++; in php_var_serialize_call_magic_serialize() 813 BG(serialize_lock)--; in php_var_serialize_call_magic_serialize() 1283 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init() 1288 BG(serialize).data = d; in php_var_serialize_init() 1289 BG(serialize).level = 1; in php_var_serialize_init() 1292 d = BG(serialize).data; in php_var_serialize_init() 1293 ++BG(serialize).level; in php_var_serialize_init() 1300 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy() [all …]
|
H A D | var_unserializer.re | 63 if (BG(serialize_lock) || !BG(unserialize).level) { 78 d = BG(unserialize).data; 79 ++BG(unserialize).level; 86 if (BG(serialize_lock) || BG(unserialize).level == 1) { 90 if (!BG(serialize_lock) && !--BG(unserialize).level) { 1230 BG(serialize_lock)++; 1232 BG(serialize_lock)--; 1254 BG(serialize_lock)++; 1256 BG(serialize_lock)--; 1266 BG(serialize_lock)++; [all …]
|
H A D | basic_functions.h | 117 #define BG(v) ZEND_TSRMG(basic_globals_id, php_basic_globals *, v) macro 120 #define BG(v) (basic_globals.v) macro
|
H A D | array.c | 824 BG(user_compare_fci).param_count = 2; in php_array_user_compare_unstable() 825 BG(user_compare_fci).params = args; in php_array_user_compare_unstable() 895 Z_PARAM_FUNC(BG(user_compare_fci), BG(user_compare_fci_cache)) in php_usort() 950 BG(user_compare_fci).param_count = 2; in php_array_user_key_compare_unstable() 951 BG(user_compare_fci).params = args; in php_array_user_key_compare_unstable() 4858 BG(user_compare_fci) = *fci_data; 4861 BG(user_compare_fci) = *fci_key; 4912 BG(user_compare_fci) = *fci_key; 5243 BG(user_compare_fci) = *fci_data; 5246 BG(user_compare_fci) = *fci_key; [all …]
|
H A D | string.c | 1242 if (BG(strtok_string)) { in PHP_FUNCTION() 1247 BG(strtok_len) = ZSTR_LEN(str); in PHP_FUNCTION() 1250 if (!BG(strtok_string)) { in PHP_FUNCTION() 1257 pe = ZSTR_VAL(BG(strtok_string)) + BG(strtok_len); in PHP_FUNCTION() 1286 if (p - BG(strtok_last)) { in PHP_FUNCTION() 1288 RETVAL_STRINGL(BG(strtok_last) + skipped, (p - BG(strtok_last)) - skipped); in PHP_FUNCTION() 1289 BG(strtok_last) = p + 1; in PHP_FUNCTION() 1294 BG(strtok_string) = NULL; in PHP_FUNCTION() 4692 BG(locale_changed) = 1; 4695 if (BG(ctype_string)) { [all …]
|
H A D | file.c | 1237 if (BG(umask) == -1) { in PHP_FUNCTION() 1238 BG(umask) = oldumask; in PHP_FUNCTION()
|
/PHP-8.2/ext/phar/tests/ |
H A D | pharfileinfo_chmod.phpt | 22 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
|
/PHP-8.2/ext/openssl/tests/ |
H A D | sni_server_ca.pem | 39 AQC4bIXbh+e+OCbLum2FYB8i6ZnOShp1teWNEE/8A4ot20wkPxLeXFSU1Egn+3BG
|
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.c | 614 if (locale_aware && BG(ctype_string)) { in pcre_get_compiled_regex_cache_ex() 616 ZSTR_VAL(BG(ctype_string)), ZSTR_LEN(BG(ctype_string)), in pcre_get_compiled_regex_cache_ex() 774 tables = (uint8_t *)zend_hash_find_ptr(&char_tables, BG(ctype_string)); in pcre_get_compiled_regex_cache_ex() 785 _k = zend_string_init(ZSTR_VAL(BG(ctype_string)), ZSTR_LEN(BG(ctype_string)), 1); in pcre_get_compiled_regex_cache_ex()
|
/PHP-8.2/ext/phar/ |
H A D | phar_object.c | 4633 if (BG(CurrentLStatFile)) { in PHP_METHOD() 4634 zend_string_release(BG(CurrentLStatFile)); in PHP_METHOD() 4637 if (BG(CurrentStatFile)) { in PHP_METHOD() 4638 zend_string_release(BG(CurrentStatFile)); in PHP_METHOD() 4641 BG(CurrentLStatFile) = NULL; in PHP_METHOD() 4642 BG(CurrentStatFile) = NULL; in PHP_METHOD()
|
/PHP-8.2/ext/fileinfo/tests/ |
H A D | magic | 32001 >7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image
|
H A D | magic私はガラスを食べられます | 32001 >7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image
|