/macosx-10.10.1/ICU-531.30/icuSources/tools/tzcode/ |
H A D | asctime.c | 78 asctime_r(timeptr, buf) 79 register const struct tm * timeptr; 94 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) 96 else wn = wday_name[timeptr->tm_wday]; 97 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) 99 else mn = mon_name[timeptr->tm_mon]; 102 ** when computing timeptr->tm_year + TM_YEAR_BASE. 104 ** (e.g., timeptr [all...] |
H A D | zdump.c | 816 dumptime(timeptr) 817 register const struct tm * timeptr; 831 if (timeptr == NULL) { 840 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= 843 else wn = wday_name[timeptr->tm_wday]; 844 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= 847 else mn = mon_name[timeptr->tm_mon]; 850 timeptr [all...] |
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/ |
H A D | asctime.c | 82 asctime_r(const struct tm * __restrict timeptr, char * __restrict buf) argument 96 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) 98 else wn = wday_name[timeptr->tm_wday]; 99 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) 101 else mn = mon_name[timeptr->tm_mon]; 104 ** when computing timeptr->tm_year + TM_YEAR_BASE. 106 ** (e.g., timeptr->tm_mday) when processing "%Y". 108 (void) strftime(year, sizeof year, "%Y", timeptr); [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/ |
H A D | exp_strf.c | 107 static int weeknumber(const struct tm *timeptr, int firstweekday); 108 adddecl(static int iso8601wknum(const struct tm *timeptr);) 151 exp_strftime(/*s,*/ format, timeptr, dstring) 154 const struct tm *timeptr; 157 /*exp_strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)*/ 158 exp_strftime(char *format, const struct tm *timeptr,Tcl_DString *dstring) 229 if (timeptr->tm_wday < 0 || timeptr->tm_wday > 6) 232 strcpy(tbuf, days_a[timeptr->tm_wday]); 236 if (timeptr [all...] |
H A D | exp_command.h | 223 EXTERN void exp_strftime(char *format, const struct tm *timeptr,Tcl_DString *dstring);
|
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/ |
H A D | strptime.c | 185 * Set `timeptr' given `wnum' (week number [0, 53]) 189 set_week_number_sun (struct tm *timeptr, int wnum) argument 191 int fday = first_day (timeptr->tm_year + tm_year_base); 193 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday; 194 if (timeptr->tm_yday < 0) { 195 timeptr->tm_wday = fday; 196 timeptr->tm_yday = 0; 201 * Set `timeptr' given `wnum' (week number [0, 53]) 205 set_week_number_mon (struct tm *timeptr, in argument 221 set_week_number_mon4(struct tm *timeptr, int wnum) argument 241 strptime(const char *buf, const char *format, struct tm *timeptr) argument [all...] |
H A D | strpftime-test.h | 53 strptime (const char *buf, const char *format, struct tm *timeptr);
|
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | strftime.c | 88 static int weeknumber(const struct tm *timeptr, int firstweekday); 89 static int iso8601wknum(const struct tm *timeptr); 138 strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr) argument 181 if (s == NULL || format == NULL || timeptr == NULL || maxsize == 0) 244 if (timeptr->tm_wday < 0 || timeptr->tm_wday > 6) 247 strcpy(tbuf, days_a[timeptr->tm_wday]); 251 if (timeptr->tm_wday < 0 || timeptr->tm_wday > 6) 254 strcpy(tbuf, days_l[timeptr 604 iso8601wknum(const struct tm *timeptr) argument 715 weeknumber(const struct tm *timeptr, int firstweekday) argument [all...] |
/macosx-10.10.1/sudo-73/src/ |
H A D | timestr.c | 47 struct tm *timeptr; local 49 timeptr = localtime(&tstamp); 57 if (strftime(buf, sizeof(buf), s, timeptr) && buf[sizeof(buf) - 1] == '\0')
|
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/ |
H A D | wcsftime.c | 53 const wchar_t * __restrict format, const struct tm * __restrict timeptr, 94 if (strftime_l(dst, maxsize, sformat, timeptr, loc) == 0) 116 const wchar_t * __restrict format, const struct tm * __restrict timeptr) 118 return wcsftime_l(wcs, maxsize, format, timeptr, __current_locale()); 52 wcsftime_l(wchar_t * __restrict wcs, size_t maxsize, const wchar_t * __restrict format, const struct tm * __restrict timeptr, locale_t loc) argument 115 wcsftime(wchar_t * __restrict wcs, size_t maxsize, const wchar_t * __restrict format, const struct tm * __restrict timeptr) argument
|
/macosx-10.10.1/ruby-106/ruby/ |
H A D | strftime.c | 108 static int weeknumber(const struct tm *timeptr, int firstweekday); 109 adddecl(static int iso8601wknum(const struct tm *timeptr);) 879 iso8601wknum(const struct tm *timeptr) argument 898 weeknum = weeknumber(timeptr, 1); 905 * (timeptr->tm_yday - jan1.tm_yday) MOD 7 == 906 * (timeptr->tm_wday - jan1.tm_wday) MOD 7 910 * timeptr->tm_wday MOD 7 == timeptr->tm_wday 913 jan1day = timeptr->tm_wday - (timeptr 1000 weeknumber(const struct tm *timeptr, int firstweekday) argument [all...] |
/macosx-10.10.1/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | misc.c | 402 struct tm *timeptr; local 417 timeptr = localtime(&result); 418 strftime(datebuf, sizeof(datebuf), MY_PRINTF_DATE_FMT, timeptr);
|
/macosx-10.10.1/text_cmds-88/pr/ |
H A D | pr.c | 1294 struct tm *timeptr = NULL; local 1321 timeptr = localtime(&tv_sec); 1345 timeptr = localtime(&tv_sec); 1377 timeptr = localtime(&tv_sec); 1387 timeptr = localtime(&(statbuf.st_mtime)); 1398 if (strftime(buf, HDBUF, timefrmt, timeptr) <= 0) {
|