Symbol: month
lib/libc/time/strftime.c
154
"?" : Locale->month[t->tm_mon],
lib/libc/time/strftime.c
39
const char * month[MONSPERYEAR];
lib/libc/time/wcsftime.c
168
UNKNOWN : Locale->month[t->tm_mon],
lib/libc/time/wcsftime.c
43
const wchar_t * month[MONSPERYEAR];
lib/libcrypto/asn1/a_time_posix.c
105
posix_time_from_utc(int64_t year, int64_t month, int64_t day, int64_t hours,
lib/libcrypto/asn1/a_time_posix.c
110
if (!is_valid_date(year, month, day) ||
lib/libcrypto/asn1/a_time_posix.c
113
if (month <= 2)
lib/libcrypto/asn1/a_time_posix.c
119
day_of_year = (153 * (month > 2 ? month - 3 : month + 9) + 2) /
lib/libcrypto/asn1/a_time_posix.c
43
is_valid_date(int64_t year, int64_t month, int64_t day)
lib/libcrypto/asn1/a_time_posix.c
46
if (day < 1 || month < 1 || year < 0 || year > 9999)
lib/libcrypto/asn1/a_time_posix.c
48
switch (month) {
lib/libcrypto/asn1/a_time_tm.c
162
is_valid_day(int year, int month, int day)
lib/libcrypto/asn1/a_time_tm.c
166
switch (month) {
lib/libcrypto/asn1/a_time_tm.c
201
int year, month, day, hour, min, sec, val;
lib/libcrypto/asn1/a_time_tm.c
225
if (!cbs_get_two_digit_value(&copy, &month))
lib/libcrypto/asn1/a_time_tm.c
227
if (month < 1 || month > 12)
lib/libcrypto/asn1/a_time_tm.c
232
if (!is_valid_day(year, month, day))
lib/libcrypto/asn1/a_time_tm.c
262
out_tm->tm_mon = month - 1;
sys/arch/amd64/stand/libsa/time.c
56
compute(int year, u_int8_t month, u_int8_t day, u_int8_t hour,
sys/arch/amd64/stand/libsa/time.c
63
tt = (year - 1970) * 365 + monthcount[month] + day - 1;
sys/arch/amd64/stand/libsa/time.c
66
for (month <= 2 ? year-- : 0; year >= 1970; year--)
sys/arch/i386/stand/libsa/time.c
56
compute(int year, u_int8_t month, u_int8_t day, u_int8_t hour,
sys/arch/i386/stand/libsa/time.c
63
tt = (year - 1970) * 365 + monthcount[month] + day - 1;
sys/arch/i386/stand/libsa/time.c
66
for (month <= 2 ? year-- : 0; year >= 1970; year--)
sys/dev/fdt/qcpas.c
1246
uint8_t month;
sys/dev/ic/r92creg.h
1124
uint8_t month;
sys/dev/ic/rtwn.c
1780
hdr->month, hdr->date, hdr->hour, hdr->minute));
sys/dev/pci/drm/amd/amdgpu/amdgpu_cper.c
56
timestamp->month = 1 + tm.tm_mon;
sys/dev/pci/drm/amd/include/amd_cper.h
95
uint8_t month;
sys/dev/pci/if_bnxt.c
4197
bnxt_hwrm_fw_get_time(struct bnxt_softc *softc, uint16_t *year, uint8_t *month,
sys/dev/pci/if_bnxt.c
4215
if (month)
sys/dev/pci/if_bnxt.c
4216
*month = resp->month;
sys/dev/pci/if_bnxt.c
4236
bnxt_hwrm_fw_set_time(struct bnxt_softc *softc, uint16_t year, uint8_t month,
sys/dev/pci/if_bnxt.c
4245
req.month = month;
sys/dev/pci/if_bnxt.c
443
uint8_t *month, uint8_t *day, uint8_t *hour, uint8_t *minute,
sys/dev/pci/if_bnxt.c
446
uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second,
sys/dev/pci/if_bnxtreg.h
61219
uint8_t month;
sys/dev/pci/if_bnxtreg.h
61318
uint8_t month;
sys/dev/pci/ips.c
251
u_int8_t month;
sys/dev/usb/if_rsu.c
2035
hdr->month, hdr->day, hdr->hour, hdr->minute));
sys/dev/usb/if_rsureg.h
232
uint8_t month;
sys/isofs/udf/ecma167-udf.h
223
uint8_t month;
sys/isofs/udf/udf_vnops.c
292
for (i = 1; i < time->month; i++)
sys/lib/libsa/ctime.c
47
int ss, mm, hh, wday, month, year;
sys/lib/libsa/ctime.c
63
for (month = 0; tt > monthcnt[month]; month++)
sys/lib/libsa/ctime.c
64
tt -= monthcnt[month];
sys/lib/libsa/ctime.c
66
if (month > 2 && isleap(year))
sys/lib/libsa/ctime.c
71
((month < 0 || month >= 12)? "???": months[month]),
sys/msdosfs/msdosfs_conv.c
104
uint32_t month;
sys/msdosfs/msdosfs_conv.c
143
for (month = 0; month < 12; month++) {
sys/msdosfs/msdosfs_conv.c
144
if (days < months[month])
sys/msdosfs/msdosfs_conv.c
146
days -= months[month];
sys/msdosfs/msdosfs_conv.c
149
+ ((month + 1) << DD_MONTH_SHIFT);
sys/msdosfs/msdosfs_conv.c
187
uint32_t m, month;
sys/msdosfs/msdosfs_conv.c
219
month = (dd & DD_MONTH_MASK) >> DD_MONTH_SHIFT;
sys/msdosfs/msdosfs_conv.c
220
if (month == 0) {
sys/msdosfs/msdosfs_conv.c
222
month);
sys/msdosfs/msdosfs_conv.c
223
month = 1;
sys/msdosfs/msdosfs_conv.c
225
for (m = 0; m < month - 1; m++)
usr.bin/at/parsetime.c
656
if (tod(&runtime) != 0 || month(&runtime) != 0)
usr.bin/at/parsetime.c
685
if (month(&runtime) != 0)
usr.bin/cal/cal.c
150
int ch, month, year, yflag;
usr.bin/cal/cal.c
193
month = 0;
usr.bin/cal/cal.c
196
month = parsemonth(*argv++);
usr.bin/cal/cal.c
197
if (!month)
usr.bin/cal/cal.c
202
month = parsemonth(*argv);
usr.bin/cal/cal.c
203
if (!month)
usr.bin/cal/cal.c
219
month = local_time->tm_mon + 1;
usr.bin/cal/cal.c
225
if (month)
usr.bin/cal/cal.c
226
monthly(month, year);
usr.bin/cal/cal.c
243
week(int day, int month, int year)
usr.bin/cal/cal.c
253
return isoweek(day, month, year);
usr.bin/cal/cal.c
255
yearday = day_in_year(day, month, year);
usr.bin/cal/cal.c
257
weekday = day_in_week(day, month, year) + 1;
usr.bin/cal/cal.c
270
isoweek(int day, int month, int year)
usr.bin/cal/cal.c
275
a = month <= 2 ? year - 1 : year;
usr.bin/cal/cal.c
279
if (month <= 2) {
usr.bin/cal/cal.c
281
f = day - 1 + 31 * (month-1);
usr.bin/cal/cal.c
284
f = day + ((153 * (month-3) + 2) / 5) + 58 + s;
usr.bin/cal/cal.c
299
monthly(int month, int year)
usr.bin/cal/cal.c
304
day_array(month, year, days);
usr.bin/cal/cal.c
306
month_names[month - 1], year);
usr.bin/cal/cal.c
323
printf(" [%2d]", week(firstday, month, year));
usr.bin/cal/cal.c
331
int col, *dp, i, month, row, which_cal;
usr.bin/cal/cal.c
342
for (month = 0; month < 12; month += 2) {
usr.bin/cal/cal.c
343
center(month_names[month], J_WEEK_LEN, J_HEAD_SEP);
usr.bin/cal/cal.c
344
center(month_names[month + 1], J_WEEK_LEN, 0);
usr.bin/cal/cal.c
351
dp = &days[month + which_cal][row * 7];
usr.bin/cal/cal.c
366
int col, *dp, i, month, row, which_cal, week_len, wn, firstday;
usr.bin/cal/cal.c
380
for (month = 0; month < 12; month += 3) {
usr.bin/cal/cal.c
381
center(month_names[month], week_len, HEAD_SEP);
usr.bin/cal/cal.c
382
center(month_names[month + 1], week_len, HEAD_SEP);
usr.bin/cal/cal.c
383
center(month_names[month + 2], week_len, 0);
usr.bin/cal/cal.c
392
dp = &days[month + which_cal][row * 7];
usr.bin/cal/cal.c
401
month + which_cal + 1, year);
usr.bin/cal/cal.c
424
day_array(int month, int year, int *days)
usr.bin/cal/cal.c
428
if (month == 9 && year == 1752) {
usr.bin/cal/cal.c
433
dm = days_in_month[leap_year(year)][month];
usr.bin/cal/cal.c
434
dw = day_in_week(mflag?0:1, month, year);
usr.bin/cal/cal.c
435
day = julian ? day_in_year(1, month, year) : 1;
usr.bin/cal/cal.c
445
day_in_year(int day, int month, int year)
usr.bin/cal/cal.c
450
for (i = 1; i < month; i++)
usr.bin/cal/cal.c
463
day_in_week(int day, int month, int year)
usr.bin/cal/cal.c
468
+ day_in_year(day, month, year);
usr.bin/calendar/day.c
235
adjust_calendar(int *day, int *month)
usr.bin/calendar/day.c
243
if (*day > (cumdays[*month + 1] - cumdays[*month])) {
usr.bin/calendar/day.c
244
*day -= (cumdays[*month + 1] - cumdays[*month]);
usr.bin/calendar/day.c
245
if (++*month > 12)
usr.bin/calendar/day.c
246
*month = 1;
usr.bin/calendar/day.c
267
int day = 0, flags = 0, month = 0, v1, v2, i;
usr.bin/calendar/day.c
312
if (!(month = getfield(endp, &endp, &flags))) {
usr.bin/calendar/day.c
313
month = tp->tm_mon + 1;
usr.bin/calendar/day.c
323
if (month == -1) {
usr.bin/calendar/day.c
324
month = tp->tm_mon + 1;
usr.bin/calendar/day.c
327
if ((month > 12) || (month < 1))
usr.bin/calendar/day.c
330
adjust_calendar(&day, &month);
usr.bin/calendar/day.c
336
month = v1;
usr.bin/calendar/day.c
337
if (month == -1) {
usr.bin/calendar/day.c
338
month = tp->tm_mon + 1;
usr.bin/calendar/day.c
351
adjust_calendar(&day, &month);
usr.bin/calendar/day.c
364
month = v2;
usr.bin/calendar/day.c
365
if (month == -1) {
usr.bin/calendar/day.c
366
month = tp->tm_mon + 1;
usr.bin/calendar/day.c
369
adjust_calendar(&day, &month);
usr.bin/calendar/day.c
375
month = v1;
usr.bin/calendar/day.c
376
if ((month > 12) || (month < 1))
usr.bin/calendar/day.c
384
adjust_calendar(&day, &month);
usr.bin/calendar/day.c
394
fprintf(stderr, "\nday: %d %s month %d\n", day, endp, month);
usr.bin/calendar/day.c
408
(day > (cumdays[month + 1] - cumdays[month]) || day < 1)) {
usr.bin/calendar/day.c
409
if (!((month == 2 && day == 29) ||
usr.bin/calendar/day.c
415
monthp = month;
usr.bin/calendar/day.c
417
day = cumdays[month] + day;
usr.bin/calendar/day.c
495
tmtmp.tm_mon = month = monthp - 1;
usr.bin/calendar/day.c
503
month += i;
usr.bin/calendar/day.c
504
tmtmp.tm_mon = month;
usr.bin/calendar/day.c
507
tmtmp.tm_mon = month = 11;
usr.bin/calendar/day.c
511
tmtmp.tm_mon = month = 0;
usr.bin/calendar/day.c
550
if (((tmtmp.tm_mon == month) ||
usr.bin/calendar/day.c
671
variable_weekday(int *day, int month, int year)
usr.bin/calendar/day.c
688
v2 = (cumdays[month + 1] + day1) % 7 + 1;
usr.bin/calendar/day.c
691
*day = cumdays[month + 1] - cumdays[month] +
usr.bin/calendar/day.c
694
fprintf(stderr, "\nMonth %d ends on weekday %d\n", month, v2);
usr.bin/calendar/day.c
704
v2 = (cumdays[month] + 1 + day1) % 7 + 1;
usr.bin/calendar/day.c
709
fprintf(stderr, "\nMonth %d starts on weekday %d\n", month, v2);
usr.bin/ssh/pkcs11.h
518
unsigned char month[2];
usr.sbin/cron/cron.c
286
int minute, hour, dom, month, dow;
usr.sbin/cron/cron.c
295
month = tm->tm_mon +1 /* 0..11 -> 1..12 */ -FIRST_MONTH;
usr.sbin/cron/cron.c
308
bit_test(e->month, month) &&
usr.sbin/cron/entry.c
150
set_element(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/entry.c
160
set_range(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/entry.c
171
set_range(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/entry.c
181
set_range(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/entry.c
192
set_range(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/entry.c
246
ch = get_list(e->month, FIRST_MONTH, LAST_MONTH,
usr.sbin/cron/structs.h
32
bitstr_t bit_decl(month, MONTH_COUNT);
usr.sbin/makefs/msdos/msdosfs_conv.c
101
uint32_t month;
usr.sbin/makefs/msdos/msdosfs_conv.c
141
for (month = 0; month < 12; month++) {
usr.sbin/makefs/msdos/msdosfs_conv.c
142
if (days < months[month])
usr.sbin/makefs/msdos/msdosfs_conv.c
144
days -= months[month];
usr.sbin/makefs/msdos/msdosfs_conv.c
147
+ ((month + 1) << DD_MONTH_SHIFT);
usr.sbin/smtpd/to.c
145
const char *month[] = {"Jan","Feb","Mar","Apr","May","Jun",
usr.sbin/smtpd/to.c
160
day[lt->tm_wday], lt->tm_mday, month[lt->tm_mon],
usr.sbin/tcpdump/smbutil.c
35
static void interpret_dos_date(uint32 date,int *year,int *month,int *day,int *hour,int *minute,int *second)
usr.sbin/tcpdump/smbutil.c
46
*month = ((p2>>5)&0xFF) + ((p3&0x1)<<3) - 1;
usr.sbin/zic/zic.c
1019
int month, day;
usr.sbin/zic/zic.c
1056
month = lp->l_value;
usr.sbin/zic/zic.c
1058
while (j != month) {
usr.sbin/zic/zic.c
1065
day <= 0 || day > len_months[isleap(year)][month]) {
usr.sbin/zic/zic.c
1749
int month, total;
usr.sbin/zic/zic.c
1754
for (month = 0; month < rp->r_month; ++month)
usr.sbin/zic/zic.c
1755
total += len_months[0][month];