Lines Matching refs:PHAR_G

86 	if (!PHAR_G(phar_SERVER_mung_list)) {  in phar_mung_server_vars()
90 if (PHAR_G(phar_SERVER_mung_list) & PHAR_MUNG_REQUEST_URI) { in phar_mung_server_vars()
102 if (PHAR_G(phar_SERVER_mung_list) & PHAR_MUNG_PHP_SELF) { in phar_mung_server_vars()
115 if (PHAR_G(phar_SERVER_mung_list) & PHAR_MUNG_SCRIPT_NAME) { in phar_mung_server_vars()
123 if (PHAR_G(phar_SERVER_mung_list) & PHAR_MUNG_SCRIPT_FILENAME) { in phar_mung_server_vars()
230 PHAR_G(cwd) = NULL; in phar_file_action()
231 PHAR_G(cwd_len) = 0; in phar_file_action()
236 PHAR_G(cwd_init) = 1; in phar_file_action()
239 PHAR_G(cwd_len) = 0; in phar_file_action()
240 PHAR_G(cwd) = NULL; in phar_file_action()
242 PHAR_G(cwd_len) = (int)(cwd - (entry + 1)); in phar_file_action()
243 PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len)); in phar_file_action()
245 PHAR_G(cwd_len) = (int)(cwd - entry); in phar_file_action()
246 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_file_action()
270 if (PHAR_G(cwd)) { in phar_file_action()
271 efree(PHAR_G(cwd)); in phar_file_action()
272 PHAR_G(cwd) = NULL; in phar_file_action()
273 PHAR_G(cwd_len) = 0; in phar_file_action()
276 PHAR_G(cwd_init) = 0; in phar_file_action()
282 if (PHAR_G(cwd)) { in phar_file_action()
283 efree(PHAR_G(cwd)); in phar_file_action()
284 PHAR_G(cwd) = NULL; in phar_file_action()
285 PHAR_G(cwd_len) = 0; in phar_file_action()
288 PHAR_G(cwd_init) = 0; in phar_file_action()
349 pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len); in phar_postprocess_ru_web()
351 if (!pphar && PHAR_G(manifest_cached)) { in phar_postprocess_ru_web()
476 if (NULL == (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len))) { in PHP_METHOD()
477 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_l… in PHP_METHOD()
513 …} else if (PHAR_G(phar_fname_map.u.flags) && NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar… in PHP_METHOD()
515 …} else if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, fname… in PHP_METHOD()
872 code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type); in PHP_METHOD()
912 PHAR_G(phar_SERVER_mung_list) |= PHAR_MUNG_PHP_SELF; in PHP_METHOD()
917 PHAR_G(phar_SERVER_mung_list) |= PHAR_MUNG_REQUEST_URI; in PHP_METHOD()
920 PHAR_G(phar_SERVER_mung_list) |= PHAR_MUNG_SCRIPT_NAME; in PHP_METHOD()
925 PHAR_G(phar_SERVER_mung_list) |= PHAR_MUNG_SCRIPT_FILENAME; in PHP_METHOD()
1047 if (PHAR_G(has_zlib)) { in PHP_METHOD()
1053 if (PHAR_G(has_bz2)) { in PHP_METHOD()
1059 if (PHAR_G(has_zlib) || PHAR_G(has_bz2)) { in PHP_METHOD()
1075 RETURN_BOOL(!PHAR_G(readonly)); in PHP_METHOD()
1268 …zend_hash_str_add_ptr(&PHAR_G(phar_persist_map), (const char *) phar_obj->archive, sizeof(phar_obj… in PHP_METHOD()
1315 if (PHAR_G(has_zlib)) { in PHP_METHOD()
1319 if (PHAR_G(has_bz2)) { in PHP_METHOD()
1384 PHAR_G(last_phar) = NULL; in PHP_METHOD()
1385 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in PHP_METHOD()
1412 …zend_hash_str_del(&PHAR_G(phar_persist_map), (const char *) phar_obj->archive, sizeof(phar_obj->ar… in PHP_METHOD()
1760 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
1896 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2134 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, newpath, pha… in phar_rename_archive()
2140 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2183 zend_hash_str_update_ptr(&(PHAR_G(phar_alias_map)), newpath, phar->fname_len, phar); in phar_rename_archive()
2199 …if ((!pphar || phar == pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpa… in phar_rename_archive()
2208 zend_hash_str_del(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len); in phar_rename_archive()
2246 PHAR_G(last_phar) = NULL; in phar_convert_to_other()
2247 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_convert_to_other()
2373 if (PHAR_G(readonly)) { in PHP_METHOD()
2415 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
2430 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
2518 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
2533 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
2623 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2708 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2715 PHAR_G(last_phar) = NULL; in PHP_METHOD()
2716 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in PHP_METHOD()
2736 …if (alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), alias, alias_… in PHP_METHOD()
2756 …if (phar_obj->archive->alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_m… in PHP_METHOD()
2757 …zend_hash_str_del(&(PHAR_G(phar_alias_map)), phar_obj->archive->alias, phar_obj->archive->alias_le… in PHP_METHOD()
2781 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), oldalias, oldalias_len, phar_obj->archive); in PHP_METHOD()
2787 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, phar_obj->archive); in PHP_METHOD()
2858 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2887 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2985 if (PHAR_G(readonly)) { in PHP_METHOD()
3040 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3072 PHAR_G(openssl_privatekey) = key; in PHP_METHOD()
3073 PHAR_G(openssl_privatekey_len) = (int)key_len; in PHP_METHOD()
3171 if (!PHAR_G(has_bz2)) { in phar_test_compression()
3177 if (!PHAR_G(has_zlib)) { in phar_test_compression()
3221 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3238 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
3247 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
3288 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3330 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3338 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
3347 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
3404 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3457 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3755 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3796 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4072 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4110 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4662 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4759 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4815 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4934 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4963 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
4978 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
4994 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
5009 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
5058 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
5070 if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0 && !PHAR_G(has_zlib)) { in PHP_METHOD()
5076 if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0 && !PHAR_G(has_bz2)) { in PHP_METHOD()