/third_party/flutter/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 31 static inline bool can_truncate_to_fixed_for_decal(SkFixed fx, in can_truncate_to_fixed_for_decal() argument 49 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal() 54 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal() 64 static void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_nofilter_scale() argument 68 *dst++ = pack_two_shorts( (fx + 0) >> 16, in decal_nofilter_scale() 69 (fx + dx) >> 16); in decal_nofilter_scale() 70 fx += dx+dx; in decal_nofilter_scale() 75 case 2: ((uint16_t*)dst)[1] = SkToU16((fx + dx) >> 16); in decal_nofilter_scale() 76 case 1: ((uint16_t*)dst)[0] = SkToU16((fx + 0) >> 16); in decal_nofilter_scale() 88 SkFractionalInt fx; in nofilter_scale() local [all …]
|
D | SkBitmapProcState.cpp | 35 SkFractionalInt fx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local 41 fx = mapper.fractionalIntX(); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 49 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 50 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 54 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 55 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 56 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 57 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 65 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 68 fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() [all …]
|
D | SkScan_Antihair.cpp | 188 SkFixed drawCap(int y, SkFixed fx, SkFixed dx, int mod64) override { in drawCap() argument 190 fx += SK_Fixed1/2; in drawCap() 192 int x = fx >> 16; in drawCap() 193 int a = (uint8_t)((fx >> 8) & 0xFF); in drawCap() 204 return fx - SK_Fixed1/2; in drawCap() 207 SkFixed drawLine(int y, int stopy, SkFixed fx, SkFixed dx) override { in drawLine() argument 210 fx += SK_Fixed1/2; in drawLine() 212 int x = fx >> 16; in drawLine() 213 int a = (uint8_t)((fx >> 8) & 0xFF); in drawLine() 223 return fx - SK_Fixed1/2; in drawLine() [all …]
|
/third_party/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 24 static inline bool can_truncate_to_fixed_for_decal(SkFixed fx, in can_truncate_to_fixed_for_decal() argument 42 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal() 47 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal() 57 static void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_nofilter_scale() argument 61 *dst++ = pack_two_shorts( (fx + 0) >> 16, in decal_nofilter_scale() 62 (fx + dx) >> 16); in decal_nofilter_scale() 63 fx += dx+dx; in decal_nofilter_scale() 68 case 2: ((uint16_t*)dst)[1] = SkToU16((fx + dx) >> 16); [[fallthrough]]; in decal_nofilter_scale() 69 case 1: ((uint16_t*)dst)[0] = SkToU16((fx + 0) >> 16); in decal_nofilter_scale() 80 SkFractionalInt fx; in nofilter_scale() local [all …]
|
D | SkBitmapProcState.cpp | 34 SkFractionalInt fx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local 40 fx = mapper.fractionalIntX(); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 48 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 49 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 53 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 54 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 55 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 56 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 64 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 67 fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() [all …]
|
D | SkScan_Antihair.cpp | 193 SkFixed drawCap(int y, SkFixed fx, SkFixed dx, int mod64) override { in drawCap() argument 195 fx += SK_Fixed1/2; in drawCap() 197 int x = fx >> 16; in drawCap() 198 int a = (uint8_t)((fx >> 8) & 0xFF); in drawCap() 209 return fx - SK_Fixed1/2; in drawCap() 212 SkFixed drawLine(int y, int stopy, SkFixed fx, SkFixed dx) override { in drawLine() argument 215 fx += SK_Fixed1/2; in drawLine() 217 int x = fx >> 16; in drawLine() 218 int a = (uint8_t)((fx >> 8) & 0xFF); in drawLine() 228 return fx - SK_Fixed1/2; in drawLine() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShaderVariable_test.cpp | 193 Varying fx; in TEST() local 194 fx.type = GL_FLOAT; in TEST() 195 fx.precision = GL_MEDIUM_FLOAT; in TEST() 196 fx.name = "vary"; in TEST() 197 fx.mappedName = "m_vary"; in TEST() 198 fx.staticUse = true; in TEST() 199 fx.isInvariant = false; in TEST() 202 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx)); in TEST() 203 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx, 100)); in TEST() 205 EXPECT_TRUE(vx.isSameVaryingAtLinkTime(fx, 300)); in TEST() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShaderVariable_test.cpp | 193 ShaderVariable fx; in TEST() local 194 fx.type = GL_FLOAT; in TEST() 195 fx.precision = GL_MEDIUM_FLOAT; in TEST() 196 fx.name = "vary"; in TEST() 197 fx.mappedName = "m_vary"; in TEST() 198 fx.staticUse = true; in TEST() 199 fx.isInvariant = false; in TEST() 202 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx)); in TEST() 203 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx, 100)); in TEST() 205 EXPECT_TRUE(vx.isSameVaryingAtLinkTime(fx, 300)); in TEST() [all …]
|
/third_party/flutter/skia/bench/ |
D | InterpBench.cpp | 62 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 63 SkFixed curr = SkFloatToFixed(fx); in performTest() 81 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 82 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest() 112 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 113 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536); in performTest() 132 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; in performTest() 136 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; in performTest() 137 tmp = SkFloatToFixed(fx); dst[i + 2] = TILE(tmp, count); fx += dx; in performTest() [all …]
|
/third_party/skia/bench/ |
D | InterpBench.cpp | 62 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 63 SkFixed curr = SkFloatToFixed(fx); in performTest() 81 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 82 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest() 112 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 113 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536); in performTest() 132 void performTest(int16_t dst[], float fx, float dx, int count) override { in performTest() argument 135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; in performTest() 136 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; in performTest() 137 tmp = SkFloatToFixed(fx); dst[i + 2] = TILE(tmp, count); fx += dx; in performTest() [all …]
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fLinearGradient.cpp | 54 SkScalar pinFx<SkTileMode::kClamp>(SkScalar fx) { in pinFx() argument 55 return fx; in pinFx() 59 SkScalar pinFx<SkTileMode::kRepeat>(SkScalar fx) { in pinFx() argument 60 SkScalar f = SkScalarIsFinite(fx) ? SkScalarFraction(fx) : 0; in pinFx() 70 SkScalar pinFx<SkTileMode::kMirror>(SkScalar fx) { in pinFx() argument 71 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx() 106 SkLinearGradient::LinearGradient4fContext::findInterval(SkScalar fx) const { in findInterval() 107 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval() 114 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval() 130 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval() [all …]
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | Sk4fLinearGradient.cpp | 53 SkScalar pinFx<SkTileMode::kClamp>(SkScalar fx) { in pinFx() argument 54 return fx; in pinFx() 58 SkScalar pinFx<SkTileMode::kRepeat>(SkScalar fx) { in pinFx() argument 59 SkScalar f = SkScalarIsFinite(fx) ? SkScalarFraction(fx) : 0; in pinFx() 69 SkScalar pinFx<SkTileMode::kMirror>(SkScalar fx) { in pinFx() argument 70 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx() 105 SkLinearGradient::LinearGradient4fContext::findInterval(SkScalar fx) const { in findInterval() 106 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval() 113 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval() 129 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/dynamic/ |
D | sprinkle2.c | 41 GstElement *src, *fx; member 62 info->fx = gst_element_factory_make ("audiopanorama", NULL); in add_source() 65 g_object_set (info->fx, "panorama", pos, NULL); in add_source() 69 gst_bin_add (GST_BIN (pipeline), info->fx); in add_source() 73 info->fx_srcpad = gst_element_get_static_pad (info->fx, "src"); in add_source() 74 info->fx_sinkpad = gst_element_get_static_pad (info->fx, "sink"); in add_source() 84 gst_element_set_state (info->fx, GST_STATE_PLAYING); in add_source() 101 gst_element_set_locked_state (info->fx, TRUE); in remove_source() 106 gst_element_set_state (info->fx, GST_STATE_NULL); in remove_source() 121 gst_bin_remove (GST_BIN (pipeline), info->fx); in remove_source()
|
D | sprinkle3.c | 41 GstElement *bin, *src, *fx; member 64 info->fx = gst_element_factory_make ("audiopanorama", NULL); in add_source() 67 g_object_set (info->fx, "panorama", pos, NULL); in add_source() 71 gst_bin_add (GST_BIN (info->bin), info->fx); in add_source() 75 info->fx_srcpad = gst_element_get_static_pad (info->fx, "src"); in add_source() 76 info->fx_sinkpad = gst_element_get_static_pad (info->fx, "sink"); in add_source()
|
/third_party/boost/boost/math/tools/ |
D | minima.hpp | 35 T fu, fv, fw, fx; // function evaluations at u, v, w, x in brent_find_minima() local 42 fw = fv = fx = f(x); in brent_find_minima() 59 T r = (x - w) * (fx - fv); in brent_find_minima() 60 T q = (x - v) * (fx - fw); in brent_find_minima() 93 if(fu <= fx) in brent_find_minima() 106 fw = fx; in brent_find_minima() 107 fx = fu; in brent_find_minima() 137 return std::make_pair(x, fx); in brent_find_minima()
|
D | condition_numbers.hpp | 89 Real fx = f(x); in evaluation_condition_number() local 90 if (isnan(fx)) in evaluation_condition_number() 126 if (fx == 0) in evaluation_condition_number() 135 return abs(x*fp/fx); in evaluation_condition_number()
|
/third_party/weston/tests/ |
D | surface-global-test.c | 54 wl_fixed_t fx, fy; in PLUGIN_TEST() local 73 wl_fixed_from_int(5), &fx, &fy); in PLUGIN_TEST() 74 assert(fx == wl_fixed_from_int(17) && fy == wl_fixed_from_int(15)); in PLUGIN_TEST() 83 wl_fixed_from_int(100), &fx, &fy); in PLUGIN_TEST() 84 assert(fx == wl_fixed_from_int(16) && fy == wl_fixed_from_int(90)); in PLUGIN_TEST()
|
/third_party/ffmpeg/libavdevice/ |
D | dshow_common.c | 180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE() local 181 dshowdebug(" wFormatTag: %u\n", fx->wFormatTag); in ff_print_AM_MEDIA_TYPE() 182 dshowdebug(" nChannels: %u\n", fx->nChannels); in ff_print_AM_MEDIA_TYPE() 183 dshowdebug(" nSamplesPerSec: %lu\n", fx->nSamplesPerSec); in ff_print_AM_MEDIA_TYPE() 184 dshowdebug(" nAvgBytesPerSec: %lu\n", fx->nAvgBytesPerSec); in ff_print_AM_MEDIA_TYPE() 185 dshowdebug(" nBlockAlign: %u\n", fx->nBlockAlign); in ff_print_AM_MEDIA_TYPE() 186 dshowdebug(" wBitsPerSample: %u\n", fx->wBitsPerSample); in ff_print_AM_MEDIA_TYPE() 187 dshowdebug(" cbSize: %u\n", fx->cbSize); in ff_print_AM_MEDIA_TYPE()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_aalinetemp.h | 40 const GLfloat fx = (GLfloat) ix; in NAME() local 60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane); in NAME() 62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane); in NAME() 63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); in NAME() 64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane); in NAME() 65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane); in NAME() 73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]); in NAME() 76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ; in NAME() 85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME() 88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
|
/third_party/typescript/tests/baselines/reference/ |
D | dottedSymbolResolution1.types | 54 …n () { var $this: JQuery = $(''), thisBar = $this.find(".fx-usagebars-calloutbar… 61 >function () { var $this: JQuery = $(''), thisBar = $this.find(".fx-usagebars-cal… 69 …thisBar = $this.find(".fx-usagebars-calloutbar-this"); // bug lead to 'could not find dotted symbo… 71 >$this.find(".fx-usagebars-calloutbar-this") : JQuery 75 >".fx-usagebars-calloutbar-this" : ".fx-usagebars-calloutbar-this"
|
D | strictFunctionTypes1.js | 12 declare function fx(f: (x: "def") => void): void; 16 const x3 = f3("abc", fo, fx); // "abc" | "def" 22 const x11 = f3(never, fo, fx); // "def" 57 var x3 = f3("abc", fo, fx); // "abc" | "def" 60 var x11 = f3(never, fo, fx); // "def" 80 declare function fx(f: (x: "def") => void): void;
|
/third_party/skia/tests/ |
D | SkGlyphBufferTest.cpp | 30 float fx = x * step; in DEF_TEST() local 31 SkPoint roundedPos = SkPoint{fx, 0} + roundingSpec.halfAxisSampleFreq; in DEF_TEST() 47 float fx = x * step, fy = y * step; in DEF_TEST() local 48 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST() 64 float fx = x * step, fy = y * step; in DEF_TEST() local 65 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST() 86 float fx = x * step + kLargeDistance, fy = y * step + kLargeDistance; in DEF_TEST() local 87 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
|
/third_party/boost/libs/math/example/ |
D | root_finding_example.cpp | 97 T fx = x*x*x - a; // Difference (estimate x^3 - a). in operator ()() local 98 return fx; in operator ()() 214 T fx = x*x*x - a; // Difference (estimate x^3 - value). in operator ()() local 216 return std::make_pair(fx, dx); // 'return' both fx and dx. in operator ()() 271 T fx = x*x*x - a; // Difference (estimate x^3 - value). in operator ()() local 274 return std::make_tuple(fx, dx, d2x); // 'return' fx, dx and d2x. in operator ()() 393 T fx = boost::math::pow<5>(x) - a; // Difference (estimate x^3 - value). in operator ()() local 396 return std::make_tuple(fx, dx, d2x); // 'return' fx, dx and d2x. in operator ()()
|
D | root_finding_fifth.cpp | 136 T fx = x*x*x*x*x - value; // Difference (estimate x^5 - value). in operator ()() local 137 return fx; in operator ()() 261 T fx = z*z*z*z*z - value; // Difference estimate fx = x^5 - value. in operator ()() local 263 return std::make_pair(fx, d1x); // 'return' both fx and d1x. in operator ()() 331 T fx = x*x*x*x*x - value; // Difference (estimate x^3 - value). in operator ()() local 334 return std::make_tuple(fx, dx, d2x); // 'return' fx, dx and d2x. in operator ()()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 423 float fx = viewport->scale[0] * -1.0f + viewport->translate[0]; in get_viewport_prescale() local 437 fx, in get_viewport_prescale() 465 fx = viewport->scale[0] * 1.0f + viewport->translate[0]; in get_viewport_prescale() 483 if (fx < 0) { in get_viewport_prescale() 484 prescale->translate[0] += fx; in get_viewport_prescale() 485 prescale->scale[0] *= fw / (fw + fx); in get_viewport_prescale() 486 fw += fx; in get_viewport_prescale() 487 fx = 0.0f; in get_viewport_prescale() 502 if (fx + fw > fb_width) { in get_viewport_prescale() 503 prescale->scale[0] *= fw / (fb_width - fx); in get_viewport_prescale() [all …]
|