/third_party/boost/libs/filesystem/test/ |
D | operations_unit_test.cpp | 127 CHECK(!is_symlink(it->status())); in directory_iterator_test() 129 CHECK(!is_symlink(it->symlink_status())); in directory_iterator_test() 137 CHECK(!is_symlink(it->status())); in directory_iterator_test() 138 CHECK(!is_symlink(it->symlink_status())); in directory_iterator_test() 188 CHECK(!is_symlink(it->status())); in recursive_directory_iterator_test() 190 CHECK(!is_symlink(it->symlink_status())); in recursive_directory_iterator_test() 198 CHECK(!is_symlink(it->status())); in recursive_directory_iterator_test() 199 CHECK(!is_symlink(it->symlink_status())); in recursive_directory_iterator_test()
|
D | operations_test.cpp | 439 BOOST_TEST(!fs::is_symlink(dir)); in create_tree() 440 BOOST_TEST(!fs::is_symlink("nosuchfileordirectory")); in create_tree() 736 BOOST_TEST(fs::is_symlink(it->symlink_status())); in iterator_status_tests() 737 BOOST_TEST(fs::is_symlink(*it)); in iterator_status_tests() 742 BOOST_TEST(fs::is_symlink(it->symlink_status())); in iterator_status_tests() 747 BOOST_TEST(fs::is_symlink(it->symlink_status())); in iterator_status_tests() 752 BOOST_TEST(fs::is_symlink(it->symlink_status())); in iterator_status_tests() 846 BOOST_TEST(fs::is_symlink(from_ph)); in create_symlink_tests() 856 BOOST_TEST(fs::is_symlink(stat)); in create_symlink_tests() 863 BOOST_TEST(!fs::is_symlink(stat)); in create_symlink_tests() [all …]
|
/third_party/e2fsprogs/tests/f_bad_encryption/ |
D | mkimage.sh | 56 local is_symlink=false 59 is_symlink=true 65 if $is_symlink; then
|
/third_party/glib/gio/ |
D | glocalfileoutputstream.c | 854 gboolean is_symlink; in handle_overwrite_open() local 873 is_symlink = FALSE; in handle_overwrite_open() 886 is_symlink = TRUE; in handle_overwrite_open() 892 is_symlink = g_file_test (filename, G_FILE_TEST_IS_SYMLINK); in handle_overwrite_open() 894 if (!is_symlink || !replace_destination_set) in handle_overwrite_open() 902 (!is_symlink || !replace_destination_set)) in handle_overwrite_open() 913 if (!is_symlink) in handle_overwrite_open() 960 else if (!is_symlink || in handle_overwrite_open() 1003 (!(_g_stat_nlink (&original_stat) > 1) && !is_symlink)) in handle_overwrite_open()
|
D | glocalfileinfo.c | 1312 gboolean is_symlink, in get_content_type() argument 1317 if (is_symlink && in get_content_type() 1833 gboolean is_symlink, symlink_broken; in _g_local_file_info_get() local 1884 is_symlink = stat_ok && S_ISLNK (_g_stat_mode (&statbuf)); in _g_local_file_info_get() 1887 is_symlink = stat_ok && in _g_local_file_info_get() 1891 is_symlink = FALSE; in _g_local_file_info_get() 1895 if (is_symlink) in _g_local_file_info_get() 1957 if (is_symlink) in _g_local_file_info_get() 1975 …char *content_type = get_content_type (basename, path, stat_ok ? &statbuf : NULL, is_symlink, syml… in _g_local_file_info_get() 2013 …char *content_type = get_content_type (basename, path, stat_ok ? &statbuf : NULL, is_symlink, syml… in _g_local_file_info_get() [all …]
|
D | gfileinfo.h | 1082 gboolean is_symlink);
|
D | gfileinfo.c | 1969 gboolean is_symlink) in g_file_info_set_is_symlink() argument 1981 _g_file_attribute_value_set_boolean (value, is_symlink); in g_file_info_set_is_symlink()
|
/third_party/boost/boost/filesystem/ |
D | file_status.hpp | 219 inline BOOST_CONSTEXPR bool is_symlink(file_status f) BOOST_NOEXCEPT in is_symlink() function 226 && !filesystem::is_directory(f) && !filesystem::is_symlink(f); in is_other()
|
D | operations.hpp | 208 bool is_symlink(const path& p) {return is_symlink(detail::symlink_status(p));} in is_symlink() function 210 bool is_symlink(const path& p, system::error_code& ec) in is_symlink() function 211 {return is_symlink(detail::symlink_status(p, &ec));} in is_symlink() 499 { return is_symlink(filesystem::symlink_status(p)); } in symbolic_link_exists()
|
D | directory.hpp | 179 inline bool is_symlink (const directory_entry& e) { return filesystem::is_symlink(e.syml… in is_symlink() function 180 inline bool is_symlink (const directory_entry& e, system::error_code& ec) BOOST_NOEXCEPT… in is_symlink() function
|
/third_party/glib/glib/ |
D | gstdio.c | 585 gboolean is_symlink = FALSE; in _g_win32_stat_utf16_no_trailing_slashes() local 605 …is_symlink = (immediate_attributes & FILE_ATTRIBUTE_REPARSE_POINT) == FILE_ATTRIBUTE_REPARSE_POINT; in _g_win32_stat_utf16_no_trailing_slashes() 610 if (for_symlink && is_symlink) in _g_win32_stat_utf16_no_trailing_slashes() 655 if (is_symlink && in _g_win32_stat_utf16_no_trailing_slashes() 695 gboolean is_symlink = FALSE; in _g_win32_stat_fd() local 721 …is_symlink = (handle_info.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) == FILE_ATTRIBUTE_REPAR… in _g_win32_stat_fd() 723 if (is_symlink && in _g_win32_stat_fd()
|
/third_party/python/Lib/ |
D | os.py | 394 is_symlink = entry.is_symlink() 399 is_symlink = False 400 walk_into = not is_symlink 502 if entry.is_symlink():
|
D | shutil.py | 222 return fn.is_symlink() if isinstance(fn, os.DirEntry) else os.path.islink(fn) 468 is_symlink = srcentry.is_symlink() 469 if is_symlink and os.name == 'nt': 474 is_symlink = False 475 if is_symlink: 604 if entry.is_symlink():
|
D | pathlib.py | 480 if entry_is_dir and not entry.is_symlink(): 1351 def is_symlink(self): member in Path
|
/third_party/lz4/contrib/meson/meson/ |
D | InstallSymlink.py | 23 if new_dst.is_symlink() and os.readlink(new_dst) == src:
|
/third_party/boost/libs/filesystem/example/ |
D | file_status.cpp | 74 cout << "is_symlink(s) is " << (is_symlink(s) ? "true" : "false") << "\n"; in show_status()
|
/third_party/boost/libs/filesystem/src/ |
D | directory.cpp | 92 if (status_known(m_symlink_status) && !is_symlink(m_symlink_status)) in get_status() 745 …nsigned int >(directory_options::follow_directory_symlink)) != 0u || !fs::is_symlink(symlink_stat)) in recursive_directory_iterator_push_directory() 750 …if (ec == make_error_condition(system::errc::no_such_file_or_directory) && fs::is_symlink(symlink_… in recursive_directory_iterator_push_directory()
|
D | operations.cpp | 909 bool is_sym (is_symlink(detail::symlink_status(result, ec))); in canonical() 978 if (is_symlink(from_stat)) in copy() 2198 if (is_symlink(status)) in space()
|
/third_party/glib/gio/tests/ |
D | live-g-file.c | 388 gboolean is_symlink; in test_attributes() local 457 is_symlink = g_file_info_get_is_symlink (info); in test_attributes() 458 g_assert_cmpint (is_symlink, ==, in test_attributes()
|
/third_party/python/Lib/test/ |
D | test_pathlib.py | 2270 self.assertFalse((P / 'fileA').is_symlink()) 2271 self.assertFalse((P / 'dirA').is_symlink()) 2272 self.assertFalse((P / 'non-existing').is_symlink()) 2273 self.assertFalse((P / 'fileA' / 'bah').is_symlink()) 2275 self.assertTrue((P / 'linkA').is_symlink()) 2276 self.assertTrue((P / 'linkB').is_symlink()) 2277 self.assertTrue((P/ 'brokenLink').is_symlink()) 2610 f.is_symlink()
|
D | test_os.py | 4130 def check_entry(self, entry, name, is_dir, is_file, is_symlink): argument 4142 self.assertEqual(entry.is_symlink(), 4153 os.name == 'nt' and not is_symlink) 4253 self.assertFalse(entry.is_symlink()) 4272 self.assertFalse(entry.is_symlink()) 4299 self.assertTrue(entry.is_symlink()) 4352 self.assertEqual(entry.is_symlink(), entry.name == 'link')
|
/third_party/python/Doc/library/ |
D | pathlib.rst | 689 :meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, 855 .. method:: Path.is_symlink() 1263 :func:`os.path.islink` :meth:`Path.is_symlink`
|
D | os.rst | 2550 .. method:: is_symlink() 2589 meaning, as do the ``is_dir()``, ``is_file()``, ``is_symlink()``
|
/third_party/python/Modules/ |
D | posixmodule.c | 13591 int is_symlink; in DirEntry_test_mode() local 13599 is_symlink = (self->win32_lstat.st_mode & S_IFMT) == S_IFLNK; in DirEntry_test_mode() 13600 need_stat = follow_symlinks && is_symlink; in DirEntry_test_mode() 13602 is_symlink = self->d_type == DT_LNK; in DirEntry_test_mode() 13603 need_stat = self->d_type == DT_UNKNOWN || (follow_symlinks && is_symlink); in DirEntry_test_mode() 13632 else if (is_symlink) { in DirEntry_test_mode()
|
/third_party/python/Doc/whatsnew/ |
D | 3.8.rst | 1080 :meth:`~pathlib.Path.is_symlink()`, :meth:`~pathlib.Path.is_block_device()`,
|