Searched defs:verbs (Results 1 - 25 of 28) sorted by relevance

12

/external/skia/gm/
H A Daarectmodes.cpp30 char verbs[] = { local
38 for (size_t i = 0; i < sizeof(verbs); ++i) {
39 switch ((SkPath::Verb) verbs[i]) {
/external/skia/src/gpu/ccpr/
H A DGrCCGeometry.h25 // These are the verbs that CCPR knows how to draw. If a path has any segments that don't map to
51 : fPoints(numSkPoints * 3) // Reserve for a 3x expansion in points and verbs.
55 const SkTArray<Verb, true>& verbs() const { SkASSERT(!fBuildingContour); return fVerbs; } function in class:GrCCGeometry
H A DGrCCPathParser.cpp108 fCurrPathVerbsIdx = fGeometry.verbs().count();
168 int numVerbs = fGeometry.verbs().count() - fCurrPathVerbsIdx - 1;
175 const SkTArray<GrCCGeometry::Verb, true>& verbs = fGeometry.verbs(); local
184 SkASSERT(GrCCGeometry::Verb::kBeginPath == verbs[fCurrPathVerbsIdx]);
185 for (int i = fCurrPathVerbsIdx + 1; i < fGeometry.verbs().count(); ++i) {
186 switch (verbs[i]) {
406 // Expand the ccpr verbs into GPU instance buffers.
407 for (GrCCGeometry::Verb verb : fGeometry.verbs()) {
/external/skia/src/pathops/
H A DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); local
19 (void) path.getVerbs(verbs, verbCount);
21 if (verbs[index] == SkPath::kMove_Verb) {
H A DSkPathOpsDebug.cpp629 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; local
630 SkDebugf("%s: {{", verbs[verb]);
/external/skqp/gm/
H A Daarectmodes.cpp30 char verbs[] = { local
38 for (size_t i = 0; i < sizeof(verbs); ++i) {
39 switch ((SkPath::Verb) verbs[i]) {
/external/skqp/src/core/
H A DSkPathPriv.h69 auto verbs = path.fPathRef->verbs(); local
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb
109 * Returns a C++11-iterable object that traverses a path's verbs in order. e.g:
119 void operator++() { --fVerb; } // verbs are laid out backwards in memory.
124 Iter begin() { return Iter{fPathRef->verbs() - 1}; }
125 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; }
133 * Returns a pointer to the verb data. Note that the verbs are stored backwards in memory and
/external/skqp/src/gpu/ccpr/
H A DGrCCGeometry.h25 // These are the verbs that CCPR knows how to draw. If a path has any segments that don't map to
50 : fPoints(numSkPoints * 3) // Reserve for a 3x expansion in points and verbs.
54 const SkTArray<Verb, true>& verbs() const { SkASSERT(!fBuildingContour); return fVerbs; } function in class:GrCCGeometry
/external/skqp/src/pathops/
H A DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); local
19 (void) path.getVerbs(verbs, verbCount);
21 if (verbs[index] == SkPath::kMove_Verb) {
H A DSkPathOpsDebug.cpp629 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; local
630 SkDebugf("%s: {{", verbs[verb]);
/external/skia/src/core/
H A DSkPathPriv.h69 auto verbs = path.fPathRef->verbs(); local
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb
115 * Returns a C++11-iterable object that traverses a path's verbs in order. e.g:
125 void operator++() { --fVerb; } // verbs are laid out backwards in memory.
130 Iter begin() { return Iter{fPathRef->verbs() - 1}; }
131 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; }
139 * Returns a pointer to the verb data. Note that the verbs are stored backwards in memory and
H A DSkPath_serial.cpp218 const uint8_t* verbs = buffer.skipCount<uint8_t>(vbs); local
239 switch (verbs[i]) {
H A DSkPath.cpp123 Stores the verbs and points as they are given to us, with exceptions:
683 copy_verbs_reverse(dst, fPathRef->verbs(), count);
1198 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); local
1200 if (*verbs == kLine_Verb ||
1201 *verbs == kQuad_Verb ||
1202 *verbs == kConic_Verb ||
1203 *verbs == kCubic_Verb) {
1206 ++verbs;
1639 const uint8_t* verbs = path.fPathRef->verbsMemBegin(); // points at the last verb
1640 if (!verbs) { // empt
1682 const uint8_t* verbs = src.fPathRef->verbsMemBegin(); // points at the last verb local
1880 const uint8_t* verbs = fVerbs; local
2556 const uint8_t* verbs = fCurrVerb; local
[all...]
/external/skia/tools/fonts/
H A DSkTestScalerContext.cpp51 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { argument
56 while ((verb = (SkPath::Verb) *verbs++) != SkPath::kDone_Verb) {
H A Dcreate_test_font.cpp141 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs,
154 *verbs->append() = verb;
175 *verbs->append() = SkPath::kDone_Verb;
235 SkTDArray<SkPath::Verb> verbs; local
239 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths);
249 int verbCount = verbs.count();
252 SkPath::Verb verb = verbs[index];
140 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
/external/skqp/tools/
H A DSkTestScalerContext.cpp51 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { argument
56 while ((verb = (SkPath::Verb) *verbs++) != SkPath::kDone_Verb) {
H A Dcreate_test_font.cpp140 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs,
153 *verbs->append() = verb;
174 *verbs->append() = SkPath::kDone_Verb;
234 SkTDArray<SkPath::Verb> verbs; local
238 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths);
248 int verbCount = verbs.count();
251 SkPath::Verb verb = verbs[index];
139 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
/external/adhd/cras/src/tests/
H A Dalsa_ucm_unittest.cc1332 /* Verifies the mapping between stream types and verbs are correct. */
1347 const char *verbs[] = { "HiFi", "Comment for Verb1", local
1353 fake_list["_verbs"] = verbs;
1363 const char *verbs[] = { "HiFi", "Comment for Verb1", local
1370 fake_list["_verbs"] = verbs;
/external/skia/include/private/
H A DSkPathRef.h25 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
26 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
32 * The points and verbs are stored in a single allocation. The points are at the begining of the
33 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
34 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the
35 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first
91 * Resets the path ref to a new verb and point count. The new verbs and points are
147 * Gets a path ref with no verbs or points.
242 * Rollsback a path ref to zero verbs an
256 const uint8_t* verbs() const { return fVerbs; } function in class:final
[all...]
/external/skqp/include/private/
H A DSkPathRef.h25 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
26 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
32 * The points and verbs are stored in a single allocation. The points are at the begining of the
33 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
34 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the
35 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first
91 * Resets the path ref to a new verb and point count. The new verbs and points are
147 * Gets a path ref with no verbs or points.
242 * Rollsback a path ref to zero verbs an
256 const uint8_t* verbs() const { return fVerbs; } function in class:final
[all...]
/external/skia/samplecode/
H A DSamplePathFuzz.cpp605 SkTDArray<uint8_t> verbs; local
606 verbs.setCount(verbCount);
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount);
610 if (verbs[index] != SkPath::kMove_Verb) {
/external/skqp/samplecode/
H A DSamplePathFuzz.cpp605 SkTDArray<uint8_t> verbs; local
606 verbs.setCount(verbCount);
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount);
610 if (verbs[index] != SkPath::kMove_Verb) {
/external/pcre/dist2/src/
H A Dpcre2_compile.c376 /* Table of special "verbs" like (*PRUNE). This is a short table, so it is
399 static const verbitem verbs[] = { variable
411 static const int verbcount = sizeof(verbs)/sizeof(verbitem);
5880 /* Deal with various "verbs" that can be introduced by '*'. */
5942 if (namelen == verbs[i].len &&
5950 if (verbs[i].op == OP_ACCEPT)
5987 if (verbs[i].op < 0) /* Argument is mandatory */
5992 setverb = *code++ = verbs[i].op;
5997 if (verbs[i].op_arg < 0) /* Argument is forbidden */
6002 setverb = *code++ = verbs[
[all...]
/external/skia/tests/
H A DPathTest.cpp1701 path.lineTo(0, 0); // too many points/verbs
2687 uint8_t verbs[32]; local
2749 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs)));
2751 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]);
3572 // the path isn't "empty" in that it should have verbs and points.
3848 uint8_t verbs[4]; local
3849 int verbcount = p.getVerbs(verbs, 4);
3851 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3852 REPORTER_ASSERT(reporter, verbs[
3866 uint8_t verbs[7]; local
4392 SkPath::Verb verbs[] = {kMove, kLine, kLine, kLine, kLine, kLine, kLine, kLine, kClose, local
4564 uint8_t verbs[6]; local
4716 const SkPath::Verb verbs[] = { local
4794 int verbs = 0; local
[all...]
/external/skia/tools/debugger/
H A DSkDrawCommand.cpp81 #define SKDEBUGCANVAS_ATTRIBUTE_VERBS "verbs"
601 Json::Value verbs(Json::arrayValue);
610 verbs.append(line);
619 verbs.append(quad);
629 verbs.append(cubic);
639 verbs.append(conic);
645 verbs.append(move);
649 verbs.append(Json::Value(SKDEBUGCANVAS_VERB_CLOSE));
655 result[SKDEBUGCANVAS_ATTRIBUTE_VERBS] = verbs;
1716 Json::Value verbs local
[all...]

Completed in 692 milliseconds

12