Searched refs:day (Results 51 - 75 of 172) sorted by relevance

1234567

/freebsd-9.3-release/crypto/heimdal/tests/kdc/
H A Dcheck-keys.in69 --realm-max-ticket-life=1day \
H A Dcheck-uu.in78 --realm-max-ticket-life=1day \
H A Dcheck-referral.in77 --realm-max-ticket-life=1day \
83 --realm-max-ticket-life=1day \
/freebsd-9.3-release/sys/arm/mv/
H A Drtc.c144 ct.day = FROMBCD(val & 0x7f);
170 val = TOBCD(ct.day) | (TOBCD(ct.mon) << 8) |
/freebsd-9.3-release/sys/arm/s3c2xx0/
H A Ds3c24x0_rtc.c94 ct.day = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDDATE)); \
135 bus_write_1(sc->mem_res, RTC_BCDDATE, TOBCD(ct.day));
/freebsd-9.3-release/sys/mips/atheros/
H A Dpcf2123_rtc.c133 ct.day = FROMBCD(rxTimedate[4] & 0x3f);
176 txTimedate[4] = TOBCD(ct.day);
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dos_none.c35 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
H A Dos_unix.c61 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
68 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
76 tm.tm_mday = day;
/freebsd-9.3-release/usr.bin/calendar/
H A DMakefile5 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
/freebsd-9.3-release/contrib/ntp/libparse/
H A Dclk_schmid.c67 * Bit 2: week day, 1 byte (unused here)
138 clock_time->day = buffer[4];
H A Dclk_rcc8000.c87 if ( STOI(O_DAY, &clock_time->day) ||
H A Dclk_computime.c83 {8, 2}, {5, 2}, {2, 2}, /* day, month, year */
123 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
H A Dclk_wharton.c106 clock_time->day = (buffer[8] - '0') * 10 + buffer[7] - '0';
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dtm.c75 static const char *day[7] = { variable
238 case 'A': /* The day of week, using the locale's form. */
243 len = strlen(day[i]);
244 if (strncasecmp(day[i], bp, len) == 0)
298 case 'd': /* The day of month. */
325 case 'j': /* The day of year. */
387 case 'w': /* The day of week, beginning on sunday. */
/freebsd-9.3-release/lib/libncp/
H A Dncpl_misc.c57 u_time.tm_mday = source->day;
161 sDate->day = date & 0x1f;
200 u_time.tm_mday = d.day;
/freebsd-9.3-release/tools/tools/prstats/
H A Dprstats.pl74 my $day;
82 ($month, $day, $hour, $minute, $second, $year) =
89 return mktime($second, $minute, $hour, $day, $month - 1, $year - 1900);
/freebsd-9.3-release/usr.sbin/pw/
H A Dpsdate.c123 parse_datesub(char const * str, int *day, int *mon, int *year) argument
132 *day = i;
134 *day = i;
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_ulink.c275 * O - during STD to DST day 0000-2400
277 * I - during DST to STD day 0000-2400
292 char_quality, &pp->year, &pp->day,
347 * O - during STD to DST day 0000-2400
349 * I - during DST to STD day 0000-2400
364 char_quality, &pp->year, &pp->day,
411 * DDD = current day from 1 to 366
424 &syncchar, &quality, &modechar, &pp->year, &pp->day,
H A Drefclock_fg.c274 pp->day = 100 * BP2(3) + 10 * BP1(4) + BP2(4);
278 benahour. It doubles day number for an hours in replys after 10:10:10 UTC
306 "%d %d %d %d %d", pp->year, pp->day, pp->hour,
314 pp->year, pp->day, pp->hour, pp->minute, pp->second);
H A Drefclock_gpsvme.c188 pp->day = BCD2INT3((thi & 0x0FFF0000) >> 16);
198 "%3.3d %2.2d:%2.2d:%2.2d.%09ld %02x %08x %08x", pp->day,
213 /* With the first timecode beginning the day, check for a GPS
222 /* check_leap_sec: read the Dual Port RAM leap second day registers. The
223 onboard GPS receiver should write the hundreds digit of day of year in
244 if (leap_day && leap_day == pp->day) {
246 msyslog(LOG_ERR, "LEAP_ADDSECOND flag set, day %d (%x %x).",
H A Drefclock_palisade.c83 /* Table to get from month to day of the year */
405 * unpack_date - get day and year from date
412 int day, mon, year; local
419 day = dt[0] + days_of_year[mon - 1];
425 day ++; /* leap year and March or later */
427 return day;
539 if ((pp->day = day_of_year(&mb(11))) < 0) break;
615 if ((pp->day = day_of_year(&mb(14))) < 0)
753 if ((pp->day = day_of_year(&mb(13))) < 0)
758 printf("pp->day
[all...]
H A Drefclock_mx4200.c386 /* day of month */
577 /* day of month */
883 pp->year, pp->day, pp->hour, pp->minute, pp->second,
1092 pp->day = day_of_year;
1126 * Tables to compute the day of year. Viva la leap.
1141 register int day, i; local
1164 day = day_of_month;
1168 if (day > day2tab[month - 1]) {
1172 day += day2tab[i];
1175 if (day > day1ta
[all...]
H A Drefclock_leitch.c76 short day; member in struct:leitchunit
554 leitch->day = ATOB(4)*10 + ATOB(5);
559 if (leitch->day > days_in_month[leitch->month-1])
564 leitch->yearday = leitch->day;
/freebsd-9.3-release/contrib/ntp/parseutil/
H A Ddcfd.c206 long day; member in struct:clocktime
288 * 42 - 44 DW - BCD (lsb first) day of week (1: Monday -> 7: Sunday)
469 clock_time->day = ext_bf(buffer, DCF_D10);
470 clock_time->day = TIMES10(clock_time->day) + ext_bf(buffer, DCF_D1);
821 /* day */
822 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ?
823 clock_time->day > 29 : clock_time->day > days_of_month[clock_time->month]))
826 return -1; /* bad day */
[all...]
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dcalendar.c233 /* test the day/sec join & split ops, making sure that 32bit
240 int32 day,sec; local
242 for (day = -1000000; day <= 1000000; day += 100) {
249 merge = ntpcal_dayjoin(day, sec);
251 eday = day;
324 /* check last day of february for first 10000 years */
343 /* check first day of march for first 10000 years */
509 * end of the operation that gets us the first day o
[all...]

Completed in 308 milliseconds

1234567