Home
last modified time | relevance | path

Searched refs:newname (Results 1 – 17 of 17) sorted by relevance

/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dwrite24.phar3 var_dump(isset($p["newname"]));
4 $fp = fopen("phar://" . __FILE__ . "/newname", "w");
7 var_dump(isset($p["newname"]));
H A Dwrite23.phar3 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 Dwrite24.phar.inc9 var_dump(isset($p["newname"]));
10 $fp = fopen("phar://" . __FILE__ . "/newname", "w");
13 var_dump(isset($p["newname"]));
H A Dwrite23.phar.inc9 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-5.4/ext/imap/tests/
H A Dimap_createmailbox_basic.phpt21 $newname = "phpnewbox";
23 echo "Newname will be '$newname'\n";
25 $newbox = imap_utf7_encode($server.$newname);
28 echo "Add a couple of msgs to '$newname' mailbox\n";
33 echo "Your new mailbox '$newname' has the following status:\n";
45 echo "Mailbox '$newname' removed to restore initial state\n";
/PHP-5.4/TSRM/
H A Dtsrm_virtual_cwd.h164 CWD_API int virtual_rename(char *oldname, char *newname TSRMLS_DC);
268 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC) argument
298 # define VCWD_RENAME(oldname, newname) (MoveFileEx(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVE… argument
300 # define VCWD_RENAME(oldname, newname) rename(oldname, newname) argument
H A Dtsrm_virtual_cwd.c1676 CWD_API int virtual_rename(char *oldname, char *newname TSRMLS_DC) /* {{{ */ in virtual_rename()
1690 if (virtual_file_ex(&new_state, newname, NULL, CWD_EXPAND TSRMLS_CC)) { in virtual_rename()
1695 newname = new_state.cwd; in virtual_rename()
1701 …retval = (MoveFileEx(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED) == 0) ? -1… in virtual_rename()
1703 retval = rename(oldname, newname); in virtual_rename()
/PHP-5.4/ext/standard/tests/file/
H A Drename_error.phpt5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_basic.phpt5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation9.phpt5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation2-win32.phpt11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation1-win32.phpt11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation-win32.phpt11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation3-win32.phpt11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation8-win32.phpt9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation8.phpt9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
/PHP-5.4/ext/phar/
H A Dphar_object.c2098 char *newname = NULL, *newpath = NULL; local
2174 spprintf(&newname, 0, "%s.%s", strtok(basename, "."), ext);
2180 phar->fname_len = spprintf(&newpath, 0, "%s%s", basepath, newname);
2184 efree(newname);

Completed in 42 milliseconds