Lines Matching refs:newpath

1965 	char *newname = NULL, *newpath = NULL;  in phar_rename_archive()  local
2095 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2097 phar->fname = newpath; in phar_rename_archive()
2098 phar->ext = newpath + phar->fname_len - strlen(ext) - 1; in phar_rename_archive()
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()
2121 newpath = oldpath; in phar_rename_archive()
2131 if (SUCCESS == php_stream_stat_path(newpath, &ssb)) { in phar_rename_archive()
2132 …BadMethodCallException, 0, "phar \"%s\" exists and must be unlinked prior to conversion", newpath); in phar_rename_archive()
2137 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2149 phar->alias = estrndup(newpath, strlen(newpath)); in phar_rename_archive()
2150 phar->alias_len = strlen(newpath); in phar_rename_archive()
2152 zend_hash_str_update_ptr(&(PHAR_G(phar_alias_map)), newpath, phar->fname_len, phar); in phar_rename_archive()
2158 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2169 …== pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len,… in phar_rename_archive()
2178 zend_hash_str_del(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len); in phar_rename_archive()