| /src/external/bsd/ntp/dist/tests/libntp/ |
| caltontp.c | 15 struct calendar input = {2010, 0, 6, 24, 12, 50, 0}; 26 struct calendar input = {2010, 175, 0, 0, 12, 50, 0}; 37 struct calendar inputYd = {2012, 176, 0, 0, 12, 00, 00}; 38 struct calendar inputMd = {2012, 0, 6, 24, 12, 00, 00}; 50 struct calendar input = {2036, 0, 2, 7, 6, 28, 16};
|
| caljulian.c | 23 CalendarToString(const struct calendar cal) 36 IsEqual(const struct calendar expected, const struct calendar actual) 71 struct calendar expected = {2010,160,6,9,14,0,0}; 73 struct calendar actual; 83 struct calendar expected = {2012, 179, 6, 28, 20, 0, 0}; 85 struct calendar actual; 95 struct calendar expected = {2036,0,2,7,6,28,15}; 97 struct calendar actual; 107 struct calendar expected = {2036,0,2,7,6,28,16} [all...] |
| calendar.c | 1 /* $NetBSD: calendar.c,v 1.3 2024/08/18 20:47:26 christos Exp $ */ 21 char * CalendarFromCalToString(const struct calendar *cal); 23 int IsEqualCal(const struct calendar *expected, const struct calendar *actual); 25 char * DateFromCalToString(const struct calendar *cal); 27 int IsEqualDateCal(const struct calendar *expected, const struct calendar *actual); 102 const struct calendar *cal) 127 const struct calendar *expected, 128 const struct calendar *actual [all...] |
| /src/usr.bin/calendar/ |
| Makefile | 9 PROG= calendar 12 FILESDIR=/usr/share/calendar 14 FILES+=${.CURDIR}/calendars/calendar.${_C_}
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_calendar.h | 4 * ntp_calendar.h - definitions for the calendar time-of-day routine 13 /* gregorian calendar date */ 14 struct calendar { struct 24 typedef struct calendar TCivilDate; 25 typedef struct calendar const TcCivilDate; 27 /* ISO week calendar date */ 118 extern char * ntpcal_iso8601std(char*, size_t, struct calendar const*); 119 extern void caljulian (uint32_t, struct calendar *); 120 extern uint32_t caltontp (const struct calendar *); 135 ntpcal_get_build_date(struct calendar * /* jd */) [all...] |
| ntp_crypto.h | 166 struct calendar first; /* not valid before */ 167 struct calendar last; /* not valid after */
|
| /src/external/bsd/ntp/dist/util/ |
| lsf-times.c | 54 struct calendar cal = {0}; 180 struct calendar input = {2010, 0, 6, 24, 12, 50, 0}; 191 struct calendar input = {2010, 175, 0, 0, 12, 50, 0}; 202 struct calendar inputYd = {2012, 176, 0, 0, 12, 00, 00}; 203 struct calendar inputMd = {2012, 0, 6, 24, 12, 00, 00}; 215 struct calendar input = {2036, 0, 2, 7, 6, 28, 16};
|
| /src/external/bsd/ntp/dist/libntp/ |
| caljulian.c | 6 * (Note: since we use the GREGORIAN calendar, this should be renamed to 26 struct calendar * jt
|
| caltontp.c | 17 * Add support for full calendar calculations. If the day-of-year is provided 19 * otherwise a full turn through the calendar calculations will be taken. 27 * Apart from that the calendar is perfectly capable of dealing with 39 const struct calendar *jt
|
| ntp_calendar.c | 4 * ntp_calendar.c - calendar and helper functions 12 * Calendar algorithms thrive on the division operation, which is one of 45 * calculation steps in the whole calendar that potentially suffer from 267 struct calendar * jd 348 * basic calendar stuff 355 * We use the proleptic Gregorian calendar, which is the Gregorian 356 * calendar extended in both directions ad infinitum. This totally 357 * disregards the fact that this calendar was invented in 1582, and 367 * The basic calculations for this calendar implementation deal with 379 * in the proleptic Gregorian calendar. The begin of the Christian Er [all...] |
| prettydate.c | 42 * An explanation: The julian calendar repeats ever 28 years, because 44 * called a 'solar cycle'. The gregorian calendar does the same as 193 struct calendar jd;
|
| systime.c | 605 struct calendar jd;
|
| /src/usr.bin/ |
| Makefile | 8 bzip2 bzip2recover c11 c17 c89 c99 cal calendar cap_mkdb cdplay \
|
| /src/usr.bin/sys_info/ |
| sys_info.sh | 126 calendar) 127 v=$(run "calendar -v" || true) 129 "") printf '%s\n' "calendar-20150701" ;;
|
| /src/distrib/evbsh3/rom/ramdiskcommon/ |
| ramdiskbin.conf | 37 progs calendar cap_mkdb chflags chpass cksum cmp col colcrt colrm column comm
|
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_leapsec.c | 172 struct calendar build; 242 struct calendar atb, ttb; 939 struct calendar fts; 991 struct calendar fts; 1159 struct calendar tm;
|
| check_y2k.c | 492 struct calendar ot; 574 struct calendar ot;
|
| ntp_filegen.c | 111 struct calendar cal;
|
| refclock_shm.c | 534 struct calendar cd;
|
| refclock_jupiter.c | 96 * since 0000-12-31 to 1980-01-06 in the proleptic Gregorian Calendar. 319 struct calendar cd; 732 struct calendar tref;
|
| ntp_crypto.c | 44 * calcomp - compare two calendar structures, ignoring yearday and weekday; like strcmp 47 static int calcomp(struct calendar *pjd1, struct calendar *pjd2) 202 static void asn_to_calendar (const ASN1_TIME *, struct calendar*); 1102 struct calendar tscal; 2015 * asn_to_calendar - convert ASN1_TIME time structure to struct calendar. 2022 struct calendar *pjd /* pointer to result */ 3156 struct calendar tscal; 3449 struct calendar fscal;
|
| ntp_util.c | 1066 struct calendar tm;
|
| /src/etc/ |
| daily | 159 calendar -a > $TMP 2>&1 162 echo "Running calendar:"
|
| /src/external/bsd/ntp/dist/tests/ntpd/ |
| leapsec.c | 276 CalendarToString(const struct calendar cal) 289 IsEqual(const struct calendar expected, const struct calendar actual)
|
| /src/usr.bin/crunch/examples/ |
| really-big.conf | 40 progs apropos ar asa at basename biff cal calendar cap_mkdb checknr chpass
|