Searched refs:weekday (Results 1 - 17 of 17) sorted by relevance

/freebsd-12-stable/lib/libc/stdtime/
H A Dtimelocal.h48 const char *weekday[7]; member in struct:lc_time_T
H A Dstrptime.c330 for (i = 0; i < asizeof(tptr->weekday); i++) {
331 len = strlen(tptr->weekday[i]);
332 if (strncasecmp_l(buf, tptr->weekday[i],
340 if (i == asizeof(tptr->weekday))
H A Dstrftime.c149 "?" : tptr->weekday[t->tm_wday],
/freebsd-12-stable/lib/libcalendar/
H A DMakefile14 calendar.3 week.3 calendar.3 weekday.3
H A Dcalendar.h44 int weekday(int _nd);
H A Deaster.c85 /* Offset from a weekday to next sunday */
102 return (dn + ns[weekday(dn)]);
H A Dcalendar.c267 if ((wd = weekday(nd)) > 3)
273 /* return the weekday (Mo = 0 .. Su = 6) */
275 weekday(int nd) function
284 /* return (nd - nmonday) modulo 7 which is the weekday */
/freebsd-12-stable/contrib/ntp/libparse/
H A Dclk_hopf6021.c64 * A B - Status and weekday
100 #define HOPF_WMASK 0x07 /* mask for weekday code */
142 unsigned char status,weekday; local
164 weekday = hexval(buffer[OFFS(O_WDAY)]);
166 if ((status == 0xFF) || (weekday == 0xFF))
171 if (weekday & HOPF_UTC)
/freebsd-12-stable/usr.bin/localedef/
H A Dtime.c134 add_list(tm.weekday, str, 7);
174 if (tm.weekday[6] != NULL)
217 free((char *)tm.weekday[i]);
218 tm.weekday[i] = NULL;
256 if (putl_category(tm.weekday[i], f) == EOF) {
/freebsd-12-stable/usr.sbin/pw/
H A Dpsdate.c74 weekday(char const ** str) function
230 * Skip past any weekday prefix
232 weekday(&str);
/freebsd-12-stable/contrib/ntp/include/
H A Dntp_calendar.h20 uint8_t weekday; /* 0..7, 0=Sunday */ member in struct:calendar
29 uint8_t weekday; /* 1..7, 1=Monday */ member in struct:isodate
/freebsd-12-stable/contrib/ntp/libntp/
H A Dprettydate.c196 daynames[jd.weekday], months[jd.month-1],
H A Dntp_calendar.c1005 jd->weekday = i32mod7(rd);
1929 id->weekday = (uint8_t)ds.lo + 1; /* weekday result */
1969 days = weeks * 7 + (int32_t)id->weekday;
2158 * 2) The weekday of the 1st day of a century shifts by 5 days
2163 * So we start with taking the weekday difference (mod 7)
2166 * weekday given.
/freebsd-12-stable/lib/libc/locale/
H A Dnl_langinfo.c102 ret = (char*) __get_current_time_locale(loc)->weekday[_REL(DAY_1)];
/freebsd-12-stable/contrib/ntp/ntpd/
H A Dntp_filegen.c167 iso.weekday = 1;
H A Dntp_crypto.c42 * calcomp - compare two calendar structures, ignoring yearday and weekday; like strcmp
2072 pjd->yearday = pjd->weekday = 0;
/freebsd-12-stable/usr.bin/ncal/
H A Dncal.c805 firstm = first - weekday(first);
818 * line index: i, each line is one weekday. column index: j, each
918 firsts = first - (weekday(first)+1) % 7;

Completed in 196 milliseconds