Home
last modified time | relevance | path

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

1234

/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/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/liburing/test/
Dsymlink.c46 int test_link_contents(const char* linkname, const char *expected_contents) in test_link_contents() argument
49 int ret = readlink(linkname, buf, 127); in test_link_contents()
66 static const char linkname[] = "io_uring-symlinkat-test-link"; in main() local
79 ret = do_symlinkat(&ring, target, linkname); in main()
91 ret = test_link_contents(linkname, target); in main()
95 ret = do_symlinkat(&ring, target, linkname); in main()
108 unlinkat(AT_FDCWD, linkname, 0); in main()
112 unlinkat(AT_FDCWD, linkname, 0); in main()
Dhardlink.c72 static const char linkname[] = "io_uring-linkat-test-link"; in main() local
96 ret = do_linkat(&ring, target, linkname); in main()
108 if (!files_linked_ok(linkname, target)) in main()
111 ret = do_linkat(&ring, target, linkname); in main()
124 unlinkat(AT_FDCWD, linkname, 0); in main()
129 unlinkat(AT_FDCWD, linkname, 0); in main()
/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()
380 if (find_or_add_dev(devlistp, entry->linkname, 0, get_if_flags, in pcap_platform_finddevs()
491 pcap_libdlpi_err(const char *linkname, const char *func, int err, char *errbuf) in pcap_libdlpi_err() argument
494 func, linkname, dlpi_strerror(err)); in pcap_libdlpi_err()
/external/f2fs-tools/tools/
Dfibmap.c102 char linkname[32] = { 0, }; in stat_bdev() local
125 if (readlink(devname, linkname, sizeof(linkname)) < 0) in stat_bdev()
129 printf("devname = %s\n", basename(linkname)); in stat_bdev()
/external/python/cpython3/Lib/
Dtarfile.py734 linkname = ('Name of the target file name, which is only present '
762 self.linkname = "" # link name
786 return self.linkname
789 def linkpath(self, linkname): argument
790 self.linkname = linkname
807 "linkname": self.linkname,
1078 obj.linkname = nts(buf[157:257], encoding, errors)
1186 next.linkname = nts(buf, tarfile.encoding, tarfile.errors)
1860 linkname = ""
1870 linkname = self.inodes[inode]
[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/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/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/cronet/base/files/
Dfile_path_watcher_inotify.cc210 FilePath::StringType linkname; member
438 (child == watch_entry.linkname) || in OnFilePathChanged()
449 (watch_entry.linkname.empty() || child == watch_entry.linkname); in OnFilePathChanged()
620 watch_entry.linkname.clear(); in UpdateWatches()
795 watch_entry->linkname = link->BaseName().value(); in AddWatchForBrokenSymlink()
/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.rs131 let linkname = tempdir.path().join("barlink"); in test_stat_fstat_lstat() localVariable
134 symlink("bar.txt", &linkname).unwrap(); in test_stat_fstat_lstat()
135 let link = File::open(&linkname).unwrap(); in test_stat_fstat_lstat()
142 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/ppp/pppd/
Dmain.c851 if (linkname[0] == 0)
853 script_setenv("LINKNAME", linkname, 1);
855 _PATH_VARRUN, linkname);
1822 if (linkname[0] && !strchr(linkname, '/')) {
1823 snprintf(file, MAXPATHLEN, "%s-%s", prog, linkname);
/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/python/cpython3/Lib/test/
Dtest_tarfile.py908 self._test_member(tarinfo, size=0, linkname="ustar/regtype")
912 self._test_member(tarinfo, size=0, linkname="regtype")
987 self.assertEqual(tarinfo.linkname, longname, "linkname wrong")
1548 tarinfo.linkname = link
1569 self.assertEqual(tarinfo.linkname, member.linkname,
1825 tarinfo.linkname = link
1837 l = tar.getmembers()[0].linkname
2005 self.assertIs(type(t.linkname), str)
2105 t.linkname = name
2114 self.assertEqual(name, t.linkname)
[all …]
/external/kernel-headers/original/uapi/linux/
Dtipc.h228 char linkname[TIPC_MAX_LINK_NAME]; member
/external/python/setuptools/setuptools/
Darchive_util.py132 linkpath = tar_member_obj.linkname
/external/cronet/third_party/boringssl/src/util/bot/
Dextract.py76 yield SymlinkEntry(info.name, None, info.linkname)
/external/boringssl/src/util/bot/
Dextract.py76 yield SymlinkEntry(info.name, None, info.linkname)

1234