/third_party/python/Objects/ |
D | genobject.c | 314 gen_close_iter(PyObject *yf) in gen_close_iter() argument 319 if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) { in gen_close_iter() 320 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter() 326 if (_PyObject_LookupAttrId(yf, &PyId_close, &meth) < 0) { in gen_close_iter() 327 PyErr_WriteUnraisable(yf); in gen_close_iter() 343 PyObject *yf = NULL; in _PyGen_yf() local 361 yf = f->f_valuestack[f->f_stackdepth-1]; in _PyGen_yf() 362 Py_INCREF(yf); in _PyGen_yf() 365 return yf; in _PyGen_yf() 372 PyObject *yf = _PyGen_yf(gen); in gen_close() local [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_reference_plane.txt | 41 If the reference plane is enabled, a fragment (xf,yf,zf) will have a 42 new z coordinate generated from (xf,yf) by giving it the same z value 43 that the reference plane would have at (xf,yf). 87 then if the incoming fragment has an x value of xf and a y value of yf, 90 zf = -(d + a*xf + b*yf) / c;
|
/third_party/openGLES/extensions/SGIX/ |
D | SGIX_reference_plane.txt | 41 If the reference plane is enabled, a fragment (xf,yf,zf) will have a 42 new z coordinate generated from (xf,yf) by giving it the same z value 43 that the reference plane would have at (xf,yf). 87 then if the incoming fragment has an x value of xf and a y value of yf, 90 zf = -(d + a*xf + b*yf) / c;
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylandtouch.c | 76 float yf = FIXED_TO_FLOAT * y; in touch_handle_touch() local 101 xf, yf, pressuref); in touch_handle_touch() 104 SDL_SendTouchMotion(deviceId, (SDL_FingerID)id, xf, yf, pressuref); in touch_handle_touch()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 231 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 238 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate() 249 float rd = 1.0f - (xh + yf) * 0.5f; in iterate() 250 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate() 381 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 382 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate()
|
D | es2fShaderBuiltinVarTests.cpp | 338 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local 339 const float z = (xf + yf) / 2.0f; in iterate() 430 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local 431 const float oow = ((xf + yf) < 1.0f) in iterate() 432 … ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) in iterate() 433 …rojectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); in iterate() 546 const float yf = (float(h-yo-1)+0.5f) / float(h); in iterate() local 547 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f); in iterate()
|
D | es2fBufferTestUtil.cpp | 537 float yf = float(y) / float(numPosY-1); in computeIndexVerifierPositions() local 539 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f); in computeIndexVerifierPositions()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 238 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 245 float d = m_evalFunc(Vec2(xf, yf)); in iterate() 256 float rd = 1.0f - (xh + yf) * 0.5f; in iterate() 257 float d = m_evalFunc(Vec2(xf, yf)); in iterate() 407 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 408 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
|
D | es3fShaderBuiltinVarTests.cpp | 356 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local 357 const float z = (xf + yf) / 2.0f; in iterate() 451 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local 452 const float oow = ((xf + yf) < 1.0f) in iterate() 453 … ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) in iterate() 454 …rojectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); in iterate() 570 const float yf = (float(h-yo-1)+0.5f) / float(h); in iterate() local 571 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f); in iterate()
|
D | es3fFragmentOutputTests.cpp | 410 const float yf = ((float)y - (float)cellY*cellH + 0.5f) / cellH; in renderFloatReference() local 415 const bool tri = xf + yf >= 1.0f; in renderFloatReference() 420 const float t = tri ? 1.0f-yf : yf; in renderFloatReference() 613 float yf = (float)y / (float)(gridHeight-1); in iterate() local 616 positions[(y*gridWidth + x)*4 + 1] = 2.0f*yf - 1.0f; in iterate() 666 float yf = (float)y / (float)(gridHeight-1); in iterate() local 668 float f0 = (xf + yf) * 0.5f; in iterate() 669 float f1 = 0.5f + (xf - yf) * 0.5f; in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 236 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 243 float d = m_evalFunc(Vec2(xf, yf)); in iterate() 254 float rd = 1.0f - (xh + yf) * 0.5f; in iterate() 255 float d = m_evalFunc(Vec2(xf, yf)); in iterate() 392 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local 393 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
|
/third_party/ffmpeg/libavfilter/ |
D | avf_ahistogram.c | 264 float yf, uf, vf; in filter_frame() local 267 yf = 256.0f / s->dchannels; in filter_frame() 268 uf = yf * M_PI; in filter_frame() 269 vf = yf * M_PI; in filter_frame() 328 s->out->data[0][y * s->out->linesize[0] + n] = yf; in filter_frame() 334 out[0] += aa * yf; in filter_frame()
|
D | avf_showspectrum.c | 512 float *yf, float *uf, float *vf) in color_range() argument 517 *yf = 256.0f / s->nb_display_channels; in color_range() 533 *uf = *yf; in color_range() 534 *vf = *yf; in color_range() 539 *uf = *yf * M_PI; in color_range() 540 *vf = *yf * M_PI; in color_range() 548 *yf = 256.0f; in color_range() 574 float yf, float uf, float vf, in pick_color() argument 607 out[0] = y * yf; in pick_color() 611 out[0] = a * yf; in pick_color() [all …]
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/transformations/ |
D | transformations_demo_inertial_motion.dart | 48 final double yf = _getPosition( 54 return Offset(xf, yf);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | PointSpritesTest.cpp | 105 int yf = static_cast<int>(floorf(s2p(pointY + v * pointWidth))); in testPointCoordAndPointSizeCompliance() local 107 float t = 0.5f + (yf + 0.5f - yw) / maxPointSize; in testPointCoordAndPointSizeCompliance() 110 EXPECT_PIXEL_NEAR(xf, yf, color[0], color[1], color[2], color[3], 4); in testPointCoordAndPointSizeCompliance()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | PointSpritesTest.cpp | 106 int yf = static_cast<int>(floorf(s2p(pointY + v * pointWidth))); in testPointCoordAndPointSizeCompliance() local 108 float t = 0.5f + (yf + 0.5f - yw) / maxPointSize; in testPointCoordAndPointSizeCompliance() 111 EXPECT_PIXEL_NEAR(xf, yf, color[0], color[1], color[2], color[3], 4); in testPointCoordAndPointSizeCompliance()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 204 const float yf = ((float)y + 0.5f) / (float)dstSize.y(); in iterate() local 207 const int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule in iterate() 209 const float triY = triNdx ? 1.0f-yf : yf; in iterate()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTestLog.cpp | 284 float yf = ((float)y + 0.5f) / (float)logImage.getHeight(); in writeImage() local 286 Vec4 s = access.sample2D(sampler, sampler.minFilter, xf, yf, 0)*pixelScale + pixelBias; in writeImage() 324 float yf = ((float)y + 0.5f) / (float)h; in writeImage() local 328 Vec4 s = access.sample3D(sampler, sampler.minFilter, xf, yf, zf); in writeImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 876 float yf[2]; in rasterizeExpectedResults() local 877 yf[0] = py * 0.5f * yLow + oy; in rasterizeExpectedResults() 878 yf[1] = py * 0.5f * yHigh + oy; in rasterizeExpectedResults() 883 deInt32 yBegin = deInt32(floorf(yf[0] + 0.5f)); in rasterizeExpectedResults() 884 deInt32 yEnd = deInt32(floorf(yf[1] + 0.5f)); in rasterizeExpectedResults()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sLongRunningShaderTests.cpp | 255 const float yf = 2.0f * ((float(yi) + 0.5f) / float(height)) - 1.0f; in genPositions() local 257 positions[pointNdx] = Vec2(xf, yf); in genPositions()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 90 float yf = (float)y / (float)gridSizeY; in generateVertices() local 93 …dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(s… in generateVertices()
|
D | glsRandomShaderCase.cpp | 172 float yf = (float)y / (float)m_gridHeight; in init() local 180 dst[1] = 1.0f + yf * -2.0f; in init() 192 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx); in init()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 412 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local 415 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. in sampleTextureNonProjected() 417 float triY = triNdx ? 1.0f-yf : yf; in sampleTextureNonProjected() 449 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local 452 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. in sampleTextureNonProjected() 454 float triY = triNdx ? 1.0f-yf : yf; in sampleTextureNonProjected() 711 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local 714 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. in sampleTextureNonProjected() 716 float triY = triNdx ? 1.0f-yf : yf; in sampleTextureNonProjected() 759 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 248 float yf = (float)y / (float)(gridVtxHeight-1); in execute() local 250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf); in execute()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingTests.cpp | 451 float yf = ((float)(y-y1) + 0.5f) / (float)(y2 - y1); in renderResource() local 452 bool tri = yf >= xf; in renderResource() 457 float t = tri ? 1.0f-yf : yf; in renderResource()
|