Home
last modified time | relevance | path

Searched refs:numPoints (Results 1 – 25 of 52) sorted by relevance

123

/third_party/skia/gm/
Dbatchedconvexpaths.cpp32 int numPoints = (i + 3) * 3; in onDraw() local
35 for (float j = 1; j < numPoints; j += 3) { in onDraw()
37 path.cubicTo(cosf(j/numPoints * k2PI), sinf(j/numPoints * k2PI), in onDraw()
38 cosf((j+1)/numPoints * k2PI), sinf((j+1)/numPoints * k2PI), in onDraw()
39 j+2 == numPoints ? 1 : cosf((j+2)/numPoints * k2PI), in onDraw()
40 j+2 == numPoints ? 0 : sinf((j+2)/numPoints * k2PI)); in onDraw()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_gesture.c53 int numPoints; member
336 int numPoints = 0; in dollarNormalize() local
345 for (i=1;i < path->numPoints; i++) { in dollarNormalize()
359 for (i = 1; i < path->numPoints; i++) { in dollarNormalize()
364 points[numPoints].x = path->p[i-1].x + in dollarNormalize()
366 points[numPoints].y = path->p[i-1].y + in dollarNormalize()
368 centroid.x += points[numPoints].x; in dollarNormalize()
369 centroid.y += points[numPoints].y; in dollarNormalize()
370 numPoints++; in dollarNormalize()
376 if (numPoints < DOLLARNPOINTS-1) { in dollarNormalize()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_conv_partial_opt_q15.c66 uint32_t numPoints, in arm_conv_partial_opt_q15() argument
92 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_opt_q15()
206 blkCnt = (numPoints) >> 2; in arm_conv_partial_opt_q15()
317 blkCnt = numPoints & 0x3; in arm_conv_partial_opt_q15()
322 blkCnt = numPoints; in arm_conv_partial_opt_q15()
Darm_conv_partial_fast_opt_q15.c66 uint32_t numPoints, in arm_conv_partial_fast_opt_q15() argument
91 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_fast_opt_q15()
205 blkCnt = (numPoints) >> 2; in arm_conv_partial_fast_opt_q15()
317 blkCnt = numPoints & 0x3; in arm_conv_partial_fast_opt_q15()
322 blkCnt = numPoints; in arm_conv_partial_fast_opt_q15()
Darm_conv_partial_f32.c87 uint32_t numPoints) in arm_conv_partial_f32() argument
107 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_f32()
141 check = firstIndex + numPoints; in arm_conv_partial_f32()
145 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t)numPoints) : 0; in arm_conv_partial_f32()
638 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_f32()
646 for (i = firstIndex; i <= (firstIndex + numPoints - 1); i++) in arm_conv_partial_f32()
Darm_conv_partial_q31.c64 uint32_t numPoints) in arm_conv_partial_q31() argument
86 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q31()
120 check = firstIndex + numPoints; in arm_conv_partial_q31()
124 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t)numPoints) : 0; in arm_conv_partial_q31()
599 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q31()
607 for (i = firstIndex; i <= (firstIndex + numPoints - 1); i++) in arm_conv_partial_q31()
Darm_conv_partial_q15.c66 uint32_t numPoints) in arm_conv_partial_q15() argument
84 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q15()
118 check = firstIndex + numPoints; in arm_conv_partial_q15()
122 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t)numPoints) : 0; in arm_conv_partial_q15()
718 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q15()
726 for (i = firstIndex; i <= (firstIndex + numPoints - 1); i++) in arm_conv_partial_q15()
Darm_conv_partial_opt_q7.c63 uint32_t numPoints, in arm_conv_partial_opt_q7() argument
80 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_opt_q7()
218 blkCnt = (numPoints) >> 2; in arm_conv_partial_opt_q7()
329 blkCnt = (numPoints) & 0x3; in arm_conv_partial_opt_q7()
Darm_conv_partial_q7.c64 uint32_t numPoints) in arm_conv_partial_q7() argument
88 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q7()
122 check = firstIndex + numPoints; in arm_conv_partial_q7()
126 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t)numPoints) : 0; in arm_conv_partial_q7()
718 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_q7()
726 for (i = firstIndex; i <= (firstIndex + numPoints - 1); i++) in arm_conv_partial_q7()
Darm_conv_partial_fast_q31.c64 uint32_t numPoints) in arm_conv_partial_fast_q31() argument
83 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_fast_q31()
117 check = firstIndex + numPoints; in arm_conv_partial_fast_q31()
121 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t)numPoints) : 0; in arm_conv_partial_fast_q31()
Darm_conv_partial_fast_q15.c63 uint32_t numPoints) in arm_conv_partial_fast_q15() argument
78 if ((firstIndex + numPoints) > ((srcALen + (srcBLen - 1U)))) in arm_conv_partial_fast_q15()
112 check = firstIndex + numPoints; in arm_conv_partial_fast_q15()
116 … blockSize1 = (blockSize1 > 0) ? ((check > (srcBLen - 1U)) ? blockSize1 : (int32_t) numPoints) : 0; in arm_conv_partial_fast_q15()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_rect.c961 const int numPoints = 16; in rect_testEnclosePoints() local
973 for (i=0; i<numPoints; i++) { in rect_testEnclosePoints()
994 …anyEnclosedNoResult = SDL_EnclosePoints((const SDL_Point *)points, numPoints, (const SDL_Rect *)NU… in rect_testEnclosePoints()
999 for (i=0; i<numPoints; i++) { in rect_testEnclosePoints()
1006 …anyEnclosed = SDL_EnclosePoints((const SDL_Point *)points, numPoints, (const SDL_Rect *)NULL, &res… in rect_testEnclosePoints()
1011 for (i=0; i<numPoints; i++) { in rect_testEnclosePoints()
1031 const int numPoints = 8; in rect_testEnclosePointsRepeatedInput() local
1044 for (i=0; i<numPoints; i++) { in rect_testEnclosePointsRepeatedInput()
1070 …anyEnclosedNoResult = SDL_EnclosePoints((const SDL_Point *)points, numPoints, (const SDL_Rect *)NU… in rect_testEnclosePointsRepeatedInput()
1075 for (i=0; i<numPoints; i++) { in rect_testEnclosePointsRepeatedInput()
[all …]
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dfiltering_functions.h579 uint32_t numPoints);
602 uint32_t numPoints,
625 uint32_t numPoints);
646 uint32_t numPoints);
669 uint32_t numPoints,
692 uint32_t numPoints);
713 uint32_t numPoints);
736 uint32_t numPoints,
759 uint32_t numPoints);
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sLongRunningShaderTests.cpp242 void genPositions (const tcu::RenderTarget& renderTarget, int numPoints, Vec2* positions) in genPositions() argument
247 if (width*height < numPoints) in genPositions()
250 for (int pointNdx = 0; pointNdx < numPoints; pointNdx++) in genPositions()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftoutln.c295 FT_UInt numPoints, in FT_Outline_New() argument
314 (FT_UInt)numContours > numPoints ) in FT_Outline_New()
317 if ( numPoints > FT_OUTLINE_POINTS_MAX ) in FT_Outline_New()
320 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_Outline_New()
321 FT_NEW_ARRAY( anoutline->tags, numPoints ) || in FT_Outline_New()
325 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New()
/third_party/skia/third_party/externals/freetype/src/base/
Dftoutln.c294 FT_UInt numPoints, in FT_Outline_New() argument
313 (FT_UInt)numContours > numPoints ) in FT_Outline_New()
316 if ( numPoints > FT_OUTLINE_POINTS_MAX ) in FT_Outline_New()
319 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_Outline_New()
320 FT_NEW_ARRAY( anoutline->tags, numPoints ) || in FT_Outline_New()
324 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New()
/third_party/freetype/src/base/
Dftoutln.c294 FT_UInt numPoints, in FT_Outline_New() argument
313 (FT_UInt)numContours > numPoints ) in FT_Outline_New()
316 if ( numPoints > FT_OUTLINE_POINTS_MAX ) in FT_Outline_New()
319 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_Outline_New()
320 FT_NEW_ARRAY( anoutline->tags, numPoints ) || in FT_Outline_New()
324 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp619 const deUint32 numPoints = static_cast<deUint32>(bufBytes / sizeof(deUint32)); in verifyTransformFeedbackBuffer() local
622 for (deUint32 i = 0; i < numPoints; ++i) in verifyTransformFeedbackBuffer()
675 const deUint32 numPoints = static_cast<deUint32>(tfBufBindingSizes[drawNdx] / sizeof(deUint32)); in iterate() local
683 vk.cmdDraw(*cmdBuffer, numPoints, 1u, 0u, 0u); in iterate()
759 const deUint32 numPoints = static_cast<deUint32>(chunkSizesList[drawNdx] / sizeof(deUint32)); in iterate() local
773 vk.cmdDraw(*cmdBuffer, numPoints, 1u, 0u, 0u); in iterate()
1023 const deUint32 numPoints = static_cast<deUint32>(bufBytes / sizeof(deUint32)); in verifyTransformFeedbackBuffer() local
1025 const deUint32 numPrimitives = numPoints / vertexPerPrimitive; in verifyTransformFeedbackBuffer()
1102 const deUint32 numPoints = bufBytes / static_cast<deUint32>(sizeof(float)); in verifyTransformFeedbackBuffer() local
1106 for (deUint32 i = 0; i < numPoints; ++i) in verifyTransformFeedbackBuffer()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp619 const deUint32 numPoints = static_cast<deUint32>(bufBytes / sizeof(deUint32)); in verifyTransformFeedbackBuffer() local
622 for (deUint32 i = 0; i < numPoints; ++i) in verifyTransformFeedbackBuffer()
675 const deUint32 numPoints = static_cast<deUint32>(tfBufBindingSizes[drawNdx] / sizeof(deUint32)); in iterate() local
683 vk.cmdDraw(*cmdBuffer, numPoints, 1u, 0u, 0u); in iterate()
759 const deUint32 numPoints = static_cast<deUint32>(chunkSizesList[drawNdx] / sizeof(deUint32)); in iterate() local
773 vk.cmdDraw(*cmdBuffer, numPoints, 1u, 0u, 0u); in iterate()
1023 const deUint32 numPoints = static_cast<deUint32>(bufBytes / sizeof(deUint32)); in verifyTransformFeedbackBuffer() local
1025 const deUint32 numPrimitives = numPoints / vertexPerPrimitive; in verifyTransformFeedbackBuffer()
1102 const deUint32 numPoints = bufBytes / static_cast<deUint32>(sizeof(float)); in verifyTransformFeedbackBuffer() local
1106 for (deUint32 i = 0; i < numPoints; ++i) in verifyTransformFeedbackBuffer()
[all …]
/third_party/node/lib/
Dpunycode.js179 const adapt = function(delta, numPoints, firstTime) { argument
182 delta += floor(delta / numPoints);
/third_party/node/deps/npm/node_modules/uri-js/node_modules/punycode/
Dpunycode.js179 const adapt = function(delta, numPoints, firstTime) { argument
182 delta += floor(delta / numPoints);
Dpunycode.es6.js179 const adapt = function(delta, numPoints, firstTime) { argument
182 delta += floor(delta / numPoints);
/third_party/flutter/skia/tests/
DPathTest.cpp3134 int numPoints = 0; in test_raw_iter() local
3143 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25]; in test_raw_iter()
3144 p.moveTo(expectedPts[numPoints]); in test_raw_iter()
3145 lastMoveToPt = expectedPts[numPoints]; in test_raw_iter()
3146 numPoints += 1; in test_raw_iter()
3152 expectedPts[numPoints++] = lastMoveToPt; in test_raw_iter()
3156 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25]; in test_raw_iter()
3157 p.lineTo(expectedPts[numPoints]); in test_raw_iter()
3158 numPoints += 1; in test_raw_iter()
3163 expectedPts[numPoints++] = lastMoveToPt; in test_raw_iter()
[all …]
/third_party/skia/tests/
DPathTest.cpp3160 int numPoints = 0; in test_range_iter() local
3169 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25]; in test_range_iter()
3170 path.moveTo(expectedPts[numPoints]); in test_range_iter()
3171 lastMoveToPt = expectedPts[numPoints]; in test_range_iter()
3172 numPoints += 1; in test_range_iter()
3178 expectedPts[numPoints++] = lastMoveToPt; in test_range_iter()
3182 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25]; in test_range_iter()
3183 path.lineTo(expectedPts[numPoints]); in test_range_iter()
3184 numPoints += 1; in test_range_iter()
3189 expectedPts[numPoints++] = lastMoveToPt; in test_range_iter()
[all …]
/third_party/node/deps/npm/node_modules/punycode/
Dpunycode.js217 function adapt(delta, numPoints, firstTime) { argument
220 delta += floor(delta / numPoints);

123