Home
last modified time | relevance | path

Searched refs:symlink (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/third_party/node/test/es-module/
Dtest-esm-symlink-type.js46 symlinks.forEach((symlink) => {
47 const mainPath = path.join(tmpDir, symlink.source);
48 fs.symlinkSync(symlink.target, mainPath);
61 if (symlink.errorsWithPreserveSymlinksMain &&
63 else if (!symlink.errorsWithPreserveSymlinksMain &&
64 stdout.includes(symlink.prints)) return;
65 assert.fail(`For ${JSON.stringify(symlink)}, ${
66 (symlink.errorsWithPreserveSymlinksMain) ?
70 if (stdout.includes(symlink.prints)) return;
71 assert.fail(`For ${JSON.stringify(symlink)}, failed to find ` +
[all …]
/third_party/boost/tools/build/src/tools/
Dsymlink.jam7 # Defines the "symlink" special target. 'symlink' targets make symbolic links
14 feature.feature symlink-location : project-relative build-relative : incidental ;
16 # The class representing "symlink" targets.
18 class symlink-targets : basic-target
29 local c = [ modules.peek symlink : .count ] ;
30 modules.poke symlink : .count : [ numbers.increment $(c) ] ;
31 local fake-name = symlink#$(c) ;
61 local a = [ class.new action $(t) : symlink.ln : $(property-set) ] ;
65 # Place the symlink in the directory relative to the project
67 …if [ property.select <symlink-location> : [ $(property-set).raw ] ] = <symlink-location>project-re…
[all …]
Dlink.jam37 rule can-symlink ( project )
39 if ! $(.can-symlink)
43 local source-target = [ new file-target test-symlink-source : :
45 local target = [ new file-target test-symlink : :
50 .can-symlink = true ;
54 .can-symlink = false ;
57 if $(.can-symlink) = true
119 : [ new property-set <location-prefix>symlink ]
179 class symlink-target-class : basic-target
195 if ! [ link.can-symlink $(self.project) ]
[all …]
/third_party/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh21 symlink() { function
51 ino=$(symlink 1 $dir/empty)
55 symlink 1 $dir/fast_min > /dev/null
57 ino=$(symlink 10 $dir/fast_isize_too_small)
60 ino=$(symlink 10 $dir/fast_isize_too_large)
63 symlink $((59 - overhead)) $dir/fast_max > /dev/null
65 symlink $((60 - overhead)) $dir/slow_min > /dev/null
67 ino=$(symlink 100 $dir/slow_isize_too_small)
70 ino=$(symlink 100 $dir/slow_isize_too_large)
73 symlink $((BLOCKSIZE - 1 - overhead)) $dir/slow_max > /dev/null
[all …]
/third_party/e2fsprogs/tests/f_create_symlinks/
Dexpect9 debugfs -R "symlink /l_30 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
10 debugfs -R "symlink /l_60 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
11 debugfs -R "symlink /l_70 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" t…
12 debugfs -R "symlink /l_500 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
13 debugfs -R "symlink /l_1023 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
14 debugfs -R "symlink /l_1024 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
15 ext2fs_symlink: Invalid argument passed to ext2 library while creating symlink "l_1024"
16 symlink: Invalid argument passed to ext2 library
17 debugfs -R "symlink /l_1500 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
18 ext2fs_symlink: Invalid argument passed to ext2 library while creating symlink "l_1500"
[all …]
/third_party/node/deps/npm/node_modules/gentle-fs/lib/
Drm.js49 symlink: results[1], property
70 log.silly('gentlyRm', 'target.symlink =', target.symlink)
104 if (target.managed && target.symlink) {
110 if (target.symlink) {
111 return cb(clobberFail(target.path, target.symlink +
223 function resolveSymlink (symlink, cb) { argument
225 var cached = resolvedPaths[symlink]
228 readLinkOrShim(symlink, iferr(cb, function (symlinkTarget) {
230 resolvedPaths[symlink] = path.resolve(path.dirname(symlink), symlinkTarget)
232 resolvedPaths[symlink] = symlink
[all …]
/third_party/flutter/flutter/dev/integration_tests/android_views/ios/
DPodfile48 symlink = File.join('.symlinks', 'flutter')
49 File.symlink(File.dirname(p[:path]), symlink)
50 pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
57 symlink = File.join('.symlinks', 'plugins', p[:name])
58 File.symlink(p[:path], symlink)
59 pod p[:name], :path => File.join(symlink, 'ios')
/third_party/flutter/flutter/examples/platform_view/ios/
DPodfile42 symlink = File.join('.symlinks', 'flutter')
43 File.symlink(File.dirname(p[:path]), symlink)
44 pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
51 symlink = File.join('.symlinks', 'plugins', p[:name])
52 File.symlink(p[:path], symlink)
53 pod p[:name], :path => File.join(symlink, 'ios')
/third_party/flutter/flutter/packages/flutter_tools/templates/cocoapods/
DPodfile-macos69 symlink = File.join(symlink_dir, 'flutter')
70 File.symlink(File.dirname(p[:path]), symlink)
71 pod 'FlutterMacOS', :path => File.join(symlink, File.basename(p[:path]))
78 symlink = File.join(symlink_plugins_dir, p[:name])
79 File.symlink(p[:path], symlink)
80 if pubspec_supports_macos(File.join(symlink, 'pubspec.yaml'))
81 pod p[:name], :path => File.join(symlink, 'macos')
DPodfile-ios-objc51 symlink = File.join('.symlinks', 'flutter')
52 File.symlink(File.dirname(p[:path]), symlink)
53 pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
60 symlink = File.join('.symlinks', 'plugins', p[:name])
61 File.symlink(p[:path], symlink)
62 pod p[:name], :path => File.join(symlink, 'ios')
DPodfile-ios-swift53 symlink = File.join('.symlinks', 'flutter')
54 File.symlink(File.dirname(p[:path]), symlink)
55 pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
62 symlink = File.join('.symlinks', 'plugins', p[:name])
63 File.symlink(p[:path], symlink)
64 pod p[:name], :path => File.join(symlink, 'ios')
/third_party/node/deps/npm/node_modules/copy-concurrently/
Dcopy.js5 module.exports.symlink = copySymlink
49 if (!opts.symlink) opts.symlink = promisify(opts.Promise, fs.symlink)
149 var stat = opts.stat || promisify(Promise, fs.symlink)
150 var symlink = opts.symlink || promisify(Promise, fs.symlink)
164 return symlink(linkFrom, to, type).catch(function (err) {
166 return symlink(linkFrom, to, 'junction')
173 return symlink(linkFrom, to)
DREADME.md30 * isWindows - (Default: `process.platform === 'win32'`) If true enables Windows symlink semantics. …
31 …an extra `stat` to determine if the destination of a symlink is a file or directory. If symlinking…
66 ### copy.symlink(from, to, options) → Promise
68 Copies a symlink `from` to destination `to`. If you're using Windows and
75 if the symlink destination is within the set of files we're copying or
80 * isWindows - (Default: `process.platform === 'win32'`) If true enables Windows symlink semantics. …
81 …an extra `stat` to determine if the destination of a symlink is a file or directory. If symlinking…
103 and calls `copy.file`, `copy.symlink` or `copy.recurse` as appropriate.
112 if the symlink destination is within the set of files we're copying or
123 * isWindows - (Default: `process.platform === 'win32'`) If true enables Windows symlink semantics. …
[all …]
/third_party/musl/porting/linux/user/tools/
Dinstall.sh14 symlink=
21 l) symlink=yes ;;
22 r) symlink=yes; symlinkflags="$symlinkflags -r" ;;
52 if test "$symlink" ; then
/third_party/glib/gio/tests/
Dtrash.c103 GFile *symlink; in test_trash_symlinks() local
173 symlink = g_file_new_build_filename (tmp, "symlink", NULL); in test_trash_symlinks()
174 g_file_make_symbolic_link (symlink, g_get_home_dir (), NULL, &error); in test_trash_symlinks()
177 symlink_mount = g_unix_mount_for (g_file_peek_path (symlink), NULL); in test_trash_symlinks()
179 …g_test_message ("Symlink: %s (mount: %s)", g_file_peek_path (symlink), g_unix_mount_get_mount_path… in test_trash_symlinks()
183 target_over_symlink = g_build_filename (g_file_peek_path (symlink), in test_trash_symlinks()
195 g_object_unref (symlink); in test_trash_symlinks()
/third_party/node/test/parallel/
Dtest-fs-symlink.js42 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
61 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
72 assert.throws(() => fs.symlink(input, '', common.mustNotCall()), errObj);
75 assert.throws(() => fs.symlink('', input, common.mustNotCall()), errObj);
85 assert.throws(() => fs.symlink('', '', '��', common.mustNotCall()), errObj);
Dtest-fs-null-bytes.js75 check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar');
76 check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar');
109 check(fs.symlink, fs.symlinkSync, fileUrl, 'foobar');
110 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl);
140 check(fs.symlink, fs.symlinkSync, fileUrl2, 'foobar');
141 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl2);
/third_party/python/Lib/test/
Dtest_ntpath.py267 os.symlink(ABSTFN, ABSTFN + "1")
278 os.symlink(ABSTFN + "1", ABSTFN)
291 os.symlink(ABSTFN, ntpath.relpath(ABSTFN + "1"))
304 os.symlink(".", "recursive")
305 os.symlink("..", "parent")
307 os.symlink(".", "self")
308 os.symlink("missing", "broken")
309 os.symlink(r"broken\bar", "broken1")
310 os.symlink(r"self\self\broken", "broken2")
311 os.symlink(r"subdir\parent\subdir\parent\broken", "broken3")
[all …]
Dtest_posixpath.py166 os.symlink(os_helper.TESTFN + "1", os_helper.TESTFN + "2")
201 os.symlink("/", ABSTFN)
353 os.symlink(ABSTFN+"1", ABSTFN)
365 os.symlink(ABSTFN+"1", ABSTFN)
376 os.symlink(posixpath.relpath(ABSTFN+"1"), ABSTFN)
388 os.symlink(ABSTFN, ABSTFN)
391 os.symlink(ABSTFN+"1", ABSTFN+"2")
392 os.symlink(ABSTFN+"2", ABSTFN+"1")
399 os.symlink(ABSTFN+"x", ABSTFN+"y")
405 os.symlink(basename(ABSTFN) + "a/b", ABSTFN+"a")
[all …]
/third_party/e2fsprogs/tests/f_filetype/
Dexpect.12 Special (device/socket/fifo/symlink) file (inode 14) has immutable
5 Special (device/socket/fifo/symlink) file (inode 15) has immutable
8 Special (device/socket/fifo/symlink) file (inode 16) has immutable
11 Special (device/socket/fifo/symlink) file (inode 17) has immutable
23 Setting filetype for entry 'symlink' in / (2) to 7.
/third_party/musl/tools/
Dinstall.sh14 symlink=
20 l) symlink=yes ;;
50 if test "$symlink" ; then
/third_party/toybox/
Dinstall.py42 os.symlink("../../bin/toybox", target_link)
44 os.symlink("../bin/toybox", target_link)
46 os.symlink("toybox", target_link)
/third_party/node/deps/npm/lib/install/action/
Dfinalize.js9 const symlink = Bluebird.promisify(fs.symlink) constant
30 .then(() => symlink(relative, pkg.path, 'junction'))
32 return rimraf(pkg.path).then(() => symlink(relative, pkg.path, 'junction'))
/third_party/toybox/toys/posix/
Drm.c58 if (try->symlink) goto skip; in do_rm()
78 if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name); in do_rm()
80 if (try->parent) try->parent->symlink = (char *)2; in do_rm()
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c473 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
476 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
481 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
484 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
489 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
492 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
497 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
500 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
505 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
508 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()

12345678910>>...23