Home
last modified time | relevance | path

Searched refs:mday (Results 1 – 20 of 20) sorted by relevance

/netbsd/src/usr.bin/at/
Dparsetime.c423 assign_date(struct tm *tm, int mday, int mon, int year) in assign_date() argument
438 (tm->tm_mon == mon && tm->tm_mday > mday)) in assign_date()
444 tm->tm_mday = mday; in assign_date()
461 int mday, wday, mon; in month() local
465 mday = 0; in month()
488 mday = atoi(sc_token); in month()
493 assign_date(tm, mday, mon, year); in month()
502 mday = tm->tm_mday; in month()
506 mday += 7 - (tm->tm_wday - wday); in month()
508 mday += (wday - tm->tm_wday); in month()
[all …]
/netbsd/src/lib/libc/time/
Dasctime.c97 int year, mday, hour, min, sec; in asctime_r() local
117 mday = timeptr->tm_mday; in asctime_r()
141 wn, mn, mday, hour, min, sec, in asctime_r()
145 wn, mn, mday, hour, min, sec, in asctime_r()
Dlocaltime.c2162 iinntt y, mday, hour, min, saved_seconds; in time2sub() local
2191 mday = yourtm.tm_mday; in time2sub()
2192 mday += hour / HOURSPERDAY; in time2sub()
2196 mday--; in time2sub()
2212 while (mday <= 0) { in time2sub()
2214 mday += year_lengths[isleap(li)]; in time2sub()
2217 while (DAYSPERLYEAR < mday) { in time2sub()
2219 mday -= year_lengths[isleap(li)]; in time2sub()
2222 yourtm.tm_mday = (int)mday; in time2sub()
/netbsd/src/crypto/dist/ipsec-tools/misc/
Dcvs2cl.pl422 my (undef,$min,$hour,$mday,$mon,$year,$wday)
803 my (undef,$min,$hour,$mday,$mon,$year,$wday)
811 $year+1900, $mon+1, $mday, $hour, $min);
1254 my (undef,$min,$hour,$mday,$mon,$year,$wday)
1714 my ($year, $mday, $mon, $wday, $hour, $min);
1717 ($year, $mday, $mon, $wday, $hour, $min) = @_;
1720 (undef, $min, $hour, $mday, $mon, $year, $wday) =
1728 my $fdate = $self->fdate($year, $mon, $mday, $wday);
1743 my ($year, $mday, $mon, $wday);
1746 ($year, $mon, $mday, $wday) = @_;
[all …]
/netbsd/src/external/gpl2/xcvs/dist/contrib/
Dlog.in138 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
165 $logfh->print ("Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour:" . sprintf("%02d", $min) . "\n…
170 …$mailfh->print ("Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour:" . sprintf("%02d", $min) . "…
Dlog_accum.in394 local($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
397 $cvs_user, $year%100, $mon+1, $mday,
/netbsd/src/external/bsd/less/dist/
Dmkhelp.pl10 my ($sec,$min,$hour,$mday,$mon,$year) = gmtime();
12 $hour, $min, $year+1900, $mon+1, $mday;
/netbsd/src/external/bsd/ntp/dist/scripts/build/
DupdateBEDate26 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
39 printf { $OFILE } "%s-%s-%s %02d:%02d", $mday,$m_abbr[$mon],$year,$hour,$min;
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dmktime.c294 int mday = tp->tm_mday; in __mktime_internal() local
319 long int lmday = mday; in __mktime_internal()
365 + SHR (mday, ALOG2_DAYS_PER_BIENNIUM) in __mktime_internal()
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntploopwatch1500 local($sec,$min,$hour,$mday,$mon,$year)
1557 $mday = $1;
1640 $mday = 1 if $last > $[ + 3;
1642 local($rtime) = &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 0);
1648 &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 1)
/netbsd/src/etc/
Dcrontab10 #minute hour mday month wday command
/netbsd/src/external/bsd/ntp/dist/libparse/
Ddata_mbg.c144 tmp->mday = *(*buffpp)++; in get_mbg_tm()
270 tmp->year, tmp->month, tmp->mday, in mbg_tm_str()
/netbsd/src/external/bsd/ntp/dist/include/
Dmbg_gps166.h409 int8_t mday; ///< day of month, 1..31 member
/netbsd/src/external/gpl2/xcvs/dist/src/
Dlog.c1607 int year, mon, mday, hour, min, sec; in log_version() local
1627 (void)sscanf (ver->date, SDATEFORM, &year, &mon, &mday, &hour, &min, in log_version()
1631 sprintf (buf, "%04d-%02d-%02d %02d:%02d:%02d +0000", year, mon, mday, in log_version()
Drcs.c3539 int year, mon, mday, hour, min, sec; in printable_date() local
3542 (void) sscanf (rcs_date, SDATEFORM, &year, &mon, &mday, &hour, &min, in printable_date()
3546 sprintf (buf, "%04d/%02d/%02d %02d:%02d:%02d", year, mon, mday, in printable_date()
/netbsd/src/usr.bin/touch/
Dtouch.c526 CHK(mday); in difftm()
/netbsd/src/lib/libutil/
Dparsedate.y842 if (TM_NE(year) || TM_NE(mon) || TM_NE(mday) ||
/netbsd/src/share/man/tools/
Dnewsp.errs2226 mday
/netbsd/src/external/bsd/libpcap/dist/
DCHANGES1573 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
/netbsd/src/external/gpl3/gcc/dist/
DNEWS5490 bytes if mday were negative. The solution is to either
5492 negative, for example by changing mday's type to unsigned or
5496 void* f (int mday)
5499 sprintf (buf, "%02i", mday % 100);