Searched defs:fx (Results 1 - 25 of 69) sorted by relevance

123

/external/clang/test/CodeGenCXX/
H A Ddebug-info-fn-template.cpp9 T fx(XF<T> xi) { function
15 template int fx(XF<int>);
/external/skia/src/core/
H A DSkBitmapProcState_utils.h14 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
35 SkFixed fx = SkFractionalIntToFixed(frX); local
36 return (unsigned)SkFixedFloorToInt(fx) <= max &&
37 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
H A DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; local
28 fx = SkScalarToFractionalInt(pt.fY);
30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY);
31 fx = SkScalarToFractionalInt(pt.fX);
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
43 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx),
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx
88 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
[all...]
H A DSkBitmapProcState_matrix.h61 SkFractionalInt fx; local
71 // now initialize fx
72 fx = SkScalarToFractionalInt(pt.fX) - (SkFixedToFractionalInt(one) >> 1);
76 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
77 decal_filter_scale(xy, SkFractionalIntToFixed(fx),
83 SkFixed fixedFx = SkFractionalIntToFixed(fx);
85 fx += dx;
105 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
115 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
116 fx
[all...]
H A DSkBitmapProcState_shaderproc.h30 SkFixed fx; local
50 // now initialize fx
51 fx = SkScalarToFixed(pt.fX) - (oneX >> 1);
59 unsigned subX = TILEX_LOW_BITS(fx, maxX);
60 unsigned x0 = TILEX_PROCF(fx, maxX);
61 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
71 fx += dx;
/external/skia/tests/
H A DClampRangeTest.cpp35 const SkGradFixed fx, SkGradFixed dx, int count) {
38 // If dx is large, fx will overflow if updated naively. So we use more bits.
39 int64_t bigfx = fx;
58 static void test_range(SkFixed fx, SkFixed dx, int count) { argument
59 const SkGradFixed gfx = SkFixedToGradFixed(fx);
92 SkFixed fx = rand.nextS() >> 1; local
95 SkFixed dx = (sx - fx) / count;
96 test_range(fx, dx, count);
103 SkFixed fx = rand.nextS();
106 test_range(fx, d
34 slow_check(const SkClampRange& range, const SkGradFixed fx, SkGradFixed dx, int count) argument
[all...]
H A DPathOpsSimplifyDegenerateThreadedTest.cpp31 int fx = f & 0x03; local
34 != (ey - dy) * (fx - dx)) {
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
55 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyQuadThreadedTest.cpp31 int fx = f & 0x03; local
47 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
62 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp31 int fx = f & 0x03; local
47 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
60 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp35 int fx = f & 0x03; local
37 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
48 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
58 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_cull.c67 const float fx = v1[0] - v2[0]; local
71 header->det = ex * fy - ey * fx;
H A Ddraw_pipe_offset.c81 float fx = v1[0] - v2[0]; local
87 float b = ez*fx - ex*fz;
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h56 const float fx = (float) ix; local
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy;
/external/pdfium/fpdfsdk/include/pdfwindow/
H A DPWL_ListBox.h30 void IOnSetScrollPosX(FX_FLOAT fx){} argument
/external/skia/src/effects/gradients/
H A DSkClampRange.cpp56 void SkClampRange::initFor1(SkGradFixed fx) { argument
58 if (fx <= 0) {
60 } else if (fx < kFracMax_SkGradFixed) {
62 fFx1 = fx;
81 int64_t fx = fx0; local
93 int64_t ex = fx + (count - 1) * dx;
95 if ((uint64_t)(fx | ex) <= kFracMax_SkGradFixed) {
101 if (fx <= 0 && ex <= 0) {
106 if (fx >= kFracMax_SkGradFixed && ex >= kFracMax_SkGradFixed) {
119 fx
[all...]
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h129 Packet4f tmp = _mm_setzero_ps(), fx; local
136 fx = pmadd(x, p4f_cephes_LOG2EF, p4f_half);
139 fx = _mm_floor_ps(fx);
141 emm0 = _mm_cvttps_epi32(fx);
144 Packet4f mask = _mm_cmpgt_ps(tmp, fx);
146 fx = psub(tmp, mask);
149 tmp = pmul(fx, p4f_cephes_exp_C1);
150 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
166 emm0 = _mm_cvttps_epi32(fx);
198 Packet2d tmp = _mm_setzero_pd(), fx; local
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_aalinetemp.h40 const GLfloat fx = (GLfloat) ix; local
60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane);
62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane);
63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane);
64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane);
65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane);
73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]);
76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ;
85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane);
88 attribArray[i][c] = solve_plane(fx, f
[all...]
/external/mesa3d/src/mesa/swrast_setup/
H A Dss_tritmp.h55 GLfloat fx = v[1]->attrib[FRAG_ATTRIB_WPOS][0] - v[2]->attrib[FRAG_ATTRIB_WPOS][0]; local
57 GLfloat cc = ex*fy - ey*fx;
146 const GLfloat dzdy = FABSF((ez * fx - ex * fz) * oneOverArea);
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
H A DUnivariateRealSolverImpl.java202 * @param fx the result to set
205 protected final void setResult(final double x, final double fx, argument
208 this.functionValue = fx;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
H A DAbstractUnivariateRealOptimizer.java118 * @param fx the result to set
123 protected final void setResult(final double x, final double fx, argument
126 this.functionValue = fx;
/external/clang/test/OpenMP/
H A Datomic_read_codegen.c20 float fv, fx; variable
126 fv = fx;
192 ulv = fx;
H A Datomic_update_codegen.cpp20 float fv, fx; variable
190 fx = fx + fv;
532 fx = fx * ulv;
H A Datomic_write_codegen.c20 float fv, fx; variable
126 fx = fv;
215 fx = ulv;
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; local
197 "\ninitial %f,%f %fx%f\n",
198 fx,
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0];
230 if (fx < 0) {
231 prescale.translate[0] += fx;
232 prescale.scale[0] *= fw / (fw + fx);
233 fw += fx;
234 fx = 0;
249 if (fx
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_texgen.c111 GLfloat u[3], two_nu, fx, fy, fz; local
115 fx = f[i][0] = u[0] - norm[0] * two_nu;
118 m[i] = fx * fx + fy * fy + (fz + 1.0F) * (fz + 1.0F);
139 GLfloat u[3], two_nu, fx, fy, fz; local
144 fx = f[i][0] = u[0] - norm[0] * two_nu;
147 m[i] = fx * fx + fy * fy + (fz + 1.0F) * (fz + 1.0F);

Completed in 494 milliseconds

123