Home
last modified time | relevance | path

Searched refs:verbs (Results 1 – 25 of 62) sorted by relevance

123

/external/skia/docs/examples/
DPath_getVerbs.cpp7 auto debugster = [](const char* prefix, const SkPath& path, uint8_t* verbs, int max) -> void { in draw() argument
8 int count = path.getVerbs(verbs, max); in draw()
11 for (int i = 0; i < std::min(count, max) && verbs; ++i) { in draw()
12 SkDebugf("%s ", verbStr[verbs[i]]); in draw()
19 uint8_t verbs[3]; in draw() local
21 debugster("zero max", path, verbs, 0); in draw()
22 debugster("too small", path, verbs, 2); in draw()
23 debugster("just right", path, verbs, path.countVerbs()); in draw()
DPath_Verb.cpp13 uint8_t verbs[7]; in draw() local
14 int count = path.getVerbs(verbs, (int) std::size(verbs)); in draw()
18 SkDebugf("k%s_Verb ", verbStr[verbs[i]]); in draw()
Dcount_verbs.cpp38 const char* verbs[6] = {"Move", "Line", "Quad", "Conic", "Cubic", "Close"}; in draw() local
43 canvas->drawString(SkStringPrintf("%-5s %3d", verbs[i], counts[i]), pt.fX, pt.fY, font, in draw()
/external/skia/tools/fonts/
Dcreate_test_font.cpp125 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
132 *verbs->append() = (SkPath::Verb)verb; in output_path_data()
153 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
199 SkTDArray<SkPath::Verb> verbs; in output_font() local
203 output_path_data(font, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
209 int verbCount = verbs.size(); in output_font()
212 SkPath::Verb verb = verbs[index]; in output_font()
DTestTypeface.cpp94 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { in init() argument
99 while ((verb = (SkPath::Verb)*verbs++) != SkPath::kDone_Verb) { in init()
DTestTypeface.h52 void init(const SkScalar* pts, const unsigned char* verbs);
/external/skia/gm/
Daarectmodes.cpp42 char verbs[] = { in test4() local
50 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
51 switch ((SkPath::Verb) verbs[i]) { in test4()
/external/skia/tests/
DSkPathRangeIterTest.cpp28 Verb verbs[] = { in DEF_TEST() local
58 for (Verb verb : verbs) { in DEF_TEST()
98 for (Verb verb : verbs) { in DEF_TEST()
DPathTest.cpp2839 uint8_t verbs[32]; in test_zero_length_paths() local
2901 …SSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, std::size(verbs))); in test_zero_length_paths()
2903 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]); in test_zero_length_paths()
4038 uint8_t verbs[4]; in test_addPathMode() local
4039 int verbcount = p.getVerbs(verbs, 4); in test_addPathMode()
4041 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb); in test_addPathMode()
4042 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb); in test_addPathMode()
4043 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb)); in test_addPathMode()
4044 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb); in test_addPathMode()
4056 uint8_t verbs[7]; in test_extendClosedPath() local
[all …]
/external/skia/src/core/
DSkPath_serial.cpp228 const uint8_t* verbs = buffer.skipCount<uint8_t>(vbs); in readFromMemory_EQ4Or5() local
247 verbs += vbs - 1; in readFromMemory_EQ4Or5()
255 switch (*verbs) { in readFromMemory_EQ4Or5()
285 verbs += verbsStep; in readFromMemory_EQ4Or5()
DSkPathPriv.h71 auto verbs = path.fPathRef->verbsBegin(); in IsClosedSingleContour() local
73 switch (verbs[i]) { in IsClosedSingleContour()
96 auto verbs = path.fPathRef->verbsBegin(); in LeadingMoveToCount() local
98 if (verbs[i] != SkPath::Verb::kMove_Verb) { in LeadingMoveToCount()
DSkPath.cpp1051 const uint8_t* verbs = fPathRef->verbsBegin(); in hasOnlyMoveTos() local
1053 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1054 *verbs == kQuad_Verb || in hasOnlyMoveTos()
1055 *verbs == kConic_Verb || in hasOnlyMoveTos()
1056 *verbs == kCubic_Verb) { in hasOnlyMoveTos()
1059 ++verbs; in hasOnlyMoveTos()
1511 const uint8_t* verbs = path.fPathRef->verbsEnd(); in reversePathTo() local
1517 while (verbs > verbsBegin) { in reversePathTo()
1518 uint8_t v = *--verbs; in reversePathTo()
1555 const uint8_t* verbs = src->fPathRef->verbsEnd(); in reverseAddPath() local
[all …]
DSkPathBuilder.cpp822 const uint8_t* verbs = src.fPathRef->verbsEnd(); in privateReverseAddPath() local
828 while (verbs > verbsBegin) { in privateReverseAddPath()
829 uint8_t v = *--verbs; in privateReverseAddPath()
/external/skia/src/pathops/
DSkOpBuilder.cpp33 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour() local
34 (void) path.getVerbs(verbs, verbCount); in one_contour()
36 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
/external/skia/tools/viewer/
DSimpleStrokerSlide.cpp79 const std::vector<uint8_t>& verbs() const { return fVerbs; } in verbs() function in __anonc7a6a1c40111::PathRecorder
308 const std::vector<uint8_t>& verbs = path.verbs(); in appendPathReversed() local
312 auto verb = static_cast<SkPath::Verb>(verbs[i]); in appendPathReversed()
DQuadStrokerSlide.cpp563 const uint8_t* verbs = SkPathPriv::VerbData(path); in draw_t_divs() local
564 if (path.countVerbs() < 2 || SkPath::kMove_Verb != verbs[0]) { in draw_t_divs()
568 auto verb = static_cast<SkPath::Verb>(verbs[1]); in draw_t_divs()
DVariableWidthStrokerSlide.cpp852 std::vector<uint8_t> verbs; in appendPathReversed() local
854 verbs.resize(numVerbs); in appendPathReversed()
856 path.getVerbs(verbs.data(), numVerbs); in appendPathReversed()
860 auto verb = static_cast<SkPath::Verb>(verbs[i]); in appendPathReversed()
/external/oss-fuzz/projects/nginx/fuzz/
Dhttp_request_fuzzer.dict6 # verbs
18 # Webdav/caldav verbs
/external/python/cpython2/Doc/library/
Dmacosa.rst49 but extends one or two verbs with extra arguments then the output suite will
57 which contains all the AppleScript verbs as methods, with the direct object as
62 The main Python class implementing the verbs also allows access to the
/external/skia/include/private/
DSkPathRef.h36 SkPathVerbAnalysis sk_path_analyze_verbs(const uint8_t verbs[], int count);
62 SkPathRef(PointsArray points, VerbsArray verbs, ConicWeightsArray weights, in SkPathRef() argument
65 , fVerbs(std::move(verbs)) in SkPathRef()
/external/skia/modules/canvaskit/
Dinterface.js60 CanvasKit.Path.MakeFromVerbsPointsWeights = function(verbs, pts, weights) { argument
61 var verbsPtr = copy1dArray(verbs, 'HEAPU8');
66 verbsPtr, verbs.length, pointsPtr, pts.length, weightsPtr, numWeights);
67 freeArraysThatAreNotMallocedByUsers(verbsPtr, verbs);
161 CanvasKit.Path.prototype.addVerbsPointsWeights = function(verbs, points, weights) { argument
162 var verbsPtr = copy1dArray(verbs, 'HEAPU8');
166 this._addVerbsPointsWeights(verbsPtr, verbs.length, pointsPtr, points.length,
168 freeArraysThatAreNotMallocedByUsers(verbsPtr, verbs);
/external/skia/include/core/
DSkPath.h459 int getVerbs(uint8_t verbs[], int max) const;
1538 RangeIter(const uint8_t* verbs, const SkPoint* points, const SkScalar* weights) in RangeIter() argument
1539 : fVerb(verbs), fPoints(points), fWeights(weights) { in RangeIter()
/external/AFLplusplus/dictionaries/
Dhttp.dict6 # verbs
/external/tensorflow/tensorflow/core/protobuf/
Dtensorflow_server.proto52 // Acceptable values include: "grpc", "grpc+verbs".
/external/skia/site/docs/user/modules/
Dpathkit.md232 - From a 2D array of verbs and arguments `PathKit.FromCmds(cmds)`
243 - A 2D array of verbs and arguments `path.toCmds()`
269 Returns an `SkPath` with the same verbs and arguments as the SVG string, or
283 Returns an `SkPath` with the verbs and arguments from the list or `null` on a
690 Returns a 2D Array of verbs and args. See `PathKit.FromCmds()` for more details.
896 Prints all the verbs and arguments to the console. Only available on Debug and

123