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

/freebsd-10-stable/lib/libc/stdtime/
H A Dtimelocal.h46 const char *weekday[7]; member in struct:lc_time_T
H A Dstrptime.c327 for (i = 0; i < asizeof(tptr->weekday); i++) {
328 len = strlen(tptr->weekday[i]);
329 if (strncasecmp_l(buf, tptr->weekday[i],
337 if (i == asizeof(tptr->weekday))
H A Dstrftime.c154 "?" : tptr->weekday[t->tm_wday],
/freebsd-10-stable/lib/libcalendar/
H A DMakefile13 calendar.3 week.3 calendar.3 weekday.3
H A Dcalendar.h42 int weekday(int _nd);
H A Deaster.c83 /* Offset from a weekday to next sunday */
100 return (dn + ns[weekday(dn)]);
H A Dcalendar.c265 if ((wd = weekday(nd)) > 3)
271 /* return the weekday (Mo = 0 .. Su = 6) */
273 weekday(int nd) function
282 /* return (nd - nmonday) modulo 7 which is the weekday */
/freebsd-10-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-10-stable/contrib/ntp/include/
H A Dntp_calendar.h20 uint8_t weekday; /* 0..7, 0=Sunday */ member in struct:calendar
27 uint8_t weekday; /* 1..7, 1=Monday */ member in struct:isodate
/freebsd-10-stable/usr.sbin/pw/
H A Dpsdate.c72 weekday(char const ** str) function
228 * Skip past any weekday prefix
230 weekday(&str);
/freebsd-10-stable/lib/libc/locale/
H A Dnl_langinfo.c86 ret = (char*) __get_current_time_locale(loc)->weekday[_REL(DAY_1)];
/freebsd-10-stable/contrib/ntp/libntp/
H A Dprettydate.c196 daynames[jd.weekday], months[jd.month-1],
H A Dntp_calendar.c916 jd->weekday = rd % DAYSPERWEEK;
917 if (jd->weekday >= DAYSPERWEEK) /* weekday is unsigned! */
918 jd->weekday += DAYSPERWEEK;
1770 id->weekday = (uint8_t)ds.lo + 1; /* weekday result */
1810 days = weeks * 7 + (int32_t)id->weekday;
/freebsd-10-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
2071 pjd->yearday = pjd->weekday = 0;
/freebsd-10-stable/usr.bin/ncal/
H A Dncal.c803 firstm = first - weekday(first);
816 * line index: i, each line is one weekday. column index: j, each
916 firsts = first - (weekday(first)+1) % 7;

Completed in 135 milliseconds