Lines Matching refs:pphar

348 	phar_archive_data *pphar;  in phar_postprocess_ru_web()  local
351 pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len); in phar_postprocess_ru_web()
353 if (!pphar && PHAR_G(manifest_cached)) { in phar_postprocess_ru_web()
354 pphar = zend_hash_str_find_ptr(&cached_phars, fname, fname_len); in phar_postprocess_ru_web()
358 if (zend_hash_str_exists(&(pphar->manifest), e, e_len)) { in phar_postprocess_ru_web()
448 phar_archive_data *pphar; in PHP_METHOD() local
487 if (NULL == (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len))) { in PHP_METHOD()
488 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_l… in PHP_METHOD()
489 if (SUCCESS == phar_copy_on_write(&pphar)) { in PHP_METHOD()
503 if (SUCCESS != phar_mount_entry(pphar, actual, actual_len, path, path_len)) { in PHP_METHOD()
516 …} else if (HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && NULL != (pphar = zend_hash_str_find_ptr(&… in PHP_METHOD()
518 …} else if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, fname… in PHP_METHOD()
519 if (SUCCESS == phar_copy_on_write(&pphar)) { in PHP_METHOD()
1992 phar_archive_data *pphar = NULL; in phar_rename_archive() local
2122 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, newpath, pha… in phar_rename_archive()
2127 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2128 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2130 pphar->is_tar = phar->is_tar; in phar_rename_archive()
2131 pphar->is_zip = phar->is_zip; in phar_rename_archive()
2132 pphar->is_data = phar->is_data; in phar_rename_archive()
2133 pphar->flags = phar->flags; in phar_rename_archive()
2134 pphar->fp = phar->fp; in phar_rename_archive()
2140 phar = pphar; in phar_rename_archive()
2166 if (phar->alias && phar != pphar) { in phar_rename_archive()
2187 if (phar != pphar) { in phar_rename_archive()
2193 …if ((!pphar || phar == pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpa… in phar_rename_archive()
2230 if (pphar == phar) { in phar_rename_archive()
3621 static void phar_add_file(phar_archive_data **pphar, zend_string *file_name, const zend_string *con… in phar_add_file() argument
3656 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filenam… in phar_add_file()
3700 if (pphar[0] != data->phar) { in phar_add_file()
3701 *pphar = data->phar; in phar_add_file()
3704 phar_flush(*pphar, &error); in phar_add_file()
3723 static void phar_mkdir(phar_archive_data **pphar, zend_string *dir_name) in phar_mkdir() argument
3728 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, ZSTR_VAL(dir_name… in phar_mkdir()
3743 if (data->phar != *pphar) { in phar_mkdir()
3744 *pphar = data->phar; in phar_mkdir()
3747 phar_flush(*pphar, &error); in phar_mkdir()