/external/skia/src/core/ |
H A D | SkPathPriv.h | 63 auto verbs = path.fPathRef->verbs(); local 65 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb
|
H A D | SkPath.cpp | 111 Stores the verbs and points as they are given to us, with exceptions: 655 copy_verbs_reverse(dst, fPathRef->verbs(), count); 1174 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); local 1176 if (*verbs == kLine_Verb || 1177 *verbs == kQuad_Verb || 1178 *verbs == kConic_Verb || 1179 *verbs == kCubic_Verb) { 1182 ++verbs; 1552 const uint8_t* verbs = path.fPathRef->verbs(); local 1595 const uint8_t* verbs = src.fPathRef->verbsMemBegin(); // points at the last verb local 1790 const uint8_t* verbs = fVerbs; local 2517 const uint8_t* verbs = fCurrVerb; local [all...] |
/external/skia/src/pathops/ |
H A D | SkOpBuilder.cpp | 17 uint8_t* verbs = (uint8_t*) allocator.alloc(sizeof(uint8_t) * verbCount, local 19 (void) path.getVerbs(verbs, verbCount); 21 if (verbs[index] == SkPath::kMove_Verb) {
|
H A D | SkPathOpsDebug.cpp | 327 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; local 328 SkDebugf("%s: {{", verbs[verb]);
|
/external/skia/gm/ |
H A D | aarectmodes.cpp | 30 char verbs[] = { local 38 for (size_t i = 0; i < sizeof(verbs); ++i) { 39 switch ((SkPath::Verb) verbs[i]) {
|
/external/skia/tools/ |
H A D | create_test_font.cpp | 131 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, 144 *verbs->append() = verb; 165 *verbs->append() = SkPath::kDone_Verb; 225 SkTDArray<SkPath::Verb> verbs; local 229 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); 239 int verbCount = verbs.count(); 242 SkPath::Verb verb = verbs[index]; 130 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
|
/external/skia/include/core/ |
H A D | SkPathRef.h | 24 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods 25 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an 31 * The points and verbs are stored in a single allocation. The points are at the begining of the 32 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points 33 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the 34 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first 90 * Resets the path ref to a new verb and point count. The new verbs and points are 140 * Gets a path ref with no verbs or points. 216 * Rollsback a path ref to zero verbs an 230 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; } function in class:SkPathRef [all...] |
/external/skia/samplecode/ |
H A D | SamplePathFuzz.cpp | 604 SkTDArray<uint8_t> verbs; local 605 verbs.setCount(verbCount); 606 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); 609 if (verbs[index] != SkPath::kMove_Verb) {
|
/external/skia/tools/json/ |
H A D | SkJSONRenderer.cpp | 566 Json::Value verbs = path[SKJSONCANVAS_ATTRIBUTE_VERBS]; local 567 for (Json::ArrayIndex i = 0; i < verbs.size(); i++) { 568 Json::Value verb = verbs[i];
|
/external/pcre/dist/ |
H A D | pcre_compile.c | 231 /* Table of special "verbs" like (*PRUNE). This is a short table, so it is 254 static const verbitem verbs[] = { variable 266 static const int verbcount = sizeof(verbs)/sizeof(verbitem); 6547 /* Now deal with various "verbs" that can be introduced by '*'. */ 6588 if (namelen == verbs[i].len && 6596 if (verbs[i].op == OP_ACCEPT) 6621 if (verbs[i].op < 0) /* Argument is mandatory */ 6626 setverb = *code++ = verbs[i].op; 6631 if (verbs[i].op_arg < 0) /* Argument is forbidden */ 6636 setverb = *code++ = verbs[ [all...] |
/external/skia/tests/ |
H A D | PathTest.cpp | 1563 path.lineTo(0, 0); // too many points/verbs 2384 uint8_t verbs[32]; local 2446 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs))); 2448 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]); 3451 uint8_t verbs[4]; local 3452 int verbcount = p.getVerbs(verbs, 4); 3454 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb); 3455 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb); 3456 REPORTER_ASSERT(reporter, verbs[ 3469 uint8_t verbs[7]; local 4006 uint8_t verbs[6]; local [all...] |
/external/skia/tools/debugger/ |
H A D | SkDrawCommand.cpp | 70 #define SKDEBUGCANVAS_ATTRIBUTE_VERBS "verbs" 514 Json::Value verbs(Json::arrayValue); 523 verbs.append(line); 532 verbs.append(quad); 542 verbs.append(cubic); 552 verbs.append(conic); 558 verbs.append(move); 562 verbs.append(Json::Value(SKDEBUGCANVAS_VERB_CLOSE)); 568 result[SKDEBUGCANVAS_ATTRIBUTE_VERBS] = verbs; 1483 Json::Value verbs local [all...] |