Home
last modified time | relevance | path

Searched refs:toname (Results 1 – 6 of 6) 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.c146 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument
152 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/external/skia/third_party/lua/src/
Dloslib.c100 const char *toname = luaL_checkstring(L, 2); in os_rename() local
101 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
/external/syslinux/com32/lua/src/
Dloslib.c103 const char *toname = luaL_checkstring(L, 2); in os_rename() local
104 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
/external/python/cpython2/Lib/
Dftplib.py536 def rename(self, fromname, toname): argument
541 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*.