Home
last modified time | relevance | path

Searched refs:linkname (Results 1 – 25 of 75) 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) pcap_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.py733 linkname = ('Name of the target file name, which is only present '
761 self.linkname = "" # link name
785 return self.linkname
788 def linkpath(self, linkname): argument
789 self.linkname = linkname
806 "linkname": self.linkname,
1068 obj.linkname = nts(buf[157:257], encoding, errors)
1176 next.linkname = nts(buf, tarfile.encoding, tarfile.errors)
1847 linkname = ""
1857 linkname = self.inodes[inode]
[all …]
/external/python/cpython2/Lib/
DSimpleHTTPServer.py132 displayname = linkname = name
136 linkname = name + "/"
141 % (urllib.quote(linkname), cgi.escape(displayname)))
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 …]
/external/libfuse/
DAndroid.patch64 @@ -450,6 +450,11 @@ int fuse_reply_readlink(fuse_req_t req, const char *linkname)
65 return send_reply_ok(req, linkname, strlen(linkname));
/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/rust/crates/nix/test/
Dtest_stat.rs132 let linkname = tempdir.path().join("barlink"); in test_stat_fstat_lstat() localVariable
135 symlink("bar.txt", &linkname).unwrap(); in test_stat_fstat_lstat()
136 let link = File::open(&linkname).unwrap(); in test_stat_fstat_lstat()
143 let lstat_result = lstat(&linkname); in test_stat_fstat_lstat()
/external/libbrillo/brillo/
Dfile_utils_test.cc464 const base::FilePath linkname = dirname.Append("test.link"); in TEST_F() local
470 EXPECT_TRUE(base::CreateSymbolicLink(filename, linkname)); in TEST_F()
489 const base::FilePath linkname = parentname.Append("link.dir"); in TEST_F() local
497 EXPECT_TRUE(base::CreateSymbolicLink(dirname, linkname)); in TEST_F()
/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/python/dateutil/dateutil/zoneinfo/
D__init__.py39 links = {zl.name: self.zones[zl.linkname]
/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/iproute2/include/uapi/linux/
Dtipc.h255 char linkname[TIPC_MAX_LINK_NAME]; member
/external/kernel-headers/original/uapi/linux/
Dtipc.h228 char linkname[TIPC_MAX_LINK_NAME]; member
/external/python/cpython3/Lib/test/
Dtest_tarfile.py874 self._test_member(tarinfo, size=0, linkname="ustar/regtype")
878 self._test_member(tarinfo, size=0, linkname="regtype")
953 self.assertEqual(tarinfo.linkname, longname, "linkname wrong")
1514 tarinfo.linkname = link
1535 self.assertEqual(tarinfo.linkname, member.linkname,
1776 tarinfo.linkname = link
1788 l = tar.getmembers()[0].linkname
1901 self.assertIs(type(t.linkname), str)
2001 t.linkname = name
2010 self.assertEqual(name, t.linkname)
[all …]
/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.py792 displayname = linkname = name
796 linkname = name + "/"
801 % (urllib.parse.quote(linkname,
/external/libfuse/include/
Dfuse.h1131 int fuse_fs_symlink(struct fuse_fs *fs, const char *linkname,
/external/libfuse/lib/
Dfuse.c1687 int fuse_fs_symlink(struct fuse_fs *fs, const char *linkname, const char *path) in fuse_fs_symlink() argument
1692 fuse_log(FUSE_LOG_DEBUG, "symlink %s %s\n", linkname, path); in fuse_fs_symlink()
1694 return fs->op.symlink(linkname, path); in fuse_fs_symlink()
2925 char linkname[PATH_MAX + 1]; in fuse_lib_readlink() local
2933 err = fuse_fs_readlink(f->fs, path, linkname, sizeof(linkname)); in fuse_lib_readlink()
2938 linkname[PATH_MAX] = '\0'; in fuse_lib_readlink()
2939 fuse_reply_readlink(req, linkname); in fuse_lib_readlink()
3051 static void fuse_lib_symlink(fuse_req_t req, const char *linkname, in fuse_lib_symlink() argument
3064 err = fuse_fs_symlink(f->fs, linkname, path); in fuse_lib_symlink()
/external/rust/crates/libz-sys/src/zlib/contrib/untgz/
Duntgz.c78 char linkname[100]; /* 157 */ member

123