Home
last modified time | relevance | path

Searched refs:copy_options (Results 1 – 21 of 21) sorted by relevance

/external/cronet/buildtools/third_party/libc++/trunk/include/__filesystem/
Dcopy_options.h26 enum class _LIBCPP_ENUM_VIS copy_options : unsigned short { enum
41 inline constexpr copy_options operator&(copy_options __lhs, copy_options __rhs) {
42 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) &
47 inline constexpr copy_options operator|(copy_options __lhs, copy_options __rhs) {
48 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) |
53 inline constexpr copy_options operator^(copy_options __lhs, copy_options __rhs) {
54 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) ^
59 inline constexpr copy_options operator~(copy_options __lhs) {
60 return static_cast<copy_options>(~static_cast<unsigned short>(__lhs));
64 inline copy_options& operator&=(copy_options& __lhs, copy_options __rhs) {
[all …]
Doperations.h39 _LIBCPP_FUNC_VIS bool __copy_file(const path& __from, const path& __to, copy_options __opt, error_c…
41 _LIBCPP_FUNC_VIS void __copy(const path& __from, const path& __to, copy_options __opt, error_code* …
69 …ile(const path& __from, const path& __to) { return __copy_file(__from, __to, copy_options::none); } in copy_file()
70 …onst path& __to, error_code& __ec) { return __copy_file(__from, __to, copy_options::none, &__ec); } in copy_file()
71 inline _LIBCPP_HIDE_FROM_ABI bool copy_file(const path& __from, const path& __to, copy_options __op… in copy_file()
72 inline _LIBCPP_HIDE_FROM_ABI bool copy_file(const path& __from, const path& __to, copy_options __op… in copy_file()
75 …M_ABI void copy(const path& __from, const path& __to) { __copy(__from, __to, copy_options::none); } in copy()
76 …h& __from, const path& __to, error_code& __ec) { __copy(__from, __to, copy_options::none, &__ec); } in copy()
77 inline _LIBCPP_HIDE_FROM_ABI void copy(const path& __from, const path& __to, copy_options __opt) { … in copy()
78 inline _LIBCPP_HIDE_FROM_ABI void copy(const path& __from, const path& __to, copy_options __opt, er… in copy()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file.pass.cpp33 using CO = fs::copy_options;
40 const copy_options opts{}; in TEST_CASE()
64 TEST_CHECK(fs::copy_file(file, file, copy_options::overwrite_existing, in TEST_CASE()
68 …TEST_CHECK_THROW_RESULT(filesystem_error, Checker, copy_file(file, file, copy_options::overwrite_e… in TEST_CASE()
76 …TEST_CHECK_THROW_RESULT(filesystem_error, Checker, copy_file(file, file, copy_options::overwrite_e… in TEST_CASE()
95 TEST_REQUIRE(fs::copy_file(file, fifo, copy_options::overwrite_existing, in TEST_CASE()
151 TEST_REQUIRE(fs::copy_file(file, dest, copy_options::overwrite_existing, in TEST_CASE()
169 fs::copy_file(from, older, copy_options::update_existing, ec) == true); in TEST_CASE()
174 fs::copy_file(from, newer, copy_options::update_existing, ec) == false); in TEST_CASE()
181 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == in TEST_CASE()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file.pass.cpp34 using CO = fs::copy_options;
39 const copy_options opts{}; in test_signatures()
61 assert(fs::copy_file(file, file, copy_options::overwrite_existing, in test_error_reporting()
65 …TEST_VALIDATE_EXCEPTION(filesystem_error, Checker, copy_file(file, file, copy_options::overwrite_e… in test_error_reporting()
73 …TEST_VALIDATE_EXCEPTION(filesystem_error, Checker, copy_file(file, file, copy_options::overwrite_e… in test_error_reporting()
93 assert(fs::copy_file(file, fifo, copy_options::overwrite_existing, in non_regular_file_test()
150 assert(fs::copy_file(file, dest, copy_options::overwrite_existing, in copy_file()
168 fs::copy_file(from, older, copy_options::update_existing, ec) == true); in copy_file()
173 fs::copy_file(from, newer, copy_options::update_existing, ec) == false); in copy_file()
180 assert(fs::copy_file(file, file2, copy_options::skip_existing, ec) == in copy_file()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp29 using CO = fs::copy_options;
35 const copy_options opts{}; ((void)opts); in signature_test()
125 fs::copy(symlink, dne, copy_options::skip_symlinks, ec); in from_is_symlink()
132 fs::copy(symlink, dest, copy_options::copy_symlinks, ec); in from_is_symlink()
139 fs::copy(symlink, file, copy_options::copy_symlinks, ec); in from_is_symlink()
145 fs::copy(symlink, file, copy_options::create_symlinks, ec); in from_is_symlink()
272 fs::copy(file1, dir_sym, copy_options::copy_symlinks, ec); in test_copy_symlinks_to_symlink_dir()
289 fs::copy(dir, dest, copy_options::create_symlinks, ec); in test_dir_create_symlink()
296 fs::copy(dir, dest, copy_options::create_symlinks|copy_options::recursive, ec); in test_dir_create_symlink()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp31 using CO = fs::copy_options;
39 const copy_options opts{}; ((void)opts); in TEST_CASE()
124 fs::copy(symlink, dne, copy_options::skip_symlinks, ec); in TEST_CASE()
131 fs::copy(symlink, dest, copy_options::copy_symlinks, ec); in TEST_CASE()
138 fs::copy(symlink, file, copy_options::copy_symlinks, ec); in TEST_CASE()
144 fs::copy(symlink, file, copy_options::create_symlinks, ec); in TEST_CASE()
271 fs::copy(file1, dir_sym, copy_options::copy_symlinks, ec); in TEST_CASE()
288 fs::copy(dir, dest, copy_options::create_symlinks, ec); in TEST_CASE()
295 fs::copy(dir, dest, copy_options::create_symlinks|copy_options::recursive, ec); in TEST_CASE()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.enum/
Denum.copy_options.pass.cpp23 constexpr fs::copy_options ME(int val) { return static_cast<fs::copy_options>(val); } in ME()
26 typedef fs::copy_options E; in main()
/external/libcxx/test/std/input.output/filesystems/fs.enum/
Denum.copy_options.pass.cpp24 constexpr fs::copy_options ME(int val) { return static_cast<fs::copy_options>(val); } in ME()
27 typedef fs::copy_options E; in main()
/external/libcxx/include/
Dfilesystem72 enum class copy_options;
87 void copy(const path& from, const path& to, copy_options options);
88 void copy(const path& from, const path& to, copy_options options,
93 bool copy_file(const path& from, const path& to, copy_options option);
94 bool copy_file(const path& from, const path& to, copy_options option,
387 enum class _LIBCPP_ENUM_VIS copy_options : unsigned short {
402 inline constexpr copy_options operator&(copy_options _LHS, copy_options _RHS) {
403 return static_cast<copy_options>(static_cast<unsigned short>(_LHS) &
408 inline constexpr copy_options operator|(copy_options _LHS, copy_options _RHS) {
409 return static_cast<copy_options>(static_cast<unsigned short>(_LHS) |
[all …]
/external/libcxx/src/filesystem/
Doperations.cpp552 void __copy(const path& from, const path& to, copy_options options, in __copy()
557 options & (copy_options::create_symlinks | copy_options::skip_symlinks)); in __copy()
559 const bool sym_status2 = bool(options & copy_options::copy_symlinks); in __copy()
586 if (bool(copy_options::skip_symlinks & options)) { in __copy()
595 if (bool(copy_options::directories_only & options)) { in __copy()
597 } else if (bool(copy_options::create_symlinks & options)) { in __copy()
599 } else if (bool(copy_options::create_hard_links & options)) { in __copy()
607 } else if (is_directory(f) && bool(copy_options::create_symlinks & options)) { in __copy()
609 } else if (is_directory(f) && (bool(copy_options::recursive & options) || in __copy()
610 copy_options::none == options)) { in __copy()
[all …]
/external/armnn/third-party/ghc/
Dfilesystem.hpp564 enum class copy_options : uint16_t { enum
827 GHC_FS_API void copy(const path& from, const path& to, copy_options options);
828 GHC_FS_API void copy(const path& from, const path& to, copy_options options, std::error_code& ec) n…
832 GHC_FS_API bool copy_file(const path& from, const path& to, copy_options option);
833 GHC_FS_API bool copy_file(const path& from, const path& to, copy_options option, std::error_code& e…
1163 …alue || std::is_same<Enum, perm_options>::value || std::is_same<Enum, copy_options>::value || std:…
3178 copy(from, to, copy_options::none); in copy()
3183 copy(from, to, copy_options::none, ec); in copy()
3186 GHC_INLINE void copy(const path& from, const path& to, copy_options options) in copy()
3195 GHC_INLINE void copy(const path& from, const path& to, copy_options options, std::error_code& ec) n… in copy()
[all …]
DREADME.md443 on GCC/Clang. They complain about a copy call with `fs::copy_options::recursive` combined
444 with `fs::copy_options::create_symlinks` or `fs::copy_options::create_hard_links` if the
450 But this makes `fs::copy` with `fs::copy_options::create_symlinks` or `fs::copy_options::create_har…
583 * Bugfix for #22, the `fs::copy_options` where not forwarded from `fs::copy` to
/external/libcxx/include/experimental/
Dfilesystem72 enum class copy_options;
87 void copy(const path& from, const path& to, copy_options options);
88 void copy(const path& from, const path& to, copy_options options,
93 bool copy_file(const path& from, const path& to, copy_options option);
94 bool copy_file(const path& from, const path& to, copy_options option,
/external/cronet/buildtools/third_party/libc++/trunk/src/filesystem/
Doperations.cpp730 void __copy(const path& from, const path& to, copy_options options, in __copy()
735 options & (copy_options::create_symlinks | copy_options::skip_symlinks)); in __copy()
737 const bool sym_status2 = bool(options & copy_options::copy_symlinks); in __copy()
764 if (bool(copy_options::skip_symlinks & options)) { in __copy()
773 if (bool(copy_options::directories_only & options)) { in __copy()
775 } else if (bool(copy_options::create_symlinks & options)) { in __copy()
777 } else if (bool(copy_options::create_hard_links & options)) { in __copy()
785 } else if (is_directory(f) && bool(copy_options::create_symlinks & options)) { in __copy()
787 } else if (is_directory(f) && (bool(copy_options::recursive & options) || in __copy()
788 copy_options::none == options)) { in __copy()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dfilesystem265 enum class copy_options;
280 void copy(const path& from, const path& to, copy_options options);
281 void copy(const path& from, const path& to, copy_options options,
286 bool copy_file(const path& from, const path& to, copy_options option);
287 bool copy_file(const path& from, const path& to, copy_options option,
437 #include <__filesystem/copy_options.h>
DCMakeLists.txt314 __filesystem/copy_options.h
Dmodule.modulemap.in871 module copy_options { private header "__filesystem/copy_options.h" }
/external/pigweed/pw_transfer/
Datomic_file_transfer_handler.cc45 std::filesystem::copy_options::overwrite_existing, in CopyFile()
/external/cronet/buildtools/third_party/libc++/trunk/utils/data/
Dignore_format.txt334 libcxx/include/__filesystem/copy_options.h
/external/trace-cmd/lib/trace-cmd/
Dtrace-input.c5173 static int copy_options(struct tracecmd_input *in_handle, struct tracecmd_output *out_handle) in copy_options() function
5244 if (copy_options(in_handle, out_handle) < 0) in tracecmd_copy_options()
/external/cronet/buildtools/third_party/libc++/trunk/docs/Status/
DCxx20Issues.csv62 "`3015 <https://wg21.link/LWG3015>`__","``copy_options::*unspecified*``\ underspecified","Jacksonv…