Searched refs:fx (Results 1 - 25 of 143) sorted by relevance

123456

/external/clang/test/CodeGenCXX/
H A Ddebug-info-fn-template.cpp9 T fx(XF<T> xi) { function
15 template int fx(XF<int>);
/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/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_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_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_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;
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;
/external/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
21 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
35 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { argument
53 ret = vshrq_n_s32(fx, 12);
63 // TILEX_PROCF(fx, max) (((fx)
99 sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) argument
146 decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
181 decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp262 // now initialize fx
263 SkFixed fx = mapper.fixedX(); local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
270 SkASSERT((fx >> (16 + 14)) == 0);
271 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
272 fx += dx;
278 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
279 fx
377 SkFixed fx = mapper.fixedX(); local
489 SkFixed fx = mapper.fixedX(); local
560 SkFixed fx = mapper.fixedX(); local
[all...]
H A DSkBitmapProcState_matrix_neon.h39 SkFractionalInt fx; local
44 fx = mapper.fractionalIntX();
57 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
70 // now build fx/fx+dx/fx+2dx/fx+3dx
75 fx1 = fx+dx;
79 lbase = vdupq_n_s32(SkFractionalIntToFixed(fx));
99 fx
121 SkFractionalInt fx = mapper.fractionalIntX(); local
299 SkFractionalInt fx; local
364 SkFixed fx = mapper.fixedX(); local
[all...]
/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...]
H A DSkClampRange.h32 * Iteration fixed fx by dx, clamping as you go to [0..kFracMax_SkGradFixed], this class
36 * range1: iterate as usual fx += dx
43 SkGradFixed fFx1; // initial fx value for the fCount1 range.
47 void init(SkGradFixed fx, SkGradFixed dx, int count, int v0, int v1);
59 void initFor1(SkGradFixed fx);
H A DSkLinearGradient.cpp236 unsigned fi = SkGradFixedToFixed(fx) >> SkGradientShaderBase::kCache32Shift; \
238 fx += dx; \
245 typedef void (*LinearShadeProc)(TileProc proc, SkGradFixed dx, SkGradFixed fx,
252 void shadeSpan_linear_vertical_lerp(TileProc proc, SkGradFixed dx, SkGradFixed fx, argument
259 unsigned fullIndex = proc(SkGradFixedToFixed(fx));
275 void shadeSpan_linear_clamp(TileProc proc, SkGradFixed dx, SkGradFixed fx, argument
280 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
292 fx = range.fFx1;
313 void shadeSpan_linear_mirror(TileProc proc, SkGradFixed dx, SkGradFixed fx, argument
318 unsigned fi = mirror_8bits(SkGradFixedToFixed(fx) >>
326 shadeSpan_linear_repeat(TileProc proc, SkGradFixed dx, SkGradFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
362 SkGradFixed dx, fx = SkScalarPinToGradFixed(srcPt.fX); local
642 lerp_color(float fx, const SkLinearGradient::LinearGradientContext::Rec* rec) argument
690 shade4_dx_clamp(SkPMColor dstC[], int count, float fx, float dx, float invDx, const float dither[2]) argument
807 float fx = srcPt.x(); local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
H A DBrentOptimizer.java107 double fx = computeObjectiveValue(x);
109 fx = -fx;
111 double fv = fx;
112 double fw = fx;
127 r = (x - w) * (fx - fv);
128 q = (x - v) * (fx - fw);
192 if (fu <= fx) {
201 fw = fx;
203 fx
[all...]
/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/bench/
H A DInterpBench.cpp62 void performTest(int16_t dst[], float fx, float dx, int count) override {
63 SkFixed curr = SkFloatToFixed(fx);
81 void performTest(int16_t dst[], float fx, float dx, int count) override {
82 int64_t curr = (int64_t)(fx * 65536 * 655536);
112 void performTest(int16_t dst[], float fx, float dx, int count) override {
113 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
132 void performTest(int16_t dst[], float fx, float dx, int count) override {
135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
136 tmp = SkFloatToFixed(fx); ds
[all...]
/external/ImageMagick/PerlMagick/demo/
H A DMakefile10 perl pixel-fx.pl
17 compose-specials.jpg single-pixels.gif pixel-fx.gif
/external/skia/src/image/
H A DSkImageShaderContext.h31 float fx[8]; member in struct:SkImageShaderContext
/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...]
/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/libedit/src/
H A Drefresh.c452 * the line. fx and sx is the number of characters inserted or deleted
457 re_clear_eol(EditLine *el, int fx, int sx, int diff) argument
460 ELRE_DEBUG(1, (__F, "re_clear_eol sx %d, fx %d, diff %d\n",
461 sx, fx, diff));
463 if (fx < 0)
464 fx = -fx;
467 if (fx > diff)
468 diff = fx;
506 int fx, s local
[all...]
/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/pdfium/core/fpdfdoc/
H A Dcsection.h43 CPVT_WordPlace SearchWordPlace(FX_FLOAT fx,
45 CPVT_WordPlace SearchWordPlace(FX_FLOAT fx,
/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...]

Completed in 559 milliseconds

123456