Home
last modified time | relevance | path

Searched refs:toname (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/tools/tzcode/
Dzic.c130 extern int link(const char * fromname, const char * toname);
768 register char * toname; in dolink() local
778 toname = ecpyalloc(tofield); in dolink()
780 toname = ecpyalloc(directory); in dolink()
781 toname = ecatalloc(toname, "/"); in dolink()
782 toname = ecatalloc(toname, tofield); in dolink()
788 if (!itsdir(toname)) in dolink()
789 (void) remove(toname); in dolink()
790 if (link(fromname, toname) != 0 in dolink()
794 if (mkdirs(toname) != 0) in dolink()
[all …]
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c154 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument
160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/external/lua/src/
Dloslib.c164 const char *toname = luaL_checkstring(L, 2); in os_rename() local
165 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
/external/python/cpython3/Lib/
Dftplib.py592 def rename(self, fromname, toname): argument
597 return self.voidcmd('RNTO ' + toname)
/external/python/cpython2/Lib/
Dftplib.py548 def rename(self, fromname, toname): argument
553 return self.voidcmd('RNTO ' + toname)
/external/python/cpython2/Doc/library/
Dftplib.rst330 .. method:: FTP.rename(fromname, toname)
332 Rename file *fromname* on the server to *toname*.
/external/python/cpython3/Doc/library/
Dftplib.rst372 .. method:: FTP.rename(fromname, toname)
374 Rename file *fromname* on the server to *toname*.