Home
last modified time | relevance | path

Searched refs:week (Results 1 – 25 of 65) sorted by relevance

123

/openbsd/usr.sbin/ripctl/
H A Dripctl.c269 unsigned long long week; in fmt_timeframe_core() local
278 week = t; in fmt_timeframe_core()
280 sec = week % 60; in fmt_timeframe_core()
281 week /= 60; in fmt_timeframe_core()
282 min = week % 60; in fmt_timeframe_core()
283 week /= 60; in fmt_timeframe_core()
284 hrs = week % 24; in fmt_timeframe_core()
285 week /= 24; in fmt_timeframe_core()
286 day = week % 7; in fmt_timeframe_core()
287 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/usr.sbin/ospfctl/
H A Dospfctl.c380 unsigned long long week; in fmt_timeframe_core() local
389 week = t; in fmt_timeframe_core()
391 sec = week % 60; in fmt_timeframe_core()
392 week /= 60; in fmt_timeframe_core()
393 min = week % 60; in fmt_timeframe_core()
394 week /= 60; in fmt_timeframe_core()
395 hrs = week % 24; in fmt_timeframe_core()
396 week /= 24; in fmt_timeframe_core()
397 day = week % 7; in fmt_timeframe_core()
398 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/usr.sbin/dvmrpctl/
H A Ddvmrpctl.c436 unsigned long long week; in fmt_timeframe_core() local
445 week = t; in fmt_timeframe_core()
447 sec = week % 60; in fmt_timeframe_core()
448 week /= 60; in fmt_timeframe_core()
449 min = week % 60; in fmt_timeframe_core()
450 week /= 60; in fmt_timeframe_core()
451 hrs = week % 24; in fmt_timeframe_core()
452 week /= 24; in fmt_timeframe_core()
453 day = week % 7; in fmt_timeframe_core()
454 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/usr.sbin/ldpctl/
H A Dldpctl.c297 unsigned int sec, min, hrs, day, week; in fmt_timeframe_core() local
306 week = t; in fmt_timeframe_core()
308 sec = week % 60; in fmt_timeframe_core()
309 week /= 60; in fmt_timeframe_core()
310 min = week % 60; in fmt_timeframe_core()
311 week /= 60; in fmt_timeframe_core()
312 hrs = week % 24; in fmt_timeframe_core()
313 week /= 24; in fmt_timeframe_core()
314 day = week % 7; in fmt_timeframe_core()
315 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/usr.sbin/eigrpctl/
H A Deigrpctl.c408 unsigned long long week; in fmt_timeframe_core() local
417 week = t; in fmt_timeframe_core()
419 sec = week % 60; in fmt_timeframe_core()
420 week /= 60; in fmt_timeframe_core()
421 min = week % 60; in fmt_timeframe_core()
422 week /= 60; in fmt_timeframe_core()
423 hrs = week % 24; in fmt_timeframe_core()
424 week /= 24; in fmt_timeframe_core()
425 day = week % 7; in fmt_timeframe_core()
426 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/t/
H A D02core.t62 cmp_ok($t->week, '==', 9);
194 # Test week number
196 cmp_ok(Time::Piece->strptime("2002/06/10 0", '%Y/%m/%d %H')->week, '==', 24);
197 cmp_ok(Time::Piece->strptime("2002/06/10 1", '%Y/%m/%d %H')->week, '==', 24);
198 cmp_ok(Time::Piece->strptime("2002/06/10 2", '%Y/%m/%d %H')->week, '==', 24);
199 cmp_ok(Time::Piece->strptime("2002/06/10 12", '%Y/%m/%d %H')->week, '==', 24);
200 cmp_ok(Time::Piece->strptime("2002/06/10 13", '%Y/%m/%d %H')->week, '==', 24);
201 cmp_ok(Time::Piece->strptime("2002/06/10 14", '%Y/%m/%d %H')->week, '==', 24);
202 cmp_ok(Time::Piece->strptime("2002/06/10 23", '%Y/%m/%d %H')->week, '==', 24);
H A D02core_dst.t58 cmp_ok($t->week, '==', 28);
/openbsd/usr.bin/cal/
H A DREADME2 principles. The algorithm for calculating the day of week from any
10 the day of week for any date. The algorithm for a zero based day of week:
24 this program never tries to find day of week for any day
H A Dcal.c136 int week(int, int, int);
243 week(int day, int month, int year) in week() function
323 printf(" [%2d]", week(firstday, month, year)); in monthly()
400 wn = week(firstday, in yearly()
/openbsd/usr.sbin/ospf6ctl/
H A Dospf6ctl.c502 unsigned int sec, min, hrs, day, week; in fmt_timeframe_core() local
511 week = t; in fmt_timeframe_core()
513 sec = week % 60; in fmt_timeframe_core()
514 week /= 60; in fmt_timeframe_core()
515 min = week % 60; in fmt_timeframe_core()
516 week /= 60; in fmt_timeframe_core()
517 hrs = week % 24; in fmt_timeframe_core()
518 week /= 24; in fmt_timeframe_core()
519 day = week % 7; in fmt_timeframe_core()
520 week /= 7; in fmt_timeframe_core()
[all …]
/openbsd/usr.sbin/bgpctl/
H A Dbgpctl.c660 week = t; in fmt_timeframe()
662 sec = week % 60; in fmt_timeframe()
663 week /= 60; in fmt_timeframe()
664 min = week % 60; in fmt_timeframe()
665 week /= 60; in fmt_timeframe()
666 hrs = week % 24; in fmt_timeframe()
667 week /= 24; in fmt_timeframe()
668 day = week % 7; in fmt_timeframe()
669 week /= 7; in fmt_timeframe()
671 if (week >= 1000) in fmt_timeframe()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/
H A DPiece.pm437 sub week { subroutine
556 my $week = sprintf( "%02d", $time->week() );
557 $format =~ s/%V/$week/ if $IS_WIN32;
/openbsd/usr.bin/ssh/
H A Dmisc.c621 unsigned long long week; in fmt_timeframe() local
627 week = t; in fmt_timeframe()
629 sec = week % 60; in fmt_timeframe()
630 week /= 60; in fmt_timeframe()
631 min = week % 60; in fmt_timeframe()
632 week /= 60; in fmt_timeframe()
633 hrs = week % 24; in fmt_timeframe()
634 week /= 24; in fmt_timeframe()
635 day = week % 7; in fmt_timeframe()
636 week /= 7; in fmt_timeframe()
[all …]
/openbsd/lib/libc/time/
H A DTheory65 for the dth day of week n of month m of the year,
66 where week 1 is the first week in which day d appears,
67 and `5' stands for the last week in which day d appears
68 (which may be either the 4th or 5th week).
406 with 30-day months plus 5 holidays, with a 5-day week.
407 On 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the
408 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it
409 reverted to the 7-day week. With the 6-day week the usual days
/openbsd/gnu/llvm/llvm/docs/
H A DMeetupGuidelines.rst47 * Announce the next meetup in advance, and remind in one week or so.
75 * Prefer not to have a meetup the same week when the other similar meetups
H A DContributing.rst112 If you have received no comments on your patch for a week, you can request a
115 is once a week. Please remember that you are asking for valuable time from other
H A DResponseGuide.rst166 The reportee will be given a week to respond with the option to request
200 * An imposed suspension (e.g., asking someone to "take a week off" from mailing
H A DCodeReview.rst157 and after a week that community member has yet to respond, feel free to ping
244 not urgent, the common courtesy ping rate is one week. Remember that you're
/openbsd/gnu/usr.bin/perl/pod/
H A Dperlgov.pod327 For a Membership Change Vote, each phase will last one week. For Amendment and
393 organize a Special Election within one week after the vacancy occurs. If the
398 Core Team member objects within one week, the Special Election must be
449 For a Special Election, each phase will last one week. At the end of the
475 consensus cannot be reached within one week, the President of The Perl
/openbsd/usr.sbin/zic/
H A Dzic.c1735 int week; in stringrule() local
1740 week = 1 + rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
1743 week = 5; in stringrule()
1747 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
1752 rp->r_month + 1, week, rp->r_wday); in stringrule()
/openbsd/regress/lib/libc/regex/
H A Dtests351 a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights…
381 (wee|week)(knights|night) - weeknights weeknights
382 (we|wee|week|frob)(knights|night|day) - weeknights weeknights
/openbsd/gnu/usr.bin/binutils/gas/
H A DCONTRIBUTORS65 relaxation that took a week and required the proverbial one-bit fix.
/openbsd/usr.bin/indent/
H A DREADME31 | battle about how to format C code. After about a week of fighting, I
/openbsd/gnu/usr.bin/binutils-2.17/gas/
H A DCONTRIBUTORS65 relaxation that took a week and required the proverbial one-bit fix.
/openbsd/usr.sbin/tcpdump/
H A DREADME177 - Once a week, tell your funding agent that you're discovering

123