HomeSort by: relevance | last modified time | path
    Searched refs:tm_yday (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/usr.bin/w/
pr_time.c 63 tnow_yday = localtime(now)->tm_yday;
70 } else if (tp->tm_yday != tnow_yday) {
  /src/usr.sbin/makefs/cd9660/
cd9660_conversion.c 161 gm.tm_yday -= t.tm_yday;
165 gm.tm_yday = -1;
167 gm.tm_yday = 1;
169 return (char)(-(gm.tm_min + 60* (24 * gm.tm_yday + gm.tm_hour)) / 15);
  /src/usr.bin/finger/
sprint.c 162 if (!delta->tm_yday) {
172 (void)printf("%4dd", delta->tm_yday);
lprint.c 155 if (delta->tm_yday == 0 && delta->tm_hour == 0 && delta->tm_min == 0)
159 if (delta->tm_yday > 0) {
160 cpr += printf("%d day%s ", delta->tm_yday,
161 delta->tm_yday == 1 ? "" : "s");
  /src/games/adventure/
wizard.c 66 *d = (tptr->tm_yday + 365 * (tptr->tm_year - 77)
  /src/lib/libc/time/
strptime.c 317 tm->tm_yday = i - 1;
672 tm->tm_yday = start_of_month[isleap_sum(tm->tm_year,
684 tm->tm_yday = (7 -
699 while (tm->tm_yday >= start_of_month[isleap][i])
703 tm->tm_yday -= start_of_month[isleap][12];
713 tm->tm_mday = tm->tm_yday -
722 while (i++ <= tm->tm_yday) {
strftime.c 354 pt = _conv(t->tm_yday + 1,
474 pt = _conv((t->tm_yday + DAYSPERWEEK -
520 yday = t->tm_yday;
592 pt = _conv((t->tm_yday + DAYSPERWEEK -
getdate.c 99 rtm.tm_wday = rtm.tm_yday = rtm.tm_isdst = TMSENTINEL;
zdump.c 772 result += newp->tm_yday - oldp->tm_yday;
791 /* Return A->tm_yday, adjusted to compare it fairly to B->tm_yday.
796 int yday = a->tm_yday;
  /src/tests/lib/libc/time/
t_strptime.c 48 int tm_mon, int tm_year, int tm_wday, int tm_yday)
73 H_REQUIRE_FIELD(tm_yday);
546 fprintf(stderr, "tm_yday=%d\n", tm.tm_yday);
  /src/usr.sbin/ac/
ac.c 472 if (day >= 0 && day != ltm->tm_yday) {
473 day = ltm->tm_yday;
483 day = ltm->tm_yday;
532 if (day >= 0 && day != ltm->tm_yday) {
  /src/usr.bin/calendar/
calendar.c 336 if (day >= tp->tm_yday && day <= tp->tm_yday + offset)
340 if (yrdays - tp->tm_yday + day <= offset)
  /src/games/phantasia/
gamesupport.c 76 today = localtime(&now)->tm_yday;
502 today = localtime(&ltime)->tm_yday;
main.c 195 Player.p_lastused = localtime(&seconds)->tm_yday;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_openbsd.h 183 int tm_yday; member in struct:__sanitizer::__sanitizer_tm
sanitizer_platform_limits_solaris.h 194 int tm_yday; member in struct:__sanitizer::__sanitizer_tm
sanitizer_platform_limits_freebsd.h 210 int tm_yday; member in struct:__sanitizer::__sanitizer_tm
sanitizer_platform_limits_openbsd.cc 221 CHECK_SIZE_AND_OFFSET(tm, tm_yday);
sanitizer_platform_limits_solaris.cc 289 CHECK_SIZE_AND_OFFSET(tm, tm_yday);
sanitizer_platform_limits_freebsd.cc 450 CHECK_SIZE_AND_OFFSET(tm, tm_yday);
  /src/include/
time.h 83 int tm_yday; /* days since January 1 [0-365] */ member in struct:tm
  /src/usr.bin/cal/
cal.c 502 tm->tm_yday++; /* jan 1 is 1 for us, not 0 */
518 (julian ? (day == tm->tm_yday) :
  /src/games/hack/
hack.unix.c 142 diy = lt->tm_yday;
  /src/usr.sbin/ndp/
ndp.c 1004 dir = loc->tm_yday - gmt->tm_yday;
  /src/libexec/ftpd/
conf.c 582 age = 365 * t->tm_year + t->tm_yday;
584 age -= 365 * t->tm_year + t->tm_yday;

Completed in 22 milliseconds

1 2