Searched refs:day (Results 101 - 125 of 154) sorted by relevance

1234567

/freebsd-11.0-release/sbin/pfctl/
H A Dpfctl_parser.c494 unsigned int sec, min, hrs, day = runtime; local
496 sec = day % 60;
497 day /= 60;
498 min = day % 60;
499 day /= 60;
500 hrs = day % 24;
501 day /= 24;
504 running, day, hrs, min, sec);
/freebsd-11.0-release/usr.bin/calendar/
H A Ddates.c40 int easter; /* Julian day */
41 int paskha; /* Julian day */
42 int cny; /* Julian day */
444 addtodate(struct event *e, int year, int month, int day) argument
448 d = find_day(year, month, day);
H A Dparsedata.c50 static int wdayom (int day, int offset, int month, int year);
240 /* Check if there is an every-day or every-month in the string */
380 * day is the day of the week,
384 wdayom (int day, int offset, int month, int year) argument
386 /* Weekday of first day in month */
387 int wday1; /* first day of month */
388 /* Weekday of last day in month */
399 d = (day - wday1 + 1) % 7;
425 * numeric month or day (
[all...]
/freebsd-11.0-release/contrib/ntp/libparse/
H A Dclk_meinberg.c74 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
75 * <w> = day of week (sunday= 0)
97 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
98 * <w> = day of week (sunday= 0)
126 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
127 * <w> = day of week (sunday= 0)
302 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
482 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
/freebsd-11.0-release/contrib/ntp/include/
H A Dparse.h305 long day; member in struct:clocktime
/freebsd-11.0-release/sys/dev/hpt27xx/
H A Dosm.h122 HPT_U32 day:5; /* 1 - 31 */ member in struct:_TIME_RECORD
/freebsd-11.0-release/sys/dev/hptmv/
H A Darray.h44 UINT day:5; /* 1 - 31 */ member in struct:_TIME_RECORD
H A Dvdevice.h279 UINT day:5; /* 1 - 31 */ member in struct:_TIME_RECORD
/freebsd-11.0-release/sys/dev/hptnr/
H A Dosm.h120 HPT_U32 day:5; /* 1 - 31 */ member in struct:_TIME_RECORD
/freebsd-11.0-release/sys/dev/hptrr/
H A Dosm.h90 HPT_U32 day:5; /* 1 - 31 */ member in struct:_TIME_RECORD
/freebsd-11.0-release/sys/fs/udf/
H A Decma167-udf.h112 uint8_t day; member in struct:timestamp
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Drefclock_arbiter.c48 * ddd = day of year
351 &syncchar, &pp->year, &pp->day, &pp->hour,
H A Drefclock_as2201.c28 * day of year, hh:mm:ss = second of day and mmm = millisecond of
302 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->nsec)
H A Drefclock_dumbclock.c59 * worse than this number of seconds away, assume the next day and retry.
201 int hours; /* hour-of-day */
253 * means we have to figure out what day it is. Easier said
277 * year/month/day wrong.
305 pp->day = ymd2yd (adjyear, adjmon, gmtp->tm_mday);
H A Drefclock_ripencc.c95 #define UTCF_LEAP_PNDG (unsigned char) (1<<5) /* Leap pending, will occur at end of day */
1470 unsigned day, month, year; /* data derived from received timecode */ local
1503 day = (unsigned int) buf[14];
1511 day, month, year, hour, minute, second, trackstat, utcflags);
1543 if (month < 1 || month > 12 || day < 1 || day > 31)
1547 if (day > day1tab[month - 1])
1550 day += day1tab[i];
1552 if (day > day2tab[month - 1])
1555 day
1588 unsigned day, month, year; /* data derived from received timecode */ local
[all...]
H A Drefclock_true.c526 &pp->day, &pp->hour, &pp->minute,
551 if (!clocktime(pp->day, pp->hour, pp->minute,
H A Drefclock_tsyncpci.c619 pp->day = TimeContext.timeObj.days;
639 offset.l_ui = (long)(((pp->day - 1) * 24) + pp->hour + GMT);
651 // Subtract leap second info by one second to determine effective day
887 // Calculate the day of year as the number of days left, then add 1
H A Drefclock_chu.c41 * day and season.
75 * The first ten digits encode a frame marker (6) followed by the day
130 * The nibble-swapped timecode shows day 58, hour 21, minute 29 and
163 * ddd day of year
164 * hh:mm:ss time of day
1382 synchar, qual, pp->year, pp->day, pp->hour, pp->minute,
1394 if (!clocktime(pp->day, pp->hour, pp->minute, 0, GMT,
1482 if (sscanf((char *)code, "%1x%3d%2d%2d", &synchar, &pp->day,
H A Dcheck_y2k.c218 days = 365+1; /* days in year 0 + 1 more day */
412 ct.day = 1;
430 t = julian0(year) - julian0(1970); /* Julian day from 1970 */
547 int d; /* expected day */
552 ntp_time += ( 24 * 60 * 60 ); /* advance to the next day */
553 caljulian( ntp_time, &ot ); /* convert this day */
/freebsd-11.0-release/sys/dev/iicbus/
H A Dds3231.c512 ct.day = FROMBCD(data[DS3231_DATE] & DS3231_DATE_MASK);
549 data[DS3231_DATE + 1] = TOBCD(ct.day);
/freebsd-11.0-release/usr.bin/find/
H A Dgetdate.y156 | day {
215 day : tDAY { label
349 /* Month and day table. */
384 { "day", tMINUTE_UNIT, 1 * 24 * 60 },
835 /* difference in day of year */
/freebsd-11.0-release/usr.sbin/fifolog/lib/
H A Dgetdate.y118 | day {
195 day : tDAY { label
329 /* Month and day table. */
364 { "day", tMINUTE_UNIT, 1 * 24 * 60 },
/freebsd-11.0-release/contrib/ntp/libntp/
H A Dntp_calendar.c49 * This is a sacrifice made for execution speed. Since a 32-bit day
351 unsigned short hour, minute, second, day, year; local
377 &hour, &minute, &second, monstr, &day, &year)) {
382 jd->monthday = (uint8_t)day;
427 * ON the first day, with 3hrs, 4minutes and 5 seconds elapsed.
434 * To ease the numeric computations, month and day values outside the
435 * normal range are acceptable: 2001-03-00 will be treated as the day
440 * (day number). This is the number of days elapsed since 0000-12-31
478 * + let T be a UN*X time stamp and V be seconds-of-day: then
480 * is a time stamp that has the same seconds-of-day a
[all...]
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Dieee802_11_shared.c461 *pos++ = tm.day; /* Day of month */
/freebsd-11.0-release/sys/xen/interface/
H A Dplatform.h148 uint8_t day; member in struct:xenpf_efi_time

Completed in 459 milliseconds

1234567