Searched refs:tm_mday (Results 1 - 25 of 157) sorted by relevance

1234567

/freebsd-current/contrib/mandoc/
H A Dtest-strptime.c9 tm.tm_year == 114 && tm.tm_mon == 0 && tm.tm_mday == 4);
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dcheck-timegm.c48 tm.tm_mday = 1;
56 tm.tm_mday = 0;
64 tm.tm_mday != 1 ||
H A Dtimegm.c71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
85 res += tm->tm_mday - 1;
133 tm->tm_mday = days + 1;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dtimegm.c63 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
77 res += tm->tm_mday - 1;
H A Dstrftime.c204 tm->tm_mday,
215 "%02d", tm->tm_mday);
221 tm->tm_mday,
226 "%2d", tm->tm_mday);
231 tm->tm_mon + 1, tm->tm_mday);
334 tm->tm_mday);
/freebsd-current/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday)
72 tms.tm_mday = 1;
94 tms.tm_mday = 1;
102 tms.tm_mday = 1;
115 tms.tm_mday = 31;
130 tms.tm_mday = 1;
141 tms.tm_mday = 1;
/freebsd-current/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c97 ATF_CHECK_MSG(tm.tm_mday == day,
99 argstr, day, (int)tm.tm_mday);
216 .tm_year = 2013-1900, .tm_mon = 7-1, .tm_mday = 9,
271 tm.tm_mday--;
277 tm.tm_mday++;
284 tm.tm_mday += 7;
285 tm.tm_mday += 4 - tm.tm_wday;
292 tm.tm_mday += 14 - (tm.tm_wday ? tm.tm_wday : 7);
299 tm.tm_mday -= 7;
300 tm.tm_mday
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-timegm.c60 tm->tm_mday > 31 ||
73 res += tm->tm_mday - 1;
/freebsd-current/usr.bin/calendar/
H A Dday.c85 tm.tm_mday = tp.tm_mday;
99 tm.tm_mday = d;
/freebsd-current/contrib/ntp/libntp/
H A Dmktime.c160 result = (atmp->tm_mday - btmp->tm_mday);
200 normalize(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY);
202 while (yourtm.tm_mday <= 0) {
204 yourtm.tm_mday +=
210 if (yourtm.tm_mday <= i)
212 yourtm.tm_mday -= i;
H A Dhumandate.c30 tm->tm_mday, months[tm->tm_mon],
/freebsd-current/usr.sbin/pw/
H A Dpsdate.c130 t->tm_mday = tm.tm_mday;
203 i = T->tm_mday;
209 i = T->tm_mday;
213 if (T->tm_mday != i) {
214 T->tm_mday = 1;
/freebsd-current/usr.sbin/efiwake/
H A Defiwake.c71 &waketime.waketime.tm_mday,
102 now.tm_year, now.tm_mon, now.tm_mday, now.tm_hour, now.tm_min,
134 waketime.waketime.tm_mday, waketime.waketime.tm_hour,
/freebsd-current/bin/date/
H A Dvary.c201 if (t->tm_mday > lmdays)
202 t->tm_mday = lmdays;
216 if (val > lmdays - t->tm_mday) {
217 val -= lmdays - t->tm_mday + 1;
218 t->tm_mday = 1;
222 t->tm_mday += val;
229 if (val >= t->tm_mday) {
230 val -= t->tm_mday;
231 t->tm_mday = 1;
234 t->tm_mday
[all...]
/freebsd-current/contrib/bsddialog/examples_library/
H A Ddatebox.c27 dd = localtm->tm_mday;
H A Dcalendar.c27 dd = localtm->tm_mday;
/freebsd-current/usr.sbin/newsyslog/
H A Dptimes.c162 tm.tm_mday = l;
172 || tm.tm_mday < 1 || tm.tm_mday > 31)
275 tm.tm_mday += save;
277 if (tm.tm_mday > daysmon) {
279 tm.tm_mday = tm.tm_mday - daysmon;
297 tm.tm_mday = daysmon;
307 tm.tm_mday = l;
427 (ptime->tm.tm_mday> dp
[all...]
/freebsd-current/usr.bin/w/
H A Dpr_time.c66 else if (tm.tm_mday != tp.tm_mday ||
/freebsd-current/crypto/openssl/test/
H A Dgmdifftest.c38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday)
/freebsd-current/usr.bin/at/
H A Dparsetime.c302 tm->tm_mday += delay;
411 tm->tm_mday++;
419 tm->tm_mday++;
456 (tm->tm_mon > mon ||(tm->tm_mon == mon && tm->tm_mday > mday)))
459 tm->tm_mday = mday;
493 tm->tm_mday ++;
520 mday = tm->tm_mday;
649 runtime.tm_mday++;
/freebsd-current/crypto/openssl/crypto/asn1/
H A Da_time.c57 int d = tm->tm_mday;
166 /* check if tm_mday is valid in tm_mon */
175 tmp.tm_mday = n;
301 ts->tm_mday, ts->tm_hour, ts->tm_min,
306 ts->tm_mday, ts->tm_hour, ts->tm_min,
522 stm.tm_mday, stm.tm_hour,
528 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour,
536 stm.tm_mday, stm.tm_hour,
542 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour,
/freebsd-current/usr.bin/chpass/
H A Dutil.c69 tp->tm_mday, tp->tm_year + 1900);
125 lt->tm_mday = day;
/freebsd-current/contrib/dialog/
H A Dcalendar.c333 cell = current->tm_mday - ((6 + current->tm_mday - current->tm_wday) % MAX_DAYS);
334 if ((current->tm_mday - 1) % MAX_DAYS != current->tm_wday)
375 int day = current->tm_mday;
400 mday = ((6 + current->tm_mday -
410 week = (current->tm_yday + 6 + mday - current->tm_mday) / MAX_DAYS;
653 current->tm_mday != old->tm_mday ||
660 current->tm_mday));
761 current.tm_mday
[all...]
/freebsd-current/contrib/tzcode/
H A Dasctime.c94 ** (e.g., timeptr->tm_mday) when processing "%Y".
103 timeptr->tm_mday, timeptr->tm_hour,
/freebsd-current/contrib/ntp/libparse/
H A Dclk_sel240x.c144 clock_time->day = ptime.tm_mday;

Completed in 478 milliseconds

1234567