Lines Matching refs:newpath
1985 char *newname = NULL, *newpath = NULL; in phar_rename_archive() local
2115 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2117 phar->fname = newpath; in phar_rename_archive()
2118 phar->ext = newpath + phar->fname_len - strlen(ext) - 1; in phar_rename_archive()
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()
2143 newpath = oldpath; in phar_rename_archive()
2152 if (SUCCESS == php_stream_stat_path(newpath, &ssb)) { in phar_rename_archive()
2153 …BadMethodCallException, 0, "phar \"%s\" exists and must be unlinked prior to conversion", newpath); in phar_rename_archive()
2157 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2171 phar->alias = pestrndup(newpath, strlen(newpath), phar->is_persistent); in phar_rename_archive()
2172 phar->alias_len = strlen(newpath); in phar_rename_archive()
2174 zend_hash_str_update_ptr(&(PHAR_G(phar_alias_map)), newpath, phar->fname_len, phar); in phar_rename_archive()
2180 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2193 …== pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len,… in phar_rename_archive()
2201 zend_hash_str_del(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len); in phar_rename_archive()