Home
last modified time | relevance | path

Searched refs:CreateSymbolicLink (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dsymlink_support.py35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
36 CreateSymbolicLink.argtypes = (
41 CreateSymbolicLink.restype = ctypes.wintypes.BOOLEAN
89 handle_nonzero_success(CreateSymbolicLink(link, target, target_is_directory))
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc567 ASSERT_TRUE(base::CreateSymbolicLink(target1, symlink)); in TEST_F()
583 ASSERT_TRUE(base::CreateSymbolicLink(target2, symlink)); in TEST_F()
649 ASSERT_TRUE(CreateSymbolicLink(test_file(), test_link())); in TEST_F()
658 ASSERT_TRUE(CreateSymbolicLink(test_file(), test_link())); in TEST_F()
672 ASSERT_TRUE(CreateSymbolicLink(test_file(), test_link())); in TEST_F()
686 ASSERT_TRUE(CreateSymbolicLink(test_file(), test_link())); in TEST_F()
701 ASSERT_TRUE(CreateSymbolicLink(test_file(), test_link())); in TEST_F()
727 ASSERT_TRUE(CreateSymbolicLink(dir, link_dir)); in TEST_F()
751 ASSERT_TRUE(CreateSymbolicLink(dir, link_dir)); in TEST_F()
779 ASSERT_TRUE(CreateSymbolicLink(dir, link_dir)); in TEST_F()
Dfile_util_unittest.cc650 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
665 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
669 EXPECT_FALSE(CreateSymbolicLink(link_to, link_to)); in TEST_F()
686 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
700 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
709 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
711 ASSERT_TRUE(CreateSymbolicLink(link_from, link_to)) in TEST_F()
726 ASSERT_TRUE(CreateSymbolicLink(file_name, file_link)) in TEST_F()
745 ASSERT_TRUE(CreateSymbolicLink(non_existent, file_link)) in TEST_F()
764 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)); in TEST_F()
[all …]
Dfile_util.h200 BASE_EXPORT bool CreateSymbolicLink(const FilePath& target,
Dfile_util_posix.cc508 bool CreateSymbolicLink(const FilePath& target_path, in CreateSymbolicLink() function
/external/libbrillo/brillo/daemons/
Ddaemon.cc123 if (!base::CreateSymbolicLink(log_file.BaseName(), latest_log_symlink)) { in UpdateLogSymlinks()
/external/libbrillo/brillo/
Dfile_utils_test.cc117 EXPECT_TRUE(base::CreateSymbolicLink(symlink_target, file_path_)); in TEST_F()
470 EXPECT_TRUE(base::CreateSymbolicLink(filename, linkname)); in TEST_F()
497 EXPECT_TRUE(base::CreateSymbolicLink(dirname, linkname)); in TEST_F()
/external/libbrillo/brillo/files/
Dfile_util_test.cc88 if (!base::CreateSymbolicLink(file_path_, symlink_file_path_)) { in SetupSymlinks()
93 if (!base::CreateSymbolicLink(temp_dir_.GetPath(), symlink_dir_path_)) { in SetupSymlinks()