Home
last modified time | relevance | path

Searched refs:tm_mday (Results 1 – 25 of 91) sorted by relevance

1234

/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmfix.c61 tm->tm_mday = 2; in tmfix()
100 tm->tm_mday -= (23 - n) / 24; in tmfix()
105 tm->tm_mday += n / 24; in tmfix()
122 while (tm->tm_mday < -365) in tmfix()
125 tm->tm_mday += 365 + LEAP(tm); in tmfix()
127 while (tm->tm_mday > 365) in tmfix()
129 tm->tm_mday -= 365 + LEAP(tm); in tmfix()
132 while (tm->tm_mday < 1) in tmfix()
139 tm->tm_mday += DAYS(tm); in tmfix()
143 tm->tm_mday -= n; in tmfix()
[all …]
H A Dtmxdate.c389 tm->tm_mday += p; in tmxdate()
640 j = tm->tm_mday; in tmxdate()
689 tm->tm_mday = j; in tmxdate()
1369 tm->tm_mday--; in tmxdate()
1376 tm->tm_mday++; in tmxdate()
1597 tm->tm_mday = n; in tmxdate()
1643 tm->tm_mday = n; in tmxdate()
1660 tm->tm_mday = n; in tmxdate()
1678 tm->tm_mday = 1; in tmxdate()
1708 tm->tm_mday = 1; in tmxdate()
[all …]
H A Dtmweek.c68 else if (week == 53 && (tm->tm_wday + (31 - tm->tm_mday)) < 4) in tmweek()
76 tm->tm_mday = 1; in tmweek()
79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7); in tmweek()
83 tm->tm_mday -= d; in tmweek()
H A Dtmxscan.c88 tm->tm_mday = set->mday = 1; in gen()
103 tm->tm_mday = set->yday + 1; in gen()
107 tm->tm_mday = set->mday; in gen()
111 tm->tm_mday++; in gen()
140 tm->tm_mday += set->yday - tm->tm_yday; in gen()
148 tm->tm_mday += n; in gen()
/illumos-gate/usr/src/cmd/cron/
H A Datt1.y152 at.tm_mday = tp->tm_mday;
157 rt.tm_mday++;
161 at.tm_mday = $2;
168 at.tm_mday = $2;
173 at.tm_mday = tp->tm_mday;
176 rt.tm_mday = $1 - tp->tm_wday;
177 if (rt.tm_mday < 0)
178 rt.tm_mday += 7;
180 rt.tm_mday += 1;
195 rt.tm_mday += $1;
[all …]
H A Dat.c335 if (at.tm_mday > mday[at.tm_mon]) in main()
486 b->tm_mday += a->tm_hour / 24; in atime()
494 a->tm_mday += b->tm_mday; in atime()
496 while (a->tm_mday > mday[a->tm_mon]) { in atime()
497 a->tm_mday -= mday[a->tm_mon++]; in atime()
532 if (!leap(tptr->tm_year) && at.tm_mday == 29 && at.tm_mon == 1) in gtime()
540 tv += tptr->tm_mday - 1; in gtime()
972 tm.tm_mday = atoi_for2(t); in parse_time()
H A Dcron.c1475 (t1)->tm_mday == (t2)->tm_mday && \
1482 (tp)->tm_mday = dy; \
1515 int tm_mon, tm_mday, tm_wday, wday, m, min, h, hr, carry, day, days; in tz_next_time() local
1554 tm_mday = next_ge(tm->tm_mday, e->of.ct.daymon); /* 1-31 */ in tz_next_time()
1558 (strcmp(e->of.ct.dayweek, "*") == 0 && tm->tm_mday != tm_mday) || in tz_next_time()
1559 (tm->tm_mday != tm_mday && tm->tm_wday != tm_wday) || in tz_next_time()
1575 tm_setup(&tmp, tm->tm_year, tm->tm_mon, tm->tm_mday, in tz_next_time()
1674 d1 = tm->tm_mday + 1; in tz_next_time()
1713 db = days_btwn(tm->tm_mon, tm->tm_mday, tm->tm_year, mon, in tz_next_time()
1809 tmp2.tm_mday = 1; /* 1st day of the month */ in tz_next_time()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c126 rtm.tm_mday = rtm.tm_mon = rtm.tm_year = TMSENTINEL; in getdate()
172 rtm.tm_mday = tmnow.tm_mday + in getdate()
185 if (rtm.tm_mday == TMSENTINEL) { in getdate()
187 rtm.tm_mday = 1; in getdate()
201 tm.tm_mday = 1; in getdate()
203 rtm.tm_mday += in getdate()
224 rtm.tm_mday == TMSENTINEL) { in getdate()
227 rtm.tm_mday = tmnow.tm_mday; in getdate()
251 rtm.tm_mday = 1; in getdate()
265 tm.tm_mday = 1; in getdate()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrftime.c67 tm->tm_mday < 1 || tm->tm_mday > 31 ||
79 if (tm->tm_mday >= 0 && tm->tm_mday <= 31)
80 tl.tm_mday = tm->tm_mday;
91 tl.tm_mday = tm->tm_mday;
H A Dmktime.c58 tm.tm_mday = ts->tm_mday;
68 ts->tm_mday = tm.tm_mday;
H A Dstrptime.c59 tm.tm_mday = ts->tm_mday;
73 ts->tm_mday = tm.tm_mday;
H A Dgetdate.c74 ts.tm_mday = tm->tm_mday;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c59 assert_time(t->tm_mday>=1); in krb5int_gmt_mktime()
60 assert_time(t->tm_mday<=31); in krb5int_gmt_mktime()
84 accum += t->tm_mday-1; /* days of month are the only 1-based field */ in krb5int_gmt_mktime()
102 .tm_mon = 0, .tm_mday = 1, in main()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c174 int day = tme->tm_mday; in tm_to_secs()
234 } else if (tme->tm_mday < 1 || tme->tm_mday > days_month[tme->tm_mon]) { in check_time()
237 tme->tm_mday == 29)) { /* leap year and February */ in check_time()
239 gettext("days out of range (%d)"), tme->tm_mday); in check_time()
442 tme->tm_mday = atoi(strs); /* get days */ in derive_date()
481 (void) sprintf(buf + 6, "%.2d", gtime.tm_mday); in derive_str()
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c51 int tm_mday; member
133 atm.tm_mday = ((date >> 0) & 0x1F); in smb_time_dos_to_unix()
163 i += atm.tm_mday; in smb_time_unix_to_dos()
236 result->tm_mday = (tsec / SECSPERDAY) + 1; in smb_gmtime_r()
293 tsec += (tm->tm_mday - 1) * SECSPERDAY; in smb_timegm()
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c78 newtime.tm_mday = gpair(); in gtime()
82 newtime.tm_mday++; in gtime()
177 tp->tm_mday < 1 || tp->tm_mday > days_in_month || in main()
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c65 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs()
83 result += (time.tm_mday - 1) * SECS_PER_DAY; /*%< Days */ in ns_datetosecs()
/illumos-gate/usr/src/cmd/bnu/
H A Duucleanup.c445 tp->tm_mon + 1, tp->tm_mday);
451 tp->tm_mon + 1, tp->tm_mday);
595 tp->tm_mon+1, tp->tm_mday);
599 tp->tm_mon+1, tp->tm_mday);
628 tp->tm_mon + 1, tp->tm_mday);
640 tp->tm_mon + 1, tp->tm_mday);
H A Dgnxseq.c85 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour, in gnxseq()
H A Duustat.c515 &file[2], tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
565 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
572 "", tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
959 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
1496 td->tm_mday, in gmts()
1532 td->tm_mday, in gmt()
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h47 int tm_mday; /* day of the month */ member
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c330 tm.tm_mday = atoi(day); in parse_datetime()
428 tm.tm_mday = atoi_for2(t); in parse_time()
472 tm.tm_mday = atoi_for2(t); in parse_timespec()
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h84 int tm_mday; member
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c62 then.tm_mday = atoi(&dbuf[E_DAY]);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c132 cp = ct_numb(cp, t->tm_mday, ' '); in __posix_asctime_r()

1234