| /src/sys/arch/mvme68k/stand/sboot/ |
| clock.c | 105 int sec, min, hour, day, mon, year; local 112 mon = cl->cl_month; 115 return chiptotime(sec, min, hour, day, mon, year);
|
| /src/sys/arch/x68k/stand/libsa/ |
| clock.c | 48 int sec, min, hour, day, mon, year; local 54 mon = ((val & 0x0000ff00) >> 8); 63 if (mon < 1 || mon > 12 || day < 1 || day > 31) 71 days += yday[mon - 1] + day - 1; 72 if (is_leap_year(y) && mon > 2)
|
| /src/usr.sbin/rpc.statd/ |
| test.c | 30 sm_mon_1(struct mon *argp, CLIENT *clnt) 87 struct mon mon; local 98 mon.mon_id.mon_name = argv[1]; 99 mon.mon_id.my_id.my_name = argv[1]; 100 mon.mon_id.my_id.my_prog = SM_PROG; 101 mon.mon_id.my_id.my_vers = SM_VERS; 102 mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */ 107 if (res = sm_mon_1(&mon, cli))
|
| /src/external/bsd/ntp/dist/util/ |
| lsf-times.c | 50 unsigned int mon = 0; local 92 scount = sscanf(argv[2], "%u", &mon); 94 if (6 == mon || 12 == mon) { 95 // printf("2 args: month %u\n", mon); 97 printf("2 arg, but #2 is not 6 or 12: <%d>\n", mon); 116 scount = sscanf(argv[2], "%u", &mon); 118 if (6 == mon || 12 == mon) { 119 // printf("3 args: month %u\n", mon); [all...] |
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| mon.h | 47 typedef struct _mon mon; typedef in typeref:struct:_mon 51 (mon *) mon_create 56 (mon *monitor, 61 (mon *monitor, 98 (mon *monitor, 104 mon *monitor,
|
| /src/external/gpl3/gdb.old/dist/sim/ppc/ |
| mon.h | 47 typedef struct _mon mon; typedef in typeref:struct:_mon 51 (mon *) mon_create 56 (mon *monitor, 61 (mon *monitor, 98 (mon *monitor, 104 mon *monitor,
|
| /src/sys/arch/playstation2/include/ |
| bootinfo.h | 52 u_int8_t mon; member in struct:bootinfo_rtc
|
| /src/external/bsd/nsd/dist/simdzone/src/generic/ |
| time.h | 52 const uint64_t mon = (d[4] * 10) + d[5]; local 64 if (!mon || mon > 12) 66 if (!mday || mday > days_in_month[mon] + (leap_year & (mon == 2))) 71 days += days_to_month[mon]; 72 days += (mon > 2) & leap_year;
|
| /src/games/hack/ |
| hack.do.c | 334 struct monst *mon; local 360 mon = u.ustuck; 361 bhitpos.x = mon->mx; 362 bhitpos.y = mon->my; 393 mon = boomhit(u.dx, u.dy); 394 if (mon == &youmonst) { /* the thing was caught */ 402 mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 : 408 if (mon) { 410 wakeup(mon); 413 tmp = -1 + u.ulevel + mon->data->ac + abon() [all...] |
| hack.fight.c | 181 struct monst *mon; local 182 for (mon = fmon; mon; mon = mon->nmon) 183 if (mon != mtmp) { 184 if (DIST(mon->mx, mon->my, mtmp->mx, mtmp->my) < 3) 186 return (hitmm(mtmp, mon)); 216 /* return TRUE if mon still alive * 325 mon, exclam(tmp)); local [all...] |
| hack.mkshop.c | 226 struct monst *mon; local 255 mon = makemon( 259 if (mon) 260 mon->msleep = 1;
|
| hack.zap.c | 391 /* fns called when mon/obj hit */ 503 struct monst *mon; local 560 if ((mon = m_at(sx, sy)) && 561 (type != -1 || mon->data->mlet != 'D')) { 562 wakeup(mon); 563 if (rnd(20) < 18 + mon->data->ac) { 564 int tmp = zhit(mon, abstype); 565 if (mon->mhp < 1) { 567 if (cansee(mon->mx, mon->my) [all...] |
| /src/sys/dev/ofw/ |
| ofrtc.c | 191 int sec, minute, hr, dom, mon, yr; local 197 mon = dt->dt_mon; 201 sec, minute, hr, dom, mon, yr))
|
| /src/external/mpl/bind/dist/lib/isc/ |
| tm.c | 79 "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" 81 static const char *mon[12] = { variable 281 len = strlen(mon[i]); 282 if (strncasecmp(mon[i], bp, len) == 0) {
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| tm.c | 79 "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" 81 static const char *mon[12] = { variable 282 len = strlen(mon[i]); 283 if (strncasecmp(mon[i], bp, len) == 0) {
|
| /src/games/monop/ |
| monop.c | 136 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} } [all...] |
| /src/games/rogue/ |
| throw.c | 210 unsigned short mon; local 235 mon = dungeon[row][col] & MONSTER; 238 if (mon) { 250 dungeon[row][col] |= mon;
|
| /src/sys/fs/nfs/nlm/ |
| sm_inter.h | 39 struct mon { struct 43 typedef struct mon mon; typedef in typeref:struct:mon 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*);
|
| /src/sys/dev/i2c/ |
| em3027.c | 74 uint8_t mon; member in struct:em3027rtc_watch 418 dt->dt_mon = bcdtobin(w.mon); 437 w.mon = bintobcd(dt->dt_mon);
|
| ac100.c | 216 uint16_t sec, min, hou, wee, day, mon, yea; local 224 ac100_read(sc, AC100_RTC_MON_REG, &mon); 229 dt->dt_mon = bcdtobin(mon & 0x1f);
|
| /src/sys/dev/pci/ixgbe/ |
| if_bypass.c | 661 u32 mon, days, hours, min, sec; local 687 mon = i + 1; /* display month as 1-12 */ 697 mon, days, hours, min, sec, event_str[event],
|
| /src/sys/sys/ |
| localedef.h | 77 const char *mon[12]; member in struct:__anon7615
|
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_monitor.c | 130 mon_entry *mon 137 hash = MON_HASH(&mon->rmtadr); 138 UNLINK_SLIST(punlinked, mon_hash[hash], mon, hash_next, 140 ENSURE(punlinked == mon); 245 mon_entry *mon; local 261 ITER_DLIST_BEGIN(mon_mru_list, mon, mru, mon_entry) 262 mon_free_entry(mon); 281 mon_entry *mon; local 283 /* iterate mon over mon_mru_list */ 284 ITER_DLIST_BEGIN(mon_mru_list, mon, mru, mon_entry 320 mon_entry * mon; local [all...] |
| /src/sys/arch/vax/include/ |
| ka630.h | 111 u_short mon; member in struct:ka630clock
|
| ka820.h | 131 u_char mon; member in struct:ka820clock
|