games/bs/bs.c
581
int ny, nx, c;
games/bs/bs.c
605
ny = cury+BDEPTH-1; nx = curx;
games/bs/bs.c
609
ny = cury+1; nx = curx;
games/bs/bs.c
613
ny = cury; nx = curx+BWIDTH-1;
games/bs/bs.c
617
ny = cury; nx = curx+1;
games/bs/bs.c
621
ny = cury+BDEPTH-1; nx = curx+BWIDTH-1;
games/bs/bs.c
625
ny = cury+1; nx = curx+BWIDTH-1;
games/bs/bs.c
629
ny = cury+BDEPTH-1; nx = curx+1;
games/bs/bs.c
633
ny = cury+1; nx = curx+1;
games/bs/bs.c
636
nx = curx; ny = cury;
games/bs/bs.c
668
curx = nx % BWIDTH;
games/gomoku/bdisp.c
300
int ny, nx, c;
games/gomoku/bdisp.c
304
nx = curx; ny = cury;
games/gomoku/bdisp.c
315
ny = cury + 1; nx = curx;
games/gomoku/bdisp.c
321
ny = BSZ + cury - 1; nx = curx;
games/gomoku/bdisp.c
327
ny = cury; nx = BSZ + curx - 1;
games/gomoku/bdisp.c
333
ny = cury; nx = curx + 1;
games/gomoku/bdisp.c
339
ny = cury + 1; nx = BSZ + curx - 1;
games/gomoku/bdisp.c
345
ny = BSZ + cury - 1; nx = BSZ + curx - 1;
games/gomoku/bdisp.c
351
ny = cury + 1; nx = curx + 1;
games/gomoku/bdisp.c
357
ny = BSZ + cury - 1; nx = curx + 1;
games/gomoku/bdisp.c
360
ny = cury + 5; nx = curx;
games/gomoku/bdisp.c
363
ny = BSZ + cury - 5; nx = curx;
games/gomoku/bdisp.c
366
ny = cury; nx = BSZ + curx - 5;
games/gomoku/bdisp.c
369
ny = cury; nx = curx + 5;
games/gomoku/bdisp.c
372
ny = cury + 5; nx = BSZ + curx - 5;
games/gomoku/bdisp.c
375
ny = BSZ + cury - 5; nx = BSZ + curx - 5;
games/gomoku/bdisp.c
378
ny = cury + 5; nx = curx + 5;
games/gomoku/bdisp.c
381
ny = BSZ + cury - 5; nx = curx + 5;
games/gomoku/bdisp.c
384
nx = curx; ny = cury;
games/gomoku/bdisp.c
419
curx = nx % BSZ;
games/hack/hack.dog.c
188
int nx, ny, omx, omy, appr, nearer, j;
games/hack/hack.dog.c
349
nx = poss[i].x;
games/hack/hack.dog.c
352
mtmp2 = m_at(nx,ny);
games/hack/hack.dog.c
366
if((info[i] & ALLOW_TRAPS) && (trap = t_at(nx,ny))){
games/hack/hack.dog.c
375
if(obj->ox != nx || obj->oy != ny)
games/hack/hack.dog.c
383
nix = nx;
games/hack/hack.dog.c
407
if(nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
games/hack/hack.dog.c
411
nearer = GDIST(nx,ny);
games/hack/hack.dog.c
419
nix = nx;
games/hack/hack.mon.c
302
int nx,ny,omx,omy,appr,nearer,cnt,i,j;
games/hack/hack.mon.c
447
nx = poss[i].x;
games/hack/hack.mon.c
450
if(nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
games/hack/hack.mon.c
454
{ int d1 = DIST(nx,ny,gx,gy);
games/hack/hack.mon.c
459
nearer = (DIST(nx,ny,gx,gy) < DIST(nix,niy,gx,gy));
games/hack/hack.mon.c
464
nix = nx;
games/hack/hack.mon.c
545
int x,y,nx,ny,cnt = 0,ntyp;
games/hack/hack.mon.c
561
for(nx = x-1; nx <= x+1; nx++) for(ny = y-1; ny <= y+1; ny++)
games/hack/hack.mon.c
562
if(nx != x || ny != y) if(isok(nx,ny))
games/hack/hack.mon.c
563
if(!IS_ROCK(ntyp = levl[nx][ny].typ))
games/hack/hack.mon.c
564
if(!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR)))
games/hack/hack.mon.c
567
if (nx == u.ux && ny == u.uy) {
games/hack/hack.mon.c
570
} else if ((mtmp = m_at(nx,ny))) {
games/hack/hack.mon.c
579
if(sobj_at(CLOVE_OF_GARLIC, nx, ny)) {
games/hack/hack.mon.c
583
if(sobj_at(SCR_SCARE_MONSTER, nx, ny) ||
games/hack/hack.mon.c
584
(!mon->mpeaceful && sengr_at("Elbereth", nx, ny))) {
games/hack/hack.mon.c
588
if(sobj_at(ENORMOUS_ROCK, nx, ny)) {
games/hack/hack.mon.c
592
if(!Invis && online(nx,ny)){
games/hack/hack.mon.c
597
{ struct trap *ttmp = t_at(nx, ny);
games/hack/hack.mon.c
607
poss[cnt].x = nx;
games/hack/hack.shk.c
1045
nx = poss[(int)i].x;
games/hack/hack.shk.c
1047
if(levl[(int)nx][(int)ny].typ == ROOM
games/hack/hack.shk.c
1054
if(uondoor && (ib = sobj_at(ICE_BOX, nx, ny))) {
games/hack/hack.shk.c
1055
nix = nx; niy = ny; chi = i; break;
games/hack/hack.shk.c
1061
(appr && (zz = GDIST(nix,niy)) && zz > GDIST(nx,ny))
games/hack/hack.shk.c
1063
(appr && GDIST(nx,ny) < GDIST(nix,niy))
games/hack/hack.shk.c
1066
nix = nx;
games/hack/hack.shk.c
938
xchar gx,gy,omx,omy,nx,ny,nix,niy;
games/hack/hack.vault.c
253
int x,y,dx,dy,gx,gy,nx,ny,typ;
games/hack/hack.vault.c
270
for(nx = x-1; nx <= x+1; nx++) for(ny = y-1; ny <= y+1; ny++) {
games/hack/hack.vault.c
271
if(nx == x || ny == y) if(nx != x || ny != y)
games/hack/hack.vault.c
272
if(isok(nx,ny))
games/hack/hack.vault.c
273
if(!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL) {
games/hack/hack.vault.c
276
if(EGD->fakecorr[i].fx == nx &&
games/hack/hack.vault.c
279
if((i = inroom(nx,ny)) >= 0 && rooms[i].rtype == VAULT)
games/hack/hack.vault.c
289
nx = x;
games/hack/hack.vault.c
295
if(abs(gx-x) >= abs(gy-y)) nx += dx; else ny += dy;
games/hack/hack.vault.c
297
while((typ = (crm = &levl[nx][ny])->typ) != 0) {
games/hack/hack.vault.c
300
if(isok(nx+nx-x,ny+ny-y) && typ != POOL &&
games/hack/hack.vault.c
301
ZAP_POS(levl[nx+nx-x][ny+ny-y].typ)){
games/hack/hack.vault.c
305
if(dy && nx != x) {
games/hack/hack.vault.c
306
nx = x; ny = y+dy;
games/hack/hack.vault.c
310
ny = y; nx = x+dx; dy = 0;
games/hack/hack.vault.c
319
if(cansee(nx,ny)) {
games/hack/hack.vault.c
320
mnewsym(nx,ny);
games/hack/hack.vault.c
321
prl(nx,ny);
games/hack/hack.vault.c
325
fcp->fx = nx;
games/hack/hack.vault.c
329
if(EGD->gddone) nx = ny = 0;
games/hack/hack.vault.c
330
guard->mx = nx;
games/hunt/huntd/makemaze.c
100
dig(ny, nx);
games/hunt/huntd/makemaze.c
89
int ny, nx;
games/hunt/huntd/makemaze.c
98
nx = x + *ip;
games/hunt/huntd/makemaze.c
99
if (candig(ny, nx))
lib/libfido2/src/es256.c
346
int nx;
lib/libfido2/src/es256.c
367
(nx = BN_num_bytes(x)) < 0 || (size_t)nx > sizeof(pk->x) ||
lib/libfido2/src/es256.c
374
dx = sizeof(pk->x) - (size_t)nx;
lib/libfido2/src/es256.c
377
if ((nx = BN_bn2bin(x, pk->x + dx)) < 0 || (size_t)nx > sizeof(pk->x) ||
lib/libm/src/e_rem_pio2.c
141
nx = 3;
lib/libm/src/e_rem_pio2.c
142
while(tx[nx-1]==zero) nx--; /* skip zero term */
lib/libm/src/e_rem_pio2.c
143
n = __kernel_rem_pio2(tx,y,e0,nx,2);
lib/libm/src/e_rem_pio2.c
58
int32_t e0,i,j,nx,n,ix,hx;
lib/libm/src/e_rem_pio2f.c
171
nx = 3;
lib/libm/src/e_rem_pio2f.c
172
while(tx[nx-1]==zero) nx--; /* skip zero term */
lib/libm/src/e_rem_pio2f.c
173
n = __kernel_rem_pio2f(tx,y,e0,nx,2,two_over_pi);
lib/libm/src/e_rem_pio2f.c
91
int32_t e0,i,j,nx,n,ix,hx;
lib/libm/src/k_rem_pio2.c
285
__kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec)
lib/libm/src/k_rem_pio2.c
295
jx = nx-1;
lib/libm/src/k_rem_pio2f.c
45
__kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec,
lib/libm/src/k_rem_pio2f.c
56
jx = nx-1;
lib/libm/src/ld128/e_lgammal.c
762
long double p, q, w, z, nx;
lib/libm/src/ld128/e_lgammal.c
805
nx = floorl (x + 0.5L);
lib/libm/src/ld128/e_lgammal.c
806
nn = nx;
regress/usr.bin/ssh/unittests/authopt/tests.c
117
#define ARRAY_EQ(nx, x) \
regress/usr.bin/ssh/unittests/authopt/tests.c
119
ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \
regress/usr.bin/ssh/unittests/authopt/tests.c
120
if (expected->nx == 0) \
regress/usr.bin/ssh/unittests/authopt/tests.c
122
for (i = 0; i < expected->nx; i++) \
sbin/unwind/libunbound/iterator/iter_scrub.c
255
struct rrset_parse* nx, sldns_buffer* pkt)
sbin/unwind/libunbound/iterator/iter_scrub.c
293
cn->rrset_all_next = nx;
sbin/unwind/libunbound/iterator/iter_scrub.c
297
if(nx == NULL)
sbin/unwind/libunbound/iterator/iter_scrub.c
462
struct rrset_parse* nx = rrset->rrset_all_next;
sbin/unwind/libunbound/iterator/iter_scrub.c
483
if(nx && nx->type == LDNS_RR_TYPE_CNAME &&
sbin/unwind/libunbound/iterator/iter_scrub.c
484
dname_pkt_compare(pkt, sname, nx->dname) == 0) {
sbin/unwind/libunbound/iterator/iter_scrub.c
488
if(!parse_get_cname_target(nx, &t, &tlen, pkt))
sbin/unwind/libunbound/iterator/iter_scrub.c
493
rrset = nx;
sbin/unwind/libunbound/iterator/iter_scrub.c
500
aliaslen, region, msg, rrset, rrset, nx, pkt);
sbin/unwind/libunbound/iterator/iter_scrub.c
507
rrset = nx;
sbin/unwind/libunbound/iterator/iter_scrub.c
521
struct rrset_parse* nx = rrset->rrset_all_next;
sbin/unwind/libunbound/iterator/iter_scrub.c
525
if(nx && nx->section == LDNS_SECTION_ANSWER &&
sbin/unwind/libunbound/iterator/iter_scrub.c
526
nx->type == LDNS_RR_TYPE_DNAME &&
sbin/unwind/libunbound/iterator/iter_scrub.c
527
nx->rr_count == 1 &&
sbin/unwind/libunbound/iterator/iter_scrub.c
528
pkt_strict_sub(pkt, sname, nx->dname)) {
sbin/unwind/libunbound/iterator/iter_scrub.c
538
if(synth_cname(sname, snamelen, nx, alias,
sbin/unwind/libunbound/iterator/iter_scrub.c
547
if(prev) prev->rrset_all_next = nx;
sbin/unwind/libunbound/iterator/iter_scrub.c
548
else msg->rrset_first = nx;
sbin/unwind/libunbound/iterator/iter_scrub.c
549
if(nx->rrset_all_next == NULL)
sbin/unwind/libunbound/iterator/iter_scrub.c
552
nx->rrset_all_next;
sbin/unwind/libunbound/iterator/iter_scrub.c
553
nx->rrset_all_next = rrset;
sbin/unwind/libunbound/services/authzone.c
2993
uint8_t** nx, size_t* nxlen)
sbin/unwind/libunbound/services/authzone.c
2999
*nx = qname;
sbin/unwind/libunbound/services/authzone.c
3002
dname_remove_labels(nx, nxlen, strip);
sbin/unwind/libunbound/services/authzone.c
3086
uint8_t* nx;
sbin/unwind/libunbound/services/authzone.c
3089
az_nsec3_get_nextcloser(cenm, qname, qname_len, &nx, &nxlen);
sbin/unwind/libunbound/services/authzone.c
3091
node = az_nsec3_find_cover(z, nx, nxlen, algo, iter, salt,
sbin/unwind/libunbound/services/listen_dnsport.c
2075
struct listen_port* nx;
sbin/unwind/libunbound/services/listen_dnsport.c
2077
nx = list->next;
sbin/unwind/libunbound/services/listen_dnsport.c
2087
list = nx;
sys/arch/i386/i386/pmapae.c
569
uint64_t nx;
sys/arch/i386/i386/pmapae.c
574
nx = 0;
sys/arch/i386/i386/pmapae.c
576
nx = PG_NX;
sys/arch/i386/i386/pmapae.c
578
pte = i386_atomic_testset_uq(ptep, pa | bits | nx); /* zap! */
sys/dev/pci/tga.c
1007
int y, srcx, dstx, nx;
sys/dev/pci/tga.c
1012
nx = ri->ri_font->fontwidth * ncols;
sys/dev/pci/tga.c
1014
tga_rop(ri, dstx, y, nx, ri->ri_font->fontheight, ri, srcx, y);
usr.bin/deroff/deroff.c
1630
M(NONE, 'n','x', nx), /* go to next file */
usr.bin/deroff/deroff.c
214
int nx(void);
usr.bin/mg/echo.c
544
complt(int flags, int c, char *buf, size_t nbuf, int cpos, int *nx)
usr.bin/mg/echo.c
606
*nx = nxtra;
usr.bin/mg/echo.c
608
*nx = 0;
usr.bin/mg/echo.c
633
*nx = nxtra;
usr.bin/ssh/monitor.c
791
#define M_CP_STRARRAYOPT(x, nx, clobber) do { \
usr.bin/ssh/monitor.c
792
for (i = 0; i < options.nx; i++) { \
usr.bin/ssh/monitor_wrap.c
320
#define M_CP_STRARRAYOPT(x, nx, clobber) do { \
usr.bin/ssh/monitor_wrap.c
321
newopts->x = newopts->nx == 0 ? \
usr.bin/ssh/monitor_wrap.c
322
NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \
usr.bin/ssh/monitor_wrap.c
323
for (i = 0; i < newopts->nx; i++) { \
usr.bin/ssh/monitor_wrap.c
342
#define M_CP_STRARRAYOPT(x, nx, clobber) do { \
usr.bin/ssh/monitor_wrap.c
343
for (i = 0; i < newopts->nx; i++) \
usr.bin/systat/pftop.c
1102
int sum, cnt, mx, nx;
usr.bin/systat/pftop.c
1115
nx = sum/cnt;
usr.bin/systat/pftop.c
1116
if (nx < ANCHOR_FLD_SIZE)
usr.bin/systat/pftop.c
1117
nx = (mx < ANCHOR_FLD_SIZE) ? mx : ANCHOR_FLD_SIZE;
usr.bin/systat/pftop.c
1120
FLD_ANCHOR->norm_width != nx) {
usr.bin/systat/pftop.c
1122
FLD_ANCHOR->norm_width = nx;
usr.bin/tmux/grid-view.c
101
grid_clear(gd, px, py, nx, ny, bg);
usr.bin/tmux/grid-view.c
197
grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg)
usr.bin/tmux/grid-view.c
209
grid_move_cells(gd, px + nx, px, py, sx - px - nx, bg);
usr.bin/tmux/grid-view.c
214
grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg)
usr.bin/tmux/grid-view.c
223
grid_move_cells(gd, px, px + nx, py, sx - px - nx, bg);
usr.bin/tmux/grid-view.c
224
grid_clear(gd, sx - nx, py, nx, 1, bg);
usr.bin/tmux/grid-view.c
229
grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx)
usr.bin/tmux/grid-view.c
234
return (grid_string_cells(gd, px, py, nx, NULL, 0, NULL));
usr.bin/tmux/grid-view.c
95
grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny,
usr.bin/tmux/grid.c
1083
grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
usr.bin/tmux/grid.c
1113
for (xx = px; xx < px + nx; xx++) {
usr.bin/tmux/grid.c
652
grid_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg)
usr.bin/tmux/grid.c
657
if (nx == 0 || ny == 0)
usr.bin/tmux/grid.c
660
if (px == 0 && nx == gd->sx) {
usr.bin/tmux/grid.c
676
ox = nx;
usr.bin/tmux/grid.c
680
if (px + nx > sx)
usr.bin/tmux/grid.c
756
grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx,
usr.bin/tmux/grid.c
762
if (nx == 0 || px == dx)
usr.bin/tmux/grid.c
769
grid_expand_line(gd, py, px + nx, 8);
usr.bin/tmux/grid.c
770
grid_expand_line(gd, py, dx + nx, 8);
usr.bin/tmux/grid.c
772
nx * sizeof *gl->celldata);
usr.bin/tmux/grid.c
773
if (dx + nx > gl->cellused)
usr.bin/tmux/grid.c
774
gl->cellused = dx + nx;
usr.bin/tmux/grid.c
777
for (xx = px; xx < px + nx; xx++) {
usr.bin/tmux/grid.c
778
if (xx >= dx && xx < dx + nx)
usr.bin/tmux/menu.c
195
u_int nx)
usr.bin/tmux/menu.c
201
menu->count + 2, px, py, nx, &md->r);
usr.bin/tmux/menu.c
516
u_int nx, ny, w, h;
usr.bin/tmux/menu.c
521
nx = md->px;
usr.bin/tmux/menu.c
527
if (nx + w > c->tty.sx) {
usr.bin/tmux/menu.c
529
nx = 0;
usr.bin/tmux/menu.c
531
nx = c->tty.sx - w;
usr.bin/tmux/menu.c
540
md->px = nx;
usr.bin/tmux/popup.c
217
popup_check_cb(struct client* c, void *data, u_int px, u_int py, u_int nx)
usr.bin/tmux/popup.c
230
mr = menu_check_cb(c, pd->md, px, py, nx);
usr.bin/tmux/popup.c
241
pd->sy, r->ranges[i].px, py, r->ranges[i].nx,
usr.bin/tmux/popup.c
252
if (pd->or[i].ranges[j].nx == 0)
usr.bin/tmux/popup.c
257
r->ranges[k].nx = pd->or[i].ranges[j].nx;
usr.bin/tmux/popup.c
264
server_client_overlay_range(pd->px, pd->py, pd->sx, pd->sy, px, py, nx,
usr.bin/tmux/screen-redraw.c
1002
if (rr->nx != 0) {
usr.bin/tmux/screen-redraw.c
1004
rr->nx, rr->px, y, &defaults, palette);
usr.bin/tmux/screen-write.c
1003
screen_write_cursorright(struct screen_write_ctx *ctx, u_int nx)
usr.bin/tmux/screen-write.c
1008
if (nx == 0)
usr.bin/tmux/screen-write.c
1009
nx = 1;
usr.bin/tmux/screen-write.c
1011
if (nx > screen_size_x(s) - 1 - cx)
usr.bin/tmux/screen-write.c
1012
nx = screen_size_x(s) - 1 - cx;
usr.bin/tmux/screen-write.c
1013
if (nx == 0)
usr.bin/tmux/screen-write.c
1016
cx += nx;
usr.bin/tmux/screen-write.c
1023
screen_write_cursorleft(struct screen_write_ctx *ctx, u_int nx)
usr.bin/tmux/screen-write.c
1028
if (nx == 0)
usr.bin/tmux/screen-write.c
1029
nx = 1;
usr.bin/tmux/screen-write.c
1031
if (nx > cx)
usr.bin/tmux/screen-write.c
1032
nx = cx;
usr.bin/tmux/screen-write.c
1033
if (nx == 0)
usr.bin/tmux/screen-write.c
1036
cx -= nx;
usr.bin/tmux/screen-write.c
1093
screen_write_insertcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg)
usr.bin/tmux/screen-write.c
1098
if (nx == 0)
usr.bin/tmux/screen-write.c
1099
nx = 1;
usr.bin/tmux/screen-write.c
1101
if (nx > screen_size_x(s) - s->cx)
usr.bin/tmux/screen-write.c
1102
nx = screen_size_x(s) - s->cx;
usr.bin/tmux/screen-write.c
1103
if (nx == 0)
usr.bin/tmux/screen-write.c
1112
grid_view_insert_cells(s->grid, s->cx, s->cy, nx, bg);
usr.bin/tmux/screen-write.c
1115
ttyctx.num = nx;
usr.bin/tmux/screen-write.c
1121
screen_write_deletecharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg)
usr.bin/tmux/screen-write.c
1126
if (nx == 0)
usr.bin/tmux/screen-write.c
1127
nx = 1;
usr.bin/tmux/screen-write.c
1129
if (nx > screen_size_x(s) - s->cx)
usr.bin/tmux/screen-write.c
1130
nx = screen_size_x(s) - s->cx;
usr.bin/tmux/screen-write.c
1131
if (nx == 0)
usr.bin/tmux/screen-write.c
1140
grid_view_delete_cells(s->grid, s->cx, s->cy, nx, bg);
usr.bin/tmux/screen-write.c
1143
ttyctx.num = nx;
usr.bin/tmux/screen-write.c
1149
screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg)
usr.bin/tmux/screen-write.c
1154
if (nx == 0)
usr.bin/tmux/screen-write.c
1155
nx = 1;
usr.bin/tmux/screen-write.c
1157
if (nx > screen_size_x(s) - s->cx)
usr.bin/tmux/screen-write.c
1158
nx = screen_size_x(s) - s->cx;
usr.bin/tmux/screen-write.c
1159
if (nx == 0)
usr.bin/tmux/screen-write.c
1168
grid_view_clear(s->grid, s->cx, s->cy, nx, 1, bg);
usr.bin/tmux/screen-write.c
1171
ttyctx.num = nx;
usr.bin/tmux/screen-write.c
569
u_int px, u_int py, u_int nx, u_int ny)
usr.bin/tmux/screen-write.c
578
if (nx == 0 || ny == 0)
usr.bin/tmux/screen-write.c
587
for (xx = px; xx < px + nx; xx++) {
usr.bin/tmux/screen-write.c
592
if (xx + gc.data.width > px + nx)
usr.bin/tmux/screen-write.c
647
screen_write_hline(struct screen_write_ctx *ctx, u_int nx, int left, int right,
usr.bin/tmux/screen-write.c
670
for (i = 1; i < nx - 1; i++)
usr.bin/tmux/screen-write.c
760
screen_write_box(struct screen_write_ctx *ctx, u_int nx, u_int ny,
usr.bin/tmux/screen-write.c
782
for (i = 1; i < nx - 1; i++)
usr.bin/tmux/screen-write.c
792
for (i = 1; i < nx - 1; i++)
usr.bin/tmux/screen-write.c
804
screen_write_set_cursor(ctx, cx + nx - 1, cy + i);
usr.bin/tmux/screen-write.c
811
format_draw(ctx, &gc, nx - 4, title, NULL, 0);
usr.bin/tmux/screen-write.c
822
screen_write_preview(struct screen_write_ctx *ctx, struct screen *src, u_int nx,
usr.bin/tmux/screen-write.c
838
if (px < nx / 3)
usr.bin/tmux/screen-write.c
841
px = px - nx / 3;
usr.bin/tmux/screen-write.c
842
if (px + nx > screen_size_x(src)) {
usr.bin/tmux/screen-write.c
843
if (nx > screen_size_x(src))
usr.bin/tmux/screen-write.c
846
px = screen_size_x(src) - nx;
usr.bin/tmux/screen-write.c
864
screen_write_fast_copy(ctx, src, px, src->grid->hsize + py, nx, ny);
usr.bin/tmux/server-client.c
162
if (r->ranges[i].nx != 0)
usr.bin/tmux/server-client.c
184
u_int py, u_int nx, struct visible_ranges *r)
usr.bin/tmux/server-client.c
192
r->ranges[0].nx = nx;
usr.bin/tmux/server-client.c
201
r->ranges[0].nx = x - px;
usr.bin/tmux/server-client.c
202
if (r->ranges[0].nx > nx)
usr.bin/tmux/server-client.c
203
r->ranges[0].nx = nx;
usr.bin/tmux/server-client.c
206
r->ranges[0].nx = 0;
usr.bin/tmux/server-client.c
213
onx = px + nx;
usr.bin/tmux/server-client.c
216
r->ranges[1].nx = onx - ox;
usr.bin/tmux/server-client.c
219
r->ranges[1].nx = 0;
usr.bin/tmux/tmux.h
1559
u_int nx; /* length */
usr.bin/tmux/tty-draw.c
105
tty_draw_line_get_empty(const struct grid_cell *gc, u_int nx)
usr.bin/tmux/tty-draw.c
109
if (gc->data.width != 1 && gc->data.width > nx)
usr.bin/tmux/tty-draw.c
110
empty = nx;
usr.bin/tmux/tty-draw.c
124
tty_draw_line(struct tty *tty, struct screen *s, u_int px, u_int py, u_int nx,
usr.bin/tmux/tty-draw.c
143
log_debug("%s: px=%u py=%u nx=%u atx=%u aty=%u", __func__, px, py, nx,
usr.bin/tmux/tty-draw.c
149
if (atx + nx >= tty->sx)
usr.bin/tmux/tty-draw.c
150
nx = tty->sx - atx;
usr.bin/tmux/tty-draw.c
151
if (nx == 0)
usr.bin/tmux/tty-draw.c
164
"bg=%d", __func__, px, px + nx, py, ex, atx, aty, defaults->fg,
usr.bin/tmux/tty-draw.c
184
for (i = px; i < px + nx; i++) {
usr.bin/tmux/tty-draw.c
214
nx -= cx;
usr.bin/tmux/tty-draw.c
219
if (py != 0 && atx == 0 && tty->cx >= tty->sx && nx == tty->sx) {
usr.bin/tmux/tty-draw.c
232
if (i == nx) {
usr.bin/tmux/tty-draw.c
261
empty = tty_draw_line_get_empty(gcp, nx - i);
usr.bin/tmux/tty-draw.c
48
tty_draw_line_clear(struct tty *tty, u_int px, u_int py, u_int nx,
usr.bin/tmux/tty-draw.c
56
if (nx == 0)
usr.bin/tmux/tty-draw.c
62
nx >= 10 &&
usr.bin/tmux/tty-draw.c
65
if (px + nx >= tty->sx && tty_term_has(tty->term, TTYC_EL)) {
usr.bin/tmux/tty-draw.c
73
tty_cursor(tty, px + nx - 1, py);
usr.bin/tmux/tty-draw.c
81
tty_putcode_i(tty, TTYC_ECH, nx);
usr.bin/tmux/tty-draw.c
87
r = tty_check_overlay_range(tty, px, py, nx);
usr.bin/tmux/tty-draw.c
90
if (rr->nx != 0) {
usr.bin/tmux/tty-draw.c
93
if (rr->nx == 1)
usr.bin/tmux/tty-draw.c
95
else if (rr->nx == 2)
usr.bin/tmux/tty-draw.c
98
tty_repeat_space(tty, rr->nx);
usr.bin/tmux/tty.c
1103
u_int py, u_int nx, u_int ny)
usr.bin/tmux/tty.c
1110
if (xoff + nx <= ctx->wox || xoff >= ctx->wox + ctx->wsx ||
usr.bin/tmux/tty.c
1119
u_int nx, u_int *i, u_int *x, u_int *rx, u_int *ry)
usr.bin/tmux/tty.c
1123
if (!tty_is_visible(tty, ctx, px, py, nx, 1))
usr.bin/tmux/tty.c
1127
if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) {
usr.bin/tmux/tty.c
1131
*rx = nx;
usr.bin/tmux/tty.c
1132
} else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) {
usr.bin/tmux/tty.c
1141
*rx = nx - *i;
usr.bin/tmux/tty.c
1148
if (*rx > nx)
usr.bin/tmux/tty.c
1149
fatalx("%s: x too big, %u > %u", __func__, *rx, nx);
usr.bin/tmux/tty.c
1157
u_int px, u_int nx, u_int bg)
usr.bin/tmux/tty.c
1164
log_debug("%s: %s, %u at %u,%u", __func__, c->name, nx, px, py);
usr.bin/tmux/tty.c
1167
if (nx == 0)
usr.bin/tmux/tty.c
1173
if (px + nx >= tty->sx && tty_term_has(tty->term, TTYC_EL)) {
usr.bin/tmux/tty.c
1181
tty_cursor(tty, px + nx - 1, py);
usr.bin/tmux/tty.c
1189
tty_putcode_i(tty, TTYC_ECH, nx);
usr.bin/tmux/tty.c
1198
r = tty_check_overlay_range(tty, px, py, nx);
usr.bin/tmux/tty.c
1201
if (rr->nx != 0) {
usr.bin/tmux/tty.c
1203
tty_repeat_space(tty, rr->nx);
usr.bin/tmux/tty.c
1211
u_int px, u_int nx, u_int bg)
usr.bin/tmux/tty.c
1216
log_debug("%s: %s, %u at %u,%u", __func__, c->name, nx, px, py);
usr.bin/tmux/tty.c
1218
if (tty_clamp_line(tty, ctx, px, py, nx, &i, &x, &rx, &ry))
usr.bin/tmux/tty.c
1225
u_int nx, u_int ny, u_int *i, u_int *j, u_int *x, u_int *y, u_int *rx,
usr.bin/tmux/tty.c
1230
if (!tty_is_visible(tty, ctx, px, py, nx, ny))
usr.bin/tmux/tty.c
1233
if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) {
usr.bin/tmux/tty.c
1237
*rx = nx;
usr.bin/tmux/tty.c
1238
} else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) {
usr.bin/tmux/tty.c
1247
*rx = nx - *i;
usr.bin/tmux/tty.c
1254
if (*rx > nx)
usr.bin/tmux/tty.c
1255
fatalx("%s: x too big, %u > %u", __func__, *rx, nx);
usr.bin/tmux/tty.c
1287
u_int ny, u_int px, u_int nx, u_int bg)
usr.bin/tmux/tty.c
1293
log_debug("%s: %s, %u,%u at %u,%u", __func__, c->name, nx, ny, px, py);
usr.bin/tmux/tty.c
1296
if (nx == 0 || ny == 0)
usr.bin/tmux/tty.c
1303
px + nx >= tty->sx &&
usr.bin/tmux/tty.c
1318
py + 1, px + 1, py + ny, px + nx);
usr.bin/tmux/tty.c
1325
px + nx >= tty->sx &&
usr.bin/tmux/tty.c
1339
if (nx > 2 &&
usr.bin/tmux/tty.c
1345
tty_margin(tty, px, px + nx - 1);
usr.bin/tmux/tty.c
1353
tty_clear_line(tty, defaults, yy, px, nx, bg);
usr.bin/tmux/tty.c
1359
u_int ny, u_int px, u_int nx, u_int bg)
usr.bin/tmux/tty.c
1363
if (tty_clamp_area(tty, ctx, px, py, nx, ny, &i, &j, &x, &y, &rx, &ry))
usr.bin/tmux/tty.c
1371
u_int nx = ctx->sx, i, x, rx, ry, j;
usr.bin/tmux/tty.c
1378
r = tty_check_overlay_range(tty, ctx->xoff, ctx->yoff + py, nx);
usr.bin/tmux/tty.c
1381
if (rr->nx != 0) {
usr.bin/tmux/tty.c
1383
rr->nx, rr->px, ctx->yoff + py,
usr.bin/tmux/tty.c
1389
if (tty_clamp_line(tty, ctx, 0, py, nx, &i, &x, &rx, &ry)) {
usr.bin/tmux/tty.c
1393
if (rr->nx != 0) {
usr.bin/tmux/tty.c
1395
rr->nx, rr->px, ry, &ctx->defaults,
usr.bin/tmux/tty.c
1451
tty_check_overlay_range(struct tty *tty, u_int px, u_int py, u_int nx)
usr.bin/tmux/tty.c
1458
tty->r.ranges[0].nx = nx;
usr.bin/tmux/tty.c
1462
return (c->overlay_check(c, c->overlay_data, px, py, nx));
usr.bin/tmux/tty.c
1661
u_int nx = ctx->sx - ctx->ocx;
usr.bin/tmux/tty.c
1666
tty_clear_pane_line(tty, ctx, ctx->ocy, ctx->ocx, nx, ctx->bg);
usr.bin/tmux/tty.c
1831
u_int px, py, nx, ny;
usr.bin/tmux/tty.c
1840
nx = ctx->sx;
usr.bin/tmux/tty.c
1844
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
usr.bin/tmux/tty.c
1847
nx = ctx->sx - ctx->ocx;
usr.bin/tmux/tty.c
1850
tty_clear_pane_line(tty, ctx, py, px, nx, ctx->bg);
usr.bin/tmux/tty.c
1856
u_int px, py, nx, ny;
usr.bin/tmux/tty.c
1865
nx = ctx->sx;
usr.bin/tmux/tty.c
1869
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
usr.bin/tmux/tty.c
1872
nx = ctx->ocx + 1;
usr.bin/tmux/tty.c
1875
tty_clear_pane_line(tty, ctx, py, px, nx, ctx->bg);
usr.bin/tmux/tty.c
1881
u_int px, py, nx, ny;
usr.bin/tmux/tty.c
1890
nx = ctx->sx;
usr.bin/tmux/tty.c
1894
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
usr.bin/tmux/tty.c
1944
vis += r->ranges[i].nx;
usr.bin/tmux/tty.c
2006
if (rr->nx != 0) {
usr.bin/tmux/tty.c
2009
tty_putn(tty, cp + rr->px - px, rr->nx, rr->nx);
usr.bin/tmux/window-copy.c
4620
struct screen_write_ctx *ctx, u_int py, u_int fy, u_int nx,
usr.bin/tmux/window-copy.c
4630
for (fx = 0; fx < nx; fx++) {
usr.bin/tmux/window-copy.c
4632
if (fx + gc.data.width <= nx) {
usr.sbin/amd/amd/nfsx_ops.c
134
struct nfsx *nx = (struct nfsx *) vp;
usr.sbin/amd/amd/nfsx_ops.c
137
for (i = 0; i < nx->nx_c; i++) {
usr.sbin/amd/amd/nfsx_ops.c
138
mntfs *m = nx->nx_v[i].n_mnt;
usr.sbin/amd/amd/nfsx_ops.c
143
free(nx->nx_v);
usr.sbin/amd/amd/nfsx_ops.c
144
free(nx);
usr.sbin/amd/amd/nfsx_ops.c
156
struct nfsx *nx;
usr.sbin/amd/amd/nfsx_ops.c
159
nx = (struct nfsx *) mf->mf_private;
usr.sbin/amd/amd/nfsx_ops.c
161
if (nx == 0) {
usr.sbin/amd/amd/nfsx_ops.c
189
nx = ALLOC(nfsx);
usr.sbin/amd/amd/nfsx_ops.c
190
mf->mf_private = nx;
usr.sbin/amd/amd/nfsx_ops.c
193
nx->nx_c = i - 1; /* i-1 because we don't want the prefix */
usr.sbin/amd/amd/nfsx_ops.c
194
nx->nx_v = xreallocarray(NULL, nx->nx_c, sizeof *nx->nx_v);
usr.sbin/amd/amd/nfsx_ops.c
199
for (i = 0; i < nx->nx_c; i++) {
usr.sbin/amd/amd/nfsx_ops.c
220
nx->nx_v[i].n_error = -1;
usr.sbin/amd/amd/nfsx_ops.c
221
nx->nx_v[i].n_mnt = find_mntfs(&nfs_ops, mf->mf_fo, mp, xinfo, "", mf->mf_mopts, mf->mf_remopts);
usr.sbin/amd/amd/nfsx_ops.c
240
for (i = 0; i < nx->nx_c; i++) {
usr.sbin/amd/amd/nfsx_ops.c
241
nfsx_mnt *n = &nx->nx_v[i];
usr.sbin/amd/amd/nfsx_ops.c
273
struct nfsx *nx = (struct nfsx *) mf->mf_private;
usr.sbin/amd/amd/nfsx_ops.c
274
nfsx_mnt *n = nx->nx_try;
usr.sbin/amd/amd/nfsx_ops.c
336
struct nfsx *nx = (struct nfsx *) mf->mf_private;
usr.sbin/amd/amd/nfsx_ops.c
340
for (n = nx->nx_v; n < nx->nx_v + nx->nx_c; n++) {
usr.sbin/amd/amd/nfsx_ops.c
355
for (n = nx->nx_v; n < nx->nx_v + nx->nx_c; n++) {
usr.sbin/amd/amd/nfsx_ops.c
373
nx->nx_try = n;
usr.sbin/amd/amd/nfsx_ops.c
416
struct nfsx *nx = (struct nfsx *) mf->mf_private;
usr.sbin/amd/amd/nfsx_ops.c
424
for (n = nx->nx_v + nx->nx_c - 1; n >= nx->nx_v; --n) {
usr.sbin/amd/amd/nfsx_ops.c
467
for (n = nx->nx_v; n < nx->nx_v + nx->nx_c; n++) {
usr.sbin/nsd/nsec3.c
840
rbnode_type* nx;
usr.sbin/nsd/nsec3.c
845
nx = rbtree_next(&domain->nsec3->nsec3_node);
usr.sbin/nsd/nsec3.c
846
if(nx != RBTREE_NULL) {
usr.sbin/nsd/nsec3.c
848
domain_type* end = (domain_type*)nx->key;
usr.sbin/unbound/iterator/iter_scrub.c
255
struct rrset_parse* nx, sldns_buffer* pkt)
usr.sbin/unbound/iterator/iter_scrub.c
293
cn->rrset_all_next = nx;
usr.sbin/unbound/iterator/iter_scrub.c
297
if(nx == NULL)
usr.sbin/unbound/iterator/iter_scrub.c
462
struct rrset_parse* nx = rrset->rrset_all_next;
usr.sbin/unbound/iterator/iter_scrub.c
483
if(nx && nx->type == LDNS_RR_TYPE_CNAME &&
usr.sbin/unbound/iterator/iter_scrub.c
484
dname_pkt_compare(pkt, sname, nx->dname) == 0) {
usr.sbin/unbound/iterator/iter_scrub.c
488
if(!parse_get_cname_target(nx, &t, &tlen, pkt))
usr.sbin/unbound/iterator/iter_scrub.c
493
rrset = nx;
usr.sbin/unbound/iterator/iter_scrub.c
500
aliaslen, region, msg, rrset, rrset, nx, pkt);
usr.sbin/unbound/iterator/iter_scrub.c
507
rrset = nx;
usr.sbin/unbound/iterator/iter_scrub.c
521
struct rrset_parse* nx = rrset->rrset_all_next;
usr.sbin/unbound/iterator/iter_scrub.c
525
if(nx && nx->section == LDNS_SECTION_ANSWER &&
usr.sbin/unbound/iterator/iter_scrub.c
526
nx->type == LDNS_RR_TYPE_DNAME &&
usr.sbin/unbound/iterator/iter_scrub.c
527
nx->rr_count == 1 &&
usr.sbin/unbound/iterator/iter_scrub.c
528
pkt_strict_sub(pkt, sname, nx->dname)) {
usr.sbin/unbound/iterator/iter_scrub.c
538
if(synth_cname(sname, snamelen, nx, alias,
usr.sbin/unbound/iterator/iter_scrub.c
547
if(prev) prev->rrset_all_next = nx;
usr.sbin/unbound/iterator/iter_scrub.c
548
else msg->rrset_first = nx;
usr.sbin/unbound/iterator/iter_scrub.c
549
if(nx->rrset_all_next == NULL)
usr.sbin/unbound/iterator/iter_scrub.c
552
nx->rrset_all_next;
usr.sbin/unbound/iterator/iter_scrub.c
553
nx->rrset_all_next = rrset;
usr.sbin/unbound/services/authzone.c
2993
uint8_t** nx, size_t* nxlen)
usr.sbin/unbound/services/authzone.c
2999
*nx = qname;
usr.sbin/unbound/services/authzone.c
3002
dname_remove_labels(nx, nxlen, strip);
usr.sbin/unbound/services/authzone.c
3086
uint8_t* nx;
usr.sbin/unbound/services/authzone.c
3089
az_nsec3_get_nextcloser(cenm, qname, qname_len, &nx, &nxlen);
usr.sbin/unbound/services/authzone.c
3091
node = az_nsec3_find_cover(z, nx, nxlen, algo, iter, salt,
usr.sbin/unbound/services/listen_dnsport.c
2075
struct listen_port* nx;
usr.sbin/unbound/services/listen_dnsport.c
2077
nx = list->next;
usr.sbin/unbound/services/listen_dnsport.c
2087
list = nx;