Searched refs:wday (Results 1 - 25 of 26) sorted by relevance

12

/openbsd-current/sys/lib/libsa/
H A Dctime.c47 int ss, mm, hh, wday, month, year; local
56 wday = (4 + tt) % 7; /* weekday, 'twas thursday when time started */
70 ((wday < 0 || wday >= 7)? "???": wdays[wday]),
/openbsd-current/gnu/usr.bin/perl/lib/Time/
H A Dlocaltime.t8 @methods = qw(sec min hour mday mon year wday yday isdst);
H A Dgmtime.t8 @methods = qw(sec min hour mday mon year wday yday isdst);
H A Dtm.pm8 map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
27 min, hour, mday, mon, year, wday, yday, and isdst.
H A Dgmtime.pm52 (qw(Sun Mon Tue Wed Thu Fri Sat Sun))[ $gm->wday() ];
71 mday, mon, year, wday, yday, and isdst.
H A Dlocaltime.pm66 mday, mon, year, wday, yday, and isdst.
/openbsd-current/gnu/usr.bin/perl/dist/Devel-PPPort/devel/
H A Dupdate_release_date.pl16 my ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) =
/openbsd-current/gnu/usr.bin/cvs/contrib/
H A Dlog.in108 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
135 $logfh->print ("Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour:" . sprintf("%02d", $min) . "\n");
140 $mailfh->print ("Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour:" . sprintf("%02d", $min) . "\n");
H A Dlog_accum.in175 local($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
211 ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst, $zone, $gmtoff) =
225 $DoW[$wday], $mday, $MoY[$mon], $year,
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dtime.t35 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($beg);
59 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($beg);
61 ($sec,$min,$hour2,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($beg);
66 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($beg);
/openbsd-current/lib/libc/time/
H A Dstrftime.c40 const char * wday[DAYSPERWEEK]; member in struct:lc_time_T
148 "?" : Locale->wday[t->tm_wday],
341 int wday; local
347 wday = t->tm_wday;
360 bot = ((yday + 11 - wday) %
H A Dwcsftime.c44 const wchar_t * wday[DAYSPERWEEK]; member in struct:lc_time_T
162 UNKNOWN : Locale->wday[t->tm_wday],
348 int wday; local
354 wday = t->tm_wday;
367 bot = ((yday + 11 - wday) % DAYSPERWEEK) - 3;
/openbsd-current/usr.bin/at/
H A Dparsetime.c504 int mday, wday, mon; local
543 wday = sc_tokid - SUN;
548 if (wday < tm->tm_wday)
549 mday += 7 - (tm->tm_wday - wday);
551 mday += (wday - tm->tm_wday);
553 tm->tm_wday = wday;
/openbsd-current/sys/dev/gpio/
H A Dgpiodcf.c336 int month_bits, year_bits, wday; local
369 wday = (sc->sc_tbits >> 42) & 0x07;
382 ((parity >> wday) & 1) ^ (parity >> (month_bits & 0x0f) & 1) ^
/openbsd-current/sys/arch/sh/sh/
H A Dclock.c400 RTCGET(wday, WK);
437 RTCSET(WK, wday);
/openbsd-current/usr.sbin/zic/
H A Dzic.c2396 long wday; local
2399 wday = eitol(EPOCH_WDAY);
2404 wday = (wday + dayoff) % LDAYSPERWEEK;
2406 wday -= ((-dayoff) % LDAYSPERWEEK);
2407 if (wday < 0)
2408 wday += LDAYSPERWEEK;
2410 while (wday != eitol(rp->r_wday))
2413 if (++wday >= LDAYSPERWEEK)
2414 wday
[all...]
/openbsd-current/sys/dev/usb/
H A Dudcf.c500 int month_bits, year_bits, wday; local
533 wday = (sc->sc_tbits >> 42) & 0x07;
546 ((parity >> wday) & 1) ^ (parity >> (month_bits & 0x0f) & 1) ^
H A Dumbg.c72 u_int8_t wday; /* 1 (monday) - 7 (sunday) */ member in struct:mbg_time
/openbsd-current/gnu/usr.bin/perl/cpan/Time-Piece/
H A DPiece.pm255 sub wday { subroutine
833 if( @{$locales->{wday}} < 7 ){
834 @{$locales->{wday}} = @DAY_LIST;
837 @DAY_LIST = @{$locales->{wday}};
863 @{ $locales->{wday} } = @DAY_LIST;
930 $t->wday # 1 = Sunday
H A DPiece.xs324 char * wday[7];
592 len = strlen(Locale->wday[i]);
594 Locale->wday[i],
929 short_names = (AV *) SvRV( *hv_fetch(locales, "wday", 4, 0) );
932 Locale->wday[i] = SvPV_nolen( (SV *) *av_fetch(short_names, i, 0) );
1141 tmp = hv_store(locales, "wday", 4, newRV_noinc((SV *) wdays), 0);
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/
H A DPOSIX.xs3496 asctime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = -1)
3503 int wday
3519 mytm.tm_wday = wday;
3571 strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1)
3579 int wday
3592 buf = my_strftime8_temp(SvPV_nolen(fmt), sec, min, hour, mday, mon, year, wday, yday, isdst, &is_utf8);
/openbsd-current/sys/dev/pci/
H A Dmbg.c61 u_int8_t wday; /* 1 (monday) - 7 (sunday) */ member in struct:mbg_time
/openbsd-current/libexec/security/
H A Dsecurity600 @$file{qw(wday mon day time year)} =
/openbsd-current/gnu/usr.bin/perl/
H A Dlocale.c4522 * format for wday 0. If the value is the same as the normal 0,
4525 * (wday was chosen because its range is all a single digit.
4803 Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst) argument
4818 Note that yday and wday effectively are ignored by this function, as
4847 mytm.tm_wday = wday;
4957 int mon, int year, int wday, int yday, int isdst,
4960 char * retval = my_strftime(fmt, sec, min, hour, mday, mon, year, wday,
4956 Perl_my_strftime8_temp(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst, utf8ness_t * utf8ness) argument
/openbsd-current/gnu/usr.bin/perl/cpan/HTTP-Tiny/lib/HTTP/
H A DTiny.pm994 my ($sec, $min, $hour, $mday, $mon, $year, $wday) = gmtime($_[1]);
996 substr($DoW,$wday*4,3),

Completed in 341 milliseconds

12