Home
last modified time | relevance | path

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

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy_file/
Dcopy_file.pass.cpp32 using CO = fs::copy_options;
39 const copy_options opts{}; ((void)opts); in TEST_CASE()
77 TEST_CHECK(fs::copy_file(file, file, copy_options::overwrite_existing, in TEST_CASE()
108 copy_options::overwrite_existing, ec) == true); in TEST_CASE()
123 TEST_REQUIRE(fs::copy_file(from, older, copy_options::update_existing, ec) == true); in TEST_CASE()
127 TEST_REQUIRE(fs::copy_file(from, newer, copy_options::update_existing, ec) == false); in TEST_CASE()
134 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == false); in TEST_CASE()
185 TEST_REQUIRE(fs::copy_file(file, fifo, copy_options::overwrite_existing, ec) == false); in TEST_CASE()
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp32 using CO = fs::copy_options;
40 const copy_options opts{}; ((void)opts); in TEST_CASE()
125 fs::copy(symlink, dne, copy_options::skip_symlinks, ec); in TEST_CASE()
132 fs::copy(symlink, dest, copy_options::copy_symlinks, ec); in TEST_CASE()
139 fs::copy(symlink, file, copy_options::copy_symlinks, ec); in TEST_CASE()
145 fs::copy(symlink, file, copy_options::create_symlinks, ec); in TEST_CASE()
272 fs::copy(file1, dir_sym, copy_options::copy_symlinks, ec); in TEST_CASE()
289 fs::copy(dir, dest, copy_options::create_symlinks, ec); in TEST_CASE()
296 fs::copy(dir, dest, copy_options::create_symlinks|copy_options::recursive, ec); in TEST_CASE()
/external/libcxx/test/std/experimental/filesystem/fs.enum/
Denum.copy_options.pass.cpp25 constexpr fs::copy_options ME(int val) { return static_cast<fs::copy_options>(val); } in ME()
28 typedef fs::copy_options E; in main()
/external/libcxx/src/experimental/filesystem/
Doperations.cpp203 void __copy(const path& from, const path& to, copy_options options, in __copy()
207 (copy_options::create_symlinks | copy_options::skip_symlinks)); in __copy()
210 copy_options::copy_symlinks); in __copy()
238 if (bool(copy_options::skip_symlinks & options)) { in __copy()
249 if (bool(copy_options::directories_only & options)) { in __copy()
252 else if (bool(copy_options::create_symlinks & options)) { in __copy()
255 else if (bool(copy_options::create_hard_links & options)) { in __copy()
265 else if (is_directory(f) && bool(copy_options::create_symlinks & options)) { in __copy()
268 else if (is_directory(f) && (bool(copy_options::recursive & options) || in __copy()
269 copy_options::none == options)) { in __copy()
[all …]
/external/libcxx/include/experimental/
Dfilesystem71 enum class copy_options;
86 void copy(const path& from, const path& to, copy_options options);
87 void copy(const path& from, const path& to, copy_options options,
92 bool copy_file(const path& from, const path& to, copy_options option);
93 bool copy_file(const path& from, const path& to, copy_options option,
327 enum class _LIBCPP_ENUM_VIS copy_options : unsigned short
343 inline _LIBCPP_CONSTEXPR copy_options operator&(copy_options _LHS, copy_options _RHS)
344 { return static_cast<copy_options>(static_cast<unsigned short>(_LHS) & static_cast<unsigned short>(…
347 inline _LIBCPP_CONSTEXPR copy_options operator|(copy_options _LHS, copy_options _RHS)
348 { return static_cast<copy_options>(static_cast<unsigned short>(_LHS) | static_cast<unsigned short>(…
[all …]
/external/dhcpcd-6.8.2/
Ddhcp.c2009 struct dhcp_message *dst, uint8_t *copy_options) in merge_option_values() argument
2038 !has_option_mask(copy_options, option)) in merge_option_values()