Home
last modified time | relevance | path

Searched refs:linkpath (Results 1 – 18 of 18) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dreadlinkat.c63 char linkpath[PATH_MAX] = {0}; in readlinkat_0100() local
64 FILE_ABSOLUTE_PATH(STR_FILE_LINK_TXT, linkpath); in readlinkat_0100()
65 remove(linkpath); in readlinkat_0100()
67 result = symlink(path, linkpath); in readlinkat_0100()
73 int fd = open(linkpath, O_RDONLY); in readlinkat_0100()
80 ssize_t bytes = readlinkat(fd, linkpath, rbuf, sizeof(rbuf)); in readlinkat_0100()
89 remove(linkpath); in readlinkat_0100()
121 char linkpath[PATH_MAX] = {0}; in readlinkat_0200() local
122 FILE_ABSOLUTE_PATH(STR_FILE_LINK_TXT, linkpath); in readlinkat_0200()
123 remove(linkpath); in readlinkat_0200()
[all …]
/third_party/node/test/wasi/c/
Dcreate_symlink.c8 const char* linkpath = "/sandbox/subdir/test_link"; in main() local
12 assert(0 == symlink(target, linkpath)); in main()
13 assert(readlink(linkpath, readlink_result, result_size) == in main()
17 FILE* file = fopen(linkpath, "r"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_readlinkat_chk_test.cpp26 char linkpath[PATH_MAX] = "readlinkat_test"; variable
27 remove(linkpath);
28 EXPECT_EQ(0, symlink("/data/readlinkat_chk", linkpath));
/third_party/node/deps/npm/node_modules/tar/lib/
Dwrite-entry.js448 this.linkpath = normPath(readEntry.linkpath)
468 linkpath: this.type === 'Link' ? this[PREFIX](this.linkpath) property
469 : this.linkpath,
497 linkpath: this.type === 'Link' ? this[PREFIX](this.linkpath) property
498 : this.linkpath,
Dunpack.js249 const linkparts = normPath(entry.linkpath).split('/')
251 entry.linkpath = linkparts.slice(this.strip).join('/')
524 this[LINK](entry, entry.linkpath, 'symlink', done)
528 const linkpath = normPath(path.resolve(this.cwd, entry.linkpath))
529 this[LINK](entry, linkpath, 'link', done)
561 if (entry.linkpath) {
562 paths.push(entry.linkpath)
700 [LINK] (entry, linkpath, link, done) { argument
702 fs[link](linkpath, entry.absolute, er => {
894 [LINK] (entry, linkpath, link, done) { argument
[all …]
Dpax.js13 this.linkpath = obj.linkpath || null
53 linkpath: '', property
Dread-entry.js63 this.linkpath = normPath(header.linkpath)
Dparse.js160 if (/^(Symbolic)?Link$/.test(type) && !header.linkpath) {
162 } else if (!/^(Symbolic)?Link$/.test(type) && header.linkpath) {
329 this[EX].linkpath = this[META].replace(/\0.*/, '')
Dheader.js29 this.linkpath = null
84 this.linkpath = decString(buf, off + 157, 100)
157 this.needPax = encString(buf, off + 157, 100, this.linkpath) || this.needPax
/third_party/rust/crates/nix/test/
Dtest_unistd.rs875 let linkpath = tempdir.path().join("b"); in test_symlinkat() localVariable
876 symlinkat(&target, None, &linkpath).unwrap(); in test_symlinkat()
878 readlink(&linkpath).unwrap().to_str().unwrap(), in test_symlinkat()
884 let linkpath = "d"; in test_symlinkat() localVariable
885 symlinkat(target, Some(dirfd), linkpath).unwrap(); in test_symlinkat()
887 readlink(&tempdir.path().join(linkpath)) in test_symlinkat()
/third_party/openssl/apps/
Drehash.c60 int symlink(const char *target, const char *linkpath) in symlink() argument
/third_party/node/deps/openssl/openssl/apps/
Drehash.c60 int symlink(const char *target, const char *linkpath) in symlink() argument
/third_party/python/Lib/
Dtarfile.py784 def linkpath(self): member in TarInfo
788 @linkpath.setter
789 def linkpath(self, linkname): member in TarInfo
/third_party/typescript/src/harness/
DvfsUtil.ts618 public symlinkSync(target: string, linkpath: string) {
621 …arent, links, node: existingNode, basename } = this._walk(this._resolve(linkpath), /*noFollow*/ tr…
/third_party/rust/crates/libc/src/
Dwasi.rs641 linkpath: *const ::c_char, in symlinkat()
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs31962 this.linkpath = normPath(header.linkpath);
31992 this[k] = k === "path" || k === "linkpath" ? normPath(ex[k]) : ex[k];
32160 this.linkpath = null;
32199 this.linkpath = decString(buf, off + 157, 100);
32259 this.needPax = encString(buf, off + 157, 100, this.linkpath) || this.needPax;
32371 this.linkpath = obj.linkpath || null;
32404 linkpath: "",
32419 …this.encodeField("gid") + this.encodeField("gname") + this.encodeField("linkpath") + this.encodeFi…
32719 linkpath: this.type === "Link" ? this[PREFIX](this.linkpath) : this.linkpath,
32739 linkpath: this.type === "Link" ? this[PREFIX](this.linkpath) : this.linkpath,
[all …]
/third_party/rust/crates/libc/src/unix/
Dmod.rs852 linkpath: *const ::c_char, in symlinkat()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3578 linkpath: *const ::c_char, in symlinkat()