/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/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/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/typescript/tests/baselines/reference/ |
D | instantiationExpressions.js | 2 declare function fx<T>(x: T): T; 3 declare function fx<T>(x: T, n: number): T; 4 declare function fx<T, U>(t: [T, U]): [T, U]; 7 let f0 = fx<>; // Error 8 let f1 = fx<string>; // { (x: string): string; (x: string, n: number): string; } 9 let f2 = fx<string, number>; // (t: [string, number]) => [string, number] 10 let f3 = fx<string, number, boolean>; // Error 13 type T10 = typeof fx<>; // Error 14 type T11 = typeof fx<string>; // { (x: string): string; (x: string, n: number): string; } 15 type T12 = typeof fx<string, number>; // (t: [string, number]) => [string, number] [all …]
|
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;
|
D | instantiationExpressions.symbols | 2 declare function fx<T>(x: T): T; 3 >fx : Symbol(fx, Decl(instantiationExpressions.ts, 0, 0), Decl(instantiationExpressions.ts, 0, 32),… 9 declare function fx<T>(x: T, n: number): T; 10 >fx : Symbol(fx, Decl(instantiationExpressions.ts, 0, 0), Decl(instantiationExpressions.ts, 0, 32),… 17 declare function fx<T, U>(t: [T, U]): [T, U]; 18 >fx : Symbol(fx, Decl(instantiationExpressions.ts, 0, 0), Decl(instantiationExpressions.ts, 0, 32),… 30 let f0 = fx<>; // Error 32 >fx : Symbol(fx, Decl(instantiationExpressions.ts, 0, 0), Decl(instantiationExpressions.ts, 0, 32),… 34 let f1 = fx<string>; // { (x: string): string; (x: string, n: number): string; } 36 >fx : Symbol(fx, Decl(instantiationExpressions.ts, 0, 0), Decl(instantiationExpressions.ts, 0, 32),… [all …]
|
D | instantiationExpressions.types | 2 declare function fx<T>(x: T): T; 3 >fx : { <T>(x: T): T; <T>(x: T, n: number): T; <T, U>(t: [T, U]): [T, U]; } 6 declare function fx<T>(x: T, n: number): T; 7 >fx : { <T>(x: T): T; <T>(x: T, n: number): T; <T, U>(t: [T, U]): [T, U]; } 11 declare function fx<T, U>(t: [T, U]): [T, U]; 12 >fx : { <T>(x: T): T; <T>(x: T, n: number): T; <T, U>(t: [T, U]): [T, U]; } 18 let f0 = fx<>; // Error 20 >fx<> : { <T>(x: T): T; <T>(x: T, n: number): T; <T, U>(t: [T, U]): [T, U]; } 21 >fx : { <T>(x: T): T; <T>(x: T, n: number): T; <T, U>(t: [T, U]): [T, U]; } 23 let f1 = fx<string>; // { (x: string): string; (x: string, n: number): string; } [all …]
|
D | strictFunctionTypes1.types | 43 declare function fx(f: (x: "def") => void): void; 44 >fx : (f: (x: "def") => void) => void 63 const x3 = f3("abc", fo, fx); // "abc" | "def" 65 >f3("abc", fo, fx) : "def" | "abc" 69 >fx : (f: (x: "def") => void) => void 89 const x11 = f3(never, fo, fx); // "def" 91 >f3(never, fo, fx) : "def" 95 >fx : (f: (x: "def") => void) => void
|
D | strictFunctionTypes1.symbols | 68 declare function fx(f: (x: "def") => void): void; 69 >fx : Symbol(fx, Decl(strictFunctionTypes1.ts, 9, 37)) 85 const x3 = f3("abc", fo, fx); // "abc" | "def" 89 >fx : Symbol(fx, Decl(strictFunctionTypes1.ts, 9, 37)) 107 const x11 = f3(never, fo, fx); // "def" 112 >fx : Symbol(fx, Decl(strictFunctionTypes1.ts, 9, 37))
|
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeArgumentLists/ |
D | instantiationExpressions.ts | 4 declare function fx<T>(x: T): T; function 5 declare function fx<T>(x: T, n: number): T; 6 declare function fx<T, U>(t: [T, U]): [T, U]; 9 let f0 = fx<>; // Error 10 let f1 = fx<string>; // { (x: string): string; (x: string, n: number): string; } 11 let f2 = fx<string, number>; // (t: [string, number]) => [string, number] 12 let f3 = fx<string, number, boolean>; // Error 15 type T10 = typeof fx<>; // Error 16 type T11 = typeof fx<string>; // { (x: string): string; (x: string, n: number): string; } 17 type T12 = typeof fx<string, number>; // (t: [string, number]) => [string, number] [all …]
|
/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/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 419 float fx = viewport->scale[0] * -1.0f + viewport->translate[0]; in get_viewport_prescale() local 433 fx, in get_viewport_prescale() 461 fx = viewport->scale[0] * 1.0f + viewport->translate[0]; in get_viewport_prescale() 479 if (fx < 0) { in get_viewport_prescale() 480 prescale->translate[0] += fx; in get_viewport_prescale() 481 prescale->scale[0] *= fw / (fw + fx); in get_viewport_prescale() 482 fw += fx; in get_viewport_prescale() 483 fx = 0.0f; in get_viewport_prescale() 498 if (fx + fw > fb_width) { in get_viewport_prescale() 499 prescale->scale[0] *= fw / (fb_width - fx); in get_viewport_prescale() [all …]
|
/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()
|
D | PathOpsSimplifyDegenerateThreadedTest.cpp | 27 int fx = f & 0x03; in testSimplifyDegeneratesMain() local 30 != (ey - dy) * (fx - dx)) { in testSimplifyDegeneratesMain() 41 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain() 50 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyDegeneratesMain()
|
D | PathOpsSimplifyTrianglesThreadedTest.cpp | 31 int fx = f & 0x03; in testSimplifyTrianglesMain() local 33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplifyTrianglesMain() 44 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain() 53 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyTrianglesMain()
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
D | OverwriteDialog.rc | 11 #undef fx 14 #define fx (xc - iconSize - m) 28 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 44, fx, fy, SS_NOPREFIX 33 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 114, fx, fy, SS_NOPREFIX 70 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 20, fx, fy, SS_NOPREFIX 75 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 72, fx, fy, SS_NOPREFIX
|
/third_party/ffmpeg/tests/ref/fate/ |
D | sub-ass-to-ass-transcode | 45 Dialogue: 3,0:00:12.74,0:00:13.49,OP1-Romaji,,0,0,0,fx,{\an5\pos(352,54)\move(352,-101,352,54,0,400… 46 Dialogue: 3,0:00:12.78,0:00:14.28,OP1-Romaji,,0,0,0,fx,{\an5\pos(365,54)\move(365,-101,365,54,0,400… 47 Dialogue: 3,0:00:12.78,0:00:14.28,OP1-Romaji,,0,0,0,fx,{\an5\pos(383,54)\move(383,-101,383,54,0,400… 48 Dialogue: 3,0:00:12.78,0:00:14.28,OP1-Romaji,,0,0,0,fx,{\an5\pos(402,54)\move(402,-101,402,54,0,400… 49 Dialogue: 3,0:00:12.78,0:00:14.28,OP1-Romaji,,0,0,0,fx,{\an5\pos(416,54)\move(416,-101,416,54,0,400… 50 Dialogue: 3,0:00:12.78,0:00:15.11,OP1-Romaji,,0,0,0,fx,{\an5\pos(438,54)\move(438,-101,438,54,0,400… 51 Dialogue: 3,0:00:12.78,0:00:15.11,OP1-Romaji,,0,0,0,fx,{\an5\pos(455,54)\move(455,-101,455,54,0,400…
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 292 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows; in init() local 295 m_positions.push_back(fx); in init() 328 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init() local 331 m_positions.push_back(fx); in init() 359 float fx = -0.9f + 1.8f * (float)(i/2*2) / numStrips; in init() local 362 m_positions.push_back(fx); in init() 400 …float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numCo… in init() local 403 m_positions.push_back(fx); in init() 431 float fx = -0.9f + 1.8f * ((float)(i/3) + (i%3 == 2 ? 0.8f : 0.0f)) * 3 / numRows; in init() local 434 m_positions.push_back(fx); in init()
|
/third_party/ffmpeg/libavcodec/ |
D | motion_est.c | 125 int fx = c->direct_basis_mv[i][0] + hx; in cmp_direct_inline() local 127 …int bx = hx ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0]*(time_pb - time_pp)/time_pp + (… in cmp_direct_inline() 129 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline() 134 c->qpel_put[1][fxy](dst, ref[0] + (fx>>2) + (fy>>2)*stride, stride); in cmp_direct_inline() 137 c->hpel_put[1][fxy](dst, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 8); in cmp_direct_inline() 142 int fx = c->direct_basis_mv[0][0] + hx; in cmp_direct_inline() local 144 … int bx = hx ? fx - c->co_located_mv[0][0] : (c->co_located_mv[0][0]*(time_pb - time_pp)/time_pp); in cmp_direct_inline() 146 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline() 150 …c->qpel_put[1][fxy](c->temp , ref[0] + (fx>>2) + (fy>>2)*stride , stri… in cmp_direct_inline() 151 …c->qpel_put[1][fxy](c->temp + 8 , ref[0] + (fx>>2) + (fy>>2)*stride + 8 , stri… in cmp_direct_inline() [all …]
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afhints.c | 472 point->fx, in af_glyph_hints_dump_points() 647 *offset = ( dim == AF_DIMENSION_HORZ ) ? seg->first->fx in af_glyph_hints_get_segment_offset() 987 point->fx = (FT_Short)vec->x; in af_glyph_hints_reload() 992 end->fx = (FT_Short)outline->points[endpoint].x; in af_glyph_hints_reload() 1007 out_x = point->fx - prev->fx; in af_glyph_hints_reload() 1088 out_x = point->fx - prev->fx; in af_glyph_hints_reload() 1137 out_x += next->fx - point->fx; in af_glyph_hints_reload() 1196 in_x = point->fx - prev_v->fx; in af_glyph_hints_reload() 1199 out_x = next_u->fx - point->fx; in af_glyph_hints_reload() 1246 if ( ft_corner_is_flat( point->fx - prev_v->fx, in af_glyph_hints_reload() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | strictFunctionTypes1.ts | 14 declare function fx(f: (x: "def") => void): void; 18 const x3 = f3("abc", fo, fx); // "abc" | "def" 24 const x11 = f3(never, fo, fx); // "def"
|