Lines Matching refs:newpath

2048 	char *newname = NULL, *newpath = NULL;  in phar_rename_archive()  local
2178 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2182 efree(newpath); in phar_rename_archive()
2187 phar->fname = newpath; in phar_rename_archive()
2188 phar->ext = newpath + phar->fname_len - strlen(ext) - 1; in phar_rename_archive()
2192 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, newpath, pha… in phar_rename_archive()
2198 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len)))… in phar_rename_archive()
2211 newpath = oldpath; in phar_rename_archive()
2221 if (SUCCESS == php_stream_stat_path(newpath, &ssb)) { in phar_rename_archive()
2222 …BadMethodCallException, 0, "phar \"%s\" exists and must be unlinked prior to conversion", newpath); in phar_rename_archive()
2227 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2238 phar->alias = estrndup(newpath, strlen(newpath)); in phar_rename_archive()
2239 phar->alias_len = (int)strlen(newpath); in phar_rename_archive()
2241 zend_hash_str_update_ptr(&(PHAR_G(phar_alias_map)), newpath, phar->fname_len, phar); in phar_rename_archive()
2247 …if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), … in phar_rename_archive()
2257 …== pphar) && NULL == zend_hash_str_update_ptr(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len,… in phar_rename_archive()
2266 zend_hash_str_del(&(PHAR_G(phar_fname_map)), newpath, phar->fname_len); in phar_rename_archive()