Home
last modified time | relevance | path

Searched refs:timeptr (Results 1 – 7 of 7) 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/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/
Dctime34 time_t mktime(tm* timeptr);
36 char* asctime(const tm* timeptr);
41 const tm* restrict timeptr);
Dcwchar90 const tm* restrict timeptr);
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def749 /// time_t mktime(struct tm *timeptr);
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js3294 function _strftime(s, maxsize, format, timeptr) { argument