Home
last modified time | relevance | path

Searched refs:linkname (Results 1 – 25 of 67) sorted by relevance

123

/external/python/cpython2/Tools/scripts/
Dlinktree.py38 linkname = os.path.join(newtree, link)
40 os.symlink(os.path.join(os.pardir, oldtree), linkname)
43 print linkname + ': cannot symlink:', msg
46 print linkname + ': warning: cannot symlink:', msg
60 linkname = os.path.join(link, name)
62 if debug > 1: print oldname, newname, linkname
73 linkname = os.path.join(os.pardir,
74 linkname)
75 linknames(oldname, newname, linkname)
77 os.symlink(linkname, newname)
/external/python/cpython3/Tools/scripts/
Dlinktree.py38 linkname = os.path.join(newtree, link)
40 os.symlink(os.path.join(os.pardir, oldtree), linkname)
43 print(linkname + ': cannot symlink:', msg)
46 print(linkname + ': warning: cannot symlink:', msg)
60 linkname = os.path.join(link, name)
62 if debug > 1: print(oldname, newname, linkname)
73 linkname = os.path.join(os.pardir,
74 linkname)
75 linknames(oldname, newname, linkname)
77 os.symlink(linkname, newname)
/external/libpcap/
Dpcap-libdlpi.c60 char linkname[DLPI_LINKNAME_MAX]; member
74 list_interfaces(const char *linkname, void *arg) in list_interfaces() argument
83 (void) strlcpy(entry->linkname, linkname, DLPI_LINKNAME_MAX); in list_interfaces()
358 if (find_or_add_dev(devlistp, entry->linkname, 0, get_if_flags, in pcap_platform_finddevs()
469 pcap_libdlpi_err(const char *linkname, const char *func, int err, char *errbuf) in pcap_libdlpi_err() argument
472 func, linkname, dlpi_strerror(err)); in pcap_libdlpi_err()
/external/f2fs-tools/tools/
Dfibmap.c100 char linkname[32] = { 0, }; in stat_bdev() local
123 if (readlink(devname, linkname, sizeof(linkname)) < 0) in stat_bdev()
127 printf("devname = %s\n", basename(linkname)); in stat_bdev()
/external/python/cpython3/Lib/
Dtarfile.py751 self.linkname = "" # link name
775 return self.linkname
778 def linkpath(self, linkname): argument
779 self.linkname = linkname
796 "linkname": self.linkname,
1050 obj.linkname = nts(buf[157:257], encoding, errors)
1158 next.linkname = nts(buf, tarfile.encoding, tarfile.errors)
1812 linkname = ""
1822 linkname = self.inodes[inode]
1835 linkname = os.readlink(name)
[all …]
/external/python/cpython2/Lib/
Dtarfile.py944 self.linkname = "" # link name
964 return self.linkname
965 def _setlinkpath(self, linkname): argument
966 self.linkname = linkname
984 "linkname": self.linkname,
1225 obj.linkname = nts(buf[157:257])
1315 next.linkname = nts(buf)
1886 linkname = ""
1896 linkname = self.inodes[inode]
1909 linkname = os.readlink(name)
[all …]
DSimpleHTTPServer.py132 displayname = linkname = name
136 linkname = name + "/"
141 % (urllib.quote(linkname), cgi.escape(displayname)))
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc159 FilePath::StringType linkname; member
391 (child == watch_entry.linkname) || in OnFilePathChangedOnOriginSequence()
401 target_changed = (watch_entry.linkname.empty() || in OnFilePathChangedOnOriginSequence()
402 child == watch_entry.linkname); in OnFilePathChangedOnOriginSequence()
509 watch_entry.linkname.clear(); in UpdateWatches()
660 watch_entry->linkname = link.BaseName().value(); in AddWatchForBrokenSymlink()
/external/vixl/examples/aarch32/
Ddisasm-a32.cc219 static char linkname[4096]; in main() local
220 filename = realpath(argv[1], linkname); in main()
221 if (lstat(linkname, &sb) == -1) { in main()
222 std::cerr << "Cannot stat this file: " << linkname << std::endl; in main()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java533 final String linkname = "01234567890123456789012345678901234567890123456789" in testWriteLongLinkNameErrorMode() local
537 entry.setLinkName(linkname); in testWriteLongLinkNameErrorMode()
555 final String linkname = "01234567890123456789012345678901234567890123456789" in testWriteLongLinkNameTruncateMode() local
559 entry.setLinkName(linkname); in testWriteLongLinkNameTruncateMode()
571 assertEquals("Link name", linkname.substring(0, TarConstants.NAMELEN), e.getLinkName()); in testWriteLongLinkNameTruncateMode()
595 final String linkname = "01234567890123456789012345678901234567890123456789" in testWriteLongLinkName() local
599 entry.setLinkName(linkname); in testWriteLongLinkName()
612 assertEquals("Link name", linkname, e.getLinkName()); in testWriteLongLinkName()
/external/python/cpython2/Lib/test/
Dtest_tarfile.py647 self._test_member(tarinfo, size=0, linkname="ustar/regtype")
651 self._test_member(tarinfo, size=0, linkname="regtype")
705 self.assertTrue(tarinfo.linkname == longname, "linkname wrong")
1233 tarinfo.linkname = link
1254 self.assertEqual(tarinfo.linkname, member.linkname,
1335 tarinfo.linkname = link
1347 l = tar.getmembers()[0].linkname
1467 self.assertTrue(type(t.linkname) is str)
1646 tarinfo.linkname = "123/" * 126 + "longname"
1659 tarinfo.linkname = "123/" * 126 + "longname"
[all …]
/external/ppp/pppd/
Dmain.c851 if (linkname[0] == 0)
853 script_setenv("LINKNAME", linkname, 1);
855 _PATH_VARRUN, linkname);
1823 if (linkname[0] && !strchr(linkname, '/')) {
1824 snprintf(file, MAXPATHLEN, "%s-%s", prog, linkname);
/external/python/cpython3/Lib/test/
Dtest_tarfile.py834 self._test_member(tarinfo, size=0, linkname="ustar/regtype")
838 self._test_member(tarinfo, size=0, linkname="regtype")
913 self.assertEqual(tarinfo.linkname, longname, "linkname wrong")
1466 tarinfo.linkname = link
1487 self.assertEqual(tarinfo.linkname, member.linkname,
1682 tarinfo.linkname = link
1694 l = tar.getmembers()[0].linkname
1807 self.assertIs(type(t.linkname), str)
1907 t.linkname = name
1916 self.assertEqual(name, t.linkname)
[all …]
/external/python/dateutil/dateutil/zoneinfo/
D__init__.py39 links = {zl.name: self.zones[zl.linkname]
/external/iproute2/include/uapi/linux/
Dtipc.h255 char linkname[TIPC_MAX_LINK_NAME]; member
/external/kernel-headers/original/uapi/linux/
Dtipc.h226 char linkname[TIPC_MAX_LINK_NAME]; member
/external/python/setuptools/setuptools/
Darchive_util.py152 linkpath = member.linkname
/external/boringssl/src/util/bot/
Dextract.py76 yield SymlinkEntry(info.name, None, info.linkname)
/external/python/cpython3/Lib/http/
Dserver.py777 displayname = linkname = name
781 linkname = name + "/"
786 % (urllib.parse.quote(linkname,
/external/libunwind/aux/
Dltmain.sh3001 $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
4306 for linkname
4308 if test "$linkname" != "$realname"; then
4309 $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
4310 $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
/external/syzkaller/executor/
Dcommon_linux.h669 char loopname[64], linkname[64]; in syz_read_part_table() local
739 snprintf(linkname, sizeof(linkname), "./file%d", (int)j++); in syz_read_part_table()
740 if (symlink(loopname, linkname)) { in syz_read_part_table()
741 debug("syz_read_part_table: symlink(%s, %s) failed: %d\n", loopname, linkname, errno); in syz_read_part_table()
/external/cmockery/cmockery_0_1_2/
Dlibtool4540 $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
6326 for linkname
6328 if test "$linkname" != "$realname"; then
6329 …$show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkn…
6330 …run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $li…
Dltmain.sh4188 $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
5974 for linkname
5976 if test "$linkname" != "$realname"; then
5977 …$show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkn…
5978 …run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $li…
/external/swiftshader/third_party/LLVM/autoconf/
Dltmain.sh4180 $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
5966 for linkname
5968 if test "$linkname" != "$realname"; then
5969 …$show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkn…
5970 …run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $li…
/external/zlib/src/contrib/untgz/
Duntgz.c78 char linkname[100]; /* 157 */ member

123