Home
last modified time | relevance | path

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

123

/freebsd-13.1/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.c1259 int32_t week, in ntpcal_weekjoin() argument
1267 res.q_s = week; in ntpcal_weekjoin()
1273 res = _dwjoin(4725, week, secs); in ntpcal_weekjoin()
1934 id->week = (uint8_t )ds.lo + 1; in isocal_ntp64_to_date()
1968 + (int32_t)id->week - 1; in isocal_date_to_ntp64()
/freebsd-13.1/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()
305 week = 1; in iso_week()
307 return week; in iso_week()
378 int week = 0; in draw_day() local
411 week = (current->tm_yday + 6 + mday - current->tm_mday) / MAX_DAYS; in draw_day()
[all …]
/freebsd-13.1/contrib/ntp/libparse/
H A Dclk_trimtsip.c254 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()
/freebsd-13.1/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-13.1/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-13.1/lib/libcalendar/
H A DMakefile13 calendar.3 week.3 calendar.3 weekday.3
H A Dcalendar.h43 int week(int _nd, int *_year);
H A Dcalendar.c238 week(int nd, int *y) in week() function
/freebsd-13.1/contrib/unbound/testdata/svcb.tdir/
H A Dcrypto.cloudflare.com.zone5 604800 ; expire (1 week)
/freebsd-13.1/crypto/openssh/
H A Dmisc.c633 unsigned long long week; in fmt_timeframe() local
639 week = t; in fmt_timeframe()
641 sec = week % 60; in fmt_timeframe()
642 week /= 60; in fmt_timeframe()
643 min = week % 60; in fmt_timeframe()
644 week /= 60; in fmt_timeframe()
645 hrs = week % 24; in fmt_timeframe()
646 week /= 24; in fmt_timeframe()
647 day = week % 7; in fmt_timeframe()
648 week /= 7; in fmt_timeframe()
[all …]
/freebsd-13.1/contrib/tzcode/zic/
H A DTheory65 for the dth day of week n of month m of the year,
66 where week 1 is the first week in which day d appears,
67 and `5' stands for the last week in which day d appears
68 (which may be either the 4th or 5th week).
382 with 30-day months plus 5 holidays, with a 5-day week.
383 On 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the
384 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it
385 reverted to the 7-day week. With the 6-day week the usual days
H A Dzic.c1853 register int week; local
1856 week = 1 + rp->r_dayofmonth / DAYSPERWEEK;
1857 if ((week - 1) * DAYSPERWEEK + 1 != rp->r_dayofmonth)
1861 week = 5;
1863 week = 1 + rp->r_dayofmonth / DAYSPERWEEK;
1864 if (week * DAYSPERWEEK - 1 != rp->r_dayofmonth)
1869 rp->r_month + 1, week, rp->r_wday);
/freebsd-13.1/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-13.1/contrib/bmake/
H A DREADME13 make. Since then, NetBSD's make is imported within a week of any
/freebsd-13.1/usr.sbin/cron/doc/
H A DTHANKS24 -> day-of-week names aren't off by one anymore
H A DMAIL140 2. Allow specifying every Nth day of week, i.e., every second Wednesday.
141 I did this to calendar by separating the day of week (Wed=4, which one
172 day-of-week is true.
176 the day-of-month AND the day-of-week are true.
187 (run command if day-of-month AND day-of-week are true)
/freebsd-13.1/contrib/ntp/ntpd/
H A Dcomplete.conf.in16 filegen peerstats file peerstats type week enable
H A Drefclock_nmea.c1708 uint16_t week, leap = 0; in parse_gpsw() local
1715 rc = _parse_u16 (dpw, &dpw, &week, 5) in parse_gpsw()
1728 *wd = gpscal_from_gpsweek(week, secs, fofs); in parse_gpsw()
/freebsd-13.1/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-13.1/contrib/ntp/include/
H A Dntp_calendar.h28 uint8_t week; /* 1..53, week in year */ member
/freebsd-13.1/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
438 # weekno - figure out week number
446 X # figure out what day of the week January 1 was
[all …]
/freebsd-13.1/lib/libc/regex/grot/
H A Dtests338 a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights…
368 (wee|week)(knights|night) - weeknights weeknights
369 (we|wee|week|frob)(knights|night|day) - weeknights weeknights

123