/dports/dns/dq/dq-20181021/dq/ |
H A D | byte.c | 9 void byte_copy(void *yv, long long ylen, const void *xv) { in byte_copy() argument 15 for (i = 0; i < ylen; ++i) y[i] = x[i]; in byte_copy() 24 for (i = ylen - 1; i >= 0; --i) y[i] = x[i]; in byte_copyr() 34 if (ylen <= 0) return ylen; in byte_chr() 36 for (i = 0; i < ylen; ++i) if (y[i] == ch) break; in byte_chr() 46 if (ylen <= 0) return ylen; in byte_rchr() 49 if (u == -1) return ylen; in byte_rchr() 53 void byte_zero(void *yv, long long ylen) { in byte_zero() argument 58 for (i = 0; i < ylen; ++i) y[i] = 0; in byte_zero() 68 for (i = 0; i < ylen; ++i) diff |= x[i] ^ y[i]; in byte_isequal() [all …]
|
/dports/graphics/volpack/volpack-1.0b3/ |
H A D | vp_transpose.c | 50 int xlen, ylen, zlen; /* volume size */ local 65 ylen = vpc->ylen; 73 dst_xstride = ylen*zlen*bytes_per_voxel; 75 dst_zstride = ylen*bytes_per_voxel; 85 dst_zstride = xlen*ylen*bytes_per_voxel; 95 Alloc(vpc, blk, void *, xlen*ylen*zlen*bytes_per_voxel, 99 xlen, ylen, zlen, bytes_per_voxel); 126 int xlen, ylen, zlen; /* size of block in voxels per side */ 136 for (y = 0; y < ylen; y++) { 146 src_ptr += src_zstride - ylen*src_ystride; [all …]
|
/dports/science/devisor/devisor2.1/devisor2/grid/GUI/event/ |
H A D | GridAdjustment.java | 118 int ylen=perimeter[3]-perimeter[1]; in preZoom() local 121 int yadj=ylen/10; in preZoom() 124 ylen=ylen+ylen/10; in preZoom() 167 int ylen=perimeter[3]-perimeter[1]; in newZoom() local 170 int yadj=ylen/10; in newZoom() 173 ylen=ylen+ylen/10; in newZoom() 209 int ylen=perimeter[3]-perimeter[1]; in adjustZoom() local 212 int yadj=ylen/10; in adjustZoom() 215 ylen=ylen+ylen/10; in adjustZoom() 255 int yadj=ylen/10; in adjustmentValueChanged() [all …]
|
/dports/multimedia/dirac/dirac-1.0.2/libdirac_motionest/ |
H A D | downconvert_mmx.cpp | 193 for( int y=ylen-(Stage_I_Size*2) ; y<ylen-1 ; y+=2 , colpos++ ) in DoDownConvert() 203 …mmx_add (&old_data[y][x], &old_data[((y+1)<ylen)?(y+1):(ylen-1)][x], tap0, zero, &sum1.m, &sum2.m); in DoDownConvert() 204 …mmx_add(&old_data[y-1][x] , &old_data[((y+2)<ylen)?(y+2):(ylen-1)][x], tap1, zero, &sum1.m, &sum2.… in DoDownConvert() 205 …mmx_add(&old_data[y-2][x] , &old_data[((y+3)<ylen)?(y+3):(ylen-1)][x], tap2, zero, &sum1.m, &sum2.… in DoDownConvert() 206 …mmx_add(&old_data[y-3][x] , &old_data[((y+4)<ylen)?(y+4):(ylen-1)][x], tap3, zero, &sum1.m, &sum2.… in DoDownConvert() 225 sum = (old_data[y][x] + old_data[((y+1)<ylen)?(y+1):(ylen-1)][x])*StageI_I; in DoDownConvert() 226 sum += (old_data[y-1][x] + old_data[((y+2)<ylen)?(y+2):(ylen-1)][x])*StageI_II; in DoDownConvert() 227 sum += (old_data[y-2][x] + old_data[((y+3)<ylen)?(y+3):(ylen-1)][x])*StageI_III; in DoDownConvert() 228 sum += (old_data[y-3][x] + old_data[((y+4)<ylen)?(y+4):(ylen-1)][x])*StageI_IV; in DoDownConvert() 229 sum += (old_data[y-4][x] + old_data[((y+5)<ylen)?(y+5):(ylen-1)][x])*StageI_V; in DoDownConvert() [all …]
|
H A D | downconvert.cpp | 61 const int ylen = 2*new_data.LengthY(); in DoDownConvert() local 96 for( int y=Stage_I_Size*2 ; y<ylen-Stage_I_Size*2 ; y+=2 , colpos++ ) in DoDownConvert() 118 for( int y=ylen-(Stage_I_Size*2) ; y<ylen-1 ; y+=2 , colpos++ ) in DoDownConvert() 123 sum = (old_data[y][x] + old_data[((y+1)<ylen)?(y+1):(ylen-1)][x])*StageI_I; in DoDownConvert() 124 sum += (old_data[y-1][x] + old_data[((y+2)<ylen)?(y+2):(ylen-1)][x])*StageI_II; in DoDownConvert() 125 sum += (old_data[y-2][x] + old_data[((y+3)<ylen)?(y+3):(ylen-1)][x])*StageI_III; in DoDownConvert() 126 sum += (old_data[y-3][x] + old_data[((y+4)<ylen)?(y+4):(ylen-1)][x])*StageI_IV; in DoDownConvert() 127 sum += (old_data[y-4][x] + old_data[((y+5)<ylen)?(y+5):(ylen-1)][x])*StageI_V; in DoDownConvert() 128 sum += (old_data[y-5][x] + old_data[((y+6)<ylen)?(y+6):(ylen-1)][x])*StageI_VI; in DoDownConvert()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/console/ |
H A D | view.c | 63 view->yrel = view->ypos + (par->ylen - view->ylen) / 2; in setgeometry() 75 view->yrel = view->ypos + (par->ylen - view->ylen) / 2; in setgeometry() 79 view->yrel = par->ylen - view->ypos - view->ylen; in setgeometry() 83 view->yrel = par->ylen - view->ypos - view->ylen; in setgeometry() 87 view->yrel = par->ylen - view->ypos - view->ylen; in setgeometry() 91 view->yrel = view->ypos + (par->ylen - view->ylen) / 2; in setgeometry() 113 view->ylen = yl; in view_new() 194 yd = yl - view->ylen; in _resize() 196 view->ylen = yl; in _resize() 203 _resize (v, v->xlen + xd, v->ylen); in _resize() [all …]
|
/dports/math/arb/arb-2.21.1/arb_poly/ |
H A D | mullow_block.c | 31 yb = ylen - 1; in _arb_poly_get_scale() 470 ylen = FLINT_MIN(ylen, n); in _arb_poly_mullow_block() 486 ymlen = yrlen = ylen; in _arb_poly_mullow_block() 506 if (xlen == 0 || ylen == 0) in _arb_poly_mullow_block() 514 yz = _fmpz_vec_init(ylen); in _arb_poly_mullow_block() 517 ye = _fmpz_vec_init(ylen); in _arb_poly_mullow_block() 618 _fmpz_vec_clear(yz, ylen); in _arb_poly_mullow_block() 621 _fmpz_vec_clear(ye, ylen); in _arb_poly_mullow_block() 632 slong xlen, ylen, zlen; in arb_poly_mullow_block() local 635 ylen = poly2->length; in arb_poly_mullow_block() [all …]
|
/dports/math/cln/cln-1.3.6/src/polynomial/elem/ |
H A D | cl_UP_MI.h | 70 if (!(xlen == ylen)) in modint_equal() 103 if (ylen == 0) in modint_plus() 106 if (xlen > ylen) { in modint_plus() 113 cl_GV_MI::copy_elements(x,ylen,result,ylen,xlen-ylen); in modint_plus() 119 if (xlen < ylen) { in modint_plus() 172 if (ylen == 0) in modint_minus() 177 if (xlen > ylen) { in modint_minus() 184 cl_GV_MI::copy_elements(x,ylen,result,ylen,xlen-ylen); in modint_minus() 190 if (xlen < ylen) { in modint_minus() 238 if (ylen == 0) in modint_mul() [all …]
|
H A D | cl_UP_gen.h | 66 if (!(xlen == ylen)) in gen_equal() 99 if (ylen == 0) in gen_plus() 102 if (xlen > ylen) { in gen_plus() 111 if (xlen < ylen) { in gen_plus() 160 if (ylen == 0) in gen_minus() 165 if (xlen > ylen) { in gen_minus() 174 if (xlen < ylen) { in gen_minus() 222 if (ylen == 0) in gen_mul() 227 if (xlen < ylen) { in gen_mul() 242 var sintL j = ylen-1; in gen_mul() [all …]
|
H A D | cl_UP_number.h | 66 if (!(xlen == ylen)) in num_equal() 99 if (ylen == 0) in num_plus() 102 if (xlen > ylen) { in num_plus() 111 if (xlen < ylen) { in num_plus() 160 if (ylen == 0) in num_minus() 165 if (xlen > ylen) { in num_minus() 174 if (xlen < ylen) { in num_minus() 220 if (ylen == 0) in num_mul() 225 if (xlen < ylen) { in num_mul() 240 var sintL j = ylen-1; in num_mul() [all …]
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/lvledit/ |
H A D | lvledit_map.c | 182 if (EditLevel->ylen + 1 >= MAX_MAP_LINES) in insert_line_north() 188 tmp = EditLevel->map[EditLevel->ylen -1]; in insert_line_north() 206 if (EditLevel->ylen + 1 >= MAX_MAP_LINES) in insert_line_south() 209 EditLevel->ylen++; in insert_line_south() 233 for (i = 0; i < EditLevel->ylen; i++) { in insert_column_east() 256 for (i = 0; i < EditLevel->ylen; i++) { in insert_column_west() 306 for (i = 0; i < EditLevel->ylen; i++) { in remove_column_west() 326 if (EditLevel->ylen - 1 < MIN_MAP_LINES) in remove_line_north() 337 EditLevel->ylen--; in remove_line_north() 350 if (EditLevel->ylen - 1 < MIN_MAP_LINES) in remove_line_south() [all …]
|
/dports/graphics/urt/urt-3.1b1_12/tools/ |
H A D | pyrlib.c | 35 int xlen, ylen, nchan; local 72 minlen = (xlen < ylen) ? xlen : ylen; 101 gausspyr->ylen[0] = ylen; 119 bandpyr->ylen[0] = ylen; 235 pyr->ylen[i] = ysize; 737 xlen = bandpyr->xlen[0]; ylen = bandpyr->ylen[0]; 756 xlen,ylen,nchan); 782 ysize = ylen; 817 int xlen,ylen,nchan; 858 int xlen,ylen,nchan; [all …]
|
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/primer3/src/primer3_core/ |
H A D | dpal.c | 258 int xlen, ylen; local 280 ylen = strlen(Y); 336 const int xlen, ylen; 438 smax = S[0][ylen-1]; 439 I=0; J=ylen-1; 444 for(j=1; j<ylen; j++) { 597 const int xlen, ylen; 763 const int xlen, ylen; 782 CHECK_ERROR(ylen < 3, 858 const int xlen, ylen; [all …]
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/ |
H A D | automap.c | 103 if ((b < 0) || (b >= automap_level->ylen)) in update_automap_square() 158 if (end_y >= automap_level->ylen) in CollectAutomapData() 159 end_y = automap_level->ylen; in CollectAutomapData() 212 if (obstacle_start_y >= automap_level->ylen) in CollectAutomapData() 216 if (obstacle_end_y >= automap_level->ylen) in CollectAutomapData() 217 obstacle_end_y = automap_level->ylen - 1; in CollectAutomapData() 276 if (obstacle_start_y >= automap_level->ylen) in update_obstacle_automap() 277 obstacle_start_y = automap_level->ylen - 1; in update_obstacle_automap() 280 if (obstacle_end_y >= automap_level->ylen) in update_obstacle_automap() 281 obstacle_end_y = automap_level->ylen - 1; in update_obstacle_automap() [all …]
|
/dports/math/cln/cln-1.3.6/src/integer/elem/ |
H A D | cl_I_compare.cc | 38 var uintC ylen; in compare() local 76 ylen = TheBignum(y)->length; in compare() 77 if (xlen==ylen) in compare() 82 return (xlen > ylen ? signean_plus : signean_minus); in compare() 98 ylen = TheBignum(y)->length; in compare() 99 if (xlen==ylen) in compare() 103 return (xlen > ylen ? signean_minus : signean_plus); in compare()
|
/dports/deskutils/remind/remind-03.03.11/src/ |
H A D | hbcal.c | 145 if (ylen > 355) { in DaysInHebMonths() 147 ylen -= 30; in DaysInHebMonths() 167 int ylen; in HebToJul() local 175 ylen = DaysInHebYear(hy); in HebToJul() 176 monlens = DaysInHebMonths(ylen); in HebToJul() 202 int ylen; in JulToHeb() local 213 ylen = DaysInHebYear(y); in JulToHeb() 214 monlen = DaysInHebMonths(ylen); in JulToHeb() 296 int ylen; in GetValidHebDate() local 307 ylen = DaysInHebYear(yin); in GetValidHebDate() [all …]
|
/dports/math/cln/cln-1.3.6/src/integer/bitwise/ |
H A D | cl_I_logtest.cc | 72 var uintC ylen; in logtest() local 74 BN_to_NDS_nocopy(y, yMSDptr=,ylen=,); in logtest() 76 if (!(xlen==ylen)) in logtest() 78 { if (xlen<ylen) in logtest() 83 yMSDptr = yMSDptr mspop (ylen-xlen); in logtest() 90 xMSDptr = xMSDptr mspop (xlen-ylen); in logtest() 91 xlen = ylen; in logtest()
|
/dports/games/traingame/traingame-cb6513e/src/ |
H A D | Editor.cpp | 190 ylen = abs(ymax - ymin) + 1; in drag_box_size() 407 drag_box_size(xlen, ylen); in draw_initial_track() 412 else if (ylen == 1) in draw_initial_track() 426 drag_box_size(xlen, ylen); in draw_curve() 448 drag_box_size(xlen, ylen); in draw_unconstrained_track() 487 while (xlen > ylen) { in draw_unconstrained_track() 498 while (ylen > xlen) { in draw_unconstrained_track() 507 ylen--; in draw_unconstrained_track() 548 int xlen, ylen; in draw_constrained_track() local 549 drag_box_size(xlen, ylen); in draw_constrained_track() [all …]
|
/dports/biology/primer3/primer3-2.3.6/src/ |
H A D | dpal.c | 276 int xlen, ylen; in dpal() local 301 ylen = strlen((char *) Y); in dpal() 355 const int ylen, in _dpal_generic() argument 416 for(j=0; j<ylen; j++) { in _dpal_generic() 665 for(j=1; j<ylen; j++) { in _dpal_long_nopath_generic() 770 CHECK_ERROR(ylen < 3, in _dpal_long_nopath_maxgap1_local() 916 for(j=k+1; j<ylen; j++) { in _dpal_long_nopath_maxgap1_global_end() 1082 CHECK_ERROR(ylen < 3, in _dpal_long_nopath_maxgap1_local_end() 1098 for(j=0; j < ylen; j++) { in _dpal_long_nopath_maxgap1_local_end() 1109 for(j=1; j < ylen; j++) { in _dpal_long_nopath_maxgap1_local_end() [all …]
|
/dports/devel/notcurses/notcurses-3.0.1/src/demo/ |
H A D | box.c | 167 unsigned ylen, xlen; in box_demo() local 168 struct ncplane* n = notcurses_stddim_yx(nc, &ylen, &xlen); in box_demo() 183 int ytargbase = (ylen - targy) / 2; in box_demo() 220 ncplane_dim_yx(n, &ylen, &xlen); in box_demo() 221 --ylen; in box_demo() 222 while(ylen - y >= targy && xlen - x >= targx){ in box_demo() 231 ylen -= 2; in box_demo() 252 ncplane_dim_yx(n, &ylen, &xlen); in box_demo() 253 --ylen; in box_demo() 255 while(ylen - y >= targy && xlen - x >= targx){ in box_demo() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/tools/python/pizza/ |
H A D | cfg.py | 65 ylen = box[4]-box[1] 74 print >>f,"H0(2,2) = %20.10f A " % ylen 84 yfrac = (atom[3]-box[1])/ylen 120 ylen = box[4]-box[1] 129 print >>f,"H0(2,2) = %20.10f A " % ylen 139 yfrac = (atom[3]-box[1])/ylen 163 ylen = box[4]-box[1] 172 print >>f,"H0(2,2) = %20.10f A " % ylen 182 yfrac = (atom[3]-box[1])/ylen
|
/dports/science/sparta/sparta-20Oct2021/tools/pizza/ |
H A D | cfg.py | 65 ylen = box[4]-box[1] 74 print >>f,"H0(2,2) = %20.10f A " % ylen 84 yfrac = (atom[3]-box[1])/ylen 120 ylen = box[4]-box[1] 129 print >>f,"H0(2,2) = %20.10f A " % ylen 139 yfrac = (atom[3]-box[1])/ylen 163 ylen = box[4]-box[1] 172 print >>f,"H0(2,2) = %20.10f A " % ylen 182 yfrac = (atom[3]-box[1])/ylen
|
/dports/devel/systemc/systemc-2.3.4_pub_rev_20190614/src/sysc/datatypes/int/ |
H A D | sc_nbutils.cpp | 1273 ylen = vec_to_char(vlen, v, ylen, y); in vec_div_large() 1276 while ((--ylen >= 0) && (! y[ylen])) continue; in vec_div_large() 1277 ylen++; in vec_div_large() 1281 sc_assert(ylen > 1); in vec_div_large() 1290 sc_digit y2 = (y[ylen - 1] << BITS_PER_BYTE) + y[ylen - 2]; in vec_div_large() 1349 xk[ylen] = (uchar)((xk[ylen] + 1) & BYTE_MASK); in vec_div_large() 1474 ylen = vec_to_char(vlen, v, ylen, y); in vec_rem_large() 1477 while ((--ylen >= 0) && (! y[ylen])) continue; in vec_rem_large() 1478 ylen++; in vec_rem_large() 1491 sc_digit y2 = (y[ylen - 1] << BITS_PER_BYTE) + y[ylen - 2]; in vec_rem_large() [all …]
|
/dports/www/mediawiki135/mediawiki-1.35.5/includes/diff/ |
H A D | DiffFormatter.php | 127 * @param int $ylen 132 protected function block( $xbeg, $xlen, $ybeg, $ylen, &$edits ) { argument 133 $this->startBlock( $this->blockHeader( $xbeg, $xlen, $ybeg, $ylen ) ); 177 * @param int $ylen 181 protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) { argument 185 if ( $ylen > 1 ) { 186 $ybeg .= ',' . ( $ybeg + $ylen - 1 ); 189 return $xbeg . ( $xlen ? ( $ylen ? 'c' : 'd' ) : 'a' ) . $ybeg;
|
/dports/www/mediawiki136/mediawiki-1.36.3/includes/diff/ |
H A D | DiffFormatter.php | 127 * @param int $ylen 132 protected function block( $xbeg, $xlen, $ybeg, $ylen, &$edits ) { argument 133 $this->startBlock( $this->blockHeader( $xbeg, $xlen, $ybeg, $ylen ) ); 177 * @param int $ylen 181 protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) { argument 185 if ( $ylen > 1 ) { 186 $ybeg .= ',' . ( $ybeg + $ylen - 1 ); 189 return $xbeg . ( $xlen ? ( $ylen ? 'c' : 'd' ) : 'a' ) . $ybeg;
|