Searched refs:day (Results 26 - 50 of 172) sorted by relevance

1234567

/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dos_win32.c55 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
70 tm.tm_mday = day;
H A Dos_internal.c50 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
55 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
63 tm.tm_mday = day;
/freebsd-9.3-release/crypto/heimdal/doc/
H A Dmdate-sh41 # Find the month. Next argument is day, followed by the year or time.
62 day=$2
65 # the time of day or the year.
92 echo $day $month $year
/freebsd-9.3-release/sys/mips/cavium/
H A Docteon_ds1337.c83 CT_CHECK(ct->day < 1 || ct->day > 31, "day");
84 CT_CHECK(ct->dow < 0 || ct->dow > 6, "day of week");
128 ct.day = bcd2bin(reg[4] & 0x3f);
171 reg[4] = bin2bcd(ct.day);
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_rtcreg.h77 #define RTC_CALR_MK(yr, mon, day, dow) \
82 (TOBCD(day) << RTC_CALR_DAY_S))
/freebsd-9.3-release/sys/kern/
H A Dsubr_fattime.c33 * yyyyyyymmmmddddd (year - 1980, month, day)
78 #define DAY (24 * 60 * 60) /* Length of day in seconds */
184 /* And apply the day in the month */
220 unsigned day; local
230 day = (dd & 0x1f) - 1;
233 day += LYC * ((dd >> 11) & 0x1f);
236 day += daytab[(dd >> 5) & 0x3f];
242 if (day >= ((2100 - 1980) / 4 * LYC + FEB))
243 day--;
246 day
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_bancomm.c122 unsigned short day; member in struct:vmedate
371 tptr->day,
380 pp->day = tptr->day;
389 pp->day, pp->hour, pp->minute, pp->second,
470 /* Get day */
474 time_vme->day = (unsigned short)atoi(cbuf);
521 time_vme->day = maj.tm_yday+1;
537 time_vme->day = stfp->tm.tm_yday+1;
H A Drefclock_chronolog.c63 int day; /* day-of-month */ member in struct:chronolog_unit
178 int hours; /* hour-of-day */
219 if (sscanf(pp->a_lastcode, "Y %d/%d/%d", &up->year,&up->month,&up->day))
247 local.tm_mday = up->day;
261 pp->day = ymd2yd (adjyear, adjmon, gmtp->tm_mday);
276 pp->day = ymd2yd(year+1900,month,day);
H A Drefclock_wwvb.c69 * ddd = day of year
81 * and reset to ' ' on the first day of the following month. The d is
82 * set to 'S' for standard time 'I' on the day preceding a switch to
83 * daylight time, 'D' for daylight time and 'O' on the day preceding a
108 * message of a new day is received.
258 int day, month; /* ddd conversion */ local
332 &syncchar, &pp->day, &pp->hour, &pp->minute,
345 &syncchar, &qualchar, &pp->year, &pp->day,
363 &syncchar, &pp->year, &month, &day, &pp->hour,
366 pp->day
[all...]
H A Drefclock_datum.c138 int day; /* day */ member in struct:datum_pts_unit
549 ** Convert the seven bytes received in our time buffer to day, hour, minute,
555 datum_pts->day = 100*(datum_pts->retbuf[0] & 0x0f) +
576 printf("day %d, hour %d, minute %d, second %d, msec %d\n",
577 datum_pts->day,
587 ** determine the offset if the Datum PTS is using time of day as its time
605 ** This is the case where the Datum PTS is using regular time of day for its
619 if (clocktime( datum_pts->day,
660 if (!clocktime( datum_pts->day,
[all...]
H A Drefclock_jjy.c178 int year, month, day, hour, minute, second, msecond ; member in struct:jjyunit
414 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATE "# Invalid date : rc=%d year=%d month=%d day=%d"
416 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATETIME "# Invalid time : rc=%d year=%d month=%d day=%d hour=%d minute=%d second=%d"
1011 pp->day = ymd2yd( up->year, up->month, up->day ) ;
1023 pp->day -- ;
1024 if ( pp->day < 1 ) {
1026 pp->day = ymd2yd( pp->year, 12, 31 ) ;
1049 up->year, up->month, up->day,
1051 pp->year, pp->day, p
[all...]
H A Drefclock_acts.c109 * jjjjj modified Julian day number (not used)
110 * nnn day of year
111 * hhmmss second of day
732 int day; /* day of the month */ local
779 &mjd, &pp->year, &month, &day, &pp->hour,
785 pp->day = ymd2yd(pp->year, month, day);
803 &mjd, &pp->day, &pp->hour, &pp->minute,
825 &pp->second, &pp->year, &month, &day,
[all...]
H A Drefclock_msfees.c67 bug->values[7] = (u_long)ees->day;
172 #define EESM_DAYWK 4 /* day of week (Sun = 0 etc) */
173 #define EESM_DAY 5 /* day of month in BCD */
260 u_char hour; /* hour of day */
267 u_short day; /* day of year from last code */ member in struct:eesunit
654 register int day; local
807 /* So far, so good. Compute day, hours, minutes, seconds,
818 day = bcdunpack(cp[EESM_DAY]); /* day o
[all...]
H A Drefclock_neoclock4x.c450 int day; local
554 neol_atoi_len(&pp->a_lastcode[NEOCLOCK4X_OFFSET_DAY], &day, 2);
580 (day < 1) || (day > 31) ||
604 calc_utc = neol_mktime(pp->year, month, day, pp->hour, pp->minute, pp->second);
609 neol_localtime(calc_utc, &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second);
614 pp->day = ymd2yd(pp->year, month, day);
621 pp->year, month, day,
633 up->utc_day = day;
831 neol_mktime(int year, int mon, int day, int hour, int min, int sec) argument
851 neol_localtime(unsigned long utc, int* year, int* month, int* day, int* hour, int* min, int* sec) argument
[all...]
H A Drefclock_arc.c153 *day*, we can imagine that it is not, and is free-running. We
314 /* 7. day of week 1-monday 7-sunday */
315 /* 8. day of month tens */
316 /* 9. day of month units */
511 the first day of the first/seventh months.
1170 || !get2(pp->a_lastcode + 8, &pp->day)
1196 (pp->day < 1) || (pp->day > 31) ||
1236 pp->day, month, pp->year, flags, status);
1266 pp->day
[all...]
/freebsd-9.3-release/contrib/cvs/doc/
H A Dmdate-sh131 # $3 = day
138 # $1 = day
160 ???*) day=$1;;
161 *) day=$3; shift;;
165 # the time of day or the year.
192 echo $day $month $year
/freebsd-9.3-release/contrib/ntp/parseutil/
H A Dtestdcf.c57 long day; member in struct:clocktime
123 * 42 - 44 DW - BCD (lsb first) day of week (1: Monday -> 7: Sunday)
247 clock_time->day = ext_bf(buffer, DCF_D10);
248 clock_time->day = TIMES10(clock_time->day) + ext_bf(buffer, DCF_D1);
419 clock_time.day = 0;
460 clock_time.day = 0;
492 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
/freebsd-9.3-release/usr.bin/calendar/
H A Dcalendar.h126 int day; member in struct:event
155 /* day.c */
186 void addtodate(struct event *e, int year, int month, int day);
H A Dio.c88 int day[MAXCOUNT]; local
173 if ((count = parsedaymonth(buf, year, month, day, &flags,
194 tm.tm_mday = day[i];
200 events[i] = event_add(year[i], month[i], day[i], dbuf,
/freebsd-9.3-release/usr.sbin/ac/
H A Dac.c303 /* For next day. */
409 int day, rfound; local
411 day = -1;
430 if (day >= 0 && day != ltm->tm_yday) {
431 day = ltm->tm_yday;
442 day = ltm->tm_yday;
485 if (day >= 0 && day != ltm->tm_yday) {
/freebsd-9.3-release/crypto/openssl/crypto/
H A Do_time.c180 short year, month, day, hour, minute, second, centi_second; member in struct:vms_vectime
206 result->tm_mday = time_values.day;
/freebsd-9.3-release/contrib/ntp/libparse/
H A Dclk_sel240x.c144 clock_time->day = ptime.tm_mday;
/freebsd-9.3-release/contrib/ntp/clockstuff/
H A Dchutest.c548 int day, hour, minute, second; local
595 * Collect the day, the hour, the minute and the second.
597 day = *code++;
598 day = MULBY10(day) + *code++;
599 day = MULBY10(day) + *code++;
608 * Sanity check the day and time. Note that this
612 if (day < 1 || day > 36
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Dcalendar.c32 #define DAY_HIGH 6 /* maximum lines in day-grid */
33 #define DAY_WIDE (8 * MON_WIDE) /* width of the day-grid */
37 /* two more lines: titles for day-of-week and month/year boxes */
213 * Draw the day-of-month selection box
221 int day = current->tm_mday; local
261 if (mday == day) {
262 wattrset(data->window, item_selected_attr); /* selected day */
269 } else if (mday == day) {
272 } else if (mday == day) {
385 int day,
381 dialog_calendar(const char *title, const char *subtitle, int height, int width, int day, int month, int year) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/tests/java/
H A Dcheck-kinit.in68 --realm-max-ticket-life=1day \

Completed in 400 milliseconds

1234567