Symbol: month
games/rogue/machdep.c
241
rt_buf->month = t->tm_mon + 1;
games/rogue/machdep.c
276
rt_buf->month = t->tm_mon + 1;
games/rogue/rogue.h
428
short month; /* 1 - 12 */
games/rogue/save.c
411
if (saved_time->month < mod_time->month) {
games/rogue/save.c
413
} else if (saved_time->month > mod_time->month) {
lib/libc/time/zic.c
2339
int month, day;
lib/libc/time/zic.c
2375
month = lp->l_value;
lib/libc/time/zic.c
2377
while (j != month) {
lib/libc/time/zic.c
2384
day <= 0 || day > len_months[isleap(year)][month]) {
lib/libc/time/zic.c
3243
int month, total;
lib/libc/time/zic.c
3248
for (month = 0; month < rp->r_month; ++month)
lib/libc/time/zic.c
3249
total += len_months[0][month];
sbin/newfs_udf/udf_core.c
861
if ((year < 1970) || (timestamp->month > 12)) {
sbin/newfs_udf/udf_core.c
875
for (i = 1; i < timestamp->month; i++)
sbin/newfs_udf/udf_core.c
930
timestamp->month = tm.tm_mon + 1; /* `tm' uses 0..11 for months */
sys/arch/arm/sunxi/sunxi_rtc.c
115
.month = SUN4I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
129
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
146
.month = SUN7I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
160
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
177
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
194
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
210
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
228
.month = SUN6I_RTC_MONTH,
sys/arch/arm/sunxi/sunxi_rtc.c
450
dt->dt_mon = __SHIFTOUT(yymmdd, conf->month);
sys/arch/arm/sunxi/sunxi_rtc.c
483
yymmdd |= __SHIFTIN(dt->dt_mon, conf->month);
sys/arch/arm/sunxi/sunxi_rtc.c
97
uint32_t leap, year, month, day;
sys/arch/hp300/stand/common/clock.c
103
int year, month, day, hour, min, sec;
sys/arch/hp300/stand/common/clock.c
116
month = mc_read(MC_MONTH);
sys/arch/hp300/stand/common/clock.c
152
month = bbc_to_decimal(10, 9);
sys/arch/hp300/stand/common/clock.c
161
year, month, day, hour, min, sec);
sys/arch/hp300/stand/common/clock.c
166
range_test(month, 1, 12);
sys/arch/hp300/stand/common/clock.c
172
if (is_leap_year(year) && month > FEBRUARY)
sys/arch/hp300/stand/common/clock.c
175
for (i = 1; i < month; i++)
sys/arch/mac68k/mac68k/pram.c
119
monstr[month], day, year, hour, minute, seconds);
sys/arch/mac68k/mac68k/pram.c
64
long year, month, day, hour, minute, seconds, i, dayperyear;
sys/arch/mac68k/mac68k/pram.c
67
month = 0; /* Jan */
sys/arch/mac68k/mac68k/pram.c
90
i = daypmon[month] * 60 * 60 * 24;
sys/arch/mac68k/mac68k/pram.c
93
month++;
sys/arch/mvme68k/include/prom.h
80
u_char month;
sys/arch/mvme68k/stand/netboot/config.h
46
u_char month;
sys/arch/powerpc/powerpc/rtas.c
266
int status, year, month, day, hour, minute, second, nanosecond;
sys/arch/powerpc/powerpc/rtas.c
272
&month, &day, &hour, &minute, &second, &nanosecond) < 0)
sys/arch/powerpc/powerpc/rtas.c
276
t->dt_mon = month;
sys/arch/powerpc/powerpc/rtas.c
288
int status, year, month, day, hour, minute, second, nanosecond;
sys/arch/powerpc/powerpc/rtas.c
294
month = t->dt_mon;
sys/arch/powerpc/powerpc/rtas.c
301
if (rtas_call(RTAS_FUNC_SET_TIME_OF_DAY, 7, 1, year, month,
sys/dev/acpi/qcompas.c
1330
uint8_t month;
sys/dev/ic/rtwnreg.h
1063
uint8_t month;
sys/dev/pci/if_rtwn.c
2511
hdr->month, hdr->date, hdr->hour, hdr->minute));
sys/dev/pci/ips.c
290
u_int8_t month;
sys/dev/smbios_platform.c
235
platform_scan_date(char *buf, unsigned int *month, unsigned int *day,
sys/dev/smbios_platform.c
243
*month = strtoul(s, NULL, 10);
sys/dev/smbios_platform.c
260
unsigned int month, day, year;
sys/dev/smbios_platform.c
265
if (platform_scan_date(tmpbuf, &month, &day, &year) != 3)
sys/dev/smbios_platform.c
267
if (month == 0 || month > 12 || day == 0 || day > 31)
sys/dev/smbios_platform.c
275
snprintf(datestr, sizeof(datestr), "%04u%02u%02u", year, month, day);
sys/dev/usb/if_urtwn.c
3573
hdr->month, hdr->date, hdr->hour, hdr->minute);
sys/fs/udf/ecma167-udf.h
242
uint8_t month;
sys/fs/udf/udf_subr.c
4296
ymdhms.dt_mon = timestamp->month;
sys/fs/udf/udf_subr.c
4348
timestamp->month = ymdhms.dt_mon;
tests/lib/libc/time/t_strptime.c
305
ATF_TC(month);
tests/lib/libc/time/t_strptime.c
307
ATF_TC_HEAD(month, tc)
tests/lib/libc/time/t_strptime.c
314
ATF_TC_BODY(month, tc)
tests/lib/libc/time/t_strptime.c
597
ATF_TP_ADD_TC(tp, month);
tests/lib/libutil/t_parsedate.c
59
int year, int month, int day, int hour, int minute, int second)
tests/lib/libutil/t_parsedate.c
95
if (month != ANY)
tests/lib/libutil/t_parsedate.c
96
ATF_CHECK_MSG(tm.tm_mon + 1 == month,
tests/lib/libutil/t_parsedate.c
98
argstr, month, (int)tm.tm_mon);
usr.bin/at/parsetime.c
171
static void month(struct tm *);
usr.bin/at/parsetime.c
608
month(&runtime);
usr.bin/at/parsetime.c
635
month(&runtime);
usr.bin/cal/cal.c
157
int ambiguity, year, month, date;
usr.bin/cal/cal.c
222
long month, year;
usr.bin/cal/cal.c
285
month = 0;
usr.bin/cal/cal.c
288
month = strtol(*argv++, &eoi, 10);
usr.bin/cal/cal.c
289
if (month < 1 || month > 12 || *eoi != '\0')
usr.bin/cal/cal.c
300
month = strtol(eoi + 1, &eoi, 10);
usr.bin/cal/cal.c
301
if (month < 1 || month > 12 || *eoi != '\0')
usr.bin/cal/cal.c
314
month = reform->month;
usr.bin/cal/cal.c
316
month = local_time->tm_mon + 1;
usr.bin/cal/cal.c
323
if (!month) {
usr.bin/cal/cal.c
325
month = 1;
usr.bin/cal/cal.c
331
monthrange(month, year, before, after, yearly);
usr.bin/cal/cal.c
346
monthrange(int month, int year, int before, int after, int yearly)
usr.bin/cal/cal.c
372
month--;
usr.bin/cal/cal.c
374
startyear = year - (before + 12 - 1 - month) / 12;
usr.bin/cal/cal.c
375
startmonth = 12 - 1 - ((before + 12 - 1 - month) % 12);
usr.bin/cal/cal.c
376
endyear = year + (month + after) / 12;
usr.bin/cal/cal.c
377
endmonth = (month + after) % 12;
usr.bin/cal/cal.c
384
month = startmonth;
usr.bin/cal/cal.c
387
skip = month % month_per_row;
usr.bin/cal/cal.c
388
month -= skip;
usr.bin/cal/cal.c
409
if (year == endyear && month + i > endmonth)
usr.bin/cal/cal.c
413
day_array(month + i + 1, year, days[i]);
usr.bin/cal/cal.c
415
center(month_names[month + i], week_len, sep);
usr.bin/cal/cal.c
419
month_names[month + i], year);
usr.bin/cal/cal.c
431
if (year == endyear && month + i > endmonth)
usr.bin/cal/cal.c
458
if (year == endyear && month + i > endmonth)
usr.bin/cal/cal.c
475
month += month_per_row;
usr.bin/cal/cal.c
476
if (month >= 12) {
usr.bin/cal/cal.c
477
month -= 12;
usr.bin/cal/cal.c
481
} while (year < endyear || (year == endyear && month <= endmonth));
usr.bin/cal/cal.c
492
day_array(int month, int year, int *days)
usr.bin/cal/cal.c
504
for (dm = month + year * 12, dw = 0; dw < 4; dw++) {
usr.bin/cal/cal.c
513
dm = days_in_month[leap_year(year)][month];
usr.bin/cal/cal.c
514
dw = day_in_week(1, month, year);
usr.bin/cal/cal.c
515
day = julian ? day_in_year(1, month, year) : 1;
usr.bin/cal/cal.c
519
(month == tm->tm_mon && day == tm->tm_mday)))
usr.bin/cal/cal.c
531
day_in_year(int day, int month, int year)
usr.bin/cal/cal.c
536
for (i = 1; i < month; i++)
usr.bin/cal/cal.c
548
day_in_week(int day, int month, int year)
usr.bin/cal/cal.c
553
+ day_in_year(day, month, year);
usr.bin/cal/cal.c
672
int year, month, date;
usr.bin/cal/cal.c
676
i = sscanf(p, "%d%*[/,-]%d%*[/,-]%d%c", &year, &month, &date, &c);
usr.bin/cal/cal.c
689
year = month = date = -1;
usr.bin/cal/cal.c
692
month = 0;
usr.bin/cal/cal.c
704
if (i > 1 && (month < 1 || month > 12))
usr.bin/cal/cal.c
705
errx(1, "%d: illegal month value: use 1-12", month);
usr.bin/cal/cal.c
707
date > days_in_month[1][month])
usr.bin/cal/cal.c
720
days_in_month[1][month]);
usr.bin/cal/cal.c
733
reform->month = month;
usr.bin/cal/cal.c
756
(month == 0 || month == reform->month) &&
usr.bin/cal/cal.c
757
(date == 0 || month == reform->date))
usr.bin/cal/cal.c
775
j_leap_days(reform->year, reform->month, reform->date) -
usr.bin/cal/cal.c
776
g_leap_days(reform->year, reform->month, reform->date) -
usr.bin/cal/cal.c
781
day_in_year(reform->date, reform->month, reform->year) +
usr.bin/cal/cal.c
783
j_leap_days(reform->year, reform->month, reform->date);
usr.bin/cal/cal.c
789
diw = day_in_week(reform->date, reform->month, reform->year);
usr.bin/cal/cal.c
791
diy = day_in_year(1, reform->month, reform->year);
usr.bin/cal/cal.c
802
reform_day_array(reform->month + i, reform->year,
usr.bin/cal/cal.c
815
reform_day_array(int month, int year, int *done, int *date, int *diw, int *diy,
usr.bin/cal/cal.c
824
if (month > 12) {
usr.bin/cal/cal.c
825
month -= 12;
usr.bin/cal/cal.c
835
scal[MAXDAYS] = month + year * 12;
usr.bin/cal/cal.c
837
jcal[MAXDAYS] = month + year * 12;
usr.bin/cal/cal.c
844
mdays = days_in_month[g_leap_year(year, 3, 1)][month];
usr.bin/calendar/calendar.c
274
int month;
usr.bin/calendar/calendar.c
288
if ((month = getfield(endp, &endp, &flags)) == 0) {
usr.bin/calendar/calendar.c
290
month = tp->tm_mon + 1;
usr.bin/calendar/calendar.c
293
month = v1;
usr.bin/calendar/calendar.c
301
month = v2;
usr.bin/calendar/calendar.c
304
month = v1;
usr.bin/calendar/calendar.c
310
if (month < 1 || month > 12) {
usr.bin/calendar/calendar.c
312
month = tp->tm_mon + 1;
usr.bin/calendar/calendar.c
324
if (flags & F_ISMONTH && flags & F_WILDDAY && month == tp->tm_mon + 1)
usr.bin/calendar/calendar.c
327
if (flags & F_ISMONTH && flags & F_ISDOW && month == tp->tm_mon + 1 &&
usr.bin/calendar/calendar.c
333
day = cumdays[month] + day;