Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c97 ATF_CHECK_MSG(tm.tm_mday == day, in parsecheck()
99 argstr, day, (int)tm.tm_mday); in parsecheck()
216 .tm_year = 2013-1900, .tm_mon = 7-1, .tm_mday = 9, in ATF_TC_BODY()
271 tm.tm_mday--; in ATF_TC_BODY()
277 tm.tm_mday++; in ATF_TC_BODY()
284 tm.tm_mday += 7; in ATF_TC_BODY()
285 tm.tm_mday += 4 - tm.tm_wday; in ATF_TC_BODY()
292 tm.tm_mday += 14 - (tm.tm_wday ? tm.tm_wday : 7); in ATF_TC_BODY()
299 tm.tm_mday -= 7; in ATF_TC_BODY()
300 tm.tm_mday += 5 - tm.tm_wday; in ATF_TC_BODY()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday) in ATF_TC_BODY()
72 tms.tm_mday = 1; in ATF_TC_BODY()
94 tms.tm_mday = 1; in ATF_TC_BODY()
102 tms.tm_mday = 1; in ATF_TC_BODY()
115 tms.tm_mday = 31; in ATF_TC_BODY()
130 tms.tm_mday = 1; in ATF_TC_BODY()
141 tms.tm_mday = 1; in ATF_TC_BODY()
/freebsd/usr.sbin/newsyslog/
H A Dptimes.c162 tm.tm_mday = l; in parse8601()
172 || tm.tm_mday < 1 || tm.tm_mday > 31) in parse8601()
275 tm.tm_mday += save; in parseDWM()
277 if (tm.tm_mday > daysmon) { in parseDWM()
279 tm.tm_mday = tm.tm_mday - daysmon; in parseDWM()
297 tm.tm_mday = daysmon; in parseDWM()
307 tm.tm_mday = l; in parseDWM()
427 (ptime->tm.tm_mday> dpm)) { in ptime_relparse()
437 ptime->tm.tm_mday, ptime->tm.tm_hour, in ptime_relparse()
447 ptime->tm.tm_mday, ptime->tm.tm_hour, in ptime_relparse()
[all …]
/freebsd/bin/date/
H A Dvary.c201 if (t->tm_mday > lmdays) in adjmon()
202 t->tm_mday = lmdays; in adjmon()
216 if (val > lmdays - t->tm_mday) { in adjday()
217 val -= lmdays - t->tm_mday + 1; in adjday()
218 t->tm_mday = 1; in adjday()
222 t->tm_mday += val; in adjday()
229 if (val >= t->tm_mday) { in adjday()
230 val -= t->tm_mday; in adjday()
231 t->tm_mday = 1; in adjday()
234 t->tm_mday = daysinmonth(t); in adjday()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dmktime.c160 result = (atmp->tm_mday - btmp->tm_mday); in tmcomp()
200 normalize(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY); in time2()
202 while (yourtm.tm_mday <= 0) { in time2()
204 yourtm.tm_mday += in time2()
210 if (yourtm.tm_mday <= i) in time2()
212 yourtm.tm_mday -= i; in time2()
/freebsd/usr.sbin/pw/
H A Dpsdate.c130 t->tm_mday = tm.tm_mday; in parse_datesub()
203 i = T->tm_mday; in parse_date()
209 i = T->tm_mday; in parse_date()
213 if (T->tm_mday != i) { in parse_date()
214 T->tm_mday = 1; in parse_date()
/freebsd/crypto/heimdal/lib/asn1/
H A Dtimegm.c71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon]) in _der_timegm()
85 res += tm->tm_mday - 1; in _der_timegm()
133 tm->tm_mday = days + 1; in _der_gmtime()
H A Dcheck-timegm.c48 tm.tm_mday = 1; in test_timegm()
56 tm.tm_mday = 0; in test_timegm()
64 tm.tm_mday != 1 || in test_timegm()
/freebsd/contrib/dialog/
H A Dcalendar.c333 cell = current->tm_mday - ((6 + current->tm_mday - current->tm_wday) % MAX_DAYS); in day_cell_number()
334 if ((current->tm_mday - 1) % MAX_DAYS != current->tm_wday) in day_cell_number()
375 int day = current->tm_mday; in draw_day()
400 mday = ((6 + current->tm_mday - in draw_day()
410 week = (current->tm_yday + 6 + mday - current->tm_mday) / MAX_DAYS; in draw_day()
653 current->tm_mday != old->tm_mday || in trace_date()
660 current->tm_mday)); in trace_date()
761 current.tm_mday = day; in dialog_calendar()
766 day = current.tm_mday; in dialog_calendar()
784 } else if (day > current.tm_mday) { in dialog_calendar()
[all …]
/freebsd/usr.bin/at/
H A Dparsetime.c302 tm->tm_mday += delay; in plus_or_minus()
411 tm->tm_mday++; in tod()
419 tm->tm_mday++; in tod()
456 (tm->tm_mon > mon ||(tm->tm_mon == mon && tm->tm_mday > mday))) in assign_date()
459 tm->tm_mday = mday; in assign_date()
493 tm->tm_mday ++; in month()
520 mday = tm->tm_mday; in month()
649 runtime.tm_mday++; in parsetime()
/freebsd/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]) in rk_timegm()
77 res += tm->tm_mday - 1; in rk_timegm()
H A Dstrftime.c204 tm->tm_mday, in strftime()
215 "%02d", tm->tm_mday); in strftime()
221 tm->tm_mday, in strftime()
226 "%2d", tm->tm_mday); in strftime()
231 tm->tm_mon + 1, tm->tm_mday); in strftime()
334 tm->tm_mday); in strftime()
/freebsd/usr.bin/calendar/
H A Dday.c85 tm.tm_mday = tp.tm_mday; in Mktime()
99 tm.tm_mday = d; in Mktime()
/freebsd/usr.sbin/efiwake/
H A Defiwake.c71 &waketime.waketime.tm_mday, in main()
102 now.tm_year, now.tm_mon, now.tm_mday, now.tm_hour, now.tm_min, in main()
134 waketime.waketime.tm_mday, waketime.waketime.tm_hour, in main()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_time.c57 int d = tm->tm_mday; in determine_days()
175 tmp.tm_mday = n; in ossl_asn1_time_to_tm()
301 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
306 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
522 stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
528 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
536 stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
542 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-timegm.c60 tm->tm_mday > 31 || in timegm()
73 res += tm->tm_mday - 1; in timegm()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_dumbclock.c255 asserted_tm.tm_mday = up->ymd.tm_mday; in dumbclock_receive()
299 pp->day = ymd2yd (adjyear, adjmon, gmtp->tm_mday); in dumbclock_receive()
306 adjyear,adjmon,gmtp->tm_mday,pp->hour,pp->minute, in dumbclock_receive()
H A Drefclock_chronolog.c247 local.tm_mday = up->day; in chronolog_receive()
261 pp->day = ymd2yd (adjyear, adjmon, gmtp->tm_mday); in chronolog_receive()
268 adjyear,adjmon,gmtp->tm_mday,pp->hour,pp->minute, in chronolog_receive()
/freebsd/crypto/openssl/test/
H A Dgmdifftest.c38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
/freebsd/usr.bin/w/
H A Dpr_time.c66 else if (tm.tm_mday != tp.tm_mday || in pr_attime()
/freebsd/usr.bin/chpass/
H A Dutil.c69 tp->tm_mday, tp->tm_year + 1900); in ttoa()
125 lt->tm_mday = day; in atot()
/freebsd/sbin/shutdown/
H A Dshutdown.c516 lt->tm_mday = ATOI2(timearg); in getoffset()
517 if (lt->tm_mday < 1 || lt->tm_mday > 31) in getoffset()
540 lt->tm_mday++; in getoffset()
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c177 (int)t.tm_mday, in cd9660_time_8426()
195 buf[2] = t.tm_mday; in cd9660_time_915()
/freebsd/sys/dev/efidev/
H A Defirtc.c142 ct.day = tm.tm_mday; in efirtc_gettime()
173 tm.tm_mday = ct.day; in efirtc_settime()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dconvert_to_tm.h73 __result.tm_mday = static_cast<unsigned>(__date.day()); in __convert_to_tm()
142 __result.tm_mday = static_cast<unsigned>(__value); in __convert_to_tm()
152 __result.tm_mday = static_cast<unsigned>(__value.day()); in __convert_to_tm()

1234567