/openbsd/games/monop/ |
H A D | prop.dat | 36 {0, 0, 1, 0, &mon[0], { 2, 10, 30, 90, 160, 250} }, 37 {0, 0, 3, 0, &mon[0], { 4, 20, 60, 180, 320, 450} }, 38 {0, 0, 6, 0, &mon[1], { 6, 30, 90, 270, 400, 550} }, 39 {0, 0, 7, 0, &mon[1], { 6, 30, 90, 270, 400, 550} }, 40 {0, 0, 9, 0, &mon[1], { 8, 40,100, 300, 450, 600} }, 41 {0, 0, 11, 0, &mon[2], {10, 50,150, 450, 625, 750} }, 42 {0, 0, 13, 0, &mon[2], {10, 50,150, 450, 625, 750} }, 43 {0, 0, 14, 0, &mon[2], {12, 60,180, 500, 700, 900} }, 44 {0, 0, 16, 0, &mon[3], {14, 70,200, 550, 750, 950} }, 45 {0, 0, 17, 0, &mon[3], {14, 70,200, 550, 750, 950} }, [all …]
|
H A D | mon.dat | 1 /* $OpenBSD: mon.dat,v 1.4 2003/06/03 03:01:40 millert Exp $ */ 2 /* $NetBSD: mon.dat,v 1.2 1995/03/23 08:34:49 cgd Exp $ */ 32 * @(#)mon.dat 5.4 (Berkeley) 5/31/93
|
H A D | monop.c | 164 for (mp = mon; mp < &mon[N_MON]; mp++) { in init_monops()
|
/openbsd/games/hack/ |
H A D | hack.fight.c | 171 struct monst *mon; in fightm() local 173 for(mon = fmon; mon; mon = mon->nmon) if(mon != mtmp) { in fightm() 174 if(DIST(mon->mx,mon->my,mtmp->mx,mtmp->my) < 3) in fightm() 231 monnam(mon)); in hmon() 253 monnam(mon)); in hmon() 260 killed(mon); in hmon() 286 mon->mhp -= tmp; in hmon() 288 killed(mon); in hmon() 291 if(mon->mtame && (!mon->mflee || mon->mfleetim)) { in hmon() 310 if(!mon->mfroz && !mon->msleep) in hmon() [all …]
|
H A D | hack.potion.c | 299 uclose = (dist(mon->mx,mon->my) < 3); in potionhit() 304 mon->mhp--; in potionhit() 314 if(mon->mhp < mon->mhpmax) { in potionhit() 315 mon->mhp = mon->mhpmax; in potionhit() 322 if(mon->mhp > 2) in potionhit() 323 mon->mhp /= 2; in potionhit() 327 mon->mconf = 1; in potionhit() 330 unpmon(mon); in potionhit() 331 mon->minvis = 1; in potionhit() 332 pmon(mon); in potionhit() [all …]
|
H A D | hack.do.c | 325 struct monst *mon; in dothrow() local 353 mon = u.ustuck; in dothrow() 354 bhitpos.x = mon->mx; in dothrow() 355 bhitpos.y = mon->my; in dothrow() 398 if(mon) { in dothrow() 400 wakeup(mon); in dothrow() 420 } else mon = 0; in dothrow() 446 !mon->mtame){ in dothrow() 453 Monnam(mon)); in dothrow() 461 Monnam(mon)); in dothrow() [all …]
|
H A D | hack.zap.c | 475 struct monst *mon; in buzz() local 532 wakeup(mon); in buzz() 535 if(mon->mhp < 1) { in buzz() 537 if(cansee(mon->mx,mon->my)) in buzz() 539 Monnam(mon), fltxt); in buzz() 540 mondied(mon); in buzz() 542 killed(mon); in buzz() 547 miss(fltxt,mon); in buzz() 632 mon->mfroz = 1; in zhit() 641 tmp = mon->mhp+1; in zhit() [all …]
|
H A D | hack.pri.c | 613 if(mon->mdispl){ in pmon() 614 if(mon->mdx != mon->mx || mon->mdy != mon->my || !show) in pmon() 615 unpmon(mon); in pmon() 618 atl(mon->mx,mon->my, in pmon() 621 ) ? mon->data->mlet : mon->mappearance); in pmon() 622 mon->mdispl = 1; in pmon() 623 mon->mdx = mon->mx; in pmon() 624 mon->mdy = mon->my; in pmon() 631 if(mon->mdispl){ in unpmon() 632 newsym(mon->mdx, mon->mdy); in unpmon() [all …]
|
H A D | hack.mon.c | 543 mfndpos(struct monst *mon, coord poss[9],int info[9], int flag) in mfndpos() argument 550 x = mon->mx; in mfndpos() 551 y = mon->my; in mfndpos() 554 pool = (mon->data->mlet == ';'); in mfndpos() 557 if(mon->mconf) { in mfndpos() 584 (!mon->mpeaceful && sengr_at("Elbereth", nx, ny))) { in mfndpos() 601 if(mon->mtrapseen & tt){ in mfndpos() 679 relmon(struct monst *mon) in relmon() argument 683 if(mon == fmon) fmon = fmon->nmon; in relmon() 685 for(mtmp = fmon; mtmp->nmon != mon; mtmp = mtmp->nmon) ; in relmon() [all …]
|
H A D | hack.mkshop.c | 210 struct monst *mon; in mkzoo() local 239 mon = makemon( in mkzoo() 243 if(mon) mon->msleep = 1; in mkzoo()
|
/openbsd/usr.bin/at/ |
H A D | parsetime.c | 480 (tm->tm_mon > mon ||(tm->tm_mon == mon && tm->tm_mday > mday))) in assign_date() 484 tm->tm_mon = mon; in assign_date() 504 int mday, wday, mon; in month() local 585 mday = mon; in month() 586 mon = x; in month() 591 mon /= 10000; in month() 594 mon /= 100; in month() 596 mday = mon % 100; in month() 597 mon /= 100; in month() 601 mon--; in month() [all …]
|
/openbsd/usr.sbin/rpc.statd/ |
H A D | test.c | 28 struct mon *argp; in sm_mon_1() 94 struct mon mon; local 105 mon.mon_id.mon_name = argv[1]; 106 mon.mon_id.my_id.my_name = argv[1]; 107 mon.mon_id.my_id.my_prog = SM_PROG; 108 mon.mon_id.my_id.my_vers = SM_VERS; 109 mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */ 114 if (res = sm_mon_1(&mon, cli))
|
/openbsd/gnu/usr.bin/perl/cpan/Time-Local/t/ |
H A D | Local.t | 103 my ( $year, $mon, $mday, $hour, $min, $sec ) = @{$vals}; 104 $mon--; 113 ->( $sec, $min, $hour, $mday, $mon, $y ); 130 month => $mon, 133 "$sub( $sec, $min, $hour, $mday, $mon, $y )" 141 ->( $sec, $min, $hour, $mday, $mon, $y ); 158 month => $mon, 161 "$sub( $sec, $min, $hour, $mday, $mon, $y )" 443 my ( $year, $mon, $mday, $hour, $min, $sec ) 445 $mon--; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/t/ |
H A D | 07arith.t | 9 is($t->mon, 2); 14 is($t2->mon, 3); 19 is($t3->mon, 1); 25 is($t4->mon, 3); 31 is($t6->mon, 1); 36 is($t7->mon, 12); 41 is($t8->mon, 1); 46 is($t9->mon, 12);
|
H A D | 01base.t | 13 cmp_ok($t->mon, '==', 1, 'correct mon');
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
H A D | update_release_date.pl | 16 my ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = 18 ++$mon; 21 my $human_ts = sprintf( "%04d-%02d-%02d", $year, $mon, $mday );
|
/openbsd/sys/arch/landisk/stand/boot/ |
H A D | getsecs.c | 167 uint32_t mon, year; in getsecs() 180 mon = rtc_read(RS5C313_MON1); in getsecs() 181 mon += rtc_read(RS5C313_MON10) * 10; in getsecs()
|
/openbsd/gnu/usr.bin/cvs/contrib/ |
H A D | log.in | 108 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) . "…
|
H A D | log_accum.in | 175 local($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); 181 $year%100, $mon+1, $mday, 211 ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst, $zone, $gmtoff) = 225 $DoW[$wday], $mday, $MoY[$mon], $year,
|
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/ |
H A D | Piece.pm | 201 sub mon { subroutine 361 sprintf("%d$sep%02d$sep%02d", $time->year, $time->mon, $time->[c_mday]); 369 sprintf("%02d$sep%02d$sep%d", $time->mon, $time->[c_mday], $time->year); 375 sprintf("%02d$sep%02d$sep%d", $time->[c_mday], $time->mon, $time->year); 394 my $jd = $time->_jd( $time->year, $time->mon, $time->mday, 846 if( @{$locales->{mon}} < 12 ){ 847 @{$locales->{mon}} = @MON_LIST; 850 @MON_LIST= @{$locales->{mon}}; 865 @{ $locales->{mon} } = @MON_LIST;
|
/openbsd/lib/librpcsvc/ |
H A D | sm_inter.x | 51 struct sm_stat_res SM_MON(struct mon) = 2; 85 struct mon { struct
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | time.t | 35 ($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/usr.bin/ssh/ |
H A D | monitor.c | 1505 mon->m_recvfd = pair[0]; in monitor_openfds() 1506 mon->m_sendfd = pair[1]; in monitor_openfds() 1513 mon->m_log_recvfd = pair[0]; in monitor_openfds() 1514 mon->m_log_sendfd = pair[1]; in monitor_openfds() 1516 mon->m_log_recvfd = mon->m_log_sendfd = -1; in monitor_openfds() 1524 struct monitor *mon; in monitor_init() local 1526 mon = xcalloc(1, sizeof(*mon)); in monitor_init() 1527 monitor_openfds(mon, 1); in monitor_init() 1529 return mon; in monitor_init() 1533 monitor_reinit(struct monitor *mon) in monitor_reinit() argument [all …]
|
/openbsd/sys/arch/alpha/alpha/ |
H A D | mcclock.c | 106 ct->mon = regs[MC_MONTH]; 131 regs[MC_MONTH] = ct->mon;
|
H A D | clock.c | 92 dt.dt_mon = ct.mon; in rtc_gettime() 113 ct.mon = dt.dt_mon; in rtc_settime()
|