/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | gpstolfp.c | 42 u_int weeks, 48 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */ 63 * (GPSWRAP): update GPS rollover to 990 weeks 41 gpstolfp( u_int weeks, u_int days, unsigned long seconds, l_fp * lfp ) argument
|
/freebsd-11-stable/contrib/ldns/ |
H A D | duration.c | 64 duration->weeks = 0; 93 if (d1->weeks != d2->weeks) { 94 return (int) (d1->weeks - d2->weeks); 185 duration->weeks = (time_t) atoi(str+1); 232 if (duration->weeks > 0) { 233 count = count + 1 + digits_in_number(duration->weeks); 272 if (duration->weeks > 0) { 273 count = digits_in_number(duration->weeks); [all...] |
/freebsd-11-stable/lib/libc/nameser/ |
H A D | ns_ttl.c | 56 int secs, mins, hours, days, weeks, x; local 63 weeks = src; src = 0; 66 if (weeks) { 67 T(fmt1(weeks, 'W', &dst, &dstlen)); 82 if (secs || !(weeks || days || hours || mins)) {
|
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | duration.h | 55 time_t weeks; member in struct:ldns_duration_struct
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | ntp_calgps.c | 86 ++datum->weeks; 90 --datum->weeks; 313 date.weeks = ((date.weeks - base) & 1023u) + base; 316 ts64 = ntpcal_weekjoin(date.weeks, date.wsecs); 364 week = out.weeks; 367 out.weeks = week; 461 /* Splitting to weeks is simple now: */ 465 /* re-base on start of NTP with weeks mapped to 1024 weeks [all...] |
H A D | ntp_calendar.c | 768 * Split a 64bit seconds value into elapsed weeks in 'res.hi' and 1176 /* multiplication helper. Seconds in days and weeks are multiples of 128, 1253 * Merge a number of weeks and a number of seconds into seconds, 1726 * The ISO8601 calendar defines a calendar of years, weeks and weekdays. 1729 * calendar year has always 52 or 53 weeks, and like the Grogrian 1731 * 146097 days, or 20871 weeks. 1735 * different approach, based directly on years and weeks. 1738 * interpolate from years to weeks over a full 400 year range; cyclic 1743 * It can be shown that a conversion from years to weeks can be done 1771 * christian era, return the number of elapsed weeks correspondin 1965 int32_t weeks, days, secs; local [all...] |
/freebsd-11-stable/tools/tools/portsinfo/ |
H A D | portsinfo.sh | 4 # portsinfo - Generate list of new ports for last two weeks. 46 New ports added last two weeks 66 Updated ports last two weeks
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_calgps.h | 20 /* GPS week calendar (extended weeks) 21 * We use weeks based on 1899-31-12, which was the last Sunday before 33 #define GPSNTP_WSHIFT 4175 /* weeks 1899-31-12 --> 1980-01-06 */ 38 uint32_t weeks; /* weeks since GPS epoch */ member in struct:gpsdatum
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | locale.cpp | 4514 static string weeks[14]; local 4515 weeks[0] = "Sunday"; 4516 weeks[1] = "Monday"; 4517 weeks[2] = "Tuesday"; 4518 weeks[3] = "Wednesday"; 4519 weeks[4] = "Thursday"; 4520 weeks[5] = "Friday"; 4521 weeks[6] = "Saturday"; 4522 weeks[7] = "Sun"; 4523 weeks[ 4536 static wstring weeks[14]; local 4558 static const string* weeks = init_weeks(); local 4566 static const wstring* weeks = init_wweeks(); local [all...] |
/freebsd-11-stable/usr.bin/ncal/ |
H A D | ncal.c | 63 char weeks[MAX_WIDTH + 1]; member in struct:monthlines 755 printf("%-*s", mw, year[i].weeks); 847 memset(mlines->weeks + k, ' ', dw); 849 memcpy(mlines->weeks + k, 851 mlines->weeks[k] = '\0';
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_jupiter.c | 319 if (jupiter_pps(up) || !up->piv_next.weeks) 326 up->ref_next.weeks = 0; /* consider as consumed... */ 338 up->ref_next.weeks = 0; /* consumed... */ 709 if (up->piv_next.weeks) {
|
/freebsd-11-stable/contrib/ntp/scripts/update-leap/ |
H A D | update-leap.in | 449 three weeks.
|