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

1 2

  /src/lib/libc/time/
leapseconds.awk 36 print "# Leap YEAR MONTH DAY HH:MM:SS CORR R/S"
47 month = $5
55 if (month == "Jan") {
57 month = "Dec";
59 } else if (month == "Jul") {
60 month = "Jun";
63 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
zic.c 2057 int month, day; local in function:getleapdatetime
2090 error(_("invalid month name"));
2093 month = lp->l_value;
2095 while (j != month) {
2102 day <= 0 || day > len_months[isleap(year)][month]) {
2103 error(_("invalid day of month"));
2195 error(_("invalid month name"));
2297 error(_("invalid day of month"));
2311 error(_("invalid day of month"));
2956 int month, total local in function:stringrule
    [all...]
  /src/usr.bin/cal/
cal.c 68 #define MAXDAYS 42 /* max slots in a month array */
157 int ambiguity, year, month, date; member in struct:reform
222 long month, year; local in function:main
285 month = 0;
288 month = strtol(*argv++, &eoi, 10);
289 if (month < 1 || month > 12 || *eoi != '\0')
290 errx(1, "illegal month value: use 1-12");
300 month = strtol(eoi + 1, &eoi, 10);
301 if (month < 1 || month > 12 || *eoi != '\0'
672 int year, month, date; local in function:gregorian_reform
    [all...]
  /src/sys/arch/mac68k/mac68k/
pram.c 64 long year, month, day, hour, minute, seconds, i, dayperyear; local in function:convtime
67 month = 0; /* Jan */
90 i = daypmon[month] * 60 * 60 * 24;
93 month++;
119 monstr[month], day, year, hour, minute, seconds);
  /src/sys/arch/hp300/stand/common/
clock.c 103 int year, month, day, hour, min, sec; local in function:clock_to_gmt
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 in function:platform_add_date
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/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 in function:isnow
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/sys/arch/mvme68k/stand/netboot/
config.h 46 u_char month; member in struct:brdid
  /src/sys/arch/powerpc/powerpc/
rtas.c 266 int status, year, month, day, hour, minute, second, nanosecond; local in function:rtas_todr_gettime_ymdhms
272 &month, &day, &hour, &minute, &second, &nanosecond) < 0)
276 t->dt_mon = month;
288 int status, year, month, day, hour, minute, second, nanosecond; local in function:rtas_todr_settime_ymdhms
294 month = t->dt_mon;
301 if (rtas_call(RTAS_FUNC_SET_TIME_OF_DAY, 7, 1, year, month,
  /src/sys/arch/arm/sunxi/
sunxi_rtc.c 97 uint32_t leap, year, month, day; member in struct:sunxi_rtc_config
115 .month = SUN4I_RTC_MONTH,
129 .month = SUN6I_RTC_MONTH,
146 .month = SUN7I_RTC_MONTH,
160 .month = SUN6I_RTC_MONTH,
177 .month = SUN6I_RTC_MONTH,
194 .month = SUN6I_RTC_MONTH,
210 .month = SUN6I_RTC_MONTH,
228 .month = SUN6I_RTC_MONTH,
450 dt->dt_mon = __SHIFTOUT(yymmdd, conf->month);
    [all...]
  /src/games/rogue/
machdep.c 219 * This function returns the current year, month(1-12), day(1-31), hour(0-23),
224 * zeros instead of the correct year, month, etc. If your operating
241 rt_buf->month = t->tm_mon + 1;
276 rt_buf->month = t->tm_mon + 1;
save.c 411 if (saved_time->month < mod_time->month) {
413 } else if (saved_time->month > mod_time->month) {
rogue.h 428 short month; /* 1 - 12 */ member in struct:rogue_time
  /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 in typeref:typename:void
484 * do month mday [year]
608 month(&runtime)
    [all...]
  /src/tests/lib/libc/time/
t_strptime.c 305 ATF_TC(month);
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/usr.bin/make/unit-tests/
varmod-gmtime.mk 15 # month and weekday are always in English, independent from the locale.
173 .if ${year=%Y month=%m day=%d:L:gmtime=1459494000} != "year=2016 month=04 day=01"
directive-for-if.mk 33 # In cond.c 1.48 from 2008-11-29, just a month before the expansion of .for
varmod-localtime.mk 15 # month and weekday are always in English, independent from the locale.
  /src/sys/arch/mvme68k/include/
prom.h 80 u_char month; member in struct:mvmeprom_brdid
  /src/tests/lib/libutil/
t_parsedate.c 50 * and check that year/month/day/hour/minute/second are as expected.
59 int year, int month, int day, int hour, int minute, int second)
95 if (month != ANY)
96 ATF_CHECK_MSG(tm.tm_mon + 1 == month,
97 "parsedate(%s) expected month %d got %d (+1)\n",
98 argstr, month, (int)tm.tm_mon);
139 2000, 10, 1, 0, 0, 0); /* month/day/year */
141 2022, 12, 1, 0, 0, 0); /* month/day/year, December */
151 ANY, 1, 11, 0, 0, 0); /* month/day */
306 ATF_CHECK(parsedate("-1 month", NULL, NULL) != -1)
    [all...]
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
platform.h 147 uint8_t month; member in struct:xenpf_efi_time
  /src/sys/fs/udf/
ecma167-udf.h 242 uint8_t month; member in struct:timestamp
  /src/sys/dev/ic/
rtwnreg.h 1063 uint8_t month; member in struct:r92c_fw_hdr
  /src/sbin/newfs_udf/
udf_core.c 857 * Distrust time->month especially, since it will be used for an array
861 if ((year < 1970) || (timestamp->month > 12)) {
873 /* Calclulate the month */
875 for (i = 1; i < timestamp->month; i++)
876 secs += mon_lens[lpyear][i-1] * 3600 * 24; /* month: 1-12 */
930 timestamp->month = tm.tm_mon + 1; /* `tm' uses 0..11 for months */
  /src/sys/dev/acpi/
qcompas.c 1328 uint8_t month; member in struct:battmgr_bat_info

Completed in 29 milliseconds

1 2