Searched refs:tm_yday (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-current/contrib/ntp/libntp/
H A Duglydate.c35 tm->tm_yday = 0;
46 tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec,
/freebsd-current/crypto/heimdal/lib/roken/
H A Dstrptime.c193 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday;
194 if (timeptr->tm_yday < 0) {
196 timeptr->tm_yday = 0;
209 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday;
210 if (timeptr->tm_yday < 0) {
212 timeptr->tm_yday = 0;
229 timeptr->tm_yday = offset + (wnum - 1) * 7 + timeptr->tm_wday - fday;
230 if (timeptr->tm_yday < 0) {
232 timeptr->tm_yday = 0;
321 timeptr->tm_yday
[all...]
H A Dstrftime.c126 return (tm->tm_yday + 7 - (tm->tm_yday % 7 - tm->tm_wday + 7) % 7) / 7;
139 return (tm->tm_yday + 7 - (tm->tm_yday % 7 - wday + 7) % 7) / 7;
152 int w1day = (wday - tm->tm_yday % 7 + 7) % 7;
155 ret = (tm->tm_yday + w1day) / 7;
250 "%03d", tm->tm_yday + 1);
/freebsd-current/contrib/sendmail/src/
H A Darpadate.c135 else if (lt->tm_yday < gmt.tm_yday)
137 else if (lt->tm_yday > gmt.tm_yday)
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c155 gm.tm_yday -= t.tm_yday;
159 gm.tm_yday = -1;
161 gm.tm_yday = 1;
163 return (char)(-(gm.tm_min + 60* (24 * gm.tm_yday + gm.tm_hour)) / 15);
/freebsd-current/usr.bin/touch/
H A Dtouch.c266 t->tm_yday = -1;
268 if (t->tm_yday == -1)
301 t->tm_yday = -1;
303 if (t->tm_yday == -1)
345 t.tm_yday = -1;
347 if (t.tm_yday == -1)
/freebsd-current/usr.bin/finger/
H A Dsprint.c166 if (!delta->tm_yday)
176 (void)printf("%4dd", delta->tm_yday);
H A Dlprint.c180 if (w->idletime != -1 && (delta->tm_yday ||
184 if (delta->tm_yday > 0) {
186 delta->tm_yday,
187 delta->tm_yday == 1 ? "" : "s");
/freebsd-current/lib/libc/stdtime/
H A Dstrptime.c227 tm->tm_yday = i - 1;
623 tm->tm_yday = start_of_month[isleap(tm->tm_year +
648 tm->tm_yday = tmpyday;
656 while (tm->tm_yday >=
662 tm->tm_yday -=
671 tm->tm_mday = tm->tm_yday -
679 while (i++ <= tm->tm_yday) {
H A Dstrftime.c228 pt = _conv(t->tm_yday + 1,
321 pt = _conv((t->tm_yday + DAYSPERWEEK -
367 yday = t->tm_yday;
434 pt = _conv((t->tm_yday + DAYSPERWEEK -
/freebsd-current/contrib/unbound/compat/
H A Dgmtime_r.c92 tmp->tm_yday = (int) days;
H A Dstrptime.c205 tm->tm_yday = ret;
/freebsd-current/usr.sbin/ac/
H A Dac.c428 if (day >= 0 && day != ltm->tm_yday) {
429 day = ltm->tm_yday;
440 day = ltm->tm_yday;
483 if (day >= 0 && day != ltm->tm_yday) {
/freebsd-current/contrib/tzcode/
H A Dstrftime.c256 pt = _conv(t->tm_yday + 1, "%03d", pt, ptlim);
357 pt = _conv((t->tm_yday + DAYSPERWEEK -
402 yday = t->tm_yday;
471 pt = _conv((t->tm_yday + DAYSPERWEEK -
/freebsd-current/include/
H A Dtime.h106 int tm_yday; /* days since January 1 [0-365] */ member in struct:tm
/freebsd-current/contrib/diff/lib/
H A Dstrftime.c290 + (a->tm_yday - b->tm_yday));
961 DO_NUMBER (3, 1 + tp->tm_yday);
1110 DO_NUMBER (2, (tp->tm_yday - tp->tm_wday + 7) / 7);
1119 int days = iso_week_days (tp->tm_yday, tp->tm_wday);
1125 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)),
1130 int d = iso_week_days (tp->tm_yday - (365 + __isleap (year)),
1157 DO_NUMBER (2, (tp->tm_yday - (tp->tm_wday - 1 + 7) % 7 + 7) / 7);
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dstrptime.c253 if (!(_conv_num(&bp, &tm->tm_yday, 1, 366)))
255 tm->tm_yday--;
/freebsd-current/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c46 int tm_mon, int tm_year, int tm_wday, int tm_yday)
83 H_REQUIRE_FIELD(tm_yday);
44 h_pass(const char *buf, const char *fmt, int len, int tm_sec, int tm_min, int tm_hour, int tm_mday, int tm_mon, int tm_year, int tm_wday, int tm_yday) argument
/freebsd-current/usr.bin/calendar/
H A Dpom.c127 days_today = (GMT.tm_yday + 1) + ((GMT.tm_hour +
137 days_tomorrow = (GMT.tm_yday + 1) + ((GMT.tm_hour +
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_bancomm.c101 int32_t tm_yday; member in struct:stfp_tm
594 time_vme->day = maj.tm_yday+1;
610 time_vme->day = stfp->tm.tm_yday+1;
H A Drefclock_pcf.c198 pp->day = tp->tm_yday + 1;
/freebsd-current/usr.bin/rup/
H A Drup.c131 if (host_uptime.tm_yday != 0)
/freebsd-current/contrib/file/src/
H A Dcdf_time.c128 tm.tm_yday = 0;
/freebsd-current/usr.bin/pom/
H A Dpom.c136 days = (GMT.tm_yday + 1) + ((GMT.tm_hour +
/freebsd-current/bin/date/
H A Ddate.c337 lt->tm_yday = -1;
339 if (lt->tm_yday == -1)

Completed in 338 milliseconds

123