Home
last modified time | relevance | path

Searched refs:nx (Results 1 – 25 of 34) sorted by relevance

12

/original-bsd/usr.sbin/amd/amd/
H A Dnfsx_ops.c122 free((voidp) nx->nx_v);
123 free((voidp) nx);
135 struct nfsx *nx; local
140 if (nx == 0) {
168 nx = ALLOC(nfsx);
173 nx->nx_v = (nfsx_mnt *) xmalloc(nx->nx_c * sizeof(nfsx_mnt));
326 for (n = nx->nx_v; n < nx->nx_v + nx->nx_c; n++) {
341 for (n = nx->nx_v; n < nx->nx_v + nx->nx_c; n++) {
359 nx->nx_try = n;
410 for (n = nx->nx_v + nx->nx_c - 1; n >= nx->nx_v; --n) {
[all …]
/original-bsd/games/hack/
H A Dhack.vault.c181 for(nx = x-1; nx <= x+1; nx++) for(ny = y-1; ny <= y+1; ny++) { in gd_move()
182 if(nx == x || ny == y) if(nx != x || ny != y) in gd_move()
183 if(isok(nx,ny)) in gd_move()
200 nx = x; in gd_move()
211 if(isok(nx+nx-x,ny+ny-y) && typ != POOL && in gd_move()
212 ZAP_POS(levl[nx+nx-x][ny+ny-y].typ)){ in gd_move()
230 if(cansee(nx,ny)) { in gd_move()
231 mnewsym(nx,ny); in gd_move()
232 prl(nx,ny); in gd_move()
236 fcp->fx = nx; in gd_move()
[all …]
H A Dhack.mon.c387 nx = poss[i].x;
394 { int d1 = DIST(nx,ny,gx,gy);
404 nix = nx;
481 register int x,y,nx,ny,cnt = 0,ntyp; local
497 for(nx = x-1; nx <= x+1; nx++) for(ny = y-1; ny <= y+1; ny++)
498 if(nx != x || ny != y) if(isok(nx,ny))
499 if(!IS_ROCK(ntyp = levl[nx][ny].typ))
503 if(nx == u.ux && ny == u.uy){
506 } else if(mtmp = m_at(nx,ny)){
527 if(!Invis && online(nx,ny)){
[all …]
H A Dhack.dog.c108 register int nx,ny,omx,omy,appr,nearer,j; local
271 nx = poss[i].x;
274 mtmp2 = m_at(nx,ny);
288 if((info[i] & ALLOW_TRAPS) && (trap = t_at(nx,ny))){
297 if(obj->ox != nx || obj->oy != ny)
305 nix = nx;
329 if(nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
333 nearer = GDIST(nx,ny);
341 nix = nx;
H A Dhack.shk.c791 register xchar gx,gy,omx,omy,nx,ny,nix,niy; local
898 nx = poss[i].x;
900 if(levl[nx][ny].typ == ROOM
907 if(uondoor && (ib = sobj_at(ICE_BOX, nx, ny))) {
908 nix = nx; niy = ny; chi = i; break;
914 (appr && (zz = GDIST(nix,niy)) && zz > GDIST(nx,ny))
916 (appr && GDIST(nx,ny) < GDIST(nix,niy))
919 nix = nx;
/original-bsd/etc/
H A Dgettytab49 :nx=d1200:cd#2:sp#300:
51 :nx=d150:fd#1:sp#1200:
55 :nx=d300:tc=300-baud:
61 :nx=D1200:tc=2400-baud:
63 :nx=D300:tc=1200-baud:
65 :nx=D2400:tc=300-baud:
71 :nx=t2400:tc=19200-baud:
73 :nx=t1200:tc=2400-baud:
85 :nx=t9600:tc=1200-baud:
115 :nx=T300:tc=9600-baud:
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/chem/
H A Dchem.macros.src28 nx = -dy * .02 / norm
29 line from V1 + (nx,ny) to V2 + (nx,ny)
30 line from V1 - (nx,ny) to V2 - (nx,ny)
38 nx = -dy * .025 / norm
39 line from V1 + (nx,ny) to V2 + (nx,ny)
40 line from V1 - (nx,ny) to V2 - (nx,ny)
50 nx = -dy * .02 / norm
53 line from XZ + (nx,ny) to XZ - (nx,ny)
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A Dlinegen.c24 float nx, ny; in linegen() local
27 nx = curx; in linegen()
95 nx += dx[ndxy]; in linegen()
107 nx += dx[ndxy]; in linegen()
119 nx += dx[ndxy]; in linegen()
128 nx = curx = ppos->o_x; in linegen()
134 nx += dx[ndxy]; in linegen()
145 nx += defx; in linegen()
164 nx -= x1; in linegen()
183 nx = p->o_x; in linegen()
[all …]
/original-bsd/local/ditroff/ditroff.old.okeeffe/grn/
H A Dhdb.c77 register float nx; /* x holder so x is not set before orienting */ local
119 nx = xorn(x, y);
121 (void) PTMakePoint(nx, y, &plist);
122 savebounds(nx, y);
143 nx = xorn(x, y);
145 (void) PTMakePoint(nx, y, &plist);
146 savebounds(nx, y);
/original-bsd/old/libm/libm/VAX/
H A Dsupport.s134 movw $0,-4(fp) #-4(fp) = nx := 0
138 movw $0x1c80,-4(fp) #nx := 57 (exponent field)
140 movw -4(fp),-8(fp) #-8(fp) = nf := nx
169 movw -4(fp),r6 #r6=nx
170 beql C3 #if nx=0 goto C3
171 addw2 r6,r0 #x:=x*2**57 scale up x by nx
172 movw $0,-4(fp) #clear nx
/original-bsd/lib/libm/vax/
H A Dsupport.s134 movw $0,-4(fp) #-4(fp) = nx := 0
138 movw $0x1c80,-4(fp) #nx := 57 (exponent field)
140 movw -4(fp),-8(fp) #-8(fp) = nf := nx
169 movw -4(fp),r6 #r6=nx
170 beql C3 #if nx=0 goto C3
171 addw2 r6,r0 #x:=x*2**57 scale up x by nx
172 movw $0,-4(fp) #clear nx
/original-bsd/local/ditroff/ditroff.old.okeeffe/driver/
H A Dgraph.c423 register int nx; local
446 nx = cx + (int) (xs + 0.5);
449 RoundEnd(nx, ny, linethickness, FALSE);
503 point(nx + x, cy + y);
504 point(nx + x, y - cy);
505 point(x - nx, cy + y);
506 point(x - nx, y - cy);
510 nx = (int) ((xs += epsilon * ys) + 0.5);
697 register int nx; local
730 HGtline(lx, ly, nx, ny);
[all …]
H A Ddraw.c409 register int nx; local
438 nx = cx + (int) (xs + 0.5);
442 word(xbound(nx)); /* put out a point on circle */
639 register int nx; local
670 nx = x[j] + (int) (t * dx[j] + t2 * d2x[j]/2 + t3 * d3x[j]/6);
672 HGtline(lx, ly, nx, ny);
673 lx = nx;
/original-bsd/old/libm/libm/IEEE/
H A Dsupport.c319 nx,nf, *py =(unsigned short *) &y ,
338 nx=0;
339 if(yexp==0) {t=1.0,pt[n0]+=m57; y*=t; nx=m57;}
342 if( yexp <= m57 ) {py[n0]+=m57; nx+=m57; yexp+=m57;}
344 nf=nx;
365 if(nx!=0) {t=1.0; pt[n0]+=nx; x*=t; nx=0; goto loop;}
/original-bsd/lib/libm/ieee/
H A Dsupport.c342 nx,nf, *py =(unsigned short *) &y ,
361 nx=0;
362 if(yexp==0) {t=1.0,pt[n0]+=m57; y*=t; nx=m57;}
365 if( yexp <= m57 ) {py[n0]+=m57; nx+=m57; yexp+=m57;}
367 nf=nx;
388 if(nx!=0) {t=1.0; pt[n0]+=nx; x*=t; nx=0; goto loop;}
/original-bsd/local/ditroff/ditroff.old.okeeffe/gremlin.aed/gprint/
H A Dhgraph.c303 int i, extent, nx, ny; local
330 lastx = nx;
346 int i, j, k, extent, nx, ny; local
369 nx = (int) (xs + x + 0.5);
370 if (nx < x) nx = x; /* 1st quadrant, should be positive */
382 cx = nx;
385 for (j=cx; j<=nx; ++j)
586 int numpoints, i, j, k, lx, ly, nx, ny; local
631 nx = (int) xinter;
635 HGtline(lx, ly, nx, ny);
[all …]
/original-bsd/lib/libm/tahoe/
H A Dsupport.s143 clrl r12 # r12 = nx := 0
147 movl $0x1c800000,r12 # r12[b23:b30] = nx = 57
148 4: pushl r12 # pushed onto stack: nf := nx
185 6: movl r12,r6 # r6 = nx
186 beql 7f # if nx == 0 goto 7
187 addl2 r6,r0 # x <- x*2**57:scale x up by nx
188 clrl r12 # clear nx
/original-bsd/usr.bin/vgrind/
H A Dtmac.vgrind57 .if \\nx .tm \\$1 \\*(=F \\n%
61 .if \\nx .tm \\$1 \\*(=F \\n%
/original-bsd/old/adb/common_scripts/
H A Dfilsys2 "sfree"n178Xn"ninode"nx++n"sinod"n100xn
/original-bsd/old/roff/common_source/
H A Dn1.c67 extern int nx;
413 nx = mflg; in init2()
750 if(nx || ((ibufp >= eibuf) && (eibuf != (char *) MAXPTR))){ in getch0()
758 nx = 0; in getch0()
787 if(nx){ in nextfile()
873 nx++; in casenx()
915 nx++; in caseso()
/original-bsd/local/ditroff/ditroff.okeeffe/troff/
H A Dn1.c268 nx = mflg; in init2()
676 if (nx || ibufp >= eibuf) { in getch0()
686 nx = 0; in getch0()
756 if (nx) { in nextfile()
860 nx++; in casenx()
909 nx++; in caseso()
H A Dnii.c45 int nx; variable
/original-bsd/local/ditroff/ditroff.van/
H A Dn1.c268 nx = mflg; in init2()
676 if (nx || ibufp >= eibuf) { in getch0()
686 nx = 0; in getch0()
756 if (nx) { in nextfile()
860 nx++; in casenx()
909 nx++; in caseso()
/original-bsd/local/ditroff/ditroff.okeeffe/
H A Dn1.c268 nx = mflg; in init2()
676 if (nx || ibufp >= eibuf) { in getch0()
686 nx = 0; in getch0()
756 if (nx) { in nextfile()
860 nx++; in casenx()
909 nx++; in caseso()
/original-bsd/local/ditroff/ditroff.old.okeeffe/troff/
H A Dn1.c280 nx = mflg; in init2()
809 if (nx || ibufp >= eibuf) { in getch0()
820 nx = 0; in getch0()
858 if (nx) { in nextfile()
963 nx++; in casenx()
1010 nx++; in caseso()

12