Home
last modified time | relevance | path

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

12

/src/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.c1823 int32_t weeks in isocal_split_eraweeks() argument
1850 sf64 = (uint64_t)-(weeks < 0); in isocal_split_eraweeks()
1851 sw64 = ((uint64_t)weeks << 2) | 2u; in isocal_split_eraweeks()
1863 uint32_t ux = ((uint32_t)weeks << 2) | 2; in isocal_split_eraweeks()
1864 sw = (weeks < 0) ? 5491u : 0u; /* sign dgt */ in isocal_split_eraweeks()
1865 sw += ((weeks >> 18) & 0x01FFFu) * 5026u; /* hi dgt (src!) */ in isocal_split_eraweeks()
1964 int32_t weeks, days, secs; in isocal_date_to_ntp64() local
1966 weeks = isocal_weeks_in_years((int32_t)id->year - 1) in isocal_date_to_ntp64()
1968 days = weeks * 7 + (int32_t)id->weekday; in isocal_date_to_ntp64()
/src/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()
/src/usr.bin/calendar/calendars/
H A Dcalendar.status_reports10 03/31 Status Reports: 2 weeks left reminder for Q1
15 06/30 Status Reports: 2 weeks left reminder for Q2
20 09/30 Status Reports: 2 weeks left reminder for Q3
25 12/31 Status Reports: 2 weeks left reminder for Q4
/src/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()
/src/crypto/openssl/crypto/x509/
H A Dv3_timespec.c99 ASN1_EXP_OPT(OSSL_TIME_PERIOD, weeks, OSSL_TIME_SPEC_WEEKS, 2),
365 if (p->weeks != NULL) { in i2r_OSSL_PERIOD()
389 if (p->weeks != NULL) { in i2r_OSSL_PERIOD()
452 if (p->weeks) { in i2r_OSSL_PERIOD()
453 if (p->weeks->type == OSSL_TIME_SPEC_WEEKS_TYPE_INT) { in i2r_OSSL_PERIOD()
466 switch (p->weeks->type) { in i2r_OSSL_PERIOD()
472 for (i = 0; i < sk_ASN1_INTEGER_num(p->weeks->choice.intWeek); i++) { in i2r_OSSL_PERIOD()
473 big_val = sk_ASN1_INTEGER_value(p->weeks->choice.intWeek, i); in i2r_OSSL_PERIOD()
483 if (!print_bit_week(out, p->weeks->choice.bitWeek)) in i2r_OSSL_PERIOD()
/src/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()
/src/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()
/src/contrib/ldns/ldns/
H A Dduration.h55 time_t weeks; member
/src/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 …]
/src/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()
/src/contrib/bc/
H A DMAINTENANCE-TERMS.md26 weeks of fuzzing without error.
28 two weeks.
/src/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()
/src/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()
/src/contrib/ntp/include/
H A Dntp_calgps.h38 uint32_t weeks; /* weeks since GPS epoch */ member
/src/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.
/src/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)
/src/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.
/src/contrib/tzdata/
H A Dcalendars20 It also used 5- and 6-day work weeks at times, in parallel with the
/src/sys/contrib/device-tree/Bindings/
H A Dsubmitting-patches.rst93 maintainers after a few weeks, go ahead and take it.

12