Home
last modified time | relevance | path

Searched refs:oldname (Results 1 – 5 of 5) sorted by relevance

/php-src/Zend/
H A Dzend_virtual_cwd.h188 CWD_API int virtual_rename(const char *oldname, const char *newname);
283 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname) argument
312 # define VCWD_RENAME(oldname, newname) php_win32_ioutil_rename(oldname, newname) argument
324 # define VCWD_RENAME(oldname, newname) rename(oldname, newname) argument
H A Dzend_virtual_cwd.c1495 CWD_API int virtual_rename(const char *oldname, const char *newname) /* {{{ */ in virtual_rename() argument
1502 if (virtual_file_ex(&old_state, oldname, NULL, CWD_EXPAND)) { in virtual_rename()
1506 oldname = old_state.cwd; in virtual_rename()
1520 retval = php_win32_ioutil_rename(oldname, newname); in virtual_rename()
1522 retval = rename(oldname, newname); in virtual_rename()
/php-src/win32/
H A Dioutil.c484 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname) in php_win32_ioutil_rename_w() argument
488 PHP_WIN32_IOUTIL_CHECK_PATH_W(oldname, -1, 0) in php_win32_ioutil_rename_w()
492 if (!MoveFileExW(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED)) { in php_win32_ioutil_rename_w()
H A Dioutil.h284 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname);
/php-src/ext/phar/
H A Dphar_object.c1981 const char *oldname = NULL; in phar_rename_archive() local
2072 if ((oldname = zend_memrchr(phar->fname, '/', phar->fname_len))) { in phar_rename_archive()
2073 ++oldname; in phar_rename_archive()
2075 oldname = phar->fname; in phar_rename_archive()
2078 oldname_len = strlen(oldname); in phar_rename_archive()
2080 basename = estrndup(oldname, oldname_len); in phar_rename_archive()

Completed in 23 milliseconds