Lines Matching refs:__p
520 void permissions(perms __p) noexcept { __prms_ = __p; }
762 _LIBCPP_INLINE_VISIBILITY path(const path& __p) : __pn_(__p.__pn_) {}
763 _LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
764 : __pn_(_VSTD::move(__p.__pn_)) {}
793 path& operator=(const path& __p) {
794 __pn_ = __p.__pn_;
799 path& operator=(path&& __p) noexcept {
800 __pn_ = _VSTD::move(__p.__pn_);
845 path& operator/=(const path& __p) {
846 if (__p.is_absolute()) {
847 __pn_ = __p.__pn_;
852 __pn_ += __p.native();
1036 _LIBCPP_INLINE_VISIBILITY int compare(const path& __p) const noexcept {
1037 return __compare(__p.__pn_);
1130 operator<<(basic_ostream<_CharT, _Traits>& __os, const path& __p) {
1131 __os << std::__quoted(__p.native());
1140 operator<<(basic_ostream<_CharT, _Traits>& __os, const path& __p) {
1141 __os << std::__quoted(__p.string<_CharT, _Traits>());
1147 operator>>(basic_istream<_CharT, _Traits>& __is, path& __p) {
1150 __p = __tmp;
1193 size_t hash_value(const path& __p) noexcept;
1451 path __weakly_canonical(path const& __p, error_code* __ec = nullptr);
1461 inline _LIBCPP_INLINE_VISIBILITY void current_path(const path& __p) {
1462 __current_path(__p);
1465 inline _LIBCPP_INLINE_VISIBILITY void current_path(const path& __p,
1467 __current_path(__p, &__ec);
1470 inline _LIBCPP_INLINE_VISIBILITY path absolute(const path& __p) {
1471 return __absolute(__p);
1474 inline _LIBCPP_INLINE_VISIBILITY path absolute(const path& __p,
1476 return __absolute(__p, &__ec);
1479 inline _LIBCPP_INLINE_VISIBILITY path canonical(const path& __p) {
1480 return __canonical(__p);
1483 inline _LIBCPP_INLINE_VISIBILITY path canonical(const path& __p,
1485 return __canonical(__p, &__ec);
1541 inline _LIBCPP_INLINE_VISIBILITY bool create_directories(const path& __p) {
1542 return __create_directories(__p);
1545 inline _LIBCPP_INLINE_VISIBILITY bool create_directories(const path& __p,
1547 return __create_directories(__p, &__ec);
1550 inline _LIBCPP_INLINE_VISIBILITY bool create_directory(const path& __p) {
1551 return __create_directory(__p);
1555 create_directory(const path& __p, error_code& __ec) noexcept {
1556 return __create_directory(__p, &__ec);
1559 inline _LIBCPP_INLINE_VISIBILITY bool create_directory(const path& __p,
1561 return __create_directory(__p, __attrs);
1565 create_directory(const path& __p, const path& __attrs,
1567 return __create_directory(__p, __attrs, &__ec);
1610 inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
1611 return exists(__status(__p));
1614 inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p,
1616 auto __s = __status(__p, &__ec);
1632 inline _LIBCPP_INLINE_VISIBILITY uintmax_t file_size(const path& __p) {
1633 return __file_size(__p);
1637 file_size(const path& __p, error_code& __ec) noexcept {
1638 return __file_size(__p, &__ec);
1641 inline _LIBCPP_INLINE_VISIBILITY uintmax_t hard_link_count(const path& __p) {
1642 return __hard_link_count(__p);
1646 hard_link_count(const path& __p, error_code& __ec) noexcept {
1647 return __hard_link_count(__p, &__ec);
1654 inline _LIBCPP_INLINE_VISIBILITY bool is_block_file(const path& __p) {
1655 return is_block_file(__status(__p));
1658 inline _LIBCPP_INLINE_VISIBILITY bool is_block_file(const path& __p,
1660 return is_block_file(__status(__p, &__ec));
1668 inline _LIBCPP_INLINE_VISIBILITY bool is_character_file(const path& __p) {
1669 return is_character_file(__status(__p));
1673 is_character_file(const path& __p, error_code& __ec) noexcept {
1674 return is_character_file(__status(__p, &__ec));
1681 inline _LIBCPP_INLINE_VISIBILITY bool is_directory(const path& __p) {
1682 return is_directory(__status(__p));
1685 inline _LIBCPP_INLINE_VISIBILITY bool is_directory(const path& __p,
1687 return is_directory(__status(__p, &__ec));
1690 inline _LIBCPP_INLINE_VISIBILITY bool is_empty(const path& __p) {
1691 return __fs_is_empty(__p);
1694 inline _LIBCPP_INLINE_VISIBILITY bool is_empty(const path& __p,
1696 return __fs_is_empty(__p, &__ec);
1702 inline _LIBCPP_INLINE_VISIBILITY bool is_fifo(const path& __p) {
1703 return is_fifo(__status(__p));
1706 inline _LIBCPP_INLINE_VISIBILITY bool is_fifo(const path& __p,
1708 return is_fifo(__status(__p, &__ec));
1716 inline _LIBCPP_INLINE_VISIBILITY bool is_regular_file(const path& __p) {
1717 return is_regular_file(__status(__p));
1721 is_regular_file(const path& __p, error_code& __ec) noexcept {
1722 return is_regular_file(__status(__p, &__ec));
1729 inline _LIBCPP_INLINE_VISIBILITY bool is_socket(const path& __p) {
1730 return is_socket(__status(__p));
1733 inline _LIBCPP_INLINE_VISIBILITY bool is_socket(const path& __p,
1735 return is_socket(__status(__p, &__ec));
1742 inline _LIBCPP_INLINE_VISIBILITY bool is_symlink(const path& __p) {
1743 return is_symlink(__symlink_status(__p));
1746 inline _LIBCPP_INLINE_VISIBILITY bool is_symlink(const path& __p,
1748 return is_symlink(__symlink_status(__p, &__ec));
1756 inline _LIBCPP_INLINE_VISIBILITY bool is_other(const path& __p) {
1757 return is_other(__status(__p));
1760 inline _LIBCPP_INLINE_VISIBILITY bool is_other(const path& __p,
1762 return is_other(__status(__p, &__ec));
1766 last_write_time(const path& __p) {
1767 return __last_write_time(__p);
1771 last_write_time(const path& __p, error_code& __ec) noexcept {
1772 return __last_write_time(__p, &__ec);
1775 inline _LIBCPP_INLINE_VISIBILITY void last_write_time(const path& __p,
1777 __last_write_time(__p, __t);
1781 last_write_time(const path& __p, file_time_type __t,
1783 __last_write_time(__p, __t, &__ec);
1787 permissions(const path& __p, perms __prms,
1789 __permissions(__p, __prms, __opts);
1792 inline _LIBCPP_INLINE_VISIBILITY void permissions(const path& __p, perms __prms,
1794 __permissions(__p, __prms, perm_options::replace, &__ec);
1797 inline _LIBCPP_INLINE_VISIBILITY void permissions(const path& __p, perms __prms,
1800 __permissions(__p, __prms, __opts, &__ec);
1803 inline _LIBCPP_INLINE_VISIBILITY path proximate(const path& __p,
1806 path __tmp = __weakly_canonical(__p, &__ec);
1815 inline _LIBCPP_INLINE_VISIBILITY path proximate(const path& __p,
1817 return proximate(__p, current_path(), __ec);
1821 proximate(const path& __p, const path& __base = current_path()) {
1822 return __weakly_canonical(__p).lexically_proximate(
1826 inline _LIBCPP_INLINE_VISIBILITY path read_symlink(const path& __p) {
1827 return __read_symlink(__p);
1830 inline _LIBCPP_INLINE_VISIBILITY path read_symlink(const path& __p,
1832 return __read_symlink(__p, &__ec);
1835 inline _LIBCPP_INLINE_VISIBILITY path relative(const path& __p,
1838 path __tmp = __weakly_canonical(__p, &__ec);
1847 inline _LIBCPP_INLINE_VISIBILITY path relative(const path& __p,
1849 return relative(__p, current_path(), __ec);
1853 relative(const path& __p, const path& __base = current_path()) {
1854 return __weakly_canonical(__p).lexically_relative(__weakly_canonical(__base));
1857 inline _LIBCPP_INLINE_VISIBILITY bool remove(const path& __p) {
1858 return __remove(__p);
1861 inline _LIBCPP_INLINE_VISIBILITY bool remove(const path& __p,
1863 return __remove(__p, &__ec);
1866 inline _LIBCPP_INLINE_VISIBILITY uintmax_t remove_all(const path& __p) {
1867 return __remove_all(__p);
1870 inline _LIBCPP_INLINE_VISIBILITY uintmax_t remove_all(const path& __p,
1872 return __remove_all(__p, &__ec);
1885 inline _LIBCPP_INLINE_VISIBILITY void resize_file(const path& __p,
1887 return __resize_file(__p, __ns);
1891 resize_file(const path& __p, uintmax_t __ns, error_code& __ec) noexcept {
1892 return __resize_file(__p, __ns, &__ec);
1895 inline _LIBCPP_INLINE_VISIBILITY space_info space(const path& __p) {
1896 return __space(__p);
1899 inline _LIBCPP_INLINE_VISIBILITY space_info space(const path& __p,
1901 return __space(__p, &__ec);
1904 inline _LIBCPP_INLINE_VISIBILITY file_status status(const path& __p) {
1905 return __status(__p);
1908 inline _LIBCPP_INLINE_VISIBILITY file_status status(const path& __p,
1910 return __status(__p, &__ec);
1913 inline _LIBCPP_INLINE_VISIBILITY file_status symlink_status(const path& __p) {
1914 return __symlink_status(__p);
1918 symlink_status(const path& __p, error_code& __ec) noexcept {
1919 return __symlink_status(__p, &__ec);
1930 inline _LIBCPP_INLINE_VISIBILITY path weakly_canonical(path const& __p) {
1931 return __weakly_canonical(__p);
1934 inline _LIBCPP_INLINE_VISIBILITY path weakly_canonical(path const& __p,
1936 return __weakly_canonical(__p, &__ec);
1953 explicit directory_entry(_Path const& __p) : __p_(__p) {
1959 directory_entry(_Path const& __p, error_code& __ec) : __p_(__p) {
1969 void assign(_Path const& __p) {
1970 __p_ = __p;
1976 void assign(_Path const& __p, error_code& __ec) {
1977 __p_ = __p;
1982 void replace_filename(_Path const& __p) {
1983 __p_.replace_filename(__p);
1989 void replace_filename(_Path const& __p, error_code& __ec) {
1990 __p_ = __p_.parent_path() / __p;
2201 void __assign_iter_entry(_Path&& __p, __cached_data __dt) {
2202 __p_ = std::move(__p);
2413 explicit directory_iterator(const path& __p)
2414 : directory_iterator(__p, nullptr) {}
2416 directory_iterator(const path& __p, directory_options __opts)
2417 : directory_iterator(__p, nullptr, __opts) {}
2419 directory_iterator(const path& __p, error_code& __ec)
2420 : directory_iterator(__p, &__ec) {}
2422 directory_iterator(const path& __p, directory_options __opts,
2424 : directory_iterator(__p, &__ec, __opts) {}
2450 __dir_element_proxy __p(**this);
2452 return __p;
2515 const path& __p, directory_options __xoptions = directory_options::none)
2516 : recursive_directory_iterator(__p, __xoptions, nullptr) {}
2519 recursive_directory_iterator(const path& __p, directory_options __xoptions,
2521 : recursive_directory_iterator(__p, __xoptions, &__ec) {}
2524 recursive_directory_iterator(const path& __p, error_code& __ec)
2525 : recursive_directory_iterator(__p, directory_options::none, &__ec) {}
2556 __dir_element_proxy __p(**this);
2558 return __p;
2582 recursive_directory_iterator(const path& __p, directory_options __opt,