Home
last modified time | relevance | path

Searched refs:UtcTime (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DChrono.h41 using UtcTime = std::chrono::time_point<UtcClock, D>; variable
44 inline UtcTime<std::chrono::seconds> toUtcTime(std::time_t T) { in toUtcTime()
46 return UtcTime<seconds>(seconds(T)); in toUtcTime()
57 inline std::time_t toTimeT(UtcTime<> TP) { in toTimeT()
81 LLVM_ABI raw_ostream &operator<<(raw_ostream &OS, sys::UtcTime<> TP);
97 template <> struct format_provider<sys::UtcTime<std::chrono::seconds>> {
98 LLVM_ABI static void format(const sys::UtcTime<std::chrono::seconds> &TP,
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp44 static inline struct tm getStructTMUtc(UtcTime<> TP) { in getStructTMUtc()
110 void format_provider<UtcTime<std::chrono::seconds>>::format( in format()
111 const UtcTime<std::chrono::seconds> &T, raw_ostream &OS, StringRef Style) { in format()
113 UtcTime<seconds> Truncated = in format()
114 UtcTime<seconds>(duration_cast<seconds>(T.time_since_epoch())); in format()