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

1234

/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.h21 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
28 static inline bool can_truncate_to_fixed_for_decal(SkFixed fx, argument
40 // Note: it seems the test should be (fx <= max && lastFx <= max); but
46 if ((unsigned)SkFixedFloorToInt(fx) >= max) {
51 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1);
H A DSkBitmapProcState_matrixProcs.cpp42 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
43 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
61 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
68 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
69 return SkClampMax(fx >> 16, max);
97 #define TILEX_PROCF(fx, max) SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1))
103 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
105 return SK_USHIFT16((unsigned)((fx)
[all...]
H A DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; local
28 fx = mapper.fractionalIntX();
40 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), max
87 SkFractionalInt fx = mapper.fractionalIntX(); local
[all...]
H A DSkBitmapProcState_matrix.h60 SkFractionalInt fx; local
68 // now initialize fx
69 fx = mapper.fractionalIntX();
73 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
81 SkFixed fixedFx = SkFractionalIntToFixed(fx);
83 fx += dx;
100 SkFixed fx = mapper.fixedX(); local
110 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
111 fx += dx;
H A DSkBitmapProcState_shaderproc.h28 SkFixed fx; local
46 // now initialize fx
47 fx = mapper.fixedX();
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX);
56 unsigned x0 = TILEX_PROCF(fx, maxX);
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
67 fx += dx;
/external/eigen/Eigen/src/Core/arch/NEON/
H A DMathFunctions.h23 Packet4f tmp, fx; local
44 fx = vmlaq_f32(p4f_half, x, p4f_cephes_LOG2EF);
47 tmp = vcvtq_f32_s32(vcvtq_s32_f32(fx));
50 Packet4ui mask = vcgtq_f32(tmp, fx);
53 fx = vsubq_f32(tmp, vreinterpretq_f32_u32(mask));
55 tmp = vmulq_f32(fx, p4f_cephes_exp_C1);
56 Packet4f z = vmulq_f32(fx, p4f_cephes_exp_C2);
78 mm = vcvtq_s32_f32(fx);
/external/skia/src/image/
H A DSkImageShaderContext.h31 float fx[8]; member in struct:SkImageShaderContext
/external/syslinux/com32/modules/
H A Dgpxecmd.c41 struct s_PXENV_FILE_EXEC *fx; local
43 fx = lmalloc(sizeof *fx);
44 if (!fx)
47 q = (char *)(fx + 1);
49 fx->Status = 1;
50 fx->Command.offs = OFFS(q);
51 fx->Command.seg = SEG(q);
60 pxe_call(PXENV_FILE_EXEC, fx);
H A Dsanboot.c41 struct s_PXENV_FILE_EXEC *fx; local
43 fx = lmalloc(sizeof *fx);
44 if (!fx)
47 q = (char *)(fx + 1);
49 fx->Status = 1;
50 fx->Command.offs = OFFS(q);
51 fx->Command.seg = SEG(q);
61 pxe_call(PXENV_FILE_EXEC, fx);
/external/eigen/Eigen/src/Core/arch/ZVector/
H A DMathFunctions.h49 Packet2d tmp, fx; local
55 fx = pmadd(p2d_cephes_LOG2EF, x, p2d_half);
57 fx = vec_floor(fx);
59 tmp = pmul(fx, p2d_cephes_exp_C1);
60 Packet2d z = pmul(fx, p2d_cephes_exp_C2);
80 emm0 = vec_ctsl(fx, 0);
/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);
91 SkFixed fx = rand.nextS() >> 1; local
94 SkFixed dx = (sx - fx) / count;
95 test_range(fx, dx, count);
102 SkFixed fx = rand.nextS();
105 test_range(fx, d
34 slow_check(const SkClampRange& range, const SkGradFixed fx, SkGradFixed dx, int count) argument
[all...]
H A DPathOpsSimplifyDegenerateThreadedTest.cpp27 int fx = f & 0x03; local
30 != (ey - dy) * (fx - dx)) {
42 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
51 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp31 int fx = f & 0x03; local
33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
54 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyQuadThreadedTest.cpp30 int fx = f & 0x03; local
46 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
59 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp30 int fx = f & 0x03; local
46 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
60 pathStr.appendf(" 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/skia/src/effects/gradients/
H A DSkClampRange.cpp77 void SkClampRange::initFor1(SkGradFixed fx) { argument
79 if (fx <= 0) {
81 } else if (fx < kFracMax_SkGradFixed) {
83 fFx1 = fx;
102 int64_t fx = fx0; local
108 !sk_64_sadd_check(fx, count_times_dx, &ex)) {
115 if ((uint64_t)(fx | ex) <= kFracMax_SkGradFixed) {
121 if (fx <= 0 && ex <= 0) {
126 if (fx >= kFracMax_SkGradFixed && ex >= kFracMax_SkGradFixed) {
139 fx
[all...]
/external/eigen/Eigen/src/Core/arch/AltiVec/
H A DMathFunctions.h160 Packet4f tmp, fx; local
167 fx = pmadd(x, p4f_cephes_LOG2EF, p4f_half);
169 fx = pfloor(fx);
171 tmp = pmul(fx, p4f_cephes_exp_C1);
172 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
188 emm0 = vec_cts(fx, 0);
252 Packet2d tmp, fx; local
259 fx = pmadd(x, p2d_cephes_LOG2EF, p2d_half);
261 fx
[all...]
/external/google-benchmark/test/
H A Dregister_benchmark_test.cc110 CustomFixture fx; local
111 benchmark::RegisterBenchmark("custom_fixture", fx);
/external/libcxx/utils/google-benchmark/test/
H A Dregister_benchmark_test.cc110 CustomFixture fx; local
111 benchmark::RegisterBenchmark("custom_fixture", fx);
/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);

Completed in 562 milliseconds

1234