Searched refs:newname (Results 1 – 11 of 11) sorted by relevance
/PHP-8.0/ext/phar/tests/cache_list/files/ |
H A D | write24.phar | 3 var_dump(isset($p["newname"])); 4 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 7 var_dump(isset($p["newname"]));
|
H A D | write23.phar | 3 var_dump(isset($p["test.txt"]), isset($p["newname"])); 4 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 5 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
H A D | write24.phar.inc | 9 var_dump(isset($p["newname"])); 10 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 13 var_dump(isset($p["newname"]));
|
H A D | write23.phar.inc | 9 var_dump(isset($p["test.txt"]), isset($p["newname"])); 10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 11 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
/PHP-8.0/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 15 $newname = "phpnewbox"; 17 echo "Newname will be '$newname'\n"; 19 $newbox = imap_utf7_encode(IMAP_SERVER.$newname); 22 echo "Add a couple of msgs to '$newname' mailbox\n"; 27 echo "Your new mailbox '$newname' has the following status:\n"; 39 echo "Mailbox '$newname' removed to restore initial state\n";
|
/PHP-8.0/ext/opcache/ |
H A D | shared_alloc_win32.c | 74 static char newname[MAXPATHLEN + 1 + 32 + 1 + 20 + 1 + 32 + 1]; in create_name_with_username() local 75 char *p = newname; in create_name_with_username() 76 p += strlcpy(newname, name, MAXPATHLEN + 1); in create_name_with_username() 86 ZEND_ASSERT(p - newname <= sizeof(newname)); in create_name_with_username() 88 return newname; in create_name_with_username()
|
/PHP-8.0/Zend/ |
H A D | zend_virtual_cwd.h | 171 CWD_API int virtual_rename(const char *oldname, const char *newname); 266 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname) argument 295 # define VCWD_RENAME(oldname, newname) php_win32_ioutil_rename(oldname, newname) argument 307 # define VCWD_RENAME(oldname, newname) rename(oldname, newname) argument
|
H A D | zend_virtual_cwd.c | 1487 CWD_API int virtual_rename(const char *oldname, const char *newname) /* {{{ */ in virtual_rename() argument 1501 if (virtual_file_ex(&new_state, newname, NULL, CWD_EXPAND)) { in virtual_rename() 1506 newname = new_state.cwd; in virtual_rename() 1512 retval = php_win32_ioutil_rename(oldname, newname); in virtual_rename() 1514 retval = rename(oldname, newname); in virtual_rename()
|
/PHP-8.0/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 472 PHP_WIN32_IOUTIL_CHECK_PATH_W(newname, -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 | 267 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname);
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1983 char *newname = NULL, *newpath = NULL; in phar_rename_archive() local 2109 spprintf(&newname, 0, "%s.%s", basename, ext); in phar_rename_archive() 2113 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive() 2118 efree(newname); in phar_rename_archive()
|
Completed in 34 milliseconds