/external/skia/src/core/ |
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
|
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 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 2516 const uint8_t* verbs = fCurrVerb; local [all...] |
SkPathRef.cpp | 548 fVerbs = path.verbs();
|
/external/skia/tools/lua/ |
bbh_filter.lua | 24 verbs = {}, 67 currentInfo.verbs[t.verb] = (currentInfo.verbs[t.verb] or 0) + 1 102 function calculate_weight(verbs) 104 for name, count in pairs(verbs) do 124 for verb,count in pairs(globalInfo[t.fileName].verbs) do 138 function(a, b) return calculate_weight(a.verbs) > calculate_weight(b.verbs); end,
|
scrape_dashing_full.lua | 112 eventually would like to print out info on drawPath verbs with dashed effect
|
/external/skia/experimental/SimpleCocoaApp/ |
SimpleApp.mm | 162 int verbs = path.countVerbs(); 165 if (rectVerbsMin > verbs) { 166 rectVerbsMin = verbs; 168 if (rectVerbsMax < verbs) { 169 rectVerbsMax = verbs; 180 if (verbsMin > verbs) { 181 verbsMin = verbs; 183 if (verbsMax < verbs) { 184 verbsMax = verbs; 273 SkDebugf("points min=%d max=%d verbs min=%d max=%d\n", canvas.pointsMin, canvas.pointsMax [all...] |
/frameworks/base/libs/hwui/ |
PathParser.cpp | 198 data->verbs.push_back(pathStr[start]); 212 data->verbs.push_back(pathStr[start]); 220 for (size_t i = 0; i < data.verbs.size(); i++) { 222 os << data.verbs[i]; 245 if (pathData.verbs.size() == 0) { 247 result->failureMessage = "No verbs found in the string for pathData: ";
|
VectorDrawable.h | 124 std::vector<char> verbs; member in struct:android::uirenderer::VectorDrawable::Path::Data 128 return verbs == data.verbs && verbSizes == data.verbSizes
|
/external/skia/gm/ |
aarectmodes.cpp | 30 char verbs[] = { local 38 for (size_t i = 0; i < sizeof(verbs); ++i) { 39 switch ((SkPath::Verb) verbs[i]) {
|
/external/skia/src/pathops/ |
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) {
|
SkPathOpsDebug.cpp | 327 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; local 328 SkDebugf("%s: {{", verbs[verb]); [all...] |
/external/skia/tools/ |
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];
|
/frameworks/base/libs/hwui/utils/ |
VectorDrawableUtils.cpp | 40 if (morphFrom.verbs.size() != morphTo.verbs.size()) { 44 for (unsigned int i = 0; i < morphFrom.verbs.size(); i++) { 45 if (morphFrom.verbs[i] != morphTo.verbs[i] 70 for (unsigned int i = 0; i < data.verbs.size(); i++) { 72 resolver.addCommand(outPath, previousCommand, data.verbs[i], &data.points, start, 74 previousCommand = data.verbs[i]; 92 outData->verbs = from.verbs; [all...] |
/external/skia/src/fonts/ |
SkTestScalerContext.h | 38 void init(const SkScalar* pts, const unsigned char* verbs);
|
SkTestScalerContext.cpp | 80 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { 85 while ((verb = (SkPath::Verb) *verbs++) != SkPath::kDone_Verb) {
|
/external/skia/include/core/ |
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 and points with the assumption that the path ref will b 230 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; } function in class:SkPathRef [all...] |
SkPath.h | 39 /** Return true if the paths contain an equal array of verbs and weights. Paths 45 * @return true if the paths have the same verbs and weights. 50 * The out path contains the verbs and weights of this path. 295 /** Return the number of verbs in the path 299 /** Returns the number of verbs in the path. Up to max verbs are copied. The 300 verbs are copied as one byte per verb. 302 @param verbs If not null, receives up to max verbs 303 @param max The maximum number of verbs to copy into verb [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
VectorDrawableTests.cpp | 41 // Verbs 57 // Comprehensive data, containing all the verbs possible. 62 // Verbs 166 // Verbs 196 // Verbs 218 // Verbs 235 {"L.M.F.A.O", false}, // No floats following verbs 245 return from.verbs == to.verbs && from.verbSizes == to.verbSizes; 286 EXPECT_EQ(hasValidData, testData.pathData.verbs.size() > 0) [all...] |
/external/skia/samplecode/ |
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/ |
SkJSONCanvas.cpp | 84 Json::Value verbs(Json::arrayValue); 93 verbs.append(line); 102 verbs.append(quad); 112 verbs.append(cubic); 122 verbs.append(conic); 128 verbs.append(move); 132 verbs.append(Json::Value(SKJSONCANVAS_VERB_CLOSE)); 138 result[SKJSONCANVAS_ATTRIBUTE_VERBS] = verbs; [all...] |
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]; [all...] |
/external/fio/engines/ |
rdma.c | 4 * RDMA I/O engine based on the IB verbs and RDMA/CM user space libraries. 317 rd->pd = ibv_alloc_pd(rd->child_cm_id->verbs); 319 rd->pd = ibv_alloc_pd(rd->cm_id->verbs); 327 rd->channel = ibv_create_comp_channel(rd->child_cm_id->verbs); 329 rd->channel = ibv_create_comp_channel(rd->cm_id->verbs); 339 rd->cq = ibv_create_cq(rd->child_cm_id->verbs, 342 rd->cq = ibv_create_cq(rd->cm_id->verbs,
|
/external/skia/tests/ |
PathTest.cpp | 2384 uint8_t verbs[32]; local 3451 uint8_t verbs[4]; local 3469 uint8_t verbs[7]; local 4006 uint8_t verbs[6]; local [all...] |
/external/skia/tools/debugger/ |
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 = path[SKDEBUGCANVAS_ATTRIBUTE_VERBS]; local [all...] |
/external/pcre/dist/ |
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); [all...] |