Searched refs:oldname (Results 1 – 14 of 14) sorted by relevance
/PHP-7.3/Zend/ |
H A D | zend_virtual_cwd.h | 152 CWD_API int virtual_rename(const char *oldname, const char *newname); 245 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname) argument 274 # define VCWD_RENAME(oldname, newname) php_win32_ioutil_rename(oldname, newname) argument 286 # define VCWD_RENAME(oldname, newname) rename(oldname, newname) argument
|
H A D | zend_virtual_cwd.c | 1727 CWD_API int virtual_rename(const char *oldname, const char *newname) /* {{{ */ in virtual_rename() argument 1734 if (virtual_file_ex(&old_state, oldname, NULL, CWD_EXPAND)) { in virtual_rename() 1738 oldname = old_state.cwd; in virtual_rename() 1752 retval = php_win32_ioutil_rename(oldname, newname); in virtual_rename() 1754 retval = rename(oldname, newname); in virtual_rename()
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | rename_error.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_basic.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation9.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation2-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation1-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation3-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation8-win32.phpt | 9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation8.phpt | 9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
/PHP-7.3/win32/ |
H A D | ioutil.c | 467 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname) in php_win32_ioutil_rename_w() argument 471 PHP_WIN32_IOUTIL_CHECK_PATH_W(oldname, -1, 0) in php_win32_ioutil_rename_w() 475 if (!MoveFileExW(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED)) { in php_win32_ioutil_rename_w()
|
H A D | ioutil.h | 264 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname);
|
/PHP-7.3/ext/phar/ |
H A D | phar_object.c | 1998 const char *oldname = NULL; in phar_rename_archive() local 2089 if ((oldname = zend_memrchr(phar->fname, '/', phar->fname_len))) { in phar_rename_archive() 2090 ++oldname; in phar_rename_archive() 2092 oldname = phar->fname; in phar_rename_archive() 2095 oldname_len = strlen(oldname); in phar_rename_archive() 2097 basename = estrndup(oldname, oldname_len); in phar_rename_archive()
|
Completed in 56 milliseconds