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

12345678

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-187.js30 assertEquals(["f", undefined], "foo".match(/(?:(?=(f)o)fx|)./));
/external/clang/test/CodeGenCXX/
H A Ddebug-info-fn-template.cpp9 T fx(XF<T> xi) { function
15 template int fx(XF<int>);
/external/chromium_org/third_party/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_matrixProcs.cpp33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
61 return SkClampMax(fx >> 16, max);
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx)
96 X(const SkBitmapProcState&, SkFixed fx, int max) argument
130 X(const SkBitmapProcState& s, SkFixed fx, int max) argument
250 decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
267 decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[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/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_matrixProcs.cpp33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
61 return SkClampMax(fx >> 16, max);
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx)
96 X(const SkBitmapProcState&, SkFixed fx, int max) argument
130 X(const SkBitmapProcState& s, SkFixed fx, int max) argument
250 decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
267 decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
/external/chromium_org/third_party/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
150 decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
185 decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp255 SkFixed fx; local
264 // now initialize fx
265 fx = SkScalarToFixed(pt.fX) - (one >> 1);
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
273 SkASSERT((fx >> (16 + 14)) == 0);
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
275 fx += dx;
281 __m128i wide_fx = _mm_set_epi32(fx
377 SkFixed fx; local
499 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
573 SkFixed fx = SkScalarToFixed(srcPt.fX); local
[all...]
H A DSkBitmapProcState_matrix_neon.h34 SkFractionalInt fx; local
39 fx = SkScalarToFractionalInt(pt.fY);
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
42 fx = SkScalarToFractionalInt(pt.fX);
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
67 // now build fx/fx+dx/fx+2dx/fx
121 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
299 SkFractionalInt fx; local
368 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
[all...]
/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
150 decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
185 decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp255 SkFixed fx; local
264 // now initialize fx
265 fx = SkScalarToFixed(pt.fX) - (one >> 1);
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
273 SkASSERT((fx >> (16 + 14)) == 0);
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
275 fx += dx;
281 __m128i wide_fx = _mm_set_epi32(fx
377 SkFixed fx; local
499 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
573 SkFixed fx = SkScalarToFixed(srcPt.fX); local
[all...]
H A DSkBitmapProcState_matrix_neon.h34 SkFractionalInt fx; local
39 fx = SkScalarToFractionalInt(pt.fY);
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
42 fx = SkScalarToFractionalInt(pt.fX);
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
67 // now build fx/fx+dx/fx+2dx/fx
121 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
299 SkFractionalInt fx; local
368 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkClampRange.cpp36 void SkClampRange::initFor1(SkFixed fx) { argument
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
61 int64_t fx = fx0; local
64 int64_t ex = fx + (count - 1) * dx;
66 if ((uint64_t)(fx | ex) <= 0xFFFF) {
72 if (fx <= 0 && ex <= 0) {
77 if (fx >= 0xFFFF && ex >= 0xFFFF) {
94 fx
[all...]
H A DSkClampRange.h16 * Iteration fixed fx by dx, clamping as you go to [0..0xFFFF], this class
20 * range1: iterate as usual fx += dx
27 SkFixed fFx1; // initial fx value for the fCount1 range.
31 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
34 void initFor1(SkFixed fx);
/external/skia/src/effects/gradients/
H A DSkClampRange.cpp36 void SkClampRange::initFor1(SkFixed fx) { argument
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
61 int64_t fx = fx0; local
64 int64_t ex = fx + (count - 1) * dx;
66 if ((uint64_t)(fx | ex) <= 0xFFFF) {
72 if (fx <= 0 && ex <= 0) {
77 if (fx >= 0xFFFF && ex >= 0xFFFF) {
94 fx
[all...]
H A DSkClampRange.h16 * Iteration fixed fx by dx, clamping as you go to [0..0xFFFF], this class
20 * range1: iterate as usual fx += dx
27 SkFixed fFx1; // initial fx value for the fCount1 range.
31 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
34 void initFor1(SkFixed fx);
H A DSkRadialGradient.cpp84 SkFixed fx = SkScalarToFixed(sfx) >> 1; local
94 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1);
97 fx += dx;
104 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1);
108 fx += dx;
118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument
122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy));
127 fx += dx;
132 void shadeSpan16_radial_mirror(SkScalar fx, SkScala argument
138 shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
270 radial_completely_pinned(int fx, int dx, int fy, int dy) argument
284 no_need_for_radial_pin(int fx, int dx, int fy, int dy, int count) argument
322 SkFixed fx = SkScalarToFixed(sfx) >> 1; local
378 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
392 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
398 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DClampRangeTest.cpp35 const SkFixed fx, SkFixed 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
60 range.init(fx, dx, count, kV0, kV1);
61 slow_check(range, fx, dx, count);
89 SkFixed fx = rand.nextS() >> 1; local
92 SkFixed dx = (sx - fx) / count;
93 test_range(fx, dx, count);
100 SkFixed fx
34 slow_check(const SkClampRange& range, const SkFixed fx, SkFixed dx, int count) argument
[all...]
/external/skia/tests/
H A DClampRangeTest.cpp35 const SkFixed fx, SkFixed 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
60 range.init(fx, dx, count, kV0, kV1);
61 slow_check(range, fx, dx, count);
89 SkFixed fx = rand.nextS() >> 1; local
92 SkFixed dx = (sx - fx) / count;
93 test_range(fx, dx, count);
100 SkFixed fx
34 slow_check(const SkClampRange& range, const SkFixed fx, SkFixed dx, int count) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGRadialGradientElement.idl30 readonly attribute SVGAnimatedLength fx;
/external/chromium_org/third_party/skia/bench/
H A DInterpBench.cpp54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
55 SkFixed curr = SkFloatToFixed(fx);
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
74 int64_t curr = (int64_t)(fx * 65536 * 655536);
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
128 tmp = SkFloatToFixed(fx); ds
[all...]
/external/skia/bench/
H A DInterpBench.cpp54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
55 SkFixed curr = SkFloatToFixed(fx);
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
74 int64_t curr = (int64_t)(fx * 65536 * 655536);
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
128 tmp = SkFloatToFixed(fx); ds
[all...]

Completed in 370 milliseconds

12345678