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()
104 copy_options::overwrite_existing, ec) == true); in TEST_CASE()
119 TEST_REQUIRE(fs::copy_file(from, older, copy_options::update_existing, ec) == true); in TEST_CASE()
123 TEST_REQUIRE(fs::copy_file(from, newer, copy_options::update_existing, ec) == false); in TEST_CASE()
130 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == false); in TEST_CASE()
181 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.cpp174 void __copy(const path& from, const path& to, copy_options options, in __copy()
178 (copy_options::create_symlinks | copy_options::skip_symlinks)); in __copy()
181 copy_options::copy_symlinks); in __copy()
209 if (bool(copy_options::skip_symlinks & options)) { in __copy()
220 if (bool(copy_options::directories_only & options)) { in __copy()
223 else if (bool(copy_options::create_symlinks & options)) { in __copy()
226 else if (bool(copy_options::create_hard_links & options)) { in __copy()
236 else if (is_directory(f) && bool(copy_options::create_symlinks & options)) { in __copy()
239 else if (is_directory(f) && (bool(copy_options::recursive & options) || in __copy()
240 copy_options::none == options)) { in __copy()
[all …]
/external/libcxx/include/experimental/
Dfilesystem70 enum class copy_options;
85 void copy(const path& from, const path& to, copy_options options);
86 void copy(const path& from, const path& to, copy_options options,
91 bool copy_file(const path& from, const path& to, copy_options option);
92 bool copy_file(const path& from, const path& to, copy_options option,
326 enum class _LIBCPP_ENUM_VIS copy_options : unsigned short
342 inline _LIBCPP_CONSTEXPR copy_options operator&(copy_options _LHS, copy_options _RHS)
343 { return static_cast<copy_options>(static_cast<unsigned short>(_LHS) & static_cast<unsigned short>(…
346 inline _LIBCPP_CONSTEXPR copy_options operator|(copy_options _LHS, copy_options _RHS)
347 { 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()