Lines Matching +refs:po +refs:consider +refs:source +refs:path
260 * testsuite/27_io/filesystem/path/concat/strings.cc: Test more cases.
263 * src/c++17/fs_path.cc (filesystem::path::operator+=(const path&)):
265 * testsuite/27_io/filesystem/path/concat/92853.cc: New test.
266 * testsuite/27_io/filesystem/path/concat/path.cc: Test more cases.
439 * include/bits/fs_path.h (path::operator/=): Change template-head to
441 * include/experimental/bits/fs_path.h (path::operator/=): Likewise.
453 * testsuite/27_io/filesystem/path/factory/u8path-char8_t.cc: New test
455 * testsuite/experimental/filesystem/path/factory/u8path-char8_t.cc:
461 * testsuite/27_io/filesystem/path/factory/u8path.cc: Added testing of
464 * testsuite/experimental/filesystem/path/factory/u8path.cc: Added
479 Decouple constraints for u8path from path constructors
481 std::filesystem::path into a detail namespace to make them
484 of std::experimental::filesystem::v1::path into a detail
693 (path::_Parser::root_path()): Use is_disk_designator.
694 (path::lexically_relative(const path&)): Implement resolution of
696 * testsuite/27_io/filesystem/path/generation/relative.cc: Check with
697 path components that look like a root-name.
1491 (dynamic_bitset(dynamic_bitset&&)): Clear source object after move.
2722 * include/bits/fs_path.h (path::__is_encoded_char): Use __is_one_of.
2858 PR libstdc++/90281 Fix string conversions for filesystem::path
2864 (path::_Cvt<char8_t>): Add explicit specialization.
2865 [_GLIBCXX_FILESYSTEM_IS_WINDOWS] (path::_Cvt::_S_wconvert): Remove
2867 [_GLIBCXX_FILESYSTEM_IS_WINDOWS] (path::_Cvt::_S_convert): Use
2871 [!_GLIBCXX_FILESYSTEM_IS_WINDOWS] (path::_Cvt::_S_convert): Use
2873 (path::_S_str_convert) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use
2877 (path::_S_str_convert): Use codecvt instead of codecvt_utf8. Use
2879 (path::string): Fix initialization of string types with different
2881 (path::u8string) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use
2889 [_GLIBCXX_FILESYSTEM_IS_WINDOWS] (path::_Cvt::_S_wconvert): Add
2893 [!_GLIBCXX_FILESYSTEM_IS_WINDOWS] (path::_Cvt::_S_convert): Use
2895 (path::string) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use
2898 (path::string) [!_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use
2900 (path::u8string) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use
2902 * src/c++17/fs_path.cc (path::_S_convert_loc): Use
2904 * src/filesystem/path.cc (path::_S_convert_loc): Likewise.
2905 * testsuite/27_io/filesystem/path/construct/90281.cc: New test.
2906 * testsuite/27_io/filesystem/path/factory/u8path.cc: New test.
2907 * testsuite/27_io/filesystem/path/native/string.cc: Test with empty
2910 * testsuite/27_io/filesystem/path/native/alloc.cc: New test.
2911 * testsuite/experimental/filesystem/path/construct/90281.cc: New test.
2912 * testsuite/experimental/filesystem/path/factory/u8path.cc: New test.
2913 * testsuite/experimental/filesystem/path/native/alloc.cc: New test.
2914 * testsuite/experimental/filesystem/path/native/string.cc: Test with
3528 (status(const path&, error_code&)): Use parent_path() to remove
3530 (symlink_status(const path&, error_code&)): Duplicate workaround for
3532 * testsuite/27_io/filesystem/operations/remove_all.cc: Check path
3537 * src/c++17/fs_path.cc (path::parent_path()): Create whole path at
3586 * include/experimental/bits/fs_path.h (path::path(path&&)): Only call
3587 _M_split_cmpts() for a path with multiple components.
3588 (path::_S_is_dir_sep()): Add missing 'static' keyword to function.
3589 * src/filesystem/path.cc (path::_M_split_cmpts()): Count number of
3592 * testsuite/27_io/filesystem/path/construct/90634.cc: New test.
3593 * testsuite/experimental/filesystem/path/construct/90634.cc: New test.
3678 * src/c++17/fs_path.cc (path::_List::operator=(const _List&)): Fix
3680 * testsuite/27_io/filesystem/path/assign/copy.cc: Check that source
3683 compare path components.
3906 * src/c++17/fs_ops.cc (absolute(const path&, error_code&))
4065 function to only consider implicit conversions.
4147 PR libstdc++/90454.cc path construction from void*
4148 * include/bits/fs_path.h (path::_Path): Use remove_pointer so that
4150 * include/experimental/bits/fs_path.h (path::_Path): Likewise.
4151 * testsuite/27_io/filesystem/path/construct/80762.cc: Also check
4153 * testsuite/experimental/filesystem/path/construct/80762.cc: Likewise.
4483 * src/c++17/fs_ops.cc (absolute(const path&)): Report an error if the
4484 argument is an empty path.
4485 (absolute(const path&, error_code&)): Use invalid_argument as error
4643 (path, filesystem_error, u8path): Improve docs.
4731 * testsuite/27_io/filesystem/path/decompose/root_path.cc: Remove
4733 * testsuite/27_io/filesystem/path/native/string-char8_t.cc: Remove
4735 * testsuite/experimental/filesystem/path/native/string-char8_t.cc:
4802 (path::_S_convert_loc<_InputIterator>): Create const std::string to
4814 * include/bits/fs_path.h (path::_S_convert_loc<_InputIterator>):
4862 * testsuite/27_io/filesystem/path/native/string-char8_t.cc: Fix
4864 * testsuite/27_io/filesystem/path/native/string.cc: Likewise.
5252 * include/bits/fs_path.h (path::operator=(path&&)): Check for self
5254 * src/c++17/fs_path.cc (path::operator=(const path&)): Likewise.
5255 * testsuite/27_io/filesystem/path/assign/copy.cc: Test self
5629 * include/bits/fs_path.h (path::format): Add fixed underlying type.
5831 paths. Add path used by suse to hardcoded paths. Adjust xsltproc
5840 * po/Makefile.in: Likewise.
6095 * testsuite/27_io/filesystem/path/native/string-char8_t.cc: New
6096 test cloned from string.cc; validates filesystem::path construction
6101 * testsuite/experimental/filesystem/path/native/string-char8_t.cc:
6102 New test cloned from string.cc; validates filesystem::path
6140 * include/bits/fs_path.h: (path::__is_encoded_char): Recognize
6142 (path::u8string): Return std::u8string when char8_t support is
6144 (path::generic_u8string): Likewise.
6145 (path::_S_convert): Handle conversion from char8_t input.
6146 (path::_S_str_convert): Likewise.
6161 * include/experimental/bits/fs_path.h (path::__is_encoded_char):
6163 (path::u8string): Return std::u8string when char8_t support is
6165 (path::generic_u8string): Likewise.
6166 (path::_S_convert): Handle conversion from char8_t input.
6167 (path::_S_str_convert): Likewise.
6207 * 27_io/filesystem/path/generation/normal2.cc: Likewise.
6276 * include/bits/fs_path.h (path::has_root_name)
6277 (path::has_root_directory, path::has_root_path)
6278 (path::has_relative_path, path::has_parent_path)
6279 (path::has_filename, path::has_stem, path::has_extension)
6280 (path::is_absolute, path::is_relative, path::_M_find_extension): Add
6282 * src/c++17/fs_path.cc (path::has_root_name)
6283 (path::has_root_directory, path::has_root_path)
6284 (path::has_relative_path, path::has_parent_path)
6285 (path::has_filename, path::_M_find_extension): Add noexcept.
6357 * src/c++17/fs_path.cc (path::replace_extension): Erase extension from
6360 (path::_M_find_extension): Reformat slightly.
6361 * testsuite/27_io/filesystem/path/modifiers/replace_extension.cc:
6416 * testsuite/27_io/filesystem/path/compare/strings.cc: Only compare
6553 (equivalent(const path&, const path&, error_code&))
6558 * src/c++17/fs_ops.cc (absolute(const path&, error_code&)): Do nothing
6559 if the path is already absolute.
6564 * src/c++17/fs_ops.cc (canonical(const path&, error_code&))
6565 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Normalize path, to match behaviour
6567 (create_directories(const path&, error_code&)): Add assertions.
6568 (status(const path&, error_code&)) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]:
6582 filesystem::path members to match wstring_view parameters. Add
6584 * src/c++17/fs_ops.cc (remove(const path&, error_code&)): Clear the
6586 * src/filesystem/ops.cc (remove(const path&, error_code&)):
6589 values for mingw targets, where "/" is not an absolute path. Do not
6596 that each component of the path is created.
6669 * src/filesystem/path.cc: Fix typo. If first path is empty, show []
6670 before second path.
6764 of the source file containing the caller.
6793 for filesystem::path. Give variables more distinctive names.
6814 to become valueless. Add filesystem::path tests.
6910 path to dir-common.h.
6912 path to ops-common.h. Disable -Wunused-parameter warnings.
6979 (GLIBCXX_3.4.26): Export symbols for std::filesystem::path.
6982 * src/c++17/cow-fs_path.cc: Move src/filesystem/cow-std-path.cc to
6984 * src/c++17/fs_path.cc: Move src/filesystem/std-path.cc to here.
6985 * src/filesystem/Makefile.am: Remove std-path.cc and cow-std-path.cc
6988 * src/filesystem/cow-std-path.cc: Move to src/c++17/cow-fs_path.cc.
6989 * src/filesystem/std-path.cc: Move to src/c++17/fs_path.cc.
6990 * testsuite/27_io/filesystem/path/append/path.cc: Remove -lstdc++fs
6992 * testsuite/27_io/filesystem/path/append/source.cc: Likewise.
6993 * testsuite/27_io/filesystem/path/assign/assign.cc: Likewise.
6994 * testsuite/27_io/filesystem/path/assign/copy.cc: Likewise.
6995 * testsuite/27_io/filesystem/path/compare/compare.cc: Likewise.
6996 * testsuite/27_io/filesystem/path/compare/lwg2936.cc: Likewise.
6997 * testsuite/27_io/filesystem/path/compare/path.cc: Likewise.
6998 * testsuite/27_io/filesystem/path/compare/strings.cc: Likewise.
6999 * testsuite/27_io/filesystem/path/concat/path.cc: Likewise.
7000 * testsuite/27_io/filesystem/path/concat/strings.cc: Likewise.
7001 * testsuite/27_io/filesystem/path/construct/80762.cc: Likewise.
7002 * testsuite/27_io/filesystem/path/construct/copy.cc: Likewise.
7003 * testsuite/27_io/filesystem/path/construct/default.cc: Likewise.
7004 * testsuite/27_io/filesystem/path/construct/format.cc: Likewise.
7005 * testsuite/27_io/filesystem/path/construct/locale.cc: Likewise.
7006 * testsuite/27_io/filesystem/path/construct/range.cc: Likewise.
7007 * testsuite/27_io/filesystem/path/construct/string_view.cc: Likewise.
7008 * testsuite/27_io/filesystem/path/decompose/extension.cc: Likewise.
7009 * testsuite/27_io/filesystem/path/decompose/filename.cc: Likewise.
7010 * testsuite/27_io/filesystem/path/decompose/parent_path.cc: Likewise.
7011 * testsuite/27_io/filesystem/path/decompose/relative_path.cc: Likewise.
7012 * testsuite/27_io/filesystem/path/decompose/root_directory.cc:
7014 * testsuite/27_io/filesystem/path/decompose/root_name.cc: Likewise.
7015 * testsuite/27_io/filesystem/path/decompose/root_path.cc: Likewise.
7016 * testsuite/27_io/filesystem/path/decompose/stem.cc: Likewise.
7017 * testsuite/27_io/filesystem/path/generation/normal.cc: Likewise.
7018 * testsuite/27_io/filesystem/path/generation/normal2.cc: Likewise.
7019 * testsuite/27_io/filesystem/path/generation/proximate.cc: Likewise.
7020 * testsuite/27_io/filesystem/path/generation/relative.cc: Likewise.
7021 * testsuite/27_io/filesystem/path/generic/generic_string.cc: Likewise.
7022 * testsuite/27_io/filesystem/path/itr/components.cc: Likewise.
7023 * testsuite/27_io/filesystem/path/itr/traversal.cc: Likewise.
7024 * testsuite/27_io/filesystem/path/modifiers/clear.cc: Likewise.
7025 * testsuite/27_io/filesystem/path/modifiers/make_preferred.cc:
7027 * testsuite/27_io/filesystem/path/modifiers/remove_filename.cc:
7029 * testsuite/27_io/filesystem/path/modifiers/replace_extension.cc:
7031 * testsuite/27_io/filesystem/path/modifiers/replace_filename.cc:
7033 * testsuite/27_io/filesystem/path/modifiers/swap.cc: Likewise.
7034 * testsuite/27_io/filesystem/path/native/string.cc: Likewise.
7035 * testsuite/27_io/filesystem/path/nonmember/append.cc: Likewise.
7036 * testsuite/27_io/filesystem/path/nonmember/hash_value.cc: Likewise.
7037 * testsuite/27_io/filesystem/path/query/empty.cc: Likewise.
7038 * testsuite/27_io/filesystem/path/query/has_extension.cc: Likewise.
7039 * testsuite/27_io/filesystem/path/query/has_filename.cc: Likewise.
7040 * testsuite/27_io/filesystem/path/query/has_parent_path.cc: Likewise.
7041 * testsuite/27_io/filesystem/path/query/has_relative_path.cc: Likewise.
7042 * testsuite/27_io/filesystem/path/query/has_root_directory.cc:
7044 * testsuite/27_io/filesystem/path/query/has_root_name.cc: Likewise.
7045 * testsuite/27_io/filesystem/path/query/has_root_path.cc: Likewise.
7046 * testsuite/27_io/filesystem/path/query/has_stem.cc: Likewise.
7047 * testsuite/27_io/filesystem/path/query/is_absolute.cc: Likewise.
7048 * testsuite/27_io/filesystem/path/query/is_relative.cc: Likewise.
7081 (last_write_time(const path&, error_code&)): Likewise.
7082 (last_write_time(const path&, file_time_type, error_code&)): Likewise.
7096 * src/c++17/Makefile.am: Add new source files.
7133 * include/bits/fs_path.h (path::_List::erase): Replace both overloads
7135 (path::pop_back(), path::_M_erase_from(const_iterator)): New member
7137 * src/filesystem/std-path.cc (path::_List::_Impl::pop_back()): Define.
7138 (path::_List::_Impl::_M_erase_from(const_iterator)): Define.
7139 (path::_List::operator=(const _List&)): Use _M_erase_from(p) instead
7141 (path::_List::pop_back()): Define.
7142 (path::_List::_M_erase_from(const_iterator)): Define.
7143 (path::operator/=(const path&)): Use pop_back to remove last component
7145 (path::_M_append(basic_string_view<value_type>)): Likewise.
7146 (path::operator+=(const path&)): Likewise.
7147 (path::_M_concat(basic_string_view<value_type>)): Likewise.
7148 (path::remove_filename()): Likewise.
7149 (path::lexically_normal()): Use _List::_Impl iterators instead of
7150 path::iterator. Use pop_back to remove components from the end. Clear
7153 * testsuite/27_io/filesystem/path/generation/normal.cc: Test
7155 * testsuite/27_io/filesystem/path/generation/normal2.cc: New test.
7157 * src/filesystem/std-path.cc (path::operator+=(const path&)): Fix
7159 * testsuite/27_io/filesystem/path/concat/path.cc: Test problem case.