Lines Matching refs:pphar

340 	phar_archive_data *pphar;  in phar_postprocess_ru_web()  local
343 pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len); in phar_postprocess_ru_web()
345 if (!pphar && PHAR_G(manifest_cached)) { in phar_postprocess_ru_web()
346 pphar = zend_hash_str_find_ptr(&cached_phars, fname, fname_len); in phar_postprocess_ru_web()
350 if (zend_hash_str_exists(&(pphar->manifest), e, e_len)) { in phar_postprocess_ru_web()
434 phar_archive_data *pphar; in PHP_METHOD() local
467 if (NULL == (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len))) { in PHP_METHOD()
468 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_l… in PHP_METHOD()
469 if (SUCCESS == phar_copy_on_write(&pphar)) { in PHP_METHOD()
483 if (SUCCESS != phar_mount_entry(pphar, actual, actual_len, path, path_len)) { in PHP_METHOD()
505 …} else if (HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && NULL != (pphar = zend_hash_str_find_ptr(&… in PHP_METHOD()
507 …} else if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, fname… in PHP_METHOD()
508 if (SUCCESS == phar_copy_on_write(&pphar)) { in PHP_METHOD()
1972 phar_archive_data *pphar = NULL; in phar_rename_archive() local
2102 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, newpath, pha… in phar_rename_archive()
2108 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2109 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2111 pphar->is_tar = phar->is_tar; in phar_rename_archive()
2112 pphar->is_zip = phar->is_zip; in phar_rename_archive()
2113 pphar->is_data = phar->is_data; in phar_rename_archive()
2114 pphar->flags = phar->flags; in phar_rename_archive()
2115 pphar->fp = phar->fp; in phar_rename_archive()
2119 phar = pphar; in phar_rename_archive()
2169 …if ((!pphar || phar == pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpa… in phar_rename_archive()
3572 static void phar_add_file(phar_archive_data **pphar, char *filename, size_t filename_len, char *con… in phar_add_file() argument
3602 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filenam… in phar_add_file()
3644 if (pphar[0] != data->phar) { in phar_add_file()
3645 *pphar = data->phar; in phar_add_file()
3648 phar_flush(*pphar, 0, 0, 0, &error); in phar_add_file()
3667 static void phar_mkdir(phar_archive_data **pphar, char *dirname, size_t dirname_len) in phar_mkdir() argument
3672 …if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, dirname, dirname_… in phar_mkdir()
3687 if (data->phar != *pphar) { in phar_mkdir()
3688 *pphar = data->phar; in phar_mkdir()
3691 phar_flush(*pphar, 0, 0, 0, &error); in phar_mkdir()