Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/clang/utils/CIndex/
H A Dcompletion_logger_server.py5 from time import strftime
34 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
/llvm-project-15.0.7/llvm/lib/Support/
H A DChrono.cpp46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", &LT); in operator <<()
89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), &LT); in format()
/llvm-project-15.0.7/libcxx/include/
H A Dctime41 size_t strftime(char* restrict s, size_t maxsize, const char* restrict format,
73 using ::strftime _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-format.c15 void y(char *str) __attribute__((format(strftime, 1, 0))); // no-error
16 void z(char *str, int c, ...) __attribute__((format(strftime, 1, 2))); // expected-error {{strftime…
H A Dformat-strings.c657 void __attribute__((format(strftime,1,0))) dateformat(const char *fmt);
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dtimers.cc218 tz_len = std::strftime(tz_offset, sizeof(tz_offset), "%z", timeinfo_p); in LocalDateTimeString()
250 std::strftime(storage, sizeof(storage), "%Y-%m-%dT%H:%M:%S", timeinfo_p); in LocalDateTimeString()
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dtime_h.pass.cpp40 static_assert((std::is_same<decltype(strftime(c1,s,c2,&tmv)), size_t>::value), ""); in main()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/
H A Dctime.pass.cpp46 static_assert((std::is_same<decltype(std::strftime(c1,s,c2,&tm)), std::size_t>::value), ""); in main()
/llvm-project-15.0.7/clang/tools/include-mapping/
H A Dgen_std.py104 os.stat(index_page_path).st_mtime).strftime('%Y-%m-%d')
/llvm-project-15.0.7/flang/runtime/
H A Dtime-intrinsic.cpp286 auto len = std::strftime(buffer, buffSize, "%Y%m%d", &localTime); in GetDateAndTime()
298 auto len{std::strftime(buffer, buffSize, "%z", &localTime)}; in GetDateAndTime()
/llvm-project-15.0.7/libcxx/include/__support/xlocale/
H A D__posix_l_fallback.h147 return ::strftime(__s, __max, __format, __tm); in strftime_l()
/llvm-project-15.0.7/clang/docs/tools/
H A Dgenerate_formatted_state.py84 today = datetime.now().strftime("%B %d, %Y %H:%M:%S")
/llvm-project-15.0.7/libcxx/src/support/win32/
H A Dlocale_win32.cpp139 return strftime(ret, n, format, tm); in strftime_l()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Derr33-c.rst100 * strftime()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.cpp504 strftime(buffer, buflen, "%Y-%m-%d_%H%M%S", tm_info); in getTime()
506 strftime(buffer, buflen, "%Y-%m-%d %H%M%S", tm_info); in getTime()
773 std::strftime(&buffer[0], sizeof(buffer), "%c", std::localtime(&now)); in printHeaderInfo()
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DCF.cpp37 if (strftime(&buffer[0], 1023, "%Z", tm_date) == 0) in CFAbsoluteTimeSummaryProvider()
/llvm-project-15.0.7/lldb/examples/summaries/cocoa/
H A DNSDate.py52 return time.strftime('%Y-%m-%d %H:%M:%S %Z', X)
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp320 strftime(TimeBuffer, sizeof(TimeBuffer), "%Y%m%d", &LocalTime); in InitDebuggingDir()
/llvm-project-15.0.7/clang/utils/
H A DFindSpecRefs904 print >>f, 'Generated: %s<br>'%(time.strftime('%Y-%m-%d %H:%M'),)
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/
H A Dreport.py106 ).strftime('%c')))
H A Danalyze.py349 stamp = datetime.datetime.now().strftime(stamp_format)
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp492 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, in INTERCEPTOR() argument
494 INTERCEPTOR_STRFTIME_BODY(char, SIZE_T, strftime, s, max, format, tm); in INTERCEPTOR()
1701 INTERCEPT_FUNCTION(strftime); in InitializeInterceptors()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp620 strftime(FormattedTime, 20, "%Y-%m-%d %H:%M:%S", gmtime(&TDS)); in printFileHeaders()
725 strftime(FormattedTime, 20, "%Y-%m-%d %H:%M:%S", gmtime(&TDS)); in printCOFFDebugDirectory()
842 strftime(FormattedTime, 20, "%Y-%m-%d %H:%M:%S", gmtime(&TDS)); in printCOFFLoadConfig()
1897 strftime(FormattedTime, 20, "%Y-%m-%d %H:%M:%S", gmtime(&TDS)); in printResourceDirectoryTable()
/llvm-project-15.0.7/compiler-rt/utils/
H A Dgenerate_netbsd_syscalls.awk252 pcmd("// Generated date: " strftime("%F"))
422 pcmd("// Generated date: " strftime("%F"))
/llvm-project-15.0.7/llvm/utils/Reviewing/
H A Dfind_interesting_reviews.py538 diff.dateModified).strftime("%Y-%m-%d %H:%M:%s"))

12