Home
last modified time | relevance | path

Searched refs:fromname (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/tools/tzcode/
Dzic.c130 extern int link(const char * fromname, const char * toname);
767 register char * fromname; in dolink() local
771 fromname = ecpyalloc(fromfield); in dolink()
773 fromname = ecpyalloc(directory); in dolink()
774 fromname = ecatalloc(fromname, "/"); in dolink()
775 fromname = ecatalloc(fromname, fromfield); in dolink()
790 if (link(fromname, toname) != 0 in dolink()
791 && access(fromname, F_OK) == 0 && !itsdir(fromname)) { in dolink()
797 result = link(fromname, toname); in dolink()
824 fp = fopen(fromname, "rb"); 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
156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
/external/lua/src/
Dloslib.c160 const char *fromname = luaL_checkstring(L, 1); in os_rename() local
162 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
/external/python/cpython3/Lib/
Dftplib.py605 def rename(self, fromname, toname): argument
607 resp = self.sendcmd('RNFR ' + fromname)
Dssl.py366 def fromname(cls, name): member in _ASN1Object
/external/python/cpython2/Lib/compiler/
Dtransformer.py463 fromname = self.com_dotted_name(nodelist[idx])
466 fromname = ""
469 return From(fromname, [('*', None)], level,
473 return From(fromname, self.com_import_as_names(node), level,
/external/python/cpython2/Lib/
Dftplib.py548 def rename(self, fromname, toname): argument
550 resp = self.sendcmd('RNFR ' + fromname)
Dssl.py331 def fromname(cls, name): member in _ASN1Object
/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.rst351 .. method:: FTP.rename(fromname, toname)
353 Rename file *fromname* on the server to *toname*.
/external/python/cpython2/Lib/test/
Dtest_ssl.py647 val = ssl._ASN1Object.fromname('TLS Web Server Authentication')
650 self.assertEqual(ssl._ASN1Object.fromname('serverAuth'), expected)
651 self.assertEqual(ssl._ASN1Object.fromname('1.3.6.1.5.5.7.3.1'),
654 ssl._ASN1Object.fromname('serverauth')
/external/python/cpython3/Lib/test/
Dtest_ssl.py897 val = ssl._ASN1Object.fromname('TLS Web Server Authentication')
900 self.assertEqual(ssl._ASN1Object.fromname('serverAuth'), expected)
901 self.assertEqual(ssl._ASN1Object.fromname('1.3.6.1.5.5.7.3.1'),
904 ssl._ASN1Object.fromname('serverauth')
Ddatetimetester.py5394 def fromname(cls, name): member in ZoneInfo
5482 tz = cls.fromname(zonename)
5535 tz = cls.fromname(zonename)
5566 self.tz = ZoneInfo.fromname(self.zonename)