HomeSort by: relevance | last modified time | path
    Searched defs:month (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/sys/arch/mac68k/mac68k/
pram.c 64 long year, month, day, hour, minute, seconds, i, dayperyear; local
67 month = 0; /* Jan */
90 i = daypmon[month] * 60 * 60 * 24;
93 month++;
119 monstr[month], day, year, hour, minute, seconds);
  /src/sys/arch/mvme68k/stand/netboot/
config.h 46 u_char month; member in struct:brdid
  /src/external/bsd/ntp/dist/ntpd/
refclock_heath.c 81 * dd/mm/yr = day, month, year
280 int month, day; local
306 &pp->minute, &pp->second, &dsec, a, &month, &day,
333 month = tm_time_p->tm_mon + 1;
360 if (month < 1 || month > 12 || day < 1) {
365 if (day > day1tab[month - 1]) {
369 for (i = 0; i < month - 1; i++)
372 if (day > day2tab[month - 1]) {
376 for (i = 0; i < month - 1; i++
    [all...]
refclock_chronolog.c 65 int day; /* day-of-month */
66 int month; /* month-of-year */ member in struct:chronolog_unit
221 if (sscanf(pp->a_lastcode, "Y %d/%d/%d", &up->year,&up->month,&up->day))
248 local.tm_mon = up->month-1;
278 pp->day = ymd2yd(year+1900,month,day);
refclock_hopfser.c 216 int day, month; /* ddd conversion */ local
249 &month,
261 (month < 1) || (month > 12) ||
270 pp->day = ymd2yd(pp->year,month,day);
287 month,
refclock_hpgps.c 264 int month, day, lastday; local
418 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second,
465 if (month < 1 || month > 12 || day < 1) {
472 if (day > day1tab[month - 1]) {
476 for (i = 0; i < month - 1; i++) day += day1tab[i];
480 if (day > day2tab[month - 1]) {
484 for (i = 0; i < month - 1; i++) day += day2tab[i];
545 * Better would be to use :GPSTime? to find the month,
549 if ((month==6) || (month==12)
    [all...]
refclock_leitch.c 77 short month; member in struct:leitchunit
555 leitch->month = ATOB(2)*10 + ATOB(3);
559 if (leitch->month > 12)
561 if (leitch->day > days_in_month[leitch->month-1])
568 while ( i < (leitch->month-1) )
572 leitch->month > 2)
refclock_palisade.h 178 int month; /* for LEAP filter */ member in struct:palisade_unit
refclock_wwvb.c 82 * but is set to 'L' early in the month of an upcoming UTC leap second
83 * and reset to ' ' on the first day of the following month. The d is
261 int day, month; /* ddd conversion */ local
366 &syncchar, &pp->year, &month, &day, &pp->hour,
369 pp->day = ymd2yd(pp->year, month, day);
refclock_acts.c 724 int day; /* day of the month */
725 int month; /* month of the year */ local
741 int leapmonth; /* PTB/NPL month of leap */
771 &mjd, &pp->year, &month, &day, &pp->hour,
777 pp->day = ymd2yd(pp->year, month, day);
817 &pp->second, &pp->year, &month, &day, &pp->hour,
824 if (leapmonth == month) {
830 pp->day = ymd2yd(pp->year, month, day);
  /src/external/mpl/bind/dist/lib/dns/
time.c 134 int year, month, day, hour, minute, second; local
157 if (sscanf(source, "%4d%2d%2d%2d%2d%2d", &year, &month, &day, &hour,
164 RANGE(1, 12, month);
165 RANGE(1, days[month - 1] + ((month == 2 && is_leap(year)) ? 1 : 0),
184 for (i = 0; i < (month - 1); i++) {
187 if (is_leap(year) && month > 2) {
  /src/external/mpl/dhcp/bind/dist/lib/dns/
time.c 135 int year, month, day, hour, minute, second; local
158 if (sscanf(source, "%4d%2d%2d%2d%2d%2d", &year, &month, &day, &hour,
165 RANGE(1, 12, month);
166 RANGE(1, days[month - 1] + ((month == 2 && is_leap(year)) ? 1 : 0),
185 for (i = 0; i < (month - 1); i++) {
188 if (is_leap(year) && month > 2) {
  /src/sys/arch/hp300/stand/common/
clock.c 103 int year, month, day, hour, min, sec; local
116 month = mc_read(MC_MONTH);
152 month = bbc_to_decimal(10, 9);
161 year, month, day, hour, min, sec);
166 range_test(month, 1, 12);
172 if (is_leap_year(year) && month > FEBRUARY)
175 for (i = 1; i < month; i++)
  /src/sys/dev/
smbios_platform.c 235 platform_scan_date(char *buf, unsigned int *month, unsigned int *day,
243 *month = strtoul(s, NULL, 10);
260 unsigned int month, day, year; local
265 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3)
267 if (month == 0 || month > 12 || day == 0 || day > 31)
275 snprintf(datestr, sizeof(datestr), "%04u%02u%02u", year, month, day);
  /src/tests/lib/libc/time/
t_strptime.c 305 ATF_TC(month); variable
307 ATF_TC_HEAD(month, tc)
311 "Checks strptime(3) month name conversions [bB]");
314 ATF_TC_BODY(month, tc)
597 ATF_TP_ADD_TC(tp, month);
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
syslogc.c 300 static char *month[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", local
326 month[ stm.wMonth - 1 ], stm.wDay, stm.wHour, stm.wMinute, stm.wSecond,
  /src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
util.c 137 /* input contains 2 digits, representing month */
143 int month = 0; local
147 month = month * 10 + *ptr - '0';
150 return month;
153 /* input contains 2 digits, representing day in month */
176 int year, month, mday; local
251 /* begin year/month/day_in_month */
256 month = constraint_parse_month( endp );
262 tm.tm_mon = month - 1
    [all...]
  /src/sys/arch/powerpc/powerpc/
rtas.c 266 int status, year, month, day, hour, minute, second, nanosecond; local
272 &month, &day, &hour, &minute, &second, &nanosecond) < 0)
276 t->dt_mon = month;
288 int status, year, month, day, hour, minute, second, nanosecond; local
294 month = t->dt_mon;
301 if (rtas_call(RTAS_FUNC_SET_TIME_OF_DAY, 7, 1, year, month,
  /src/crypto/external/bsd/heimdal/dist/kadmin/
load.c 78 int year, month, date, hour, minute, second; local
84 &year, &month, &date, &hour, &minute, &second) != 6)
87 tm.tm_mon = month - 1;
  /src/external/bsd/cron/dist/
cron.c 342 printone(result, sizeof(result), bitprint(e->month, MONTH_COUNT));
353 int minute, hour, dom, month, dow; local
372 month = tm->tm_mon + 1 /* 0..11 -> 1..12 */ -FIRST_MONTH; \
383 (long)getpid(), minute, hour, dom, month, dow,
409 bit_test(e->month, month) &&
  /src/usr.bin/at/
parsetime.c 31 * /NUMBER [DOT NUMBER] [AM|PM]\ /[MONTH NUMBER [NUMBER]] \
103 { "month", MONTHS, 0 }, /* month ... */
171 static void month(struct tm *);
449 * month() picks apart a month specification
451 * /[<month> NUMBER [NUMBER]] \
458 month(struct tm *tm) function
484 * do month mday [year]
608 month(&runtime)
    [all...]
  /src/usr.bin/calendar/
calendar.c 87 /* 1-based month, 0-based days, cumulative */
263 * numeric month or day (1, 2, 04)
274 int month; local
287 /* if no recognizable month, assume wildcard ('*') month */
288 if ((month = getfield(endp, &endp, &flags)) == 0) {
290 month = tp->tm_mon + 1;
293 month = v1;
301 month = v2;
304 month = v1
    [all...]
  /src/external/bsd/ntp/dist/include/
ntp_calendar.h 17 uint8_t month; /* month, 1 = January */ member in struct:calendar
18 uint8_t monthday; /* day of month */
68 * Days in each month. 30 days hath September...
195 * Convert a number of elapsed month in a year into elapsed days
198 * The month will be normalized, and 'res.hi' will contain the
231 * Convert the date part of a 'struct tm' (that is, year, month,
232 * day-of-month) into the RataDie of that day.
238 * Convert the date part of a 'struct calendar' (that is, year, month,
239 * day-of-month) into the RataDie of that day
    [all...]
  /src/external/bsd/ntp/dist/parseutil/
testdcf.c 60 long month; member in struct:clocktime
126 * 45 - 49 MO - BCD (lsb first) Month
251 clock_time->month = ext_bf(buffer, DCF_MO0);
252 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO);
423 clock_time.month = 0;
464 clock_time.month = 0;
494 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
  /src/external/bsd/wpa/dist/src/utils/
os.h 140 * @month: Month (1 .. 12)
141 * @day: Day of month (1 .. 31)
152 int os_mktime(int year, int month, int day, int hour, int min, int sec,
160 int month; /* 1..12 */ member in struct:os_tm

Completed in 40 milliseconds

1 2 3