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()
1771 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
1907 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2192 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, newpath, pha… in phar_rename_archive()
2198 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2241 zend_hash_str_update_ptr(&(PHAR_G(phar_alias_map)), newpath, phar->fname_len, phar); in phar_rename_archive()
2257 …if ((!pphar || phar == pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpa… in phar_rename_archive()
2266 zend_hash_str_del(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len); in phar_rename_archive()
2304 PHAR_G(last_phar) = NULL; in phar_convert_to_other()
2305 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_convert_to_other()
2431 if (PHAR_G(readonly)) { in PHP_METHOD()
2473 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
2488 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
2576 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
2591 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
2681 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2766 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2773 PHAR_G(last_phar) = NULL; in PHP_METHOD()
2774 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in PHP_METHOD()
2794 …if (alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), alias, alias_… in PHP_METHOD()
2814 …if (phar_obj->archive->alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_m… in PHP_METHOD()
2815 …zend_hash_str_del(&(PHAR_G(phar_alias_map)), phar_obj->archive->alias, phar_obj->archive->alias_le… in PHP_METHOD()
2839 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), oldalias, oldalias_len, phar_obj->archive); in PHP_METHOD()
2845 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, phar_obj->archive); in PHP_METHOD()
2916 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2945 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3043 if (PHAR_G(readonly)) { in PHP_METHOD()
3098 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3130 PHAR_G(openssl_privatekey) = key; in PHP_METHOD()
3131 PHAR_G(openssl_privatekey_len) = (int)key_len; in PHP_METHOD()
3229 if (!PHAR_G(has_bz2)) { in phar_test_compression()
3235 if (!PHAR_G(has_zlib)) { in phar_test_compression()
3279 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3296 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
3305 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
3346 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3388 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3396 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
3405 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
3462 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3515 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3813 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3854 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4130 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4168 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4732 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4829 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
4885 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
5004 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
5033 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
5048 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
5064 if (!PHAR_G(has_zlib)) { in PHP_METHOD()
5079 if (!PHAR_G(has_bz2)) { in PHP_METHOD()
5128 if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) { in PHP_METHOD()
5140 if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0 && !PHAR_G(has_zlib)) { in PHP_METHOD()
5146 if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0 && !PHAR_G(has_bz2)) { in PHP_METHOD()