Home
last modified time | relevance | path

Searched refs:last_write_time (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
H A Dlast_write_time.pass.cpp57 file_time_type expect = last_write_time(ent); in TEST_CASE()
63 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE()
68 file_time_type expect = last_write_time(ent); in TEST_CASE()
73 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE()
79 file_time_type expect = last_write_time(sym); in TEST_CASE()
82 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE()
136 TEST_CHECK(ent.last_write_time(ec) == expect_bad); in TEST_CASE()
150 file_time_type expect_good = last_write_time(file); in TEST_CASE()
170 TEST_CHECK_NO_THROW(ent.last_write_time()); in TEST_CASE()
196 TEST_CHECK_NO_THROW(ent.last_write_time()); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
H A Dlast_write_time.pass.cpp212 fs::last_write_time(file, tp, ec); in __anonc8913b790202()
232 fs::last_write_time(file, tp, ec); in __anonc8913b790302()
250 fs::last_write_time(file, tp, ec); in __anonc8913b790402()
266 last_write_time(p, ft); in __anonc8913b790502()
267 return last_write_time(p) == ft; in __anonc8913b790502()
285 last_write_time(p, ft); in __anonc8913b790602()
539 last_write_time(sym, new_time, ec); in TEST_CASE()
565 last_write_time(p, new_time, ec); in TEST_CASE()
572 last_write_time(p, old_time); in TEST_CASE()
577 tt = last_write_time(p); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Dlast_write_time.pass.cpp52 file_time_type old_time = last_write_time(file); in TEST_CASE()
56 last_write_time(file, start_time); in TEST_CASE()
58 TEST_CHECK(ent.last_write_time() == old_time); in TEST_CASE()
66 rep_value = last_write_time(file, ec); in TEST_CASE()
78 TEST_CHECK(ent.last_write_time(ec) == file_time_type::min()); in TEST_CASE()
82 TEST_CHECK(last_write_time(file, ec) == file_time_type::min()); in TEST_CASE()
88 ent.last_write_time()); in TEST_CASE()
94 TEST_CHECK(ent.last_write_time(ec) == rep_value); in TEST_CASE()
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DFileTimeType.rst95 point that it can't represent. This can cause the call to ``last_write_time``
130 file_time_type tp = last_write_time(p); // BAD! Throws value_too_large.
154 this case ``last_write_time`` can be used to get and set all possible values
155 supported by the underlying filesystem; meaning ``last_write_time(p)`` will
166 last_write_time("/tmp/foo", file_time_type::max()); // Throws
167 last_write_time("/tmp/foo", file_time_type::min()); // Throws.
205 cout << last_write_time(p).time_since_epoch().count() << endl;
229 auto tp = last_write_time(p);
301 file_time_type tp = last_write_time(p);
407 * ``last_write_time`` has to report an error when the time reported by the filesystem
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Drefresh.pass.cpp318 CHECK_ACCESS(last_write_time, file_time_type::min()); in TEST_CASE()
335 CHECK_ACCESS(last_write_time, file_time_type::min()); in TEST_CASE()
353 CHECK_ACCESS(last_write_time, file_time_type::min()); in TEST_CASE()
/llvm-project-15.0.7/libcxx/include/
H A Dfilesystem176 file_time_type last_write_time(const path& p);
177 file_time_type last_write_time(const path& p, error_code& ec) noexcept;
178 void last_write_time(const path& p, file_time_type new_time);
179 void last_write_time(const path& p, file_time_type new_time,
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Doperations.h139 inline _LIBCPP_HIDE_FROM_ABI file_time_type last_write_time(const path& __p) { return __last_write_… in last_write_time() function
140 inline _LIBCPP_HIDE_FROM_ABI file_time_type last_write_time(const path& __p, error_code& __ec) noex… in last_write_time() function
141 inline _LIBCPP_HIDE_FROM_ABI void last_write_time(const path& __p, file_time_type __t) { __last_wri… in last_write_time() function
142 inline _LIBCPP_HIDE_FROM_ABI void last_write_time(const path& __p, file_time_type __t, error_code& … in last_write_time() function
H A Ddirectory_entry.h195 file_time_type last_write_time() const { return __get_write_time(); } in last_write_time() function
198 file_time_type last_write_time(error_code& __ec) const noexcept { in last_write_time() function
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc1447 SYMBOL(last_write_time, std::filesystem::, <filesystem>)