games/hack/hack.do.c
334
struct monst *mon;
games/hack/hack.do.c
360
mon = u.ustuck;
games/hack/hack.do.c
361
bhitpos.x = mon->mx;
games/hack/hack.do.c
362
bhitpos.y = mon->my;
games/hack/hack.do.c
393
mon = boomhit(u.dx, u.dy);
games/hack/hack.do.c
394
if (mon == &youmonst) { /* the thing was caught */
games/hack/hack.do.c
402
mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 :
games/hack/hack.do.c
408
if (mon) {
games/hack/hack.do.c
410
wakeup(mon);
games/hack/hack.do.c
413
tmp = -1 + u.ulevel + mon->data->ac + abon();
games/hack/hack.do.c
425
if (hmon(mon, obj, 1) == TRUE) {
games/hack/hack.do.c
428
cutworm(mon, bhitpos.x, bhitpos.y, obj->otyp);
games/hack/hack.do.c
431
mon = 0;
games/hack/hack.do.c
439
miss(objects[obj->otyp].oc_name, mon);
games/hack/hack.do.c
441
tmp = -1 + u.ulevel + mon->data->ac + abon();
games/hack/hack.do.c
447
if (hmon(mon, obj, 1) == FALSE)
games/hack/hack.do.c
448
mon = 0; /* he died */
games/hack/hack.do.c
450
miss("iron ball", mon);
games/hack/hack.do.c
452
potionhit(mon, obj);
games/hack/hack.do.c
456
pline("You miss %s.", monnam(mon));
games/hack/hack.do.c
459
if (obj->olet == FOOD_SYM && mon->data->mlet == 'd')
games/hack/hack.do.c
460
if (tamedog(mon, obj))
games/hack/hack.do.c
462
if (obj->olet == GEM_SYM && mon->data->mlet == 'u' &&
games/hack/hack.do.c
463
!mon->mtame) {
games/hack/hack.do.c
470
Monnam(mon));
games/hack/hack.do.c
478
Monnam(mon));
games/hack/hack.do.c
479
mpickobj(mon, obj);
games/hack/hack.do.c
480
rloc(mon);
games/hack/hack.fight.c
181
struct monst *mon;
games/hack/hack.fight.c
182
for (mon = fmon; mon; mon = mon->nmon)
games/hack/hack.fight.c
183
if (mon != mtmp) {
games/hack/hack.fight.c
184
if (DIST(mon->mx, mon->my, mtmp->mx, mtmp->my) < 3)
games/hack/hack.fight.c
186
return (hitmm(mtmp, mon));
games/hack/hack.fight.c
218
hmon(struct monst *mon, struct obj *obj, int thrown)
games/hack/hack.fight.c
225
if (mon->data->mlet == 'c' && !uarmg) {
games/hack/hack.fight.c
228
done_in_by(mon);
games/hack/hack.fight.c
234
if (strchr(mlarge, mon->data->mlet)) {
games/hack/hack.fight.c
247
monnam(mon));
games/hack/hack.fight.c
255
if (mon->data->mlet == 'O' && obj != NULL &&
games/hack/hack.fight.c
273
monnam(mon));
games/hack/hack.fight.c
274
if (mon->data->mlet == 'c') {
games/hack/hack.fight.c
279
pline("%s is turned to stone!", Monnam(mon));
games/hack/hack.fight.c
280
killed(mon);
games/hack/hack.fight.c
283
if (strchr(UNDEAD, mon->data->mlet))
games/hack/hack.fight.c
284
mon->mflee = 1;
games/hack/hack.fight.c
310
mon->mhp -= tmp;
games/hack/hack.fight.c
311
if (mon->mhp < 1) {
games/hack/hack.fight.c
312
killed(mon);
games/hack/hack.fight.c
315
if (mon->mtame && (!mon->mflee || mon->mfleetim)) {
games/hack/hack.fight.c
316
mon->mflee = 1; /* Rick Richardson */
games/hack/hack.fight.c
317
mon->mfleetim += 10 * rnd(tmp);
games/hack/hack.fight.c
325
mon, exclam(tmp));
games/hack/hack.fight.c
329
pline("You hit %s%s", monnam(mon), exclam(tmp));
games/hack/hack.fight.c
334
if (!mon->mfroz && !mon->msleep)
games/hack/hack.fight.c
335
pline("%s appears confused.", Monnam(mon));
games/hack/hack.fight.c
337
mon->mconf = 1;
games/hack/hack.mkshop.c
226
struct monst *mon;
games/hack/hack.mkshop.c
255
mon = makemon(
games/hack/hack.mkshop.c
259
if (mon)
games/hack/hack.mkshop.c
260
mon->msleep = 1;
games/hack/hack.mon.c
576
mfndpos(struct monst *mon, coord poss[9], int info[9], int flag)
games/hack/hack.mon.c
583
x = mon->mx;
games/hack/hack.mon.c
584
y = mon->my;
games/hack/hack.mon.c
587
pool = (mon->data->mlet == ';');
games/hack/hack.mon.c
590
if (mon->mconf) {
games/hack/hack.mon.c
622
(!mon->mpeaceful && sengr_at("Elbereth", nx, ny))) {
games/hack/hack.mon.c
649
if (mon->mtrapseen & tt) {
games/hack/hack.mon.c
736
relmon(struct monst *mon)
games/hack/hack.mon.c
740
if (mon == fmon)
games/hack/hack.mon.c
743
for (mtmp = fmon; mtmp->nmon != mon; mtmp = mtmp->nmon);
games/hack/hack.mon.c
744
mtmp->nmon = mon->nmon;
games/hack/hack.monst.c
147
monster_private(struct monst *mon)
games/hack/hack.monst.c
149
return mon->mextra;
games/hack/hack.potion.c
300
potionhit(struct monst *mon, struct obj *obj)
games/hack/hack.potion.c
303
boolean uclose, isyou = (mon == &youmonst);
games/hack/hack.potion.c
311
uclose = (dist(mon->mx, mon->my) < 3);
games/hack/hack.potion.c
314
botlnam, monnam(mon));
games/hack/hack.potion.c
315
if (rn2(5) && mon->mhp > 1)
games/hack/hack.potion.c
316
mon->mhp--;
games/hack/hack.potion.c
327
if (mon->mhp < mon->mhpmax) {
games/hack/hack.potion.c
328
mon->mhp = mon->mhpmax;
games/hack/hack.potion.c
329
pline("%s looks sound and hale again!", Monnam(mon));
games/hack/hack.potion.c
333
if (mon->mhpmax > 3)
games/hack/hack.potion.c
334
mon->mhpmax /= 2;
games/hack/hack.potion.c
335
if (mon->mhp > 2)
games/hack/hack.potion.c
336
mon->mhp /= 2;
games/hack/hack.potion.c
340
mon->mconf = 1;
games/hack/hack.potion.c
343
unpmon(mon);
games/hack/hack.potion.c
344
mon->minvis = 1;
games/hack/hack.potion.c
345
pmon(mon);
games/hack/hack.potion.c
348
mon->mfroz = 1;
games/hack/hack.potion.c
351
mon->mspeed = MFAST;
games/hack/hack.potion.c
354
mon->mblinded |= 64 + rn2(64);
games/hack/hack.pri.c
655
pmon(struct monst *mon)
games/hack/hack.pri.c
657
int show = (Blind && Telepat) || canseemon(mon);
games/hack/hack.pri.c
658
if (mon->mdispl) {
games/hack/hack.pri.c
659
if (mon->mdx != mon->mx || mon->mdy != mon->my || !show)
games/hack/hack.pri.c
660
unpmon(mon);
games/hack/hack.pri.c
662
if (show && !mon->mdispl) {
games/hack/hack.pri.c
663
atl(mon->mx, mon->my,
games/hack/hack.pri.c
664
(!mon->mappearance
games/hack/hack.pri.c
666
) ? mon->data->mlet : mon->mappearance);
games/hack/hack.pri.c
667
mon->mdispl = 1;
games/hack/hack.pri.c
668
mon->mdx = mon->mx;
games/hack/hack.pri.c
669
mon->mdy = mon->my;
games/hack/hack.pri.c
674
unpmon(struct monst *mon)
games/hack/hack.pri.c
676
if (mon->mdispl) {
games/hack/hack.pri.c
677
newsym(mon->mdx, mon->mdy);
games/hack/hack.pri.c
678
mon->mdispl = 0;
games/hack/hack.shk.c
157
#define ESHK(mon) ((struct eshk *)(&(mon->mextra[0])))
games/hack/hack.shk.c
158
#define NOTANGRY(mon) mon->mpeaceful
games/hack/hack.shk.c
159
#define ANGRY(mon) !NOTANGRY(mon)
games/hack/hack.zap.c
503
struct monst *mon;
games/hack/hack.zap.c
560
if ((mon = m_at(sx, sy)) &&
games/hack/hack.zap.c
561
(type != -1 || mon->data->mlet != 'D')) {
games/hack/hack.zap.c
562
wakeup(mon);
games/hack/hack.zap.c
563
if (rnd(20) < 18 + mon->data->ac) {
games/hack/hack.zap.c
564
int tmp = zhit(mon, abstype);
games/hack/hack.zap.c
565
if (mon->mhp < 1) {
games/hack/hack.zap.c
567
if (cansee(mon->mx, mon->my))
games/hack/hack.zap.c
569
Monnam(mon), fltxt);
games/hack/hack.zap.c
570
mondied(mon);
games/hack/hack.zap.c
572
killed(mon);
games/hack/hack.zap.c
574
hit(fltxt, mon, exclam(tmp));
games/hack/hack.zap.c
577
miss(fltxt, mon);
games/hack/hack.zap.c
650
zhit(struct monst *mon, int type) /* returns damage to mon */
games/hack/hack.zap.c
660
if (strchr("Dg", mon->data->mlet))
games/hack/hack.zap.c
663
if (strchr("YF", mon->data->mlet))
games/hack/hack.zap.c
667
mon->mfroz = 1;
games/hack/hack.zap.c
670
if (strchr("YFgf", mon->data->mlet))
games/hack/hack.zap.c
673
if (mon->data->mlet == 'D')
games/hack/hack.zap.c
677
if (strchr(UNDEAD, mon->data->mlet))
games/hack/hack.zap.c
679
tmp = mon->mhp + 1;
games/hack/hack.zap.c
682
mon->mhp -= tmp;
games/larn/monster.c
144
createmonster(int mon)
games/larn/monster.c
147
if (mon < 1 || mon > MAXMONST + 8) { /* check for monster number
games/larn/monster.c
150
lprintf("\ncan't createmonst(%ld)\n", (long) mon);
games/larn/monster.c
154
while (monster[mon].genocided && mon < MAXMONST)
games/larn/monster.c
155
mon++; /* genocided? */
games/larn/monster.c
163
mitem[x][y] = mon;
games/larn/monster.c
164
hitp[x][y] = monster[mon].hitpoints;
games/larn/monster.c
166
switch (mon) {
games/monop/monop.c
136
static MON mon[N_MON] = { /* monopoly descriptions */
games/monop/monop.c
151
{0, 0, 1, 0, &mon[0], { 2, 10, 30, 90, 160, 250} },
games/monop/monop.c
152
{0, 0, 3, 0, &mon[0], { 4, 20, 60, 180, 320, 450} },
games/monop/monop.c
153
{0, 0, 6, 0, &mon[1], { 6, 30, 90, 270, 400, 550} },
games/monop/monop.c
154
{0, 0, 7, 0, &mon[1], { 6, 30, 90, 270, 400, 550} },
games/monop/monop.c
155
{0, 0, 9, 0, &mon[1], { 8, 40,100, 300, 450, 600} },
games/monop/monop.c
156
{0, 0, 11, 0, &mon[2], {10, 50,150, 450, 625, 750} },
games/monop/monop.c
157
{0, 0, 13, 0, &mon[2], {10, 50,150, 450, 625, 750} },
games/monop/monop.c
158
{0, 0, 14, 0, &mon[2], {12, 60,180, 500, 700, 900} },
games/monop/monop.c
159
{0, 0, 16, 0, &mon[3], {14, 70,200, 550, 750, 950} },
games/monop/monop.c
160
{0, 0, 17, 0, &mon[3], {14, 70,200, 550, 750, 950} },
games/monop/monop.c
161
{0, 0, 19, 0, &mon[3], {16, 80,220, 600, 800,1000} },
games/monop/monop.c
162
{0, 0, 21, 0, &mon[4], {18, 90,250, 700, 875,1050} },
games/monop/monop.c
163
{0, 0, 23, 0, &mon[4], {18, 90,250, 700, 875,1050} },
games/monop/monop.c
164
{0, 0, 24, 0, &mon[4], {20,100,300, 750, 925,1100} },
games/monop/monop.c
165
{0, 0, 26, 0, &mon[5], {22,110,330, 800, 975,1150} },
games/monop/monop.c
166
{0, 0, 27, 0, &mon[5], {22,110,330, 800, 975,1150} },
games/monop/monop.c
167
{0, 0, 29, 0, &mon[5], {24,120,360, 850,1025,1200} },
games/monop/monop.c
168
{0, 0, 31, 0, &mon[6], {26,130,390, 900,1100,1275} },
games/monop/monop.c
169
{0, 0, 32, 0, &mon[6], {26,130,390, 900,1100,1275} },
games/monop/monop.c
170
{0, 0, 34, 0, &mon[6], {28,150,450,1000,1200,1400} },
games/monop/monop.c
171
{0, 0, 37, 0, &mon[7], {35,175,500,1100,1300,1500} },
games/monop/monop.c
172
{0, 0, 39, 0, &mon[7], {50,200,600,1400,1700,2000} }
games/monop/monop.c
355
for (mp = mon; mp < &mon[N_MON]; mp++) {
games/rogue/save.c
204
for (object *mon = &level_monsters; mon != NULL;
games/rogue/save.c
205
mon = mon->next_object)
games/rogue/save.c
206
set_monster_damage(mon);
games/rogue/throw.c
210
unsigned short mon;
games/rogue/throw.c
235
mon = dungeon[row][col] & MONSTER;
games/rogue/throw.c
238
if (mon) {
games/rogue/throw.c
250
dungeon[row][col] |= mon;
lib/libc/citrus/citrus_lc_time.c
132
{ _CITRUS_LC_TIME_SYM_MON_1, OFFSET(mon[MON_IDX(MON_1)] ) },
lib/libc/citrus/citrus_lc_time.c
133
{ _CITRUS_LC_TIME_SYM_MON_2, OFFSET(mon[MON_IDX(MON_2)] ) },
lib/libc/citrus/citrus_lc_time.c
134
{ _CITRUS_LC_TIME_SYM_MON_3, OFFSET(mon[MON_IDX(MON_3)] ) },
lib/libc/citrus/citrus_lc_time.c
135
{ _CITRUS_LC_TIME_SYM_MON_4, OFFSET(mon[MON_IDX(MON_4)] ) },
lib/libc/citrus/citrus_lc_time.c
136
{ _CITRUS_LC_TIME_SYM_MON_5, OFFSET(mon[MON_IDX(MON_5)] ) },
lib/libc/citrus/citrus_lc_time.c
137
{ _CITRUS_LC_TIME_SYM_MON_6, OFFSET(mon[MON_IDX(MON_6)] ) },
lib/libc/citrus/citrus_lc_time.c
138
{ _CITRUS_LC_TIME_SYM_MON_7, OFFSET(mon[MON_IDX(MON_7)] ) },
lib/libc/citrus/citrus_lc_time.c
139
{ _CITRUS_LC_TIME_SYM_MON_8, OFFSET(mon[MON_IDX(MON_8)] ) },
lib/libc/citrus/citrus_lc_time.c
140
{ _CITRUS_LC_TIME_SYM_MON_9, OFFSET(mon[MON_IDX(MON_9)] ) },
lib/libc/citrus/citrus_lc_time.c
141
{ _CITRUS_LC_TIME_SYM_MON_10, OFFSET(mon[MON_IDX(MON_10)] ) },
lib/libc/citrus/citrus_lc_time.c
142
{ _CITRUS_LC_TIME_SYM_MON_11, OFFSET(mon[MON_IDX(MON_11)] ) },
lib/libc/citrus/citrus_lc_time.c
143
{ _CITRUS_LC_TIME_SYM_MON_12, OFFSET(mon[MON_IDX(MON_12)] ) },
lib/libc/citrus/citrus_lc_time.c
88
free(__UNCONST(data->mon[i]));
lib/libc/locale/nl_langinfo.c
128
[ MON_1 ] = offsetofu16(_TimeLocale, mon[0]),
lib/libc/locale/nl_langinfo.c
129
[ MON_2 ] = offsetofu16(_TimeLocale, mon[1]),
lib/libc/locale/nl_langinfo.c
130
[ MON_3 ] = offsetofu16(_TimeLocale, mon[2]),
lib/libc/locale/nl_langinfo.c
131
[ MON_4 ] = offsetofu16(_TimeLocale, mon[3]),
lib/libc/locale/nl_langinfo.c
132
[ MON_5 ] = offsetofu16(_TimeLocale, mon[4]),
lib/libc/locale/nl_langinfo.c
133
[ MON_6 ] = offsetofu16(_TimeLocale, mon[5]),
lib/libc/locale/nl_langinfo.c
134
[ MON_7 ] = offsetofu16(_TimeLocale, mon[6]),
lib/libc/locale/nl_langinfo.c
135
[ MON_8 ] = offsetofu16(_TimeLocale, mon[7]),
lib/libc/locale/nl_langinfo.c
136
[ MON_9 ] = offsetofu16(_TimeLocale, mon[8]),
lib/libc/locale/nl_langinfo.c
137
[ MON_10 ] = offsetofu16(_TimeLocale, mon[9]),
lib/libc/locale/nl_langinfo.c
138
[ MON_11 ] = offsetofu16(_TimeLocale, mon[10]),
lib/libc/locale/nl_langinfo.c
139
[ MON_12 ] = offsetofu16(_TimeLocale, mon[11]),
lib/libc/time/strftime.c
271
(Oalternative ? tptr->mon/*alt_month*/:
lib/libc/time/strftime.c
272
tptr->mon)[t->tm_mon],
lib/libc/time/strptime.c
270
_TIME_LOCALE(loc)->mon, _TIME_LOCALE(loc)->abmon,
lib/libutil/parsedate.y
842
if (TM_NE(year) || TM_NE(mon) || TM_NE(mday) ||
sys/arch/landisk/stand/boot/getsecs.c
198
uint32_t mon, year;
sys/arch/landisk/stand/boot/getsecs.c
211
mon = rtc_read(RS5C313_MON1);
sys/arch/landisk/stand/boot/getsecs.c
212
mon += rtc_read(RS5C313_MON10) * 10;
sys/arch/mvme68k/stand/libsa/chiptotime.c
21
chiptotime(int sec, int min, int hour, int day, int mon, int year)
sys/arch/mvme68k/stand/libsa/chiptotime.c
29
mon = bcdtobin(mon);
sys/arch/mvme68k/stand/libsa/chiptotime.c
35
if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31)
sys/arch/mvme68k/stand/libsa/chiptotime.c
40
days += dayyr[mon - 1] + day - 1;
sys/arch/mvme68k/stand/libsa/chiptotime.c
41
if (is_leap_year(yr) && mon > 2)
sys/arch/mvme68k/stand/libsa/clock.c
24
chiptotime(int sec, int min, int hour, int day, int mon, int year)
sys/arch/mvme68k/stand/libsa/clock.c
32
mon = bcdtobin(mon);
sys/arch/mvme68k/stand/libsa/clock.c
38
if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31)
sys/arch/mvme68k/stand/libsa/clock.c
43
days += dayyr[mon - 1] + day - 1;
sys/arch/mvme68k/stand/libsa/clock.c
44
if (is_leap_year(yr) && mon > 2)
sys/arch/mvme68k/stand/sboot/clock.c
105
int sec, min, hour, day, mon, year;
sys/arch/mvme68k/stand/sboot/clock.c
112
mon = cl->cl_month;
sys/arch/mvme68k/stand/sboot/clock.c
115
return chiptotime(sec, min, hour, day, mon, year);
sys/arch/mvmeppc/stand/libsa/clock.c
27
chiptotime(int sec, int min, int hour, int day, int mon, int year)
sys/arch/mvmeppc/stand/libsa/clock.c
35
mon = bcdtobin(mon);
sys/arch/mvmeppc/stand/libsa/clock.c
41
if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31)
sys/arch/mvmeppc/stand/libsa/clock.c
46
days += dayyr[mon - 1] + day - 1;
sys/arch/mvmeppc/stand/libsa/clock.c
47
if (is_leap_year(yr) && mon > 2)
sys/arch/playstation2/include/bootinfo.h
52
u_int8_t mon;
sys/arch/playstation2/playstation2/clock.c
86
dt->dt_mon = bcdtobin(rtc->mon);
sys/arch/sh3/dev/rtc.c
177
RTCGET(mon, MON);
sys/arch/sh3/dev/rtc.c
238
RTCSET(MON, mon);
sys/arch/vax/include/ka410.h
184
u_long :2; u_long mon :8; u_long :22;
sys/arch/vax/include/ka43.h
236
u_long :2; u_long mon :8; u_long :22;
sys/arch/vax/include/ka630.h
111
u_short mon;
sys/arch/vax/include/ka820.h
131
u_char mon;
sys/arch/vax/vax/ka820.c
493
c.dt_mon = ka820_clkpage->mon;
sys/arch/vax/vax/ka820.c
523
ka820_clkpage->mon = ((c.dt_mon << 1) | (c.dt_mon >> 7)) & 0377;
sys/arch/x68k/stand/libsa/clock.c
48
int sec, min, hour, day, mon, year;
sys/arch/x68k/stand/libsa/clock.c
54
mon = ((val & 0x0000ff00) >> 8);
sys/arch/x68k/stand/libsa/clock.c
63
if (mon < 1 || mon > 12 || day < 1 || day > 31)
sys/arch/x68k/stand/libsa/clock.c
71
days += yday[mon - 1] + day - 1;
sys/arch/x68k/stand/libsa/clock.c
72
if (is_leap_year(y) && mon > 2)
sys/arch/x68k/x68k/iodevice.h
149
char pad9; unsigned char mon;
sys/dev/i2c/ac100.c
216
uint16_t sec, min, hou, wee, day, mon, yea;
sys/dev/i2c/ac100.c
224
ac100_read(sc, AC100_RTC_MON_REG, &mon);
sys/dev/i2c/ac100.c
229
dt->dt_mon = bcdtobin(mon & 0x1f);
sys/dev/i2c/em3027.c
418
dt->dt_mon = bcdtobin(w.mon);
sys/dev/i2c/em3027.c
437
w.mon = bintobcd(dt->dt_mon);
sys/dev/i2c/em3027.c
74
uint8_t mon;
sys/dev/ic/rs5c313.c
186
RTCGET(mon, MON);
sys/dev/ic/rs5c313.c
241
RTCSET(MON, mon);
sys/dev/ic/sti.c
596
sti_mon_t mon = (void *)m;
sys/dev/ic/sti.c
602
(uint32_t *)mon, sizeof(*mon) / 4);
sys/dev/ic/sti.c
605
if (mon->width == scr->scr_cfg.scr_width &&
sys/dev/ic/sti.c
606
mon->height == scr->scr_cfg.scr_height) {
sys/dev/ic/sti.c
607
fontindex = mon->font;
sys/dev/ofw/ofrtc.c
191
int sec, minute, hr, dom, mon, yr;
sys/dev/ofw/ofrtc.c
197
mon = dt->dt_mon;
sys/dev/ofw/ofrtc.c
201
sec, minute, hr, dom, mon, yr))
sys/dev/pci/ixgbe/if_bypass.c
661
u32 mon, days, hours, min, sec;
sys/dev/pci/ixgbe/if_bypass.c
687
mon = i + 1; /* display month as 1-12 */
sys/dev/pci/ixgbe/if_bypass.c
697
mon, days, hours, min, sec, event_str[event],
sys/fs/nfs/nlm/nlm_prot_impl.c
1198
mon smmon;
sys/fs/nfs/nlm/sm_inter.h
103
extern bool_t xdr_mon(XDR *, mon*);
sys/fs/nfs/nlm/sm_inter.h
43
typedef struct mon mon;
sys/fs/nfs/nlm/sm_inter.h
83
extern struct sm_stat_res * sm_mon_1(struct mon *, CLIENT *);
sys/fs/nfs/nlm/sm_inter.h
84
extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
sys/fs/nfs/nlm/sm_inter_xdr.c
48
xdr_mon(XDR *xdrs, mon *objp)
sys/sys/localedef.h
77
const char *mon[12];
tests/dev/clock_subr/t_clock_subr.c
292
CHECK_FIELD(mon);
usr.bin/at/parsetime.c
423
assign_date(struct tm *tm, int mday, int mon, int year)
usr.bin/at/parsetime.c
437
if (tm->tm_mon > mon ||
usr.bin/at/parsetime.c
438
(tm->tm_mon == mon && tm->tm_mday > mday))
usr.bin/at/parsetime.c
445
tm->tm_mon = mon;
usr.bin/at/parsetime.c
461
int mday, wday, mon;
usr.bin/at/parsetime.c
486
mon = sc_tokid - JAN;
usr.bin/at/parsetime.c
493
assign_date(tm, mday, mon, year);
usr.bin/at/parsetime.c
520
mon = atoi(sc_token);
usr.bin/at/parsetime.c
540
mday = mon;
usr.bin/at/parsetime.c
541
mon = x;
usr.bin/at/parsetime.c
545
year = (mon % 10000) - 1900;
usr.bin/at/parsetime.c
546
mon /= 10000;
usr.bin/at/parsetime.c
548
year = mon % 100;
usr.bin/at/parsetime.c
549
mon /= 100;
usr.bin/at/parsetime.c
551
mday = mon % 100;
usr.bin/at/parsetime.c
552
mon /= 100;
usr.bin/at/parsetime.c
556
mon--;
usr.bin/at/parsetime.c
557
if (mon < 0 || mon > 11 || mday < 1 || mday > 31)
usr.bin/at/parsetime.c
560
assign_date(tm, mday, mon, year);
usr.bin/touch/touch.c
525
CHK(mon);
usr.sbin/rpc.lockd/lockd_lock.c
768
struct mon my_mon;
usr.sbin/rpc.statd/stat_proc.c
93
sm_mon_1_svc(mon *arg, struct svc_req *req)
usr.sbin/rpc.statd/statd.h
101
struct sm_stat_res *sm_mon_1_svc(mon *, struct svc_req *);
usr.sbin/rpc.statd/test.c
100
mon.mon_id.my_id.my_prog = SM_PROG;
usr.sbin/rpc.statd/test.c
101
mon.mon_id.my_id.my_vers = SM_VERS;
usr.sbin/rpc.statd/test.c
102
mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */
usr.sbin/rpc.statd/test.c
107
if (res = sm_mon_1(&mon, cli))
usr.sbin/rpc.statd/test.c
30
sm_mon_1(struct mon *argp, CLIENT *clnt)
usr.sbin/rpc.statd/test.c
87
struct mon mon;
usr.sbin/rpc.statd/test.c
98
mon.mon_id.mon_name = argv[1];
usr.sbin/rpc.statd/test.c
99
mon.mon_id.my_id.my_name = argv[1];