Home
last modified time | relevance | path

Searched refs:numSegments (Results 1 – 25 of 29) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYStepCalculatorTest.java43 int numSegments = 10; in testSubdivide() local
47 …XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal… in testSubdivide()
49 assertEquals(plotSize/(numSegments-1), step.getStepPix()); in testSubdivide()
55 … step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
56 assertEquals(plotSize/(numSegments-1), step.getStepPix()); in testSubdivide()
/external/skia/tests/
DStrokeIndirectTest.cpp242 for (float numSegments : firstNumSegments) { in check_first_resolve_levels() local
243 if (numSegments < 0) { in check_first_resolve_levels()
245 REPORTER_ASSERT(r, val == (int)numSegments); in check_first_resolve_levels()
250 if (!check_resolve_level(r, numSegments, *(*nextResolveLevel)++, tolerance)) { in check_first_resolve_levels()
307 float numSegments = rotation * tolerances.fNumRadialSegmentsPerRadian; in verifyResolveLevels() local
309 firstNumSegments.push_back(numSegments); in verifyResolveLevels()
310 } else if (!check_resolve_level(r, numSegments, *nextResolveLevel++, in verifyResolveLevels()
342 float numSegments = numParametricSegments + numRadialSegments; in verifyResolveLevels() local
345 firstNumSegments.push_back(numSegments); in verifyResolveLevels()
346 } else if (!check_resolve_level(r, numSegments, *nextResolveLevel++, in verifyResolveLevels()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp158 int numSegments = wangs_formula_quadratic(p0, p1, p2); in quadraticTo() local
159 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in quadraticTo()
160 if (numSegments <= 1) { in quadraticTo()
172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo()
227 this->recordStroke(Verb::kQuadraticStroke, SkNextLog2(numSegments)); in quadraticTo()
286 int numSegments = wangs_formula_cubic(p0, p1, p2, p3); in cubicTo() local
287 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in cubicTo()
288 if (numSegments <= 1) { in cubicTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo()
382 this->recordStroke(Verb::kCubicStroke, SkNextLog2(numSegments)); in cubicTo()
DGrCCStroker.cpp44 inline void set(const SkPoint[4], float dx, float dy, float strokeRadius, int numSegments);
46 int numSegments);
50 int numSegments) { in set() argument
53 this->set(X, Y, dx, dy, strokeRadius, numSegments); in set()
57 float strokeRadius, int numSegments) { in set() argument
61 fNumSegments = static_cast<float>(numSegments); in set()
/external/skqp/gm/
Ddegeneratesegments.cpp303 unsigned numSegments = SK_ARRAY_COUNT(gSegmentFunctions); in onDraw() local
322 unsigned s1 = (rand.nextU() >> 16) % numSegments; in onDraw()
323 unsigned s2 = (rand.nextU() >> 16) % numSegments; in onDraw()
324 unsigned s3 = (rand.nextU() >> 16) % numSegments; in onDraw()
325 unsigned s4 = (rand.nextU() >> 16) % numSegments; in onDraw()
326 unsigned s5 = (rand.nextU() >> 16) % numSegments; in onDraw()
/external/skia/gm/
Ddegeneratesegments.cpp307 unsigned numSegments = SK_ARRAY_COUNT(gSegmentFunctions); in onDraw() local
325 unsigned s1 = (rand.nextU() >> 16) % numSegments; in onDraw()
326 unsigned s2 = (rand.nextU() >> 16) % numSegments; in onDraw()
327 unsigned s3 = (rand.nextU() >> 16) % numSegments; in onDraw()
328 unsigned s4 = (rand.nextU() >> 16) % numSegments; in onDraw()
329 unsigned s5 = (rand.nextU() >> 16) % numSegments; in onDraw()
/external/sonivox/arm-wt-22k/lib_src/
Djet_data.h151 EAS_U8 numSegments; member
Djet.c288 easHandle->jetHandle->numSegments = (EAS_U8) temp; in JetParseInfoChunk()
384 if (smfChunkNum < easHandle->jetHandle->numSegments) in JET_OpenFile()
622 if (segmentNum >= easHandle->jetHandle->numSegments) in JET_QueueSegment()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathParser.java544 int numSegments = Math.abs((int) Math.ceil(sweep * 4 / Math.PI)); in arcToBezier() local
554 double anglePerSegment = sweep / numSegments; in arcToBezier()
555 for (int i = 0; i < numSegments; i++) { in arcToBezier()
/external/llvm-project/lld/wasm/
DSyntheticSections.cpp419 numSegments(std::count_if( in DataCountSection()
424 writeUleb128(bodyOutputStream, numSegments, "data count"); in writeBody()
428 return numSegments && config->sharedMemory; in isNeeded()
DSyntheticSections.h272 uint32_t numSegments;
/external/gptfdisk/
Dgpt.h190 uint64_t FindFreeBlocks(uint32_t *numSegments, uint64_t *largestSegment);
Dgpt.cc214 uint32_t i, numSegments, testAlignment = sectorAlignment; in Verify() local
423 totalFree = FindFreeBlocks(&numSegments, &largestSegment); in Verify()
426 << numSegments << "\nsegments, the largest of which is " in Verify()
2346 uint64_t GPTData::FindFreeBlocks(uint32_t *numSegments, uint64_t *largestSegment) { in FindFreeBlocks() argument
2370 *numSegments = num; in FindFreeBlocks()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c796 int16_t numSegments; in WebRtcIsac_DecodeInterpolLpcUb() local
812 numSegments = UB_LPC_VEC_PER_FRAME - 1; in WebRtcIsac_DecodeInterpolLpcUb()
818 numSegments = UB16_LPC_VEC_PER_FRAME - 1; in WebRtcIsac_DecodeInterpolLpcUb()
826 for (interpolCntr = 0; interpolCntr < numSegments; interpolCntr++) { in WebRtcIsac_DecodeInterpolLpcUb()
/external/skia/src/gpu/tessellate/
DGrStrokeIndirectTessellator.cpp630 int numSegments = 1 << resolveLevel; in num_edges_in_resolve_level() local
633 int numStrokeEdges = numSegments + 1; in num_edges_in_resolve_level()
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.h537 …void makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseV…
DSpvBuilder.cpp2638 void Builder::makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>… in makeSwitch() argument
2645 for (int s = 0; s < numSegments; ++s) in makeSwitch()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.h537 …void makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseV…
DSpvBuilder.cpp2642 void Builder::makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>… in makeSwitch() argument
2649 for (int s = 0; s < numSegments; ++s) in makeSwitch()
/external/swiftshader/include/GLES2/
Dgl2ext.h3120 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3121 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
3197 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3198 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/external/mesa3d/include/GLES2/
Dgl2ext.h3286 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3287 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
3363 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3364 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/external/angle/include/GLES2/
Dgl2ext.h3302 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3303 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
3379 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3380 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/external/swiftshader/include/GL/
Dglcorearb.h5357 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
5358 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
5415 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
5416 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments
/external/mesa3d/include/GL/
Dglcorearb.h5505 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
5506 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
5563 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
5564 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments
Dglext.h10615 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
10616 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
10680 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
10681 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments

12