Home
last modified time | relevance | path

Searched refs:verb (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/external/skia/src/pathops/
DSkPathOpsAsWinding.cpp46 static int contains_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, const SkPoint& edge) { in contains_edge() argument
48 bounds.set(pts, kPtCount[verb] + 1); in contains_edge()
62 int count = (*CurveIntercept[verb * 2])(pts, weight, edge.fY, tVals); in contains_edge()
66 SkScalar intersectX = (*CurvePointAtT[verb])(pts, weight, tVals[index]).fX; in contains_edge()
76 if (pts[0].fX < edge.fX && pts[kPtCount[verb]].fX < edge.fX) { in contains_edge()
87 directions[index] = to_direction((*CurveSlopeAtT[verb])(pts, weight, tVals[index]).fY); in contains_edge()
99 static SkScalar conic_weight(const SkPath::Iter& iter, SkPath::Verb verb) { in conic_weight() argument
100 return SkPath::kConic_Verb == verb ? iter.conicWeight() : 1; in conic_weight()
103 static SkPoint left_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, in left_edge() argument
105 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in left_edge()
[all …]
DSkOpEdgeBuilder.cpp29 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument
30 if (SkPath::kMove_Verb == verb) { in can_add_curve()
33 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in can_add_curve()
36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
88 SkPath::Verb verb; in preFetch() local
91 verb = iter.next(pts); in preFetch()
92 switch (verb) { in preFetch()
97 *fPathVerbs.append() = verb; in preFetch()
118 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
119 if (verb == SkPath::kMove_Verb) { in preFetch()
[all …]
DSkPathOpsCurve.cpp13 double SkDCurve::nearPoint(SkPath::Verb verb, const SkDPoint& xy, const SkDPoint& opp) const { in nearPoint() argument
14 int count = SkPathOpsVerbToPoints(verb); in nearPoint()
35 (*CurveDIntersectRay[verb])(*this, perp, &i); in nearPoint()
55 void SkDCurve::offset(SkPath::Verb verb, const SkDVector& off) { in offset() argument
56 int count = SkPathOpsVerbToPoints(verb); in offset()
92 void SkDCurveSweep::setCurveHullSweep(SkPath::Verb verb) { in setCurveHullSweep() argument
95 if (SkPath::kLine_Verb == verb) { in setCurveHullSweep()
104 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in setCurveHullSweep()
109 if (SkPath::kCubic_Verb != verb) { in setCurveHullSweep()
DSkOpAngle.cpp67 lh->fPart.fCurve.offset(lh->segment()->verb(), fPart.fCurve[0] - lh->fPart.fCurve[0]); in after()
69 rh->fPart.fCurve.offset(rh->segment()->verb(), fPart.fCurve[0] - rh->fPart.fCurve[0]); in after()
218 SkPath::Verb testVerb = test->segment()->verb(); in lineOnOneSide()
314 int iMax = SkPathOpsVerbToPoints(this->segment()->verb()); in alignmentSameSide()
487 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio()
504 SkPath::Verb lVerb = this->segment()->verb(); in endsIntersect()
505 SkPath::Verb rVerb = rh->segment()->verb(); in endsIntersect()
605 int count = SkPathOpsVerbToPoints(rh->segment()->verb()); in endsIntersect()
639 SkPath::Verb verb = segment->verb(); in endToSide() local
643 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), in endToSide()
[all …]
/external/skqp/src/pathops/
DSkPathOpsAsWinding.cpp46 static int contains_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, const SkPoint& edge) { in contains_edge() argument
48 bounds.set(pts, kPtCount[verb] + 1); in contains_edge()
62 int count = (*CurveIntercept[verb * 2])(pts, weight, edge.fY, tVals); in contains_edge()
66 SkScalar intersectX = (*CurvePointAtT[verb])(pts, weight, tVals[index]).fX; in contains_edge()
76 if (pts[0].fX < edge.fX && pts[kPtCount[verb]].fX < edge.fX) { in contains_edge()
87 directions[index] = to_direction((*CurveSlopeAtT[verb])(pts, weight, tVals[index]).fY); in contains_edge()
99 static SkScalar conic_weight(const SkPath::Iter& iter, SkPath::Verb verb) { in conic_weight() argument
100 return SkPath::kConic_Verb == verb ? iter.conicWeight() : 1; in conic_weight()
103 static SkPoint left_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, in left_edge() argument
105 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in left_edge()
[all …]
DSkOpEdgeBuilder.cpp29 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument
30 if (SkPath::kMove_Verb == verb) { in can_add_curve()
33 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in can_add_curve()
36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
88 SkPath::Verb verb; in preFetch() local
91 verb = iter.next(pts); in preFetch()
92 switch (verb) { in preFetch()
97 *fPathVerbs.append() = verb; in preFetch()
118 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
119 if (verb == SkPath::kMove_Verb) { in preFetch()
[all …]
DSkPathOpsCurve.cpp13 double SkDCurve::nearPoint(SkPath::Verb verb, const SkDPoint& xy, const SkDPoint& opp) const { in nearPoint() argument
14 int count = SkPathOpsVerbToPoints(verb); in nearPoint()
35 (*CurveDIntersectRay[verb])(*this, perp, &i); in nearPoint()
55 void SkDCurve::offset(SkPath::Verb verb, const SkDVector& off) { in offset() argument
56 int count = SkPathOpsVerbToPoints(verb); in offset()
92 void SkDCurveSweep::setCurveHullSweep(SkPath::Verb verb) { in setCurveHullSweep() argument
95 if (SkPath::kLine_Verb == verb) { in setCurveHullSweep()
104 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in setCurveHullSweep()
109 if (SkPath::kCubic_Verb != verb) { in setCurveHullSweep()
DSkOpAngle.cpp67 lh->fPart.fCurve.offset(lh->segment()->verb(), fPart.fCurve[0] - lh->fPart.fCurve[0]); in after()
69 rh->fPart.fCurve.offset(rh->segment()->verb(), fPart.fCurve[0] - rh->fPart.fCurve[0]); in after()
218 SkPath::Verb testVerb = test->segment()->verb(); in lineOnOneSide()
314 int iMax = SkPathOpsVerbToPoints(this->segment()->verb()); in alignmentSameSide()
487 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio()
504 SkPath::Verb lVerb = this->segment()->verb(); in endsIntersect()
505 SkPath::Verb rVerb = rh->segment()->verb(); in endsIntersect()
605 int count = SkPathOpsVerbToPoints(rh->segment()->verb()); in endsIntersect()
639 SkPath::Verb verb = segment->verb(); in endToSide() local
643 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), in endToSide()
[all …]
/external/skia/tests/
DSubsetPath.cpp65 uint8_t verb; in SubsetContours() local
69 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in SubsetContours()
70 switch (verb) { in SubsetContours()
102 uint8_t verb; in getSubsetPath() local
107 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in getSubsetPath()
112 switch (verb) { in getSubsetPath()
156 uint8_t verb; in SubsetVerbs() local
159 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in SubsetVerbs()
160 switch (verb) { in SubsetVerbs()
189 uint8_t verb; in getSubsetPath() local
[all …]
/external/skqp/tests/
DSubsetPath.cpp65 uint8_t verb; in SubsetContours() local
69 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in SubsetContours()
70 switch (verb) { in SubsetContours()
102 uint8_t verb; in getSubsetPath() local
107 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in getSubsetPath()
112 switch (verb) { in getSubsetPath()
156 uint8_t verb; in SubsetVerbs() local
159 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in SubsetVerbs()
160 switch (verb) { in SubsetVerbs()
189 uint8_t verb; in getSubsetPath() local
[all …]
/external/selinux/python/sepolicy/
Dsepolicy-bash-completion.sh66 local verb comps
94 verb=${COMP_WORDS[i]}
99 if [[ -z $verb ]]; then
107 elif [ "$verb" = "booleans" ]; then
114 elif [ "$verb" = "communicate" ]; then
124 elif [ "$verb" = "generate" ]; then
147 elif [[ "$cur" == "$verb" || "$cur" == "" || "$cur" == -* ]]; then
154 elif [ "$verb" = "interface" ]; then
157 elif [ "$verb" = "manpage" ]; then
174 elif [ "$verb" = "network" ]; then
[all …]
/external/u-boot/disk/
Dpart_iso.c49 disk_partition_t *info, int verb) in part_get_info_iso_verb() argument
68 if(verb) in part_get_info_iso_verb()
74 if(verb) in part_get_info_iso_verb()
90 if(verb) in part_get_info_iso_verb()
98 if(verb) in part_get_info_iso_verb()
106 if(verb) in part_get_info_iso_verb()
116 if(verb) in part_get_info_iso_verb()
122 if(verb) in part_get_info_iso_verb()
129 if(verb) in part_get_info_iso_verb()
159 if(verb) in part_get_info_iso_verb()
[all …]
/external/selinux/python/semanage/
Dsemanage-bash-completion.sh73 local verb comps
92 if [ "$verb" = "" -a "$prev" = "semanage" ]; then
94 elif [ "$verb" = "" -a "$prev" = "-S" -o "$prev" = "--store" ]; then
97 elif [ "$verb" = "" -a "$prev" = "-p" -o "$prev" = "--proto" ]; then
100 elif [ "$verb" = "" -a "$prev" = "-R" -o "$prev" = "-r" -o "$prev" = "--role" ]; then
107 elif [ "$verb" = "" -a "$prev" = "-s" -o "$prev" = "--seuser" ]; then
110 elif [ "$verb" = "" -a "$prev" = "-f" -o "$prev" = "--ftype" ]; then
113 elif [ "$verb" = "" -a "$prev" = "-t" -o "$prev" = "--types" ]; then
/external/selinux/policycoreutils/setsebool/
Dsetsebool-bash-completion.sh31 local verb comps
33 if [ "$verb" = "" -a "$prev" = "setsebool" -o "$prev" = "-P" ]; then
44 local verb comps
46 if [ "$verb" = "" -a "$prev" == "getsebool" ]; then
50 if [ "$verb" = "" -a "$prev" != "-a" ]; then
/external/skia/src/gpu/gl/
DGrGLPath.cpp14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { in verb_to_gl_path_cmd() argument
30 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in verb_to_gl_path_cmd()
31 return gTable[verb]; in verb_to_gl_path_cmd()
35 inline int num_coords(SkPath::Verb verb) { in num_coords() argument
51 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in num_coords()
52 return gTable[verb]; in num_coords()
111 SkPath::Verb verb; in init_path_object_for_general_path() local
112 while ((verb = iter.next(points)) != SkPath::kDone_Verb) { in init_path_object_for_general_path()
113 pathCommands.push_back(verb_to_gl_path_cmd(verb)); in init_path_object_for_general_path()
116 switch (verb) { in init_path_object_for_general_path()
[all …]
/external/skqp/src/gpu/gl/
DGrGLPath.cpp14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { in verb_to_gl_path_cmd() argument
30 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in verb_to_gl_path_cmd()
31 return gTable[verb]; in verb_to_gl_path_cmd()
35 inline int num_coords(SkPath::Verb verb) { in num_coords() argument
51 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in num_coords()
52 return gTable[verb]; in num_coords()
111 SkPath::Verb verb; in init_path_object_for_general_path() local
112 while ((verb = iter.next(points)) != SkPath::kDone_Verb) { in init_path_object_for_general_path()
113 pathCommands.push_back(verb_to_gl_path_cmd(verb)); in init_path_object_for_general_path()
116 switch (verb) { in init_path_object_for_general_path()
[all …]
/external/skqp/samplecode/
DSampleAAGeometry.cpp101 SkPath::Verb verb;
104 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
108 return verb;
117 SkPath::Verb verb; in get_path_weight() local
120 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in get_path_weight()
124 return verb == SkPath::kConic_Verb ? iter.conicWeight() : 1; in get_path_weight()
133 SkPath::Verb verb; in set_path_pt() local
137 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in set_path_pt()
138 switch (verb) { in set_path_pt()
163 switch (verb) { in set_path_pt()
[all …]
/external/skia/samplecode/
DSampleAAGeometry.cpp101 SkPath::Verb verb;
104 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
108 return verb;
117 SkPath::Verb verb; in get_path_weight() local
120 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in get_path_weight()
124 return verb == SkPath::kConic_Verb ? iter.conicWeight() : 1; in get_path_weight()
133 SkPath::Verb verb; in set_path_pt() local
137 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in set_path_pt()
138 switch (verb) { in set_path_pt()
163 switch (verb) { in set_path_pt()
[all …]
/external/skia/tools/lua/
Dbbh_filter.lua66 verbCounts[t.verb] = (verbCounts[t.verb] or 0) + 1
67 currentInfo.verbs[t.verb] = (currentInfo.verbs[t.verb] or 0) + 1
70 t.verb = nil
124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
125 io.write(' ', verb, " = ", count, ",\n")
Dglyph-counts.lua63 verb = t.verb;
64 if verb == "drawPosText" or verb == "drawPosTextH" then
/external/skqp/tools/lua/
Dbbh_filter.lua66 verbCounts[t.verb] = (verbCounts[t.verb] or 0) + 1
67 currentInfo.verbs[t.verb] = (currentInfo.verbs[t.verb] or 0) + 1
70 t.verb = nil
124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
125 io.write(' ', verb, " = ", count, ",\n")
Dglyph-counts.lua63 verb = t.verb;
64 if verb == "drawPosText" or verb == "drawPosTextH" then
/external/freetype/src/gxvalid/
Dgxvmort0.c77 FT_UShort verb = 0; in gxv_mort_subtable_type0_entry_validate() local
83 FT_UNUSED( GXV_Mort_IndicScript_Msg[verb] ); /* for the non-debugging */ in gxv_mort_subtable_type0_entry_validate()
92 verb = (FT_UShort)( flags & 0x000F ); in gxv_mort_subtable_type0_entry_validate()
99 GXV_TRACE(( " %02d", verb )); in gxv_mort_subtable_type0_entry_validate()
100 GXV_TRACE(( " %s\n", GXV_Mort_IndicScript_Msg[verb] )); in gxv_mort_subtable_type0_entry_validate()
/external/skia/src/core/
DSkEdgeBuilder.cpp259 SkPath::Verb verb; in buildPoly() local
283 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
284 switch (verb) { in buildPoly()
310 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
311 switch (verb) { in buildPoly()
343 SkPath::Verb verb; in build() local
353 SkPath::Verb verb; in build() local
355 while ((verb = clipper.next(pts)) != SkPath::kDone_Verb) { in build()
356 const int count = SkPathPriv::PtsInIter(verb); in build()
361 switch (verb) { in build()
[all …]
/external/skqp/src/core/
DSkEdgeBuilder.cpp259 SkPath::Verb verb; in buildPoly() local
283 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
284 switch (verb) { in buildPoly()
310 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
311 switch (verb) { in buildPoly()
343 SkPath::Verb verb; in build() local
353 SkPath::Verb verb; in build() local
355 while ((verb = clipper.next(pts)) != SkPath::kDone_Verb) { in build()
356 const int count = SkPathPriv::PtsInIter(verb); in build()
361 switch (verb) { in build()
[all …]

12345678910>>...12