/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | readlinkat.c | 63 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/ |
D | create_symlink.c | 8 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/ |
D | fortify_readlinkat_chk_test.cpp | 26 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/ |
D | write-entry.js | 448 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,
|
D | unpack.js | 249 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 …]
|
D | pax.js | 13 this.linkpath = obj.linkpath || null 53 linkpath: '', property
|
D | read-entry.js | 63 this.linkpath = normPath(header.linkpath)
|
D | parse.js | 160 if (/^(Symbolic)?Link$/.test(type) && !header.linkpath) { 162 } else if (!/^(Symbolic)?Link$/.test(type) && header.linkpath) { 329 this[EX].linkpath = this[META].replace(/\0.*/, '')
|
D | header.js | 29 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/ |
D | test_unistd.rs | 875 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/ |
D | rehash.c | 60 int symlink(const char *target, const char *linkpath) in symlink() argument
|
/third_party/node/deps/openssl/openssl/apps/ |
D | rehash.c | 60 int symlink(const char *target, const char *linkpath) in symlink() argument
|
/third_party/python/Lib/ |
D | tarfile.py | 784 def linkpath(self): member in TarInfo 788 @linkpath.setter 789 def linkpath(self, linkname): member in TarInfo
|
/third_party/typescript/src/harness/ |
D | vfsUtil.ts | 618 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/ |
D | wasi.rs | 641 linkpath: *const ::c_char, in symlinkat()
|
/third_party/node/deps/corepack/dist/lib/ |
D | corepack.cjs | 31962 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/ |
D | mod.rs | 852 linkpath: *const ::c_char, in symlinkat()
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3578 linkpath: *const ::c_char, in symlinkat()
|