Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/netbsd-src/games/monop/
H A Dmonop.c136 static MON mon[N_MON] = { /* monopoly descriptions */ variable
151 {0, 0, 1, 0, &mon[0], { 2, 10, 30, 90, 160, 250} },
152 {0, 0, 3, 0, &mon[0], { 4, 20, 60, 180, 320, 450} },
153 {0, 0, 6, 0, &mon[1], { 6, 30, 90, 270, 400, 550} },
154 {0, 0, 7, 0, &mon[1], { 6, 30, 90, 270, 400, 550} },
155 {0, 0, 9, 0, &mon[1], { 8, 40,100, 300, 450, 600} },
156 {0, 0, 11, 0, &mon[2], {10, 50,150, 450, 625, 750} },
157 {0, 0, 13, 0, &mon[2], {10, 50,150, 450, 625, 750} },
158 {0, 0, 14, 0, &mon[2], {12, 60,180, 500, 700, 900} },
159 {0, 0, 16, 0, &mon[3], {14, 70,200, 550, 750, 950} },
[all …]
/netbsd-src/games/hack/
H A Dhack.fight.c181 struct monst *mon; in fightm() local
182 for (mon = fmon; mon; mon = mon->nmon) in fightm()
183 if (mon != mtmp) { in fightm()
184 if (DIST(mon->mx, mon->my, mtmp->mx, mtmp->my) < 3) in fightm()
186 return (hitmm(mtmp, mon)); in fightm()
218 hmon(struct monst *mon, struct obj *obj, int thrown) in hmon() argument
225 if (mon->data->mlet == 'c' && !uarmg) { in hmon()
228 done_in_by(mon); in hmon()
234 if (strchr(mlarge, mon->data->mlet)) { in hmon()
247 monnam(mon)); in hmon()
[all …]
H A Dhack.potion.c300 potionhit(struct monst *mon, struct obj *obj) in potionhit() argument
303 boolean uclose, isyou = (mon == &youmonst); in potionhit()
311 uclose = (dist(mon->mx, mon->my) < 3); in potionhit()
314 botlnam, monnam(mon)); in potionhit()
315 if (rn2(5) && mon->mhp > 1) in potionhit()
316 mon->mhp--; in potionhit()
327 if (mon->mhp < mon->mhpmax) { in potionhit()
328 mon->mhp = mon->mhpmax; in potionhit()
329 pline("%s looks sound and hale again!", Monnam(mon)); in potionhit()
333 if (mon->mhpmax > 3) in potionhit()
[all …]
H A Dhack.do.c334 struct monst *mon; in dothrow() local
360 mon = u.ustuck; in dothrow()
361 bhitpos.x = mon->mx; in dothrow()
362 bhitpos.y = mon->my; in dothrow()
393 mon = boomhit(u.dx, u.dy); in dothrow()
394 if (mon == &youmonst) { /* the thing was caught */ in dothrow()
402 mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 : in dothrow()
408 if (mon) { in dothrow()
410 wakeup(mon); in dothrow()
413 tmp = -1 + u.ulevel + mon->data->ac + abon(); in dothrow()
[all …]
H A Dhack.zap.c503 struct monst *mon; in buzz() local
560 if ((mon = m_at(sx, sy)) && in buzz()
561 (type != -1 || mon->data->mlet != 'D')) { in buzz()
562 wakeup(mon); in buzz()
563 if (rnd(20) < 18 + mon->data->ac) { in buzz()
564 int tmp = zhit(mon, abstype); in buzz()
565 if (mon->mhp < 1) { in buzz()
567 if (cansee(mon->mx, mon->my)) in buzz()
569 Monnam(mon), fltxt); in buzz()
570 mondied(mon); in buzz()
[all …]
H A Dhack.pri.c655 pmon(struct monst *mon) in pmon() argument
657 int show = (Blind && Telepat) || canseemon(mon); in pmon()
658 if (mon->mdispl) { in pmon()
659 if (mon->mdx != mon->mx || mon->mdy != mon->my || !show) in pmon()
660 unpmon(mon); in pmon()
662 if (show && !mon->mdispl) { in pmon()
663 atl(mon->mx, mon->my, in pmon()
664 (!mon->mappearance in pmon()
666 ) ? mon->data->mlet : mon->mappearance); in pmon()
667 mon->mdispl = 1; in pmon()
[all …]
H A Dhack.monst.c147 monster_private(struct monst *mon) in monster_private() argument
149 return mon->mextra; in monster_private()
/netbsd-src/usr.bin/at/
H A Dparsetime.c423 assign_date(struct tm *tm, int mday, int mon, int year) in assign_date() argument
437 if (tm->tm_mon > mon || in assign_date()
438 (tm->tm_mon == mon && tm->tm_mday > mday)) in assign_date()
445 tm->tm_mon = mon; in assign_date()
461 int mday, wday, mon; in month() local
486 mon = sc_tokid - JAN; in month()
493 assign_date(tm, mday, mon, year); in month()
520 mon = atoi(sc_token); in month()
540 mday = mon; in month()
541 mon = x; in month()
[all …]
/netbsd-src/sys/arch/mvme68k/stand/libsa/
H A Dchiptotime.c21 chiptotime(int sec, int min, int hour, int day, int mon, int year) in chiptotime() argument
29 mon = bcdtobin(mon); in chiptotime()
35 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) in chiptotime()
40 days += dayyr[mon - 1] + day - 1; in chiptotime()
41 if (is_leap_year(yr) && mon > 2) in chiptotime()
H A Dclock.c24 chiptotime(int sec, int min, int hour, int day, int mon, int year) in chiptotime() argument
32 mon = bcdtobin(mon); in chiptotime()
38 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) in chiptotime()
43 days += dayyr[mon - 1] + day - 1; in chiptotime()
44 if (is_leap_year(yr) && mon > 2) in chiptotime()
/netbsd-src/usr.sbin/rpc.statd/
H A Dtest.c30 sm_mon_1(struct mon *argp, CLIENT *clnt) in sm_mon_1()
87 struct mon mon; in main() local
98 mon.mon_id.mon_name = argv[1]; in main()
99 mon.mon_id.my_id.my_name = argv[1]; in main()
100 mon.mon_id.my_id.my_prog = SM_PROG; in main()
101 mon.mon_id.my_id.my_vers = SM_VERS; in main()
102 mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */ in main()
107 if (res = sm_mon_1(&mon, cli)) in main()
/netbsd-src/lib/libc/locale/
H A Dnl_langinfo.c128 [ MON_1 ] = offsetofu16(_TimeLocale, mon[0]),
129 [ MON_2 ] = offsetofu16(_TimeLocale, mon[1]),
130 [ MON_3 ] = offsetofu16(_TimeLocale, mon[2]),
131 [ MON_4 ] = offsetofu16(_TimeLocale, mon[3]),
132 [ MON_5 ] = offsetofu16(_TimeLocale, mon[4]),
133 [ MON_6 ] = offsetofu16(_TimeLocale, mon[5]),
134 [ MON_7 ] = offsetofu16(_TimeLocale, mon[6]),
135 [ MON_8 ] = offsetofu16(_TimeLocale, mon[7]),
136 [ MON_9 ] = offsetofu16(_TimeLocale, mon[8]),
137 [ MON_10 ] = offsetofu16(_TimeLocale, mon[9]),
[all …]
/netbsd-src/lib/libc/citrus/
H A Dcitrus_lc_time.c88 free(__UNCONST(data->mon[i])); in _citrus_LC_TIME_uninit()
132 { _CITRUS_LC_TIME_SYM_MON_1, OFFSET(mon[MON_IDX(MON_1)] ) },
133 { _CITRUS_LC_TIME_SYM_MON_2, OFFSET(mon[MON_IDX(MON_2)] ) },
134 { _CITRUS_LC_TIME_SYM_MON_3, OFFSET(mon[MON_IDX(MON_3)] ) },
135 { _CITRUS_LC_TIME_SYM_MON_4, OFFSET(mon[MON_IDX(MON_4)] ) },
136 { _CITRUS_LC_TIME_SYM_MON_5, OFFSET(mon[MON_IDX(MON_5)] ) },
137 { _CITRUS_LC_TIME_SYM_MON_6, OFFSET(mon[MON_IDX(MON_6)] ) },
138 { _CITRUS_LC_TIME_SYM_MON_7, OFFSET(mon[MON_IDX(MON_7)] ) },
139 { _CITRUS_LC_TIME_SYM_MON_8, OFFSET(mon[MON_IDX(MON_8)] ) },
140 { _CITRUS_LC_TIME_SYM_MON_9, OFFSET(mon[MON_IDX(MON_9)] ) },
[all …]
/netbsd-src/sys/arch/mvmeppc/stand/libsa/
H A Dclock.c27 chiptotime(int sec, int min, int hour, int day, int mon, int year) in chiptotime() argument
35 mon = bcdtobin(mon); in chiptotime()
41 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) in chiptotime()
46 days += dayyr[mon - 1] + day - 1; in chiptotime()
47 if (is_leap_year(yr) && mon > 2) in chiptotime()
/netbsd-src/sys/arch/x68k/stand/libsa/
H A Dclock.c48 int sec, min, hour, day, mon, year; in getsecs() local
54 mon = ((val & 0x0000ff00) >> 8); in getsecs()
63 if (mon < 1 || mon > 12 || day < 1 || day > 31) in getsecs()
71 days += yday[mon - 1] + day - 1; in getsecs()
72 if (is_leap_year(y) && mon > 2) in getsecs()
/netbsd-src/external/gpl3/gdb/dist/sim/ppc/
H A Dmon.h47 typedef struct _mon mon; typedef
51 (mon *) mon_create
56 (mon *monitor,
61 (mon *monitor,
98 (mon *monitor,
104 mon *monitor,
/netbsd-src/external/gpl3/gdb.old/dist/sim/ppc/
H A Dmon.h47 typedef struct _mon mon; typedef
51 (mon *) mon_create
56 (mon *monitor,
61 (mon *monitor,
98 (mon *monitor,
104 mon *monitor,
/netbsd-src/sys/fs/nfs/nlm/
H A Dsm_inter.h39 struct mon { struct
43 typedef struct mon mon; argument
83 extern struct sm_stat_res * sm_mon_1(struct mon *, CLIENT *);
84 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
103 extern bool_t xdr_mon(XDR *, mon*);
/netbsd-src/sys/arch/next68k/next68k/
H A Dnextrom.h119 #import <mon/assym.h>
124 #import <mon/nvram.h>
125 #import <mon/region.h>
126 #import <mon/tftp.h>
127 #import <mon/sio.h>
128 #import <mon/animate.h>
129 #import <mon/kmreg.h>
/netbsd-src/sys/arch/mvme68k/stand/sboot/
H A Dclock.c105 int sec, min, hour, day, mon, year; in time() local
112 mon = cl->cl_month; in time()
115 return chiptotime(sec, min, hour, day, mon, year); in time()
/netbsd-src/crypto/dist/ipsec-tools/misc/
H A 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) =
1724 $mon += 1;
1728 my $fdate = $self->fdate($year, $mon, $mday, $wday);
1743 my ($year, $mday, $mon, $wday);
[all …]
/netbsd-src/external/bsd/wpa/dist/src/common/
H A Dwpa_helpers.c99 int get_wpa_cli_event2(struct wpa_ctrl *mon, in get_wpa_cli_event2() argument
110 fd = wpa_ctrl_get_fd(mon); in get_wpa_cli_event2()
132 if (wpa_ctrl_recv(mon, buf, &len) < 0) { in get_wpa_cli_event2()
156 int get_wpa_cli_event(struct wpa_ctrl *mon, in get_wpa_cli_event() argument
159 return get_wpa_cli_event2(mon, event, NULL, buf, buf_size); in get_wpa_cli_event()
/netbsd-src/external/gpl2/xcvs/dist/contrib/
H A 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) . "…
/netbsd-src/distrib/common/
H A Dprotocols13 bbn-rcc-mon 10 BBN-RCC-MON
69 sat-mon 69 SAT-MON
76 br-sat-mon 76 BR-SAT-MON
78 wb-mon 78 WB-MON
/netbsd-src/sys/arch/landisk/stand/boot/
H A Dgetsecs.c198 uint32_t mon, year; in getsecs()
211 mon = rtc_read(RS5C313_MON1); in getsecs()
212 mon += rtc_read(RS5C313_MON10) * 10; in getsecs()

12345678910>>...12