Home
last modified time | relevance | path

Searched refs:weeks (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/ntp/libntp/
H A Dntp_calgps.c86 ++datum->weeks; in _norm_gps_datum()
90 --datum->weeks; in _norm_gps_datum()
313 date.weeks = ((date.weeks - base) & 1023u) + base; in gpsntp_from_gpscal_ex()
316 ts64 = ntpcal_weekjoin(date.weeks, date.wsecs); in gpsntp_from_gpscal_ex()
364 week = out.weeks; in _gpscal_fix_gps_era()
367 out.weeks = week; in _gpscal_fix_gps_era()
468 gps.weeks = week + GPSNTP_WSHIFT; in gpscal_from_calendar_ex()
513 retv.weeks = week + GPSNTP_WSHIFT; in gpscal_from_gpsweek()
536 retv.weeks = pivot->weeks; in _gpscal_from_weektime()
541 retv.weeks -= (retv.wsecs > lim || in _gpscal_from_weektime()
[all …]
H A Dntp_calendar.c767 * Split a 64bit seconds value into elapsed weeks in 'res.hi' and
1175 /* multiplication helper. Seconds in days and weeks are multiples of 128,
1252 * Merge a number of weeks and a number of seconds into seconds,
1725 * The ISO8601 calendar defines a calendar of years, weeks and weekdays.
1728 * calendar year has always 52 or 53 weeks, and like the Grogrian
1730 * 146097 days, or 20871 weeks.
1734 * different approach, based directly on years and weeks.
1737 * interpolate from years to weeks over a full 400 year range; cyclic
1742 * It can be shown that a conversion from years to weeks can be done
1770 * christian era, return the number of elapsed weeks correspondin
1824 isocal_split_eraweeks(int32_t weeks) isocal_split_eraweeks() argument
1965 int32_t weeks, days, secs; isocal_date_to_ntp64() local
[all...]
/freebsd/contrib/ldns/
H A Dduration.c64 duration->weeks = 0; in ldns_duration_create()
93 if (d1->weeks != d2->weeks) { in ldns_duration_compare()
94 return (int) (d1->weeks - d2->weeks); in ldns_duration_compare()
185 duration->weeks = (time_t) atoi(str+1); in ldns_duration_create_from_string()
223 || dur_scan_print(&p, eob, 'W', d->weeks) in ldns_duration2string()
255 period += (duration->weeks)*86400*7; in ldns_duration2time()
/freebsd/lib/libc/nameser/
H A Dns_ttl.c52 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
59 weeks = src; src = 0; in ns_format_ttl()
62 if (weeks) { in ns_format_ttl()
63 T(fmt1(weeks, 'W', &dst, &dstlen)); in ns_format_ttl()
78 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
/freebsd/contrib/ntp/libparse/
H A Dgpstolfp.c42 u_int weeks, in gpstolfp() argument
48 …lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert … in gpstolfp()
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_rtc.c90 bct.dow = data[sc->rtc_regs.weeks] & sc->rtc_regs.weeks_mask; in rk8xx_gettime()
133 data[sc->rtc_regs.weeks] = bct.dow; in rk8xx_settime()
135 if (data[sc->rtc_regs.weeks] == 0) in rk8xx_settime()
136 data[sc->rtc_regs.weeks] = 7; in rk8xx_settime()
H A Drk8xx.h84 uint8_t weeks; member
H A Drk805.c170 sc->rtc_regs.weeks = RK805_RTC_WEEKS_MASK; in rk805_attach()
H A Drk808.c245 sc->rtc_regs.weeks = RK808_RTC_WEEKS_MASK; in rk808_attach()
H A Drk817.c501 sc->rtc_regs.weeks = RK817_RTC_WEEKS_MASK; in rk817_attach()
/freebsd/contrib/ldns/ldns/
H A Dduration.h55 time_t weeks; member
/freebsd/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp4225 static string weeks[14]; in init_weeks() local
4226 weeks[0] = "Sunday"; in init_weeks()
4227 weeks[1] = "Monday"; in init_weeks()
4228 weeks[2] = "Tuesday"; in init_weeks()
4229 weeks[3] = "Wednesday"; in init_weeks()
4230 weeks[4] = "Thursday"; in init_weeks()
4231 weeks[5] = "Friday"; in init_weeks()
4232 weeks[6] = "Saturday"; in init_weeks()
4233 weeks[7] = "Sun"; in init_weeks()
4234 weeks[8] = "Mon"; in init_weeks()
[all …]
/freebsd/usr.bin/ncal/
H A Dncal.c62 char weeks[MAX_WIDTH + 1]; member
763 printf("%-*s", mw, year[i].weeks); in monthranger()
854 memset(mlines->weeks + k, ' ', dw); in mkmonthr()
856 memcpy(mlines->weeks + k, in mkmonthr()
858 mlines->weeks[k] = '\0'; in mkmonthr()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_jupiter.c319 if (jupiter_pps(up) || !up->piv_next.weeks) in jupiter_checkpps()
326 up->ref_next.weeks = 0; /* consider as consumed... */ in jupiter_checkpps()
338 up->ref_next.weeks = 0; /* consumed... */ in jupiter_checkpps()
709 if (up->piv_next.weeks) { in jupiter_parse_t()
/freebsd/contrib/dialog/
H A Dcalendar.c379 int *weeks = 0; in draw_day() local
407 weeks = getisoweeks(current->tm_year + 1900, current->tm_mon + 1); in draw_day()
419 weeks ? weeks[windx++] : ++week); in draw_day()
/freebsd/contrib/ntp/include/
H A Dntp_calgps.h38 uint32_t weeks; /* weeks since GPS epoch */ member
/freebsd/contrib/libcbor/
H A DCONTRIBUTING.md30 If you do not receive a response in a few weeks, feel free to ping the PR or issue.
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.stats238 +2.0100E+02 week number for delta leap (weeks)
239 +1.9100E+02 week number for future leap (weeks)
/freebsd/contrib/ntp/scripts/update-leap/
H A Dinvoke-update-leap.texi35 need not be run more frequently than about once every three weeks.
126 three weeks.
H A Dupdate-leap-opts.def138 need not be run more frequently than about once every three weeks.
H A Dupdate-leap.in450 three weeks.
/freebsd/sys/contrib/device-tree/Bindings/
H A Dsubmitting-patches.rst74 maintainers after a few weeks, go ahead and take it.
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.cppm
H A Dchrono.inc67 using std::chrono::weeks;
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dduration.h292 typedef duration< int, ratio_multiply<ratio<7>, days::period>> weeks;

12