Home
last modified time | relevance | path

Searched refs:new_time (Results 1 – 4 of 4) sorted by relevance

/llvm-project/third-party/benchmark/src/
H A Dreporter.cc107 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
108 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
109 return new_time; in GetAdjustedRealTime()
113 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
114 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
115 return new_time; in GetAdjustedCPUTime()
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
H A Dlast_write_time.pass.cpp22 // void last_write_time(const path& p, file_time_type new_time);
492 file_time_type new_time; in set_last_write_time_dynamic_env_test() member
518 last_write_time(TC.p, TC.new_time, ec); in set_last_write_time_dynamic_env_test()
525 if (TimeIsRepresentableByFilesystem(TC.new_time)) { in set_last_write_time_dynamic_env_test()
527 assert(CompareTime(got_time, TC.new_time)); in set_last_write_time_dynamic_env_test()
542 const file_time_type new_time = Clock::now() + Hours(3); in last_write_time_symlink_test() local
548 last_write_time(sym, new_time, ec); in last_write_time_symlink_test()
554 assert(got_time == new_time); in last_write_time_symlink_test()
556 assert(CompareTime(got_time, new_time)); in last_write_time_symlink_test()
559 assert(CompareTime(LastWriteTime(file), new_time)); in last_write_time_symlink_test()
571 file_time_type new_time = file_time_type::min(); test_write_min_time() local
605 file_time_type new_time = file_time_type::max(); test_write_max_time() local
[all...]
/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp695 void __last_write_time(const path& p, file_time_type new_time, error_code* ec) { in __remove()
701 if (!fs_time::convert_to_timespec(ts, new_time))
725 if (!fs_time::convert_to_timespec(tbuf[1], new_time)) in remove_all_impl()
575 __last_write_time(const path & p,file_time_type new_time,error_code * ec) __last_write_time() argument
/llvm-project/libcxx/include/
H A Dfilesystem472 void last_write_time(const path& p, file_time_type new_time);
473 void last_write_time(const path& p, file_time_type new_time,