Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 25 of 223) sorted by relevance

123456789

/external/eigen/blas/f2c/
Dcomplexdots.c21 complex cdotc_(integer *n, complex *cx, integer in cdotc_() argument
30 --cx; in cdotc_()
33 cdotcw_(n, &cx[1], incx, &cy[1], incy, &res); in cdotc_()
37 complex cdotu_(integer *n, complex *cx, integer in cdotu_() argument
46 --cx; in cdotu_()
49 cdotuw_(n, &cx[1], incx, &cy[1], incy, &res); in cdotu_()
53 doublecomplex zdotc_(integer *n, doublecomplex *cx, integer *incx, in zdotc_() argument
62 --cx; in zdotc_()
65 zdotcw_(n, &cx[1], incx, &cy[1], incy, &res); in zdotc_()
69 doublecomplex zdotu_(integer *n, doublecomplex *cx, integer *incx, in zdotu_() argument
[all …]
/external/fonttools/Lib/fontTools/misc/
DbezierTools.py33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
62 xRoots = [t for t in solveQuadratic(ax3, bx2, cx) if 0 <= t < 1]
66 …points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt…
204 cx, cy = c
214 c1x = ax*t1**2 + bx*t1 + cx
229 cx, cy = c
240 c1x = (2*bx*t1 + cx + 3*ax*t1**2) * delta
242 d1x = ax*t1**3 + bx*t1**2 + cx*t1 + dx
[all …]
/external/mesa3d/src/mesa/math/
Dm_clip_tmp.h59 const GLfloat cx = from[0]; in TAG() local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
97 vProj[i][0] = cx * oow; in TAG()
139 const GLfloat cx = from[0]; in TAG() local
146 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
147 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
156 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
[all …]
Dm_debug_clip.c82 const GLfloat cx = from[0]; in ref_cliptest_points4() local
87 if ( -cx + cw < 0 ) mask |= CLIP_RIGHT_BIT; in ref_cliptest_points4()
88 if ( cx + cw < 0 ) mask |= CLIP_LEFT_BIT; in ref_cliptest_points4()
106 vProj[i][0] = cx * oow; in ref_cliptest_points4()
139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; in ref_cliptest_points3() local
141 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; in ref_cliptest_points3()
142 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT; in ref_cliptest_points3()
177 const GLfloat cx = from[0], cy = from[1]; in ref_cliptest_points2() local
179 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; in ref_cliptest_points2()
180 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT; in ref_cliptest_points2()
/external/icu/icu4c/source/common/
Ducnv_ext.cpp121 ucnv_extMatchToU(const int32_t *cx, int8_t sisoState, in ucnv_extMatchToU() argument
132 if(cx==NULL || cx[UCNV_EXT_TO_U_LENGTH]<=0) { in ucnv_extMatchToU()
137 toUTable=UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_INDEX, uint32_t); in ucnv_extMatchToU()
234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, in ucnv_extWriteToU() argument
251 UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_UCHARS_INDEX, UChar)+ in ucnv_extWriteToU()
276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, in ucnv_extInitialMatchToU() argument
287 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), in ucnv_extInitialMatchToU()
297 ucnv_extWriteToU(cnv, cx, in ucnv_extInitialMatchToU()
330 ucnv_extSimpleMatchToU(const int32_t *cx, in ucnv_extSimpleMatchToU() argument
341 match=ucnv_extMatchToU(cx, -1, in ucnv_extSimpleMatchToU()
[all …]
/external/skia/gm/
Dinversepaths.cpp14 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument
15 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); in generate_square()
21 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument
22 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); in generate_rect_line()
28 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument
30 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle()
34 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument
36 path.moveTo(cx - l / 2, cy); in generate_line()
37 path.lineTo(cx + l / 2, cy); in generate_line()
83 SkScalar cx = slideWidth / 2 + slideBoundary; in onDraw() local
[all …]
/external/jpeg/
Djmemdosa.asm49 push cx
53 mov cx,0 ; normal file attributes
64 pop cx
84 push cx
96 pop cx
116 push cx
122 mov cx,word ptr [bp+10] ; MS offset
130 pop cx
150 push cx
156 mov cx,word ptr [bp+12] ; number of bytes
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieRenderer.java83 float cx = bounds.centerX(); in drawSegment() local
99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle); in drawSegment()
100 PointF r1Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle); in drawSegment()
103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); in drawSegment()
104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); in drawSegment()
120 clip.lineTo(cx, cy); in drawSegment()
130 cx - donutSizePx, in drawSegment()
132 cx + donutSizePx, in drawSegment()
146 canvas.drawCircle(cx, cy, donutSizePx, f.getInnerEdgePaint()); in drawSegment()
149 canvas.drawCircle(cx, cy, rad, f.getOuterEdgePaint()); in drawSegment()
[all …]
/external/openssh/openbsd-compat/
Dport-linux.c182 char *oldctx, *newctx, *cx; in ssh_selinux_change_context() local
192 if ((cx = index(oldctx, ':')) == NULL || (cx = index(cx + 1, ':')) == in ssh_selinux_change_context()
202 if (strncmp(cx, SSH_SELINUX_UNCONFINED_TYPE, in ssh_selinux_change_context()
208 len = cx - oldctx + 1; in ssh_selinux_change_context()
211 if ((cx = index(cx + 1, ':'))) in ssh_selinux_change_context()
212 strlcat(newctx, cx, newlen); in ssh_selinux_change_context()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri_tmp.h119 int cx[NR_PLANES]; in TAG() local
126 cx[j] = (c[j] in TAG()
130 TAG(do_block_4)(task, tri, plane, px, py, cx); in TAG()
222 int cx[NR_PLANES]; in TAG() local
225 cx[j] = (c[j] in TAG()
232 TAG(do_block_16)(task, tri, plane, px, py, cx); in TAG()
315 const int cx = (plane[j].c - 1 in TRI_16() local
319 mask &= ~sign_bits4(cstep4[j], cx); in TRI_16()
346 const int cx = (plane[j].c in TRI_4() local
354 __m128i cstep0 = _mm_setr_epi32(cx, cx + dcdx, cx + dcdx*2, cx + dcdx*3); in TRI_4()
/external/skia/src/svg/parser/
DSkSVGCircle.cpp16 SVG_ATTRIBUTE(cx),
26 SkScalar cx, cy, r; in DEFINE_SVG_INFO() local
27 SkParse::FindScalar(f_cx.c_str(), &cx); in DEFINE_SVG_INFO()
31 left = cx - r; in DEFINE_SVG_INFO()
33 right = cx + r; in DEFINE_SVG_INFO()
DSkSVGEllipse.cpp16 SVG_ATTRIBUTE(cx),
27 SkScalar cx, cy, rx, ry; in DEFINE_SVG_INFO() local
28 SkParse::FindScalar(f_cx.c_str(), &cx); in DEFINE_SVG_INFO()
33 left = cx - rx; in DEFINE_SVG_INFO()
35 right = cx + rx; in DEFINE_SVG_INFO()
/external/libunwind/src/x86/
Dgetcontext-freebsd.S50 movw %fs, %cx
52 movw %gs, %cx
54 movw %ds, %cx
56 movw %es, %cx
58 movw %ss, %cx
60 movw %cs, %cx
/external/llvm/test/CodeGen/Mips/
Dmips16_fpret.ll9 @cx = global { float, float } { float 1.000000e+00, float 9.900000e+01 }, align 4
37 …%cx.real = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @cx, i32…
38 …%cx.imag = load float, float* getelementptr inbounds ({ float, float }, { float, float }* @cx, i32…
41 store float %cx.real, float* %real
42 store float %cx.imag, float* %imag
46 ; 1: lw $2, %lo(cx)(${{[0-9]+}})
/external/libvpx/libvpx/vpx_ports/
Dx86.h42 #define cpuid(func, func2, ax, bx, cx, dx)\ argument
45 : "=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) \
48 #define cpuid(func, func2, ax, bx, cx, dx)\ argument
53 : "=a" (ax), "=D" (bx), "=c" (cx), "=d" (dx) \
58 #define cpuid(func, func2, ax, bx, cx, dx)\ argument
64 : "=a" (ax), "=D" (bx), "=c" (cx), "=d" (dx) \
67 #define cpuid(func, func2, ax, bx, cx, dx)\ argument
73 : "=a" (ax), "=D" (bx), "=c" (cx), "=d" (dx) \
/external/libvpx/libvpx/vp8/common/x86/
Diwalsh_sse2.asm83 mov word ptr[rdx+32*2], cx
87 mov word ptr[rdx+32*6], cx
93 mov word ptr[rdx+32*10], cx
97 mov word ptr[rdx+32*14], cx
104 mov word ptr[rdx+32*3], cx
108 mov word ptr[rdx+32*7], cx
112 mov word ptr[rdx+32*11], cx
116 mov word ptr[rdx+32*15], cx
Diwalsh_mmx.asm103 mov word ptr[rdx+32*1], cx
107 mov word ptr[rdx+32*5], cx
111 mov word ptr[rdx+32*9], cx
115 mov word ptr[rdx+32*13], cx
122 mov word ptr[rdx+32*3], cx
126 mov word ptr[rdx+32*7], cx
130 mov word ptr[rdx+32*11], cx
134 mov word ptr[rdx+32*15], cx
/external/skia/src/core/
DSkBlitBWMaskTemplate.h30 int cx = clip.fLeft; in SK_BLITBWMASK_NAME() local
41 const uint8_t* bits = srcMask.getAddr1(cx, cy); in SK_BLITBWMASK_NAME()
42 SK_BLITBWMASK_DEVTYPE* device = bitmap.SK_BLITBWMASK_GETADDR(cx, cy); in SK_BLITBWMASK_NAME()
44 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) in SK_BLITBWMASK_NAME()
59 int left_edge = cx - maskLeft; in SK_BLITBWMASK_NAME()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java120 float cx = bt.getCenter().x, cy = bt.getCenter().y; in tubeProjection() local
126 v.set(positions.get(i)-cx, positions.get(i + 1)-cy, 0); in tubeProjection()
143 float sgn1 = Math.signum(triangle.get1().x-cx); in tubeProjection()
144 float sgn2 = Math.signum(triangle.get2().x-cx); in tubeProjection()
145 float sgn3 = Math.signum(triangle.get3().x-cx); in tubeProjection()
179 float cx = bs.getCenter().x, cy = bs.getCenter().y, cz = bs.getCenter().z; in sphereProjection() local
185 v.set(positions.get(i)-cx, positions.get(i + 1)-cy, 0); in sphereProjection()
194 v.set(positions.get(i)-cx, positions.get(i + 1)-cy, positions.get(i + 2)-cz); in sphereProjection()
204 float sgn1 = Math.signum(triangle.get1().x-cx); in sphereProjection()
205 float sgn2 = Math.signum(triangle.get2().x-cx); in sphereProjection()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aatritemp.h223 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable
227 array->z[count] = (GLuint) solve_plane(cx, cy, zPlane);
229 array->rgba[count][RCOMP] = solve_plane_chan(cx, cy, rPlane);
230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane);
231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane);
232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane);
285 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable
290 array->z[ix] = (GLuint) solve_plane(cx, cy, zPlane);
292 array->rgba[ix][RCOMP] = solve_plane_chan(cx, cy, rPlane);
293 array->rgba[ix][GCOMP] = solve_plane_chan(cx, cy, gPlane);
[all …]
/external/libpcap/msdos/
Dndis_0.asm79 mov cx,sp
83 push cx
90 mov si,cx
93 mov cx,&argsSize ;; Move the arguments to the stack.
94 shr cx,1
105 mov cx,sp
110 push cx
178 mov cx, [bp+12]
/external/skia/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp22 int cx = state.fC & 0x03; in testSimplifyDegeneratesMain() local
41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyDegeneratesMain()
51 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplifyDegeneratesMain()
80 int cx = c & 0x03; in DEF_TEST() local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax); in DEF_TEST()
DPathOpsSimplifyTrianglesThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyTrianglesMain() local
44 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyTrianglesMain()
54 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplifyTrianglesMain()
88 int cx = c & 0x03; in DEF_TEST() local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) { in DEF_TEST()
/external/pdfium/core/src/fxge/agg/agg23/
Dagg_math.h50 FX_FLOAT cx, FX_FLOAT cy, FX_FLOAT dx, FX_FLOAT dy, in calc_intersection() argument
53 FX_FLOAT num = FXSYS_Mul(ay - cy, dx - cx) - FXSYS_Mul(ax - cx, dy - cy); in calc_intersection()
54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); in calc_intersection()
/external/mesa3d/src/gallium/state_trackers/vega/
Darc.c247 arc->cx, arc->cy, in find_angles()
248 &arc->cx, &arc->cy); in find_angles()
259 vec0[0] = arc->x1 - arc->cx; in find_angles()
261 vec1[0] = arc->x2 - arc->cx; in find_angles()
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy); in find_angles()
326 x1 = arc->cx + a_cos_eta1 * arc->cos_theta - in check_endpoints()
333 x2 = arc->cx + a_cos_eta2 * arc->cos_theta - in check_endpoints()
369 double cx, cy; in arc_init() local
383 cx = cx1; in arc_init()
386 cx = cx0; in arc_init()
[all …]

123456789