Home
last modified time | relevance | path

Searched refs:week (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/ntp/libntp/
H A Dntp_calgps.c361 uint32_t base, week; in _gpscal_fix_gps_era() local
364 week = out.weeks; in _gpscal_fix_gps_era()
366 week = base + ((week - base) & (GPSWEEKS - 1)); in _gpscal_fix_gps_era()
367 out.weeks = week; in _gpscal_fix_gps_era()
410 int32_t days, week; in gpscal_from_calendar_ex() local
462 week = days / 7; in gpscal_from_calendar_ex()
463 days -= week * 7; in gpscal_from_calendar_ex()
468 gps.weeks = week + GPSNTP_WSHIFT; in gpscal_from_calendar_ex()
504 uint16_t week, in gpscal_from_gpsweek() argument
513 retv.weeks = week + GPSNTP_WSHIFT; in gpscal_from_gpsweek()
H A Dntp_calendar.c768 * elapsed seconds since week start in 'res.lo' using explicit floor
1003 /* Get day-of-week first. It's simply the RD (mod 7)... */ in ntpcal_rd_to_date()
1040 /* get day-of-week first */ in ntpcal_rd_to_tm()
1258 int32_t week, in ntpcal_weekjoin()
1266 res.q_s = week; in ntpcal_weekjoin()
1272 res = _dwjoin(4725, week, secs); in ntpcal_weekjoin()
1666 * day-of-week calculations
1671 * Given a RataDie and a day-of-week, calculate a RDN that is reater-than,
1673 * and denotes the given day-of-week
1723 * ISO week
1259 ntpcal_weekjoin(int32_t week,int32_t secs) ntpcal_weekjoin() argument
[all...]
/freebsd/contrib/dialog/
H A Dcalendar.c265 int week = 1; in iso_week() local
274 week += (diy - 1) / MAX_DAYS; in iso_week()
285 --week; in iso_week()
289 ++week; in iso_week()
292 if (week < 1) { in iso_week()
293 week = iso_week(--year, 12, 31); in iso_week()
304 week = 1; in iso_week()
306 return week; in iso_week()
377 int week = 0; in draw_day() local
410 week = (current->tm_yday + 6 + mday - current->tm_mday) / MAX_DAYS; in draw_day()
[all …]
/freebsd/contrib/ntp/libparse/
H A Dclk_trimtsip.c104 u_short t_week; /* GPS week */
105 u_short t_weekleap; /* GPS week of next/last week */
106 u_short t_dayleap; /* day in week */
254 u_int week = getshort((unsigned char *)&mb(4)); in cvt_trimtsip() local
268 week = basedate_expand_gpsweek(week); in cvt_trimtsip()
279 gpstolfp((unsigned short)week, (unsigned short)0, in cvt_trimtsip()
353 (u_short) getshort((unsigned char *)&mb(20))); /* week no of leap correction */ in cvt_trimtsip()
355 t->t_dayleap = (u_short) getshort((unsigned char *)&mb(22)); /* day in week o in cvt_trimtsip()
[all...]
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/
H A Dsubtle.in16 (wee|week)(knights|night) - weeknights weeknights
17 (we|wee|week|frob)(knights|night|day) - weeknights weeknights
H A Dcomplex.in10 a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights…
/freebsd/contrib/tzcode/
H A Dcalendars21 with 30-day months plus 5 holidays, with a 5-day week.
22 On 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the
23 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it
24 reverted to the 7-day week. With the 6-day week the usual days
H A DSECURITY7 You should receive a response within a week. If not, please follow up
/freebsd/contrib/tzdata/
H A Dcalendars21 with 30-day months plus 5 holidays, with a 5-day week.
22 On 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the
23 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it
24 reverted to the 7-day week. With the 6-day week the usual days
H A DSECURITY7 You should receive a response within a week. If not, please follow up
/freebsd/lib/libcalendar/
H A DMakefile11 calendar.3 week.3 calendar.3 weekday.3
H A Dcalendar.h41 int week(int _nd, int *_year);
H A Dcalendar.c236 week(int nd, int *y) in week() function
/freebsd/crypto/openssh/
H A Dmisc.c694 unsigned long long week; in fmt_timeframe() local
700 week = t; in fmt_timeframe()
702 sec = week % 60; in fmt_timeframe()
703 week /= 60; in fmt_timeframe()
704 min = week % 60; in fmt_timeframe()
705 week /= 60; in fmt_timeframe()
706 hrs = week % 24; in fmt_timeframe()
707 week /= 24; in fmt_timeframe()
708 day = week % 7; in fmt_timeframe()
709 week /= 7; in fmt_timeframe()
[all …]
/freebsd/.github/PULL_REQUEST_TEMPLATE/
H A Dpull_request_template.md11 MFC after: <N [day[s]|week[s]|month[s]]. Request a reminder email>
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.stats8 shell script once per day, week or month, as appropriate. There are
238 +2.0100E+02 week number for delta leap (weeks)
239 +1.9100E+02 week number for future leap (weeks)
/freebsd/sys/dev/jedec_dimm/
H A Djedec_dimm.c161 uint8_t *year, uint8_t *week);
890 uint8_t *year, uint8_t *week) in jedec_dimm_mfg_date() argument
959 *week = (((week_bcd & 0xf0) >> 4) * 10) + (week_bcd & 0x0f); in jedec_dimm_mfg_date()
/freebsd/usr.sbin/cron/doc/
H A DTHANKS24 -> day-of-week names aren't off by one anymore
H A DMAIL138 2. Allow specifying every Nth day of week, i.e., every second Wednesday.
139 I did this to calendar by separating the day of week (Wed=4, which one
170 day-of-week is true.
174 the day-of-month AND the day-of-week are true.
185 (run command if day-of-month AND day-of-week are true)
/freebsd/contrib/bmake/
H A DREADME13 make. Since then, NetBSD's make is imported within a week of any
/freebsd/contrib/ntp/ntpd/
H A Dcomplete.conf.in16 filegen peerstats file peerstats type week enable
H A Drefclock_nmea.c138 * WN -- GPS week number (weeks since 1980-01-06, mod 1024)
139 * WS -- GPS seconds in week
223 DTYP_W10B, /* 10-bit week in GPS epoch */
225 DTYP_WEXT /* extended week in GPS epoch */
639 TGpsDatum wgps; /* week time storage */ in nmea_procrec()
845 /* PUBX,04 is peculiar. The UTC time-of-week is the *internal* in nmea_procrec()
1680 * Parse GPS week time info from an NMEA sentence. This info contains
1681 * the GPS week number, the GPS time-of-week and the leap seconds GPS
1697 uint16_t week, lea in parse_gpsw()
1695 uint16_t week, leap = 0; parse_gpsw() local
[all...]
/freebsd/contrib/ntp/include/
H A Dntp_calendar.h28 uint8_t week; /* 1..53, week in year */ member
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_timeout.pod48 For TLSv1.3, RFC8446 limits transmission of this value to 1 week (604800
/freebsd/contrib/sendmail/contrib/
H A Dmmuegel202 ;# %U week number, Sunday as first day of week - 00 to 53
204 ;# %w day of week - 0 (Sunday) to 6
205 ;# %W week number, Monday as first day of week - 00 to 53
255 ;# Corrected week number calculations.
295 ;# week numbers, regardless of year implied by the time value
310 # days of the week
360 X '%U', q|$rep = &date'wkno($year, $yday, 0)|, # week number (weeks start on Sun) - 00 to 53
362 X '%w', q|$rep = $wday; 1|, # day of week - Sunday = 0
363 X '%W', q|$rep = &date'wkno($year, $yday, 1)|, # week number (weeks start on Mon) - 00 to 53
438 # weekno - figure out week number
[all …]

123