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()
2128 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2129 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2131 pphar->is_tar = phar->is_tar; in phar_rename_archive()
2132 pphar->is_zip = phar->is_zip; in phar_rename_archive()
2133 pphar->is_data = phar->is_data; in phar_rename_archive()
2134 pphar->flags = phar->flags; in phar_rename_archive()
2135 pphar->fp = phar->fp; in phar_rename_archive()
2138 pphar->alias = phar->alias; /* Transfer alias to pphar to */ in phar_rename_archive()
2142 phar = pphar; in phar_rename_archive()
2191 …if ((!pphar || phar == pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpa… in phar_rename_archive()
3606 static void phar_add_file(phar_archive_data **pphar, zend_string *file_name, const zend_string *con… in phar_add_file() argument
3641 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filenam… in phar_add_file()
3685 if (pphar[0] != data->phar) { in phar_add_file()
3686 *pphar = data->phar; in phar_add_file()
3689 phar_flush(*pphar, &error); in phar_add_file()
3708 static void phar_mkdir(phar_archive_data **pphar, zend_string *dir_name) in phar_mkdir() argument
3713 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, ZSTR_VAL(dir_name… in phar_mkdir()
3728 if (data->phar != *pphar) { in phar_mkdir()
3729 *pphar = data->phar; in phar_mkdir()
3732 phar_flush(*pphar, &error); in phar_mkdir()