Searched refs:weeks (Results 1 - 11 of 11) sorted by relevance

/freebsd-10-stable/contrib/ntp/libparse/
H A Dgpstolfp.c42 u_int weeks,
48 if (weeks < GPSWRAP)
50 weeks += GPSWEEKS;
53 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */
68 * (GPSWRAP): update GPS rollover to 990 weeks
41 gpstolfp( u_int weeks, u_int days, unsigned long seconds, l_fp * lfp ) argument
/freebsd-10-stable/contrib/ldns/
H A Dduration.c64 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-10-stable/lib/libc/nameser/
H A Dns_ttl.c56 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-10-stable/contrib/ldns/ldns/
H A Dduration.h55 time_t weeks; member in struct:ldns_duration_struct
/freebsd-10-stable/tools/tools/portsinfo/
H A Dportsinfo.sh4 # portsinfo - Generate list of new ports for last two weeks.
46 New ports added last two weeks
66 Updated ports last two weeks
/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_calendar.c1591 * The ISO8601 calendar defines a calendar of years, weeks and weekdays.
1594 * calendar year has always 52 or 53 weeks, and like the Grogrian
1596 * 146097 days, or 20871 weeks.
1600 * different approach, based directly on years and weeks.
1603 * interpolate from years to weeks over a full 400 year range; cyclic
1608 * It can be shown that a conversion from years to weeks can be done
1636 * christian era, return the number of elapsed weeks corresponding to
1660 * Assuming a century is 5217 weeks, we have to add a cycle
1662 * centuries have 5218 weeks. So '(cc*3 + 1) / 4' is the actual
1672 /* Get weeks i
1806 int32_t weeks, days, secs; local
[all...]
/freebsd-10-stable/contrib/libc++/src/
H A Dlocale.cpp4444 static string weeks[14]; local
4445 weeks[0] = "Sunday";
4446 weeks[1] = "Monday";
4447 weeks[2] = "Tuesday";
4448 weeks[3] = "Wednesday";
4449 weeks[4] = "Thursday";
4450 weeks[5] = "Friday";
4451 weeks[6] = "Saturday";
4452 weeks[7] = "Sun";
4453 weeks[
4466 static wstring weeks[14]; local
4488 static const string* weeks = init_weeks(); local
4496 static const wstring* weeks = init_wweeks(); local
[all...]
/freebsd-10-stable/contrib/ntp/ntpd/
H A Drefclock_nmea.c136 * WN -- GPS week number (weeks since 1980-01-06, mod 1024)
264 * This record contains the number of weeks since 1980-01-06 modulo
1704 * The GPS week time scale counts weeks since Sunday, 1980-01-06, modulo
1794 int32_t adj_day, weeks; /* adjusted GPS day and week shift */ local
1838 /* - get unfold base: day of full recv time - 512 weeks */
1860 weeks = (adj_day - gps_day) / 7;
1861 if (weeks != up->epoch_warp) {
1862 up->epoch_warp = weeks;
1864 "%s Changed GPS epoch warp to %d weeks",
1865 refnumtoa(&peer->srcadr), weeks));
[all...]
/freebsd-10-stable/usr.bin/ncal/
H A Dncal.c61 char weeks[MAX_WIDTH + 1]; member in struct:monthlines
753 printf("%-*s", mw, year[i].weeks);
845 memset(mlines->weeks + k, ' ', dw);
847 memcpy(mlines->weeks + k,
849 mlines->weeks[k] = '\0';
/freebsd-10-stable/contrib/ntp/scripts/update-leap/
H A Dupdate-leap-opts.def138 need not be run more frequently than about once every three weeks.
H A Dupdate-leap.in449 three weeks.

Completed in 113 milliseconds