Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/tzcode/
Dasctime.c72 asctime_r(register const struct tm *timeptr, char *buf) in asctime_r() argument
86 if (timeptr == NULL) { in asctime_r()
90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
92 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
102 (void) strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
109 timeptr->tm_mday, timeptr->tm_hour, in asctime_r()
110 timeptr->tm_min, timeptr->tm_sec, in asctime_r()
129 asctime(register const struct tm *timeptr) in asctime() argument
[all …]
Dzdump.c873 dumptime(register const struct tm *timeptr) in dumptime() argument
887 if (timeptr == NULL) { in dumptime()
896 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= in dumptime()
899 else wn = wday_name[timeptr->tm_wday]; in dumptime()
900 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= in dumptime()
903 else mn = mon_name[timeptr->tm_mon]; in dumptime()
906 timeptr->tm_mday, timeptr->tm_hour, in dumptime()
907 timeptr->tm_min, timeptr->tm_sec); in dumptime()
909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime()
910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()
/external/pdfium/core/fxcrt/
Dfx_system.cpp132 const struct tm* timeptr) { in FXSYS_wcsftime() argument
135 if (timeptr->tm_year < -1900 || timeptr->tm_year > 8099 || in FXSYS_wcsftime()
136 timeptr->tm_mon < 0 || timeptr->tm_mon > 11 || timeptr->tm_mday < 1 || in FXSYS_wcsftime()
137 timeptr->tm_mday > 31 || timeptr->tm_hour < 0 || timeptr->tm_hour > 23 || in FXSYS_wcsftime()
138 timeptr->tm_min < 0 || timeptr->tm_min > 59 || timeptr->tm_sec < 0 || in FXSYS_wcsftime()
139 timeptr->tm_sec > 60 || timeptr->tm_wday < 0 || timeptr->tm_wday > 6 || in FXSYS_wcsftime()
140 timeptr->tm_yday < 0 || timeptr->tm_yday > 365) { in FXSYS_wcsftime()
144 return wcsftime(strDest, maxsize, format, timeptr); in FXSYS_wcsftime()
Dfx_system.h141 const struct tm* timeptr);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/
D1-1.c20 struct tm *timeptr; in main() local
23 timeptr = NULL; in main()
24 timeptr = localtime(&current_time); in main()
26 if (timeptr != NULL) { in main()
/external/libcxx/include/
Dctime36 time_t mktime(tm* timeptr);
38 char* asctime(const tm* timeptr);
43 const tm* restrict timeptr);
Dcwchar90 const tm* restrict timeptr);
/external/python/cpython2/Modules/
Dtimemodule.c634 _asctime(struct tm *timeptr) in _asctime() argument
649 wday_name[timeptr->tm_wday], in _asctime()
650 mon_name[timeptr->tm_mon], in _asctime()
651 timeptr->tm_mday, timeptr->tm_hour, in _asctime()
652 timeptr->tm_min, timeptr->tm_sec, in _asctime()
653 1900 + timeptr->tm_year); in _asctime()
/external/python/cpython3/Modules/
Dtimemodule.c885 _asctime(struct tm *timeptr) argument
898 wday_name[timeptr->tm_wday],
899 mon_name[timeptr->tm_mon],
900 timeptr->tm_mday, timeptr->tm_hour,
901 timeptr->tm_min, timeptr->tm_sec,
902 1900 + timeptr->tm_year);
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def749 /// time_t mktime(struct tm *timeptr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def943 /// time_t mktime(struct tm *timeptr);