Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/src/time/
H A Dtime_utils.h78 static inline char *asctime(const struct tm *timeptr, char *buffer, in asctime() argument
80 if (timeptr == nullptr || buffer == nullptr) { in asctime()
84 if (timeptr->tm_wday < 0 || in asctime()
85 timeptr->tm_wday > (TimeConstants::DAYS_PER_WEEK - 1)) { in asctime()
89 if (timeptr->tm_mon < 0 || in asctime()
90 timeptr->tm_mon > (TimeConstants::MONTHS_PER_YEAR - 1)) { in asctime()
104 week_days_name[timeptr->tm_wday], months_name[timeptr->tm_mon], in asctime()
105 timeptr->tm_mday, timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, in asctime()
106 TimeConstants::TIME_YEAR_BASE + timeptr->tm_year); in asctime()
H A Dasctime_r.cpp18 (const struct tm *timeptr, char *buffer)) {
19 return time_utils::asctime(timeptr, buffer, TimeConstants::ASCTIME_MAX_BYTES);
H A Dasctime.cpp17 LLVM_LIBC_FUNCTION(char *, asctime, (const struct tm *timeptr)) {
19 return time_utils::asctime(timeptr, buffer, TimeConstants::ASCTIME_MAX_BYTES);
H A Dasctime.h16 char *asctime(const struct tm *timeptr);
H A Dasctime_r.h16 char *asctime_r(const struct tm *timeptr, char *buffer);
/llvm-project-15.0.7/libcxx/include/
H A Dctime35 time_t mktime(tm* timeptr);
37 char* asctime(const tm* timeptr);
42 const tm* restrict timeptr);
H A Dcwchar89 const tm* restrict timeptr);
/llvm-project-15.0.7/clang/test/Analysis/cert/
H A Denv34-c.c17 char *asctime(const tm *timeptr);
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1060 /// time_t mktime(struct tm *timeptr);