/dports/cad/iverilog/verilog-11.0/vvp/ |
H A D | draw_tt.c | 35 unsigned bv = 0, bdx; in draw_hex_table() local 37 for (bdx = 0 ; bdx < 4 ; bdx += 1) { in draw_hex_table() 38 switch ((idx >> (bdx * 2)) & 3) { in draw_hex_table() 42 bv |= 1<<bdx; in draw_hex_table() 81 unsigned bv = 0, bdx; in draw_oct_table() local 83 for (bdx = 0 ; bdx < 3 ; bdx += 1) { in draw_oct_table() 84 switch ((idx >> (bdx * 2)) & 3) { in draw_oct_table() 88 bv |= 1<<bdx; in draw_oct_table()
|
H A D | vvp_darray.cc | 136 for (unsigned bdx = 0; bdx < word_wid; bdx += 1) { in get_bitstream() local 138 vec.set_bit(vdx+bdx, BIT4_1); in get_bitstream() 203 for (unsigned bdx = 0; bdx < word_wid_; bdx += 1) { in get_bitstream() local 204 vvp_bit4_t bit = array_[adx].value(bdx); in get_bitstream() 206 vec.set_bit(vdx+bdx, bit); in get_bitstream() 265 for (unsigned bdx = 0; bdx < word_wid_; bdx += 1) { in get_bitstream() local 266 if (array_[adx].value(bdx)) in get_bitstream() 267 vec.set_bit(vdx+bdx, BIT4_1); in get_bitstream() 363 for (unsigned bdx = 0; bdx < word_wid; bdx += 1) { in get_bitstream() local 365 vec.set_bit(vdx+bdx, BIT4_1); in get_bitstream()
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudaoptflow/src/cuda/ |
H A D | farneback.cu | 52 #define bdx blockDim.x macro 80 row[bdx] = 0.f; in polynomialExpansion() 81 row[2*bdx] = 0.f; in polynomialExpansion() 107 b3 += (row[k + bdx] + row[-k + bdx]) * c_g[k]; in polynomialExpansion() 108 b6 += (row[k + bdx] - row[-k + bdx]) * c_xg[k]; in polynomialExpansion() 109 b5 += (row[k + 2*bdx] + row[-k + 2*bdx]) * c_g[k]; in polynomialExpansion() 161 const int x = bx * bdx + tx; in updateMatrices() 271 const int x = bx * bdx + tx; in updateFlow() 372 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) in boxFilter5() 469 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) in gaussianBlur() [all …]
|
/dports/finance/R-cran-plm/plm/R/ |
H A D | est_ldv.R | 146 bdx <- as.numeric(X %*% param) functionVar 147 lnl <- - psi(ytm1, yt, bdx) 148 selobs <- (bdx > - ytm1 & bdx < yt) 151 ( (ytm1 > - bdx & yt > bdx) * (- 2 * (yt - ytm1 - bdx)) + 152 (ytm1 > - bdx & yt < bdx) * ( 2 * ytm1) + 153 (ytm1 < - bdx & yt > bdx) * (- 2 * yt) ) * X 154 attr(lnl, "hessian") <- - crossprod( (ytm1 > - bdx & yt > bdx) * X) 161 bdx <- as.numeric((crossprod(t(X), coef(result)))) functionVar 162 V4 <- yt ^ 2 * (bdx <= - ytm1) + ytm1 ^ 2 * (yt <= bdx) + 163 (yt - ytm1 - bdx) ^ 2 * (bdx > - ytm1 & bdx < yt) [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/video/src/opencl/ |
H A D | optical_flow_farneback.cl | 50 #define bdx (int)get_local_size(0) 92 row[bdx] = 0.f; 93 row[2*bdx] = 0.f; 112 TYPE b3 = c_g[0] * row[bdx]; 113 TYPE b5 = c_g[0] * row[2*bdx]; 122 b3 += (row[k + bdx] + row[-k + bdx]) * c_g[k]; 123 b6 += (row[k + bdx] - row[-k + bdx]) * c_xg[k]; 124 b5 += (row[k + 2*bdx] + row[-k + 2*bdx]) * c_g[k]; 173 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) 213 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) [all …]
|
/dports/graphics/cairo/cairo-1.17.4/src/ |
H A D | cairo-line.c | 115 int32_t bdx = 0, bdy = 0; in lines_compare_x_for_y_general() local 133 bdx = b->p2.x - b->p1.x; in lines_compare_x_for_y_general() 134 if (bdx == 0) in lines_compare_x_for_y_general() 143 #define B _cairo_int64x32_128_mul (_cairo_int32x32_64_mul (bdx, ady), y - b->p1.y) in lines_compare_x_for_y_general() 156 return -bdx; /* ady * (y - b->top.y) is positive definite */ in lines_compare_x_for_y_general() 159 if ((adx ^ bdx) < 0) { in lines_compare_x_for_y_general() 167 bdx_ady = _cairo_int32x32_64_mul (bdx, ady); in lines_compare_x_for_y_general() 186 if ((bdx ^ dx) < 0) { in lines_compare_x_for_y_general() 192 dy_bdx = _cairo_int32x32_64_mul (y - b->p1.y, bdx); in lines_compare_x_for_y_general()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/cairo/src/ |
H A D | cairo-line.c | 115 int32_t bdx = 0, bdy = 0; in lines_compare_x_for_y_general() local 133 bdx = b->p2.x - b->p1.x; in lines_compare_x_for_y_general() 134 if (bdx == 0) in lines_compare_x_for_y_general() 143 #define B _cairo_int64x32_128_mul (_cairo_int32x32_64_mul (bdx, ady), y - b->p1.y) in lines_compare_x_for_y_general() 156 return -bdx; /* ady * (y - b->top.y) is positive definite */ in lines_compare_x_for_y_general() 159 if ((adx ^ bdx) < 0) { in lines_compare_x_for_y_general() 167 bdx_ady = _cairo_int32x32_64_mul (bdx, ady); in lines_compare_x_for_y_general() 186 if ((bdx ^ dx) < 0) { in lines_compare_x_for_y_general() 192 dy_bdx = _cairo_int32x32_64_mul (y - b->p1.y, bdx); in lines_compare_x_for_y_general()
|
/dports/www/firefox/firefox-99.0/gfx/cairo/cairo/src/ |
H A D | cairo-line.c | 115 int32_t bdx = 0, bdy = 0; in lines_compare_x_for_y_general() local 133 bdx = b->p2.x - b->p1.x; in lines_compare_x_for_y_general() 134 if (bdx == 0) in lines_compare_x_for_y_general() 143 #define B _cairo_int64x32_128_mul (_cairo_int32x32_64_mul (bdx, ady), y - b->p1.y) in lines_compare_x_for_y_general() 156 return -bdx; /* ady * (y - b->top.y) is positive definite */ in lines_compare_x_for_y_general() 159 if ((adx ^ bdx) < 0) { in lines_compare_x_for_y_general() 167 bdx_ady = _cairo_int32x32_64_mul (bdx, ady); in lines_compare_x_for_y_general() 186 if ((bdx ^ dx) < 0) { in lines_compare_x_for_y_general() 192 dy_bdx = _cairo_int32x32_64_mul (y - b->p1.y, bdx); in lines_compare_x_for_y_general()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/cairo/src/ |
H A D | cairo-line.c | 115 int32_t bdx = 0, bdy = 0; in lines_compare_x_for_y_general() local 133 bdx = b->p2.x - b->p1.x; in lines_compare_x_for_y_general() 134 if (bdx == 0) in lines_compare_x_for_y_general() 143 #define B _cairo_int64x32_128_mul (_cairo_int32x32_64_mul (bdx, ady), y - b->p1.y) in lines_compare_x_for_y_general() 156 return -bdx; /* ady * (y - b->top.y) is positive definite */ in lines_compare_x_for_y_general() 159 if ((adx ^ bdx) < 0) { in lines_compare_x_for_y_general() 167 bdx_ady = _cairo_int32x32_64_mul (bdx, ady); in lines_compare_x_for_y_general() 186 if ((bdx ^ dx) < 0) { in lines_compare_x_for_y_general() 192 dy_bdx = _cairo_int32x32_64_mul (y - b->p1.y, bdx); in lines_compare_x_for_y_general()
|
/dports/graphics/geos/geos-3.9.1/src/triangulate/quadedge/ |
H A D | TrianglePredicate.cpp | 51 long double bdx = b.x - p.x; in isInCircleNormalized() local 56 long double bdxcdy = bdx * cdy; in isInCircleNormalized() 62 long double blift = bdx * bdx + bdy * bdy; in isInCircleNormalized() 65 long double bdxady = bdx * ady; in isInCircleNormalized()
|
/dports/lang/slib/slib-3b6/ |
H A D | differ.scm | 215 (do ((bdx (+ -1 end-b) (+ -1 bdx)) 217 ((not (and (<= start-b bdx) 219 (eqv? (array-ref A adx) (array-ref B bdx)))) 222 ((not (and (< bsx bdx) 226 (let ((delta (- (- bdx bsx) (- adx asx)))) 246 (bdx start-b) 248 (cond ((>= bdx end-b) (- len-b len-a)) 250 (do ((idx bdx (+ 1 idx)) 254 ((eqv? (array-ref A adx) (array-ref B bdx)) 256 (loop (+ 1 adx) (+ 1 bdx) edx)) [all …]
|
H A D | pnm.scm | 130 (bdx 7 (+ -1 bdx)) 131 (bts 0 (+ bts (ash (if (array-ref row idx) 1 0) bdx)))) 135 (bdx 7 (+ -1 bdx)) 137 ((negative? bdx) 153 (bdx 7 (+ -1 bdx))) 155 (array-set! row (logbit? bdx byt) idx)))))
|
/dports/devel/ga/ga-5.8/global/examples/md_cluster/ |
H A D | pairs.F | 15 double precision br2(MAXAT),bdx(MAXAT),bdy(MAXAT),bdz(MAXAT) 180 bdx(jp) = ra(i,1,6) - xcrd(j) 181 bdx(jp) = bdx(jp) - xbox * anint(bdx(jp) / xbox) 187 br2(jp) = bdx(jp)**2 + bdy(jp)**2 + bdz(jp)**2 209 bdx(jp) = bdx(j) 229 ft(j,1) = dedr * bdx(j) 232 tprssr(j,1) = dedr*bdx(j)**2
|
/dports/devel/monotone/monotone-1.1/src/ |
H A D | lcs.cc | 398 long bdx = 0; in order_edits() local 400 while (bdx < len_b || adx < len_a) in order_edits() 407 ins > 0 && bdx >= (-1 + ins)) in order_edits() 418 else if (ins > 0 && bdx >= (-1 + ins)) in order_edits() 421 ++idx; ++ndx; ++bdx; in order_edits() 425 ++adx; ++bdx; in order_edits() 516 long bdx = start_b; in diff_to_ez() local 521 if (bdx >= end_b) in diff_to_ez() 534 if (a[adx] == b[bdx]) in diff_to_ez() 536 ++adx; ++bdx; in diff_to_ez() [all …]
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/triangulate/quadedge/ |
H A D | TrianglePredicate.java | 82 double bdx = b.x - p.x; in isInCircleNormalized() local 87 double abdet = adx * bdy - bdx * ady; in isInCircleNormalized() 88 double bcdet = bdx * cdy - cdx * bdy; in isInCircleNormalized() 91 double blift = bdx * bdx + bdy * bdy; in isInCircleNormalized() 224 DD bdx = DD.valueOf(b.x).selfSubtract(p.x); in isInCircleDDNormalized() local 229 DD abdet = adx.multiply(bdy).selfSubtract(bdx.multiply(ady)); in isInCircleDDNormalized() 230 DD bcdet = bdx.multiply(cdy).selfSubtract(cdx.multiply(bdy)); in isInCircleDDNormalized() 233 DD blift = bdx.multiply(bdx).selfAdd(bdy.multiply(bdy)); in isInCircleDDNormalized()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/hxt/predicates/include/ |
H A D | predicates.h | 60 double adx, bdx, cdx, ady, bdy, cdy, adz, bdz, cdz; in orient3d_inexact() local 64 bdx = pb[0] - pd[0]; in orient3d_inexact() 73 bdxcdy = bdx * cdy; in orient3d_inexact() 80 bdxady = bdx * ady; in orient3d_inexact()
|
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vobj/ |
H A D | predicates.cpp | 580 bdx = (qreal) (pb[0] - pd[0]); in incircleadapt() 586 Two_Product(bdx, cdy, bdxcdy1, bdxcdy0); in incircleadapt() 607 Two_Product(bdx, ady, bdxady1, bdxady0); in incircleadapt() 628 Two_Diff_Tail(pb[0], pd[0], bdx, bdxtail); in incircleadapt() 641 … + ((bdx * bdx + bdy * bdy) * ((cdx * adytail + ady * cdxtail) - (cdy * adxtail + adx * cdytail)) in incircleadapt() 662 Square(bdx, bdxbdx1, bdxbdx0); in incircleadapt() 1046 qreal adx, bdx, cdx, ady, bdy, cdy; in incircle() local 1053 bdx = pb[0] - pd[0]; in incircle() 1059 bdxcdy = bdx * cdy; in incircle() 1065 blift = bdx * bdx + bdy * bdy; in incircle() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/robust-0.1.2/src/ |
H A D | lib.rs | 132 let bdx = pb.x - pd.x; in incircle() localVariable 138 let bdxcdy = bdx * cdy; in incircle() 144 let blift = bdx * bdx + bdy * bdy; in incircle() 147 let bdxady = bdx * ady; in incircle() 173 let bdx = pb.x - pd.x; in incircleadapt() localVariable 179 let (bdxcdy1, bdxcdy0) = two_product(bdx, cdy); in incircleadapt() 212 let (bdxady1, bdxady0) = two_product(bdx, ady); in incircleadapt() 240 let bdxtail = two_diff_tail(pb.x, pd.x, bdx); in incircleadapt() 258 + ((bdx * bdx + bdy * bdy) in incircleadapt() 281 let (bdxbdx1, bdxbdx0) = square(bdx); in incircleadapt() [all …]
|
/dports/games/xataxx/xataxx/ |
H A D | main.c | 188 int bdx; in get_num_boards() local 195 fscanf(bdfile, "%d", &bdx); in get_num_boards() 197 if (bdx<1) { in get_num_boards() 201 return(bdx); in get_num_boards()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | math_boolean.cc | 68 mpq_class blift = bdx * bdx + bdy * bdy; in incircle() 799 bdx = pb[0] - pd[0]; in orient3dfast() 1253 bdx = pb[0] - pd[0]; in orient3d() 1262 bdxcdy = bdx * cdy; in orient3d() 1269 bdxady = bdx * ady; in orient3d() 1311 bdx = pb[0] - pd[0]; in incirclefast() 1320 blift = bdx * bdx + bdy * bdy; in incirclefast() 1456 ((bdx * bdx + bdy * bdy) * in incircleadapt() 1868 bdxcdy = bdx * cdy; in incircle() 1874 blift = bdx * bdx + bdy * bdy; in incircle() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/cairo/src/ |
H A D | cairo-spline.c | 124 double bdx, bdy, berr; in _cairo_spline_error_squared() local 131 bdx = _cairo_fixed_to_double (knots->b.x - knots->a.x); in _cairo_spline_error_squared() 151 u = bdx * dx + bdy * dy; in _cairo_spline_error_squared() 157 bdx -= dx; in _cairo_spline_error_squared() 160 bdx -= u/v * dx; in _cairo_spline_error_squared() 178 berr = bdx * bdx + bdy * bdy; in _cairo_spline_error_squared()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/cairo/cairo/src/ |
H A D | cairo-spline.c | 124 double bdx, bdy, berr; in _cairo_spline_error_squared() local 131 bdx = _cairo_fixed_to_double (knots->b.x - knots->a.x); in _cairo_spline_error_squared() 151 u = bdx * dx + bdy * dy; in _cairo_spline_error_squared() 157 bdx -= dx; in _cairo_spline_error_squared() 160 bdx -= u/v * dx; in _cairo_spline_error_squared() 178 berr = bdx * bdx + bdy * bdy; in _cairo_spline_error_squared()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/cairo/cairo/src/ |
H A D | cairo-spline.c | 124 double bdx, bdy, berr; in _cairo_spline_error_squared() local 131 bdx = _cairo_fixed_to_double (knots->b.x - knots->a.x); in _cairo_spline_error_squared() 151 u = bdx * dx + bdy * dy; in _cairo_spline_error_squared() 157 bdx -= dx; in _cairo_spline_error_squared() 160 bdx -= u/v * dx; in _cairo_spline_error_squared() 178 berr = bdx * bdx + bdy * bdy; in _cairo_spline_error_squared()
|
/dports/games/libretro-2048/libretro-2048-35a299c/cairo/src/ |
H A D | cairo-spline.c | 124 double bdx, bdy, berr; in _cairo_spline_error_squared() local 131 bdx = _cairo_fixed_to_double (knots->b.x - knots->a.x); in _cairo_spline_error_squared() 151 u = bdx * dx + bdy * dy; in _cairo_spline_error_squared() 157 bdx -= dx; in _cairo_spline_error_squared() 160 bdx -= u/v * dx; in _cairo_spline_error_squared() 178 berr = bdx * bdx + bdy * bdy; in _cairo_spline_error_squared()
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/libtess2/Source/ |
H A D | geom.c | 265 TESSreal adx, ady, bdx, bdy, cdx, cdy; in inCircle() local 271 bdx = v1->s - v->s; in inCircle() 276 abdet = adx * bdy - bdx * ady; in inCircle() 277 bcdet = bdx * cdy - cdx * bdy; in inCircle() 281 blift = bdx * bdx + bdy * bdy; in inCircle()
|