Searched refs:PHAR_GLOBALS (Results 1 – 8 of 8) sorted by relevance
/PHP-5.4/ext/phar/ |
H A D | phar.c | 87 if (PHAR_GLOBALS->request_init && PHAR_GLOBALS->phar_fname_map.arBuckets) { in ZEND_INI_MH() 110 if (!PHAR_GLOBALS->cache_list || !(PHAR_GLOBALS->cache_list[0])) { in phar_split_cache_list() 119 PHAR_GLOBALS->request_init = 1; in phar_split_cache_list() 132 PHAR_GLOBALS->manifest_cached = 1; in phar_split_cache_list() 133 PHAR_GLOBALS->persist = 1; in phar_split_cache_list() 148 PHAR_GLOBALS->persist = 0; in phar_split_cache_list() 160 PHAR_GLOBALS->request_init = 0; in phar_split_cache_list() 172 PHAR_GLOBALS->persist = 0; in phar_split_cache_list() 173 PHAR_GLOBALS->request_init = 0; in phar_split_cache_list() 280 if (PHAR_GLOBALS->request_done in phar_archive_delref() [all …]
|
H A D | phar_internal.h | 219 # define PHAR_GLOBALS (&phar_globals) 367 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].fp; in phar_get_entrypfp() 375 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].ufp; in phar_get_entrypufp() 385 PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].fp = fp; in phar_set_entrypfp() 395 PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].ufp = fp; in phar_set_entrypufp() 403 return PHAR_GLOBALS->cached_fp[phar->phar_pos].fp; in phar_get_pharfp() 411 return PHAR_GLOBALS->cached_fp[phar->phar_pos].ufp; in phar_get_pharufp() 421 PHAR_GLOBALS->cached_fp[phar->phar_pos].fp = fp; in phar_set_pharfp() 431 PHAR_GLOBALS->cached_fp[phar->phar_pos].ufp = fp; in phar_set_pharufp() 443 data = &(PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() [all …]
|
H A D | func_interceptors.c | 36 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC() 110 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC() 243 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC() 338 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC() 904 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PharFileFunction() 971 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
|
H A D | util.c | 336 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **) &pphar); in phar_find_in_include_path() 499 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **) &pphar); in phar_find_in_include_path() 1195 if (zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), phar->fname, phar->fname_len) != SUCCESS) { in phar_free_alias() 1239 …zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_… in phar_get_archive() 1258 …if (SUCCESS == zend_hash_quick_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (voi… in phar_get_archive() 1308 zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), fd->alias, fd->alias_len); in phar_get_archive() 1347 …if (SUCCESS == zend_hash_quick_find(&(PHAR_GLOBALS->phar_alias_map), save, save_len, fhash, (void*… in phar_get_archive() 2354 for (zend_hash_internal_pointer_reset(&PHAR_GLOBALS->phar_persist_map); 2355 SUCCESS == zend_hash_get_current_data(&PHAR_GLOBALS->phar_persist_map, (void **) &objphar); 2356 zend_hash_move_forward(&PHAR_GLOBALS->phar_persist_map)) { [all …]
|
H A D | tar.c | 611 …if (SUCCESS != zend_hash_add(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len, (void*)&my… in phar_parse_tarfile() 627 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), actual_alias, myphar->alias_len, (v… in phar_parse_tarfile() 632 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile() 637 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), actual_alias, myphar->alias_len, (void*)&myphar, si… in phar_parse_tarfile() 642 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void **)&fd_ptr)… in phar_parse_tarfile() 647 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile() 651 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void*)&myphar, sizeof(phar_archi… in phar_parse_tarfile()
|
H A D | zip.c | 660 …zend_hash_add(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len, (void*)&mydata, sizeof(ph… in phar_parse_zipfile() 670 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 676 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (v… in phar_parse_zipfile() 682 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 693 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (void*)&mydata, si… in phar_parse_zipfile() 698 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void **)&fd_ptr)… in phar_parse_zipfile() 703 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 708 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (void*)&mydata, si… in phar_parse_zipfile()
|
H A D | phar_object.c | 101 if (!PHAR_GLOBALS->phar_SERVER_mung_list) { in phar_mung_server_vars() 105 if (PHAR_GLOBALS->phar_SERVER_mung_list & PHAR_MUNG_REQUEST_URI) { in phar_mung_server_vars() 121 if (PHAR_GLOBALS->phar_SERVER_mung_list & PHAR_MUNG_PHP_SELF) { in phar_mung_server_vars() 137 if (PHAR_GLOBALS->phar_SERVER_mung_list & PHAR_MUNG_SCRIPT_NAME) { in phar_mung_server_vars() 150 if (PHAR_GLOBALS->phar_SERVER_mung_list & PHAR_MUNG_SCRIPT_FILENAME) { in phar_mung_server_vars() 383 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), fname, fname_len, (void **) &pphar); in phar_postprocess_ru_web() 539 …} else if (PHAR_GLOBALS->phar_fname_map.arBuckets && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->pha… in PHP_METHOD() 929 PHAR_GLOBALS->phar_SERVER_mung_list |= PHAR_MUNG_PHP_SELF; 934 PHAR_GLOBALS->phar_SERVER_mung_list |= PHAR_MUNG_REQUEST_URI; 937 PHAR_GLOBALS->phar_SERVER_mung_list |= PHAR_MUNG_SCRIPT_NAME; [all …]
|
H A D | stream.c | 106 …if (PHAR_GLOBALS->request_init && PHAR_GLOBALS->phar_fname_map.arBuckets && FAILURE == zend_hash_f… in phar_parse_url() 719 …if (FAILURE == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), resource->host, host_len, (void **)… in phar_wrapper_unlink()
|
Completed in 54 milliseconds