Home
last modified time | relevance | path

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

12345678910>>...12

/external/skqp/src/pathops/
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()
187 SkPath::Verb testVerb = test->segment()->verb(); in allOnOneSide()
237 int iMax = SkPathOpsVerbToPoints(this->segment()->verb()); in alignmentSameSide()
410 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio()
427 SkPath::Verb lVerb = this->segment()->verb(); in endsIntersect()
428 SkPath::Verb rVerb = rh->segment()->verb(); in endsIntersect()
537 SkPath::Verb verb = segment->verb(); in endToSide() local
541 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), in endToSide()
547 SkPath::Verb oppVerb = oppSegment->verb(); in endToSide()
[all …]
/external/skia/src/pathops/
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()
187 SkPath::Verb testVerb = test->segment()->verb(); in allOnOneSide()
237 int iMax = SkPathOpsVerbToPoints(this->segment()->verb()); in alignmentSameSide()
410 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio()
427 SkPath::Verb lVerb = this->segment()->verb(); in endsIntersect()
428 SkPath::Verb rVerb = rh->segment()->verb(); in endsIntersect()
537 SkPath::Verb verb = segment->verb(); in endToSide() local
541 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), in endToSide()
547 SkPath::Verb oppVerb = oppSegment->verb(); 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/mmc-utils/
Dmmc.c38 char *verb; /* verb */ member
197 printf("\t%s %s ", programname, cmd->verb ); in print_help()
220 for( cp = commands; cp->verb; cp++ ) in help()
259 for( match = 0, cp = commands; cp->verb; cp++ ){ in check_ambiguity()
304 newname = (char*)malloc(strlen(prgname)+strlen(cmd->verb)+2); in prepare_args()
317 strcat(newname, cmd->verb); in prepare_args()
360 for( cp = commands; cp->verb; cp++ ) in parse_args()
362 cp->ncmds = split_command(cp->verb, &(cp->cmds)); in parse_args()
364 for( cp = commands; cp->verb; cp++ ){ in parse_args()
398 *cmd_ = matchcmd->verb; in parse_args()
[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.cpp100 SkPath::Verb verb;
103 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
107 return verb;
116 SkPath::Verb verb; in get_path_weight() local
119 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in get_path_weight()
123 return verb == SkPath::kConic_Verb ? iter.conicWeight() : 1; in get_path_weight()
132 SkPath::Verb verb; in set_path_pt() local
136 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in set_path_pt()
137 switch (verb) { in set_path_pt()
162 switch (verb) { in set_path_pt()
[all …]
/external/skia/samplecode/
DSampleAAGeometry.cpp100 SkPath::Verb verb;
103 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
107 return verb;
116 SkPath::Verb verb; in get_path_weight() local
119 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in get_path_weight()
123 return verb == SkPath::kConic_Verb ? iter.conicWeight() : 1; in get_path_weight()
132 SkPath::Verb verb; in set_path_pt() local
136 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in set_path_pt()
137 switch (verb) { in set_path_pt()
162 switch (verb) { in set_path_pt()
[all …]
/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/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/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.cpp215 SkPath::Verb verb; in addClipper() local
217 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in addClipper()
218 switch (verb) { in addClipper()
259 SkPath::Verb verb; in buildPoly() local
294 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
295 switch (verb) { in buildPoly()
316 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
317 switch (verb) { in buildPoly()
362 SkPath::Verb verb; in build() local
369 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in build()
[all …]
DSkPathRef.cpp504 SkPoint* SkPathRef::growForRepeatedVerb(int /*SkPath::Verb*/ verb, in growForRepeatedVerb() argument
515 switch (verb) { in growForRepeatedVerb()
559 memset(vb - numVbs, verb, numVbs); in growForRepeatedVerb()
562 vb[~i] = verb; in growForRepeatedVerb()
575 if (SkPath::kConic_Verb == verb) { in growForRepeatedVerb()
584 SkPoint* SkPathRef::growForVerb(int /* SkPath::Verb*/ verb, SkScalar weight) { in growForVerb() argument
589 switch (verb) { in growForVerb()
630 this->fVerbs[~fVerbCnt] = verb; in growForVerb()
642 if (SkPath::kConic_Verb == verb) { in growForVerb()
693 uint8_t verb = iter.next(pts); in getRRect() local
[all …]
/external/skqp/src/core/
DSkEdgeBuilder.cpp215 SkPath::Verb verb; in addClipper() local
217 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in addClipper()
218 switch (verb) { in addClipper()
259 SkPath::Verb verb; in buildPoly() local
294 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
295 switch (verb) { in buildPoly()
316 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in buildPoly()
317 switch (verb) { in buildPoly()
362 SkPath::Verb verb; in build() local
369 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) { in build()
[all …]
DSkPathRef.cpp488 SkPoint* SkPathRef::growForRepeatedVerb(int /*SkPath::Verb*/ verb, in growForRepeatedVerb() argument
499 switch (verb) { in growForRepeatedVerb()
543 memset(vb - numVbs, verb, numVbs); in growForRepeatedVerb()
546 vb[~i] = verb; in growForRepeatedVerb()
559 if (SkPath::kConic_Verb == verb) { in growForRepeatedVerb()
568 SkPoint* SkPathRef::growForVerb(int /* SkPath::Verb*/ verb, SkScalar weight) { in growForVerb() argument
572 switch (verb) { in growForVerb()
613 this->fVerbs[~fVerbCnt] = verb; in growForVerb()
624 if (SkPath::kConic_Verb == verb) { in growForVerb()
673 uint8_t verb = iter.next(pts); in getRRect() local
[all …]

12345678910>>...12