/dports/sysutils/tmux23/tmux-2.3/ |
H A D | grid-view.c | 131 u_int ny2; in grid_view_insert_lines_region() local 137 ny2 = rlower + 1 - py - ny; in grid_view_insert_lines_region() 138 grid_move_lines(gd, rlower + 1 - ny2, py, ny2); in grid_view_insert_lines_region() 139 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_insert_lines_region() 161 u_int ny2; in grid_view_delete_lines_region() local 167 ny2 = rlower + 1 - py - ny; in grid_view_delete_lines_region() 168 grid_move_lines(gd, py, py + ny, ny2); in grid_view_delete_lines_region() 169 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_delete_lines_region()
|
/dports/sysutils/tmate/tmate-2.4.0/ |
H A D | grid-view.c | 130 u_int ny2; in grid_view_insert_lines_region() local 136 ny2 = rlower + 1 - py - ny; in grid_view_insert_lines_region() 137 grid_move_lines(gd, rlower + 1 - ny2, py, ny2); in grid_view_insert_lines_region() 138 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_insert_lines_region() 160 u_int ny2; in grid_view_delete_lines_region() local 166 ny2 = rlower + 1 - py - ny; in grid_view_delete_lines_region() 167 grid_move_lines(gd, py, py + ny, ny2); in grid_view_delete_lines_region() 168 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_delete_lines_region()
|
/dports/sysutils/tmate-ssh-server/tmate-ssh-server-97d2024/ |
H A D | grid-view.c | 130 u_int ny2; in grid_view_insert_lines_region() local 136 ny2 = rlower + 1 - py - ny; in grid_view_insert_lines_region() 137 grid_move_lines(gd, rlower + 1 - ny2, py, ny2); in grid_view_insert_lines_region() 138 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_insert_lines_region() 160 u_int ny2; in grid_view_delete_lines_region() local 166 ny2 = rlower + 1 - py - ny; in grid_view_delete_lines_region() 167 grid_move_lines(gd, py, py + ny, ny2); in grid_view_delete_lines_region() 168 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2); in grid_view_delete_lines_region()
|
/dports/sysutils/tmux/tmux-3.2a/ |
H A D | grid-view.c | 154 u_int ny2; in grid_view_insert_lines_region() local 160 ny2 = rlower + 1 - py - ny; in grid_view_insert_lines_region() 161 grid_move_lines(gd, rlower + 1 - ny2, py, ny2, bg); in grid_view_insert_lines_region() 162 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2, bg); in grid_view_insert_lines_region() 184 u_int ny2; in grid_view_delete_lines_region() local 190 ny2 = rlower + 1 - py - ny; in grid_view_delete_lines_region() 191 grid_move_lines(gd, py, py + ny, ny2, bg); in grid_view_delete_lines_region() 192 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2, bg); in grid_view_delete_lines_region()
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/scat/ |
H A D | dssread.c | 61 int nel, nx2, ny2, bits, mask; in dodecode() local 66 ny2 = (ny+1)/2; in dodecode() 77 qtree_decode(infile, &a[0], ny, nx2, ny2, nbitplanes[0]); in dodecode() 78 qtree_decode(infile, &a[ny2], ny, nx2, ny/2, nbitplanes[1]); in dodecode() 79 qtree_decode(infile, &a[ny*nx2], ny, nx/2, ny2, nbitplanes[1]); in dodecode() 80 qtree_decode(infile, &a[ny*nx2+ny2], ny, nx/2, ny/2, nbitplanes[2]); in dodecode()
|
H A D | qtree.c | 137 int i, j, k, nx2, ny2; in qtree_copy() local 145 ny2 = (ny+1)/2; in qtree_copy() 146 k = ny2*(nx2-1) + ny2-1; /* k is index of a[i,j] */ in qtree_copy() 148 s00 = 2*(n*i+ny2-1); /* s00 is index of b[2*i,2*j] */ in qtree_copy() 149 for (j = ny2-1; j >= 0; j--) { in qtree_copy()
|
/dports/print/photoprint/photoprint-0.4.2-pre2/support/ |
H A D | layoutrectangle.cpp | 31 int nx,ny,nx2,ny2,nw,nh; in Intersection() local 49 ny2=y2; in Intersection() 51 ny2=y4; in Intersection() 54 nh=ny2-ny; in Intersection() 70 int nx,ny,nx2,ny2,nw,nh; in UnionBoundary() local 88 ny2=y4; in UnionBoundary() 90 ny2=y2; in UnionBoundary() 93 nh=ny2-ny; in UnionBoundary()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimpdisplayshell-transform.c | 499 *ny2 = MAX4 (ty1, ty2, ty3, ty4); in gimp_display_shell_rotate_bounds() 506 *ny2 = y2; in gimp_display_shell_rotate_bounds() 542 *ny2 = MAX4 (ty1, ty2, ty3, ty4); in gimp_display_shell_unrotate_bounds() 549 *ny2 = y2; in gimp_display_shell_unrotate_bounds() 803 g_return_if_fail (ny2 != NULL); in gimp_display_shell_transform_bounds() 820 *ny2 = MAX4 (ty1, ty2, ty3, ty4); in gimp_display_shell_transform_bounds() 844 g_return_if_fail (ny2 != NULL); in gimp_display_shell_untransform_bounds() 861 *ny2 = MAX4 (ty1, ty2, ty3, ty4); in gimp_display_shell_untransform_bounds() 898 g_return_if_fail (ny2 != NULL); in gimp_display_shell_transform_bounds_with_scale() 941 g_return_if_fail (ny2 != NULL); in gimp_display_shell_untransform_bounds_with_scale() [all …]
|
H A D | gimpdisplayshell-transform.h | 105 gdouble *ny2); 114 gdouble *ny2); 160 gdouble *ny2); 169 gdouble *ny2); 180 gdouble *ny2); 190 gdouble *ny2);
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/ |
H A D | wl_dir3dspr.cpp | 12 void Scale3DShaper(int x1, int x2, int shapenum, uint32_t flags, fixed ny1, fixed ny2, in Scale3DShaper() argument 25 fixed dxx=(ny2-ny1)<<8,dzz=(nx2-nx1)<<8; in Scale3DShaper() 125 fixed nx1,nx2,ny1,ny2; in Scale3DShape() local 174 ny2 = gyt2+gxt; in Scale3DShape() 202 ny2 = gyt+gxt2; in Scale3DShape() 216 viewx2=(int)(centerx+ny2*scale/nx2); in Scale3DShape() 220 Scale3DShaper(viewx2,viewx1,ob->shapenum,ob->flags,ny2,ny1,nx2,nx1,vbuf,vbufPitch); in Scale3DShape() 224 Scale3DShaper(viewx1,viewx2,ob->shapenum,ob->flags,ny1,ny2,nx1,nx2,vbuf,vbufPitch); in Scale3DShape()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/svdraw/ |
H A D | svdpagv.cxx | 358 tools::Long ny2=GetView().maGridFin.Height(); in DrawPageViewGrid() local 362 if (ny1==0) ny1=ny2; in DrawPageViewGrid() 363 if (ny2==0) ny2=ny1; in DrawPageViewGrid() 364 if (nx1==0) { nx1=ny1; nx2=ny2; } in DrawPageViewGrid() 365 if (ny1==0) { ny1=nx1; ny2=nx2; } in DrawPageViewGrid() 369 if (ny2<0) ny2=-ny2; in DrawPageViewGrid() 398 bool bVertSolid=ny2<aMinDotDist.Height(); in DrawPageViewGrid() 431 bool bVertFine=ny2<ny1; in DrawPageViewGrid() 494 while (yFinOrg>=y1) yFinOrg-=ny2; in DrawPageViewGrid() 495 while (yFinOrg<y1) yFinOrg+=ny2; in DrawPageViewGrid() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/svdraw/ |
H A D | svdpagv.cxx | 373 long ny2=GetView().maGridFin.Height(); in DrawPageViewGrid() local 377 if (ny1==0) ny1=ny2; in DrawPageViewGrid() 378 if (ny2==0) ny2=ny1; in DrawPageViewGrid() 379 if (nx1==0) { nx1=ny1; nx2=ny2; } in DrawPageViewGrid() 380 if (ny1==0) { ny1=nx1; ny2=nx2; } in DrawPageViewGrid() 384 if (ny2<0) ny2=-ny2; in DrawPageViewGrid() 413 bool bVertSolid=ny2<aMinDotDist.Height(); in DrawPageViewGrid() 446 bool bVertFine=ny2<ny1; in DrawPageViewGrid() 499 while (yFinOrg>=y1) yFinOrg-=ny2; in DrawPageViewGrid() 500 while (yFinOrg<y1) yFinOrg+=ny2; in DrawPageViewGrid() [all …]
|
/dports/astro/oskar/OSKAR-2.8.0/extern/cfitsio/ |
H A D | fits_hdecompress.c | 702 ny2 = ny << 1; in hsmooth() 719 hm = a[s00-ny2]; in hsmooth() 721 hp = a[s00+ny2]; in hsmooth() 846 int ny2, s10, s00; in hsmooth64() local 856 ny2 = ny << 1; in hsmooth64() 873 hm = a[s00-ny2]; in hsmooth64() 875 hp = a[s00+ny2]; in hsmooth64() 1164 ny2 = (ny+1)/2; in dodecode() 1223 ny2 = (ny+1)/2; in dodecode64() 1502 ny2 = (ny+1)/2; in qtree_copy() [all …]
|
H A D | fits_hcompress.c | 609 int nel, nx2, ny2, i, j, k, q, vmax[3], nsign, bits_to_go; in encode() local 690 ny2 = (ny+1)/2; in encode() 694 q = (j>=ny2) + (k>=nx2); in encode() 770 int nel, nx2, ny2, i, j, k, q, nsign, bits_to_go; in encode64() local 851 ny2 = (ny+1)/2; in encode64() 855 q = (j>=ny2) + (k>=nx2); in encode64() 1007 int nx2, ny2, stat; in doencode() local 1010 ny2 = (ny+1)/2; in doencode() 1018 stat = qtree_encode(outfile, &a[0], ny, nx2, ny2, nbitplanes[0]); in doencode() 1046 int nx2, ny2, stat; in doencode64() local [all …]
|
/dports/astro/cfitsio/cfitsio-3.49/ |
H A D | fits_hdecompress.c | 702 ny2 = ny << 1; in hsmooth() 719 hm = a[s00-ny2]; in hsmooth() 721 hp = a[s00+ny2]; in hsmooth() 846 int ny2, s10, s00; in hsmooth64() local 856 ny2 = ny << 1; in hsmooth64() 873 hm = a[s00-ny2]; in hsmooth64() 875 hp = a[s00+ny2]; in hsmooth64() 1164 ny2 = (ny+1)/2; in dodecode() 1223 ny2 = (ny+1)/2; in dodecode64() 1502 ny2 = (ny+1)/2; in qtree_copy() [all …]
|
H A D | fits_hcompress.c | 609 int nel, nx2, ny2, i, j, k, q, vmax[3], nsign, bits_to_go; in encode() local 690 ny2 = (ny+1)/2; in encode() 694 q = (j>=ny2) + (k>=nx2); in encode() 770 int nel, nx2, ny2, i, j, k, q, nsign, bits_to_go; in encode64() local 851 ny2 = (ny+1)/2; in encode64() 855 q = (j>=ny2) + (k>=nx2); in encode64() 1007 int nx2, ny2, stat; in doencode() local 1010 ny2 = (ny+1)/2; in doencode() 1018 stat = qtree_encode(outfile, &a[0], ny, nx2, ny2, nbitplanes[0]); in doencode() 1046 int nx2, ny2, stat; in doencode64() local [all …]
|
/dports/science/healpix/Healpix_3.50/src/healpy/cfitsio/ |
H A D | fits_hdecompress.c | 702 ny2 = ny << 1; in hsmooth() 719 hm = a[s00-ny2]; in hsmooth() 721 hp = a[s00+ny2]; in hsmooth() 846 int ny2, s10, s00; in hsmooth64() local 856 ny2 = ny << 1; in hsmooth64() 873 hm = a[s00-ny2]; in hsmooth64() 875 hp = a[s00+ny2]; in hsmooth64() 1168 ny2 = (ny+1)/2; in dodecode() 1227 ny2 = (ny+1)/2; in dodecode64() 1506 ny2 = (ny+1)/2; in qtree_copy() [all …]
|
H A D | fits_hcompress.c | 609 int nel, nx2, ny2, i, j, k, q, vmax[3], nsign, bits_to_go; in encode() local 689 ny2 = (ny+1)/2; in encode() 693 q = (j>=ny2) + (k>=nx2); in encode() 769 int nel, nx2, ny2, i, j, k, q, nsign, bits_to_go; in encode64() local 850 ny2 = (ny+1)/2; in encode64() 854 q = (j>=ny2) + (k>=nx2); in encode64() 1006 int nx2, ny2, stat; in doencode() local 1009 ny2 = (ny+1)/2; in doencode() 1017 stat = qtree_encode(outfile, &a[0], ny, nx2, ny2, nbitplanes[0]); in doencode() 1045 int nx2, ny2, stat; in doencode64() local [all …]
|
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/ |
H A D | fits_hdecompress.c | 702 ny2 = ny << 1; in hsmooth() 719 hm = a[s00-ny2]; in hsmooth() 721 hp = a[s00+ny2]; in hsmooth() 846 int ny2, s10, s00; in hsmooth64() local 856 ny2 = ny << 1; in hsmooth64() 873 hm = a[s00-ny2]; in hsmooth64() 875 hp = a[s00+ny2]; in hsmooth64() 1164 ny2 = (ny+1)/2; in dodecode() 1223 ny2 = (ny+1)/2; in dodecode64() 1502 ny2 = (ny+1)/2; in qtree_copy() [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/examples/plugin/ |
H A D | ppm2rnm.edp | 21 int nx2 = img2.n, ny2 = img2.m; 22 mesh Th2 = square(nx2-1, ny2-1, [(nx2-1)*(x)/nx2, (ny2-1)*(1-y)/ny2]);
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | thd_rot3d_2byte.c | 95 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_xy() local 101 for( jj=0 ; jj < ny2 ; jj++ ){ /* first 1/2 of rows */ in flip_xy() 126 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_yz() local 154 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_xz() local 184 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_xshear() local 190 st = fabs(a)*ny2 + fabs(b)*nz2 + fabs(s) ; if( st < TSBOT ) return ; in apply_xshear() 194 ts_shift_2byte( nx, a*(jj-ny2) + b*(kk-nz2) + s, v + (jj*nx + kk*nxy) ) ; in apply_xshear() 209 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_yshear() local 247 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_zshear() local 254 st = fabs(a)*nx2 + fabs(b)*ny2 + fabs(s) ; if( st < TSBOT ) return ; in apply_zshear() [all …]
|
H A D | thd_rot3d_byte.c | 157 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_xy() local 163 for( jj=0 ; jj < ny2 ; jj++ ){ /* first 1/2 of rows */ in flip_xy() 190 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_yz() local 220 int nx1=nx-1,nx2=nx/2, ny1=ny-1,ny2=ny/2, nz1=nz-1,nz2=nz/2, nxy=nx*ny ; in flip_xz() local 252 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_xshear() local 258 st = fabs(a)*ny2 + fabs(b)*nz2 + fabs(s); if( st < sbot ) return ; in apply_xshear() 291 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_yshear() local 359 float nx2=0.5*nx1 , ny2=0.5*ny1 , nz2=0.5*nz1 ; in apply_zshear() local 366 st = fabs(a)*nx2 + fabs(b)*ny2 + fabs(s) ; if( st < sbot ) return ; in apply_zshear() 379 wk[xx] = fabs(a*(ii+xx-nx2)+b*(jj-ny2)+s) > TSBOT in apply_zshear() [all …]
|
/dports/net-im/centerim/centerim-4.22.10/kkconsui/src/ |
H A D | textbrowser.cc | 27 textbrowser::textbrowser(int nx1, int ny1, int nx2, int ny2, int clr) { in textbrowser() argument 28 setcoords(nx1, ny1, nx2, ny2); in textbrowser() 47 void textbrowser::setcoords(int nx1, int ny1, int nx2, int ny2) { in setcoords() argument 51 y2 = ny2; in setcoords()
|
/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/ |
H A D | _hexbin_mapbox.py | 130 ny2 = ny 131 n = nx1 * ny1 + nx2 * ny2 139 lattice2 = np.zeros((nx2, ny2)) 141 c2 = (0 <= ix2) & (ix2 < nx2) & (0 <= iy2) & (iy2 < ny2) & ~bdist 158 lattice2 = np.empty((nx2, ny2), dtype=object) 160 for j in range(ny2): 168 if 0 <= ix2[i] < nx2 and 0 <= iy2[i] < ny2: 179 for j in range(ny2): 196 centers[nx1 * ny1 :, 0] = np.repeat(np.arange(nx2) + 0.5, ny2) 197 centers[nx1 * ny1 :, 1] = np.tile(np.arange(ny2), nx2) + 0.5
|
/dports/astro/sextractor/sextractor-2.5.0/src/ |
H A D | image.c | 472 ixs2,iys2, ix2,iy2, dix2,diy2, nx2,ny2, iys1a, ny1, hmw,hmh, in vignet_resample() local 515 ny2 = (int)((h1-1-ys1)/step2+1);/* nb of interpolated Im2 pixels along y */ in vignet_resample() 516 if (ny2>(iy2=h2-iys2)) in vignet_resample() 517 ny2 = iy2; in vignet_resample() 518 if (ny2<=0) in vignet_resample() 526 ny1 = (int)(ys1+ny2*step2)+INTERPW-hmh; /* Interpolated Im1 y size */ in vignet_resample() 585 QREALLOC(mask, double, ny2*INTERPH); /* Interpolation masks */ in vignet_resample() 586 QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ in vignet_resample() 587 QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ in vignet_resample() 595 for (j=ny2; j--; y1+=step2) in vignet_resample() [all …]
|