/src/games/hack/ |
hack.wizard.c | 100 if (dist(mtmp->mx, mtmp->my) > 2) 128 mtmp->mx = otmp->ox; 165 if (inroom(u.ux, u.uy) != inroom(mtmp->mx, mtmp->my)) 167 tx = u.ux - mtmp->mx; 174 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); 249 buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); 276 if ((mtmp2 = makemon(PM_WIZARD, mtmp->mx, mtmp->my)) != NULL) {
|
hack.fight.c | 99 vis = (cansee(magr->mx, magr->my) && cansee(mdef->mx, mdef->my)); 110 boolean far = (dist(magr->mx, magr->my) > 15); 152 (void) mkobj_at(pd->mlet, mdef->mx, mdef->my); 153 if (cansee(mdef->mx, mdef->my)) { 155 atl(mdef->mx, mdef->my, fobj->olet); 167 mksobj_at(ENORMOUS_ROCK, mdef->mx, mdef->my); 169 mksobj_at(ROCK, mdef->mx, mdef->my); 170 if (cansee(mdef->mx, mdef->my)) { 172 atl(mdef->mx, mdef->my, fobj->olet) [all...] |
hack.mon.c | 116 inpool = (levl[mtmp->mx][mtmp->my].typ == POOL); 119 if (cansee(mtmp->mx, mtmp->my)) 141 if (Conflict && cansee(mtmp->mx, mtmp->my) 182 mtmp->mx = u.ux; 215 int x = mtmp->mx; 224 if ((dd = dist(mtmp->mx, mtmp->my)) < dist(x, y)) 256 if (cansee(mtmp->mx, mtmp->my) && 266 wipe_engr_at(mtmp->mx, mtmp->my, 1); 285 nearby = (dist(mtmp->mx, mtmp->my) < 3); 339 if (mtmp->mhide && o_at(mtmp->mx, mtmp->my) && rn2(10) [all...] |
hack.steal.c | 124 if (dist(mtmp->mx, mtmp->my) < 3) { 263 otmp->ox = mtmp->mx; 269 if (show & cansee(mtmp->mx, mtmp->my)) 277 mkgold((long) (tmp + d(dlevel, 30)), mtmp->mx, mtmp->my); 278 if (show & cansee(mtmp->mx, mtmp->my)) 279 atl(mtmp->mx, mtmp->my, '$');
|
hack.unix.c | 429 if (dist(md->mx, md->my) > 2) 461 fx = md->mx; 462 md->mx = tmp; 467 while (fx != md->mx || fy != md->my) { 472 d1 = DIST(fx, fy, md->mx, md->my); 476 d2 = DIST(fx + dx, fy + dy, md->mx, md->my); 488 md->mx = fx;
|
hack.makemon.c | 134 mtmp->mx = x; 150 if (mtmp->mx && mtmp->my) 151 (void) mkobj_at(0, mtmp->mx, mtmp->my); 245 if (ch == 'w' && mtmp->mx) 252 mtmp->mx = tx;
|
def.monst.h | 70 xchar mx,my; member in struct:monst
|
hack.mhitu.c | 122 if (mdat->mlet == ';' && mtmp->minvis && cansee(mtmp->mx, mtmp->my)) { 166 levl[mtmp->mx][mtmp->my].typ == POOL) { 204 buzz(-1, mtmp->mx, mtmp->my, u.ux - mtmp->mx, u.uy - mtmp->my); 416 if ((obj = o_at(mtmp->mx, mtmp->my)) != NULL)
|
hack.worm.c | 103 wtmp->wx = mtmp->mx; 115 wtmp->wx = mtmp->mx; 212 if (mtmp->mx == x && mtmp->my == y) 256 mtmp2->mx = wtmp->wx;
|
hack.mklev.c | 781 xchar mx, my; local in function:mktrap 807 mx = croom->hx + 1; 809 mx = croom->lx - 1; 816 mx = somex(); 821 mx = mm.x; 824 mx = somex(); 827 } while (m_at(mx, my) || levl[mx][my].typ == STAIRS); 828 if ((mtmp = makemon(PM_MIMIC, mx, my)) != NULL) { 843 mx = mm.x [all...] |
hack.vault.c | 229 if (!cansee(guard->mx, guard->my)) { 279 if (dist(guard->mx, guard->my) > 1 || egd->gddone) { 283 x = guard->mx; 364 guard->mx = nx;
|
hack.potion.c | 151 if (mtmp->mx > 0) 152 at(mtmp->mx, mtmp->my, mtmp->data->mlet); 311 uclose = (dist(mon->mx, mon->my) < 3);
|
hack.trap.c | 213 struct trap *trap = t_at(mtmp->mx, mtmp->my); 223 int in_sight = cansee(mtmp->mx, mtmp->my); 260 if (in_sight && !cansee(mtmp->mx, mtmp->my))
|
hack.bones.c | 114 mtmp->mx = u.ux;
|
hack.dog.c | 134 if (dist(mtmp->mx, mtmp->my) < 3 && follower(mtmp) 209 omx = mtmp->mx; 460 mtmp->mx = nix; 510 if (cansee(mtmp->mx, mtmp->my)) {
|
/src/usr.bin/bthset/ |
bthset.c | 93 static int mx; /* mixer fd */ variable in typeref:typename:int 302 if (ioctl(mx, AUDIO_MIXER_READ, &mc) < 0) 313 if (ioctl(mx, AUDIO_MIXER_READ, &mc) < 0) 368 if (ioctl(mx, AUDIO_MIXER_WRITE, &vgs) < 0) 381 if (ioctl(mx, AUDIO_MIXER_WRITE, &vgm) < 0) 459 mx = open(mixer, O_WRONLY, 0); 460 if (mx < 0) 463 if (ioctl(mx, BTSCO_GETINFO, info) < 0) 469 if (ioctl(mx, AUDIO_MIXER_READ, &vgs) < 0) 474 if (ioctl(mx, AUDIO_MIXER_READ, &vgm) < 0 [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
meson8m2.dtsi | 88 compatible = "amlogic,meson8m2-sdhc", "amlogic,meson-mx-sdhc"; 92 compatible = "amlogic,meson8m2-usb2-phy", "amlogic,meson-mx-usb2-phy"; 96 compatible = "amlogic,meson8m2-usb2-phy", "amlogic,meson-mx-usb2-phy";
|
meson.dtsi | 52 compatible = "amlogic,meson-mx-assist", "syscon"; 124 compatible = "amlogic,meson-mx-usb2-phy"; 131 compatible = "amlogic,meson-mx-usb2-phy"; 138 compatible = "amlogic,meson-mx-sdio"; 155 compatible = "amlogic,meson-mx-sdhc"; 217 compatible= "amlogic,meson-mx-ao-arc"; 301 compatible = "amlogic,meson-mx-bootrom", "syscon";
|
/src/sys/dev/hdaudio/ |
hdafg.c | 2806 struct hdaudio_mixer *mx; local in function:hdafg_build_mixers 2868 mx = kmem_zalloc(nmixers * sizeof(*mx), KM_SLEEP); 2873 mx[index].mx_ctl = NULL; 2874 mx[index].mx_di.index = index; 2875 mx[index].mx_di.type = AUDIO_MIXER_CLASS; 2876 mx[index].mx_di.mixer_class = i; 2877 mx[index].mx_di.next = mx[index].mx_di.prev = AUDIO_MIXER_LAST; 2880 strcpy(mx[index].mx_di.label.name, AudioCoutputs) 3863 struct hdaudio_mixer *mx = sc->sc_mixers; local in function:hdafg_detach 4130 struct hdaudio_mixer *mx; local in function:hdafg_set_port 4190 struct hdaudio_mixer *mx; local in function:hdafg_get_port [all...] |
/src/games/phantasia/ |
io.c | 29 getstring(char *cp, int mx) 38 --mx; /* reserve room in string for nul terminator */ 75 while (ch != CH_NEWLINE && inptr < cp + mx);
|
/src/sys/dev/ic/ |
rtwphy.c | 630 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local in function:rtw_max2820_tune 631 struct rtw_rfbus *bus = &mx->mx_bus; 643 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local in function:rtw_max2820_destroy 644 memset(mx, 0, sizeof(*mx)); 645 free(mx, M_DEVBUF); 652 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local in function:rtw_max2820_init 653 struct rtw_rfbus *bus = &mx->mx_bus; 702 struct rtw_max2820 *mx; local in function:rtw_max2820_pwrstate 705 mx = (struct rtw_max2820 *)rf 724 struct rtw_max2820 *mx; local in function:rtw_max2820_create [all...] |
ld_mlx.c | 218 struct mlx_context *mx; local in function:ld_mlx_handler 222 mx = &mc->mc_mx; 223 bp = mx->mx_context; 224 sc = device_private(mx->mx_dv);
|
/src/lib/libm/noieee_src/ |
n_support.c | 453 long mx,scalx; 477 if((mx=px[n0]&mexp)==mexp) return(x); /* sqrt(+INF) is +INF */ 486 if(mx==0) {x *= b54 ; scalx-=0x01b00000;} 490 if(mx>0x5ff00000) {px[n0] -= 0x20000000; scalx+= 0x10000000;} 491 if(mx<0x1ff00000) {px[n0] += 0x20000000; scalx-= 0x10000000;}
|
/src/usr.sbin/makemandb/ |
custom_apropos_tokenizer.c | 352 size_t i, mx, j; local in function:copy_stemmer 364 mx = hasDigit ? 3 : 10; 365 if (nIn > mx * 2) { 366 for (j = mx, i = nIn - mx; i < nIn; i++, j++) {
|
/src/games/larn/ |
create.c | 115 static int mx, mxl, mxh, my, myl, myh, tmp2; variable in typeref:typename:int 147 mx = rnd(44) + 5; 148 mxl = mx - rnd(4); 149 mxh = mx + rnd(12) + 3; 152 mx = rnd(60) + 3; 153 mxl = mx - rnd(2); 154 mxh = mx + rnd(2);
|