Home
last modified time | relevance | path

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

123

/external/skqp/tools/lua/
Dbbh_filter.lua24 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,
Dcount_dashes.lua34 local verbs = fillpath:getVerbs()
35 for _, verb in ipairs(verbs) do
/external/skia/tools/lua/
Dbbh_filter.lua24 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,
Dcount_dashes.lua34 local verbs = fillpath:getVerbs()
35 for _, verb in ipairs(verbs) do
/external/skqp/src/core/
DSkPathPriv.h69 auto verbs = path.fPathRef->verbs(); in IsClosedSingleContour() local
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb in IsClosedSingleContour()
124 Iter begin() { return Iter{fPathRef->verbs() - 1}; } in begin()
125 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; } in end()
DSkPath.cpp674 copy_verbs_reverse(dst, fPathRef->verbs(), count); in getVerbs()
1189 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); in hasOnlyMoveTos() local
1191 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1192 *verbs == kQuad_Verb || in hasOnlyMoveTos()
1193 *verbs == kConic_Verb || in hasOnlyMoveTos()
1194 *verbs == kCubic_Verb) { in hasOnlyMoveTos()
1197 ++verbs; in hasOnlyMoveTos()
1611 const uint8_t* verbs = path.fPathRef->verbsMemBegin(); // points at the last verb in reversePathTo() local
1612 if (!verbs) { // empty path returns nullptr in reversePathTo()
1615 const uint8_t* verbsEnd = path.fPathRef->verbs() - 1; // points just past the first verb in reversePathTo()
[all …]
DSkPathRef.cpp202 static bool validate_verb_sequence(const uint8_t verbs[], int vCount) { in validate_verb_sequence() argument
210 switch (verbs[i]) { in validate_verb_sequence()
232 static bool deduce_pts_conics(const uint8_t verbs[], int vCount, int* ptCountPtr, in deduce_pts_conics() argument
235 if (0 < vCount && verbs[vCount-1] != SkPath::kMove_Verb) { in deduce_pts_conics()
243 switch (verbs[i]) { in deduce_pts_conics()
727 fVerbs = path.verbs(); in setPathRef()
/external/skia/src/core/
DSkPathPriv.h69 auto verbs = path.fPathRef->verbs(); in IsClosedSingleContour() local
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb in IsClosedSingleContour()
130 Iter begin() { return Iter{fPathRef->verbs() - 1}; } in begin()
131 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; } in end()
DSkPathRef.cpp202 static bool validate_verb_sequence(const uint8_t verbs[], int vCount) { in validate_verb_sequence() argument
210 switch (verbs[i]) { in validate_verb_sequence()
232 static bool deduce_pts_conics(const uint8_t verbs[], int vCount, int* ptCountPtr, in deduce_pts_conics() argument
235 if (0 < vCount && verbs[vCount-1] != SkPath::kMove_Verb) { in deduce_pts_conics()
243 switch (verbs[i]) { in deduce_pts_conics()
478 const uint8_t* verbs = this->verbsMemBegin(); in computeSegmentMask() local
481 switch (verbs[i]) { in computeSegmentMask()
747 fVerbs = path.verbs(); in setPathRef()
DSkPath.cpp683 copy_verbs_reverse(dst, fPathRef->verbs(), count); in getVerbs()
1198 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); in hasOnlyMoveTos() local
1200 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1201 *verbs == kQuad_Verb || in hasOnlyMoveTos()
1202 *verbs == kConic_Verb || in hasOnlyMoveTos()
1203 *verbs == kCubic_Verb) { in hasOnlyMoveTos()
1206 ++verbs; in hasOnlyMoveTos()
1639 const uint8_t* verbs = path.fPathRef->verbsMemBegin(); // points at the last verb in reversePathTo() local
1640 if (!verbs) { // empty path returns nullptr in reversePathTo()
1643 const uint8_t* verbsEnd = path.fPathRef->verbs() - 1; // points just past the first verb in reversePathTo()
[all …]
/external/skqp/tools/
Dcreate_test_font.cpp140 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
153 *verbs->append() = verb; in output_path_data()
174 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
234 SkTDArray<SkPath::Verb> verbs; in output_font() local
238 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
248 int verbCount = verbs.count(); in output_font()
251 SkPath::Verb verb = verbs[index]; in output_font()
/external/skia/tools/fonts/
Dcreate_test_font.cpp141 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
154 *verbs->append() = verb; in output_path_data()
175 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
235 SkTDArray<SkPath::Verb> verbs; in output_font() local
239 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
249 int verbCount = verbs.count(); in output_font()
252 SkPath::Verb verb = verbs[index]; in output_font()
/external/skqp/gm/
Daarectmodes.cpp30 char verbs[] = { in test4() local
38 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
39 switch ((SkPath::Verb) verbs[i]) { in test4()
/external/skia/gm/
Daarectmodes.cpp30 char verbs[] = { in test4() local
38 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
39 switch ((SkPath::Verb) verbs[i]) { in test4()
/external/skia/src/gpu/ccpr/
DGrCCPathParser.cpp108 fCurrPathVerbsIdx = fGeometry.verbs().count(); in parsePath()
168 int numVerbs = fGeometry.verbs().count() - fCurrPathVerbsIdx - 1; in saveParsedPath()
175 const SkTArray<GrCCGeometry::Verb, true>& verbs = fGeometry.verbs(); in saveParsedPath() local
184 SkASSERT(GrCCGeometry::Verb::kBeginPath == verbs[fCurrPathVerbsIdx]); in saveParsedPath()
185 for (int i = fCurrPathVerbsIdx + 1; i < fGeometry.verbs().count(); ++i) { in saveParsedPath()
186 switch (verbs[i]) { in saveParsedPath()
407 for (GrCCGeometry::Verb verb : fGeometry.verbs()) { in finalize()
/external/skqp/src/pathops/
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour() local
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
21 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
/external/skia/src/pathops/
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour() local
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
21 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
/external/tensorflow/tensorflow/core/platform/default/
Dbuild_config_root.bzl34 str(Label("//tensorflow/contrib/verbs:verbs_server_lib")),
35 str(Label("//tensorflow/contrib/verbs:grpc_verbs_client")),
/external/skqp/tests/
DPathTest.cpp2553 uint8_t* verbs = &buffer[28]; in test_corrupt_flattening() local
2577 uint8_t save = verbs[0]; in test_corrupt_flattening()
2579 verbs[0] = SkPath::kQuad_Verb; in test_corrupt_flattening()
2581 verbs[0] = save; in test_corrupt_flattening()
2583 save = verbs[1]; in test_corrupt_flattening()
2585 verbs[1] = SkPath::kQuad_Verb; in test_corrupt_flattening()
2587 verbs[1] = SkPath::kCubic_Verb; in test_corrupt_flattening()
2589 verbs[1] = save; in test_corrupt_flattening()
2592 save = verbs[1]; in test_corrupt_flattening()
2593 verbs[1] = 17; in test_corrupt_flattening()
[all …]
/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/skqp/include/private/
DSkPathRef.h256 const uint8_t* verbs() const { return fVerbs; } in verbs() function
261 const uint8_t* verbsMemBegin() const { return this->verbs() - fVerbCnt; } in verbsMemBegin()
281 return this->verbs()[~index]; in atVerb()
/external/skia/include/private/
DSkPathRef.h257 const uint8_t* verbs() const { return fVerbs; } in verbs() function
262 const uint8_t* verbsMemBegin() const { return this->verbs() - fVerbCnt; } in verbsMemBegin()
282 return this->verbs()[~index]; in atVerb()
/external/skia/tests/
DPathTest.cpp2687 uint8_t verbs[32]; in test_zero_length_paths() local
2749 …(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs))); in test_zero_length_paths()
2751 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]); in test_zero_length_paths()
3848 uint8_t verbs[4]; in test_addPathMode() local
3849 int verbcount = p.getVerbs(verbs, 4); in test_addPathMode()
3851 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb); in test_addPathMode()
3852 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb); in test_addPathMode()
3853 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb)); in test_addPathMode()
3854 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb); in test_addPathMode()
3866 uint8_t verbs[7]; in test_extendClosedPath() local
[all …]
/external/skqp/samplecode/
DSamplePathFuzz.cpp605 SkTDArray<uint8_t> verbs; in contains_only_moveTo() local
606 verbs.setCount(verbCount); in contains_only_moveTo()
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
610 if (verbs[index] != SkPath::kMove_Verb) { in contains_only_moveTo()
/external/skia/samplecode/
DSamplePathFuzz.cpp605 SkTDArray<uint8_t> verbs; in contains_only_moveTo() local
606 verbs.setCount(verbCount); in contains_only_moveTo()
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
610 if (verbs[index] != SkPath::kMove_Verb) { in contains_only_moveTo()

123