/external/skqp/src/pathops/ |
D | SkPathOpsAsWinding.cpp | 46 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 …]
|
D | SkOpEdgeBuilder.cpp | 29 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 …]
|
D | SkPathOpsCurve.cpp | 13 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()
|
/external/skia/src/pathops/ |
D | SkPathOpsAsWinding.cpp | 47 static int contains_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, const SkPoint& edge) { in contains_edge() argument 49 bounds.setBounds(pts, kPtCount[verb] + 1); in contains_edge() 63 int count = (*CurveIntercept[verb * 2])(pts, weight, edge.fY, tVals); in contains_edge() 67 SkScalar intersectX = (*CurvePointAtT[verb])(pts, weight, tVals[index]).fX; in contains_edge() 77 if (pts[0].fX < edge.fX && pts[kPtCount[verb]].fX < edge.fX) { in contains_edge() 88 directions[index] = to_direction((*CurveSlopeAtT[verb])(pts, weight, tVals[index]).fY); in contains_edge() 100 static SkScalar conic_weight(const SkPath::Iter& iter, SkPath::Verb verb) { in conic_weight() argument 101 return SkPath::kConic_Verb == verb ? iter.conicWeight() : 1; in conic_weight() 104 static SkPoint left_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight, in left_edge() argument 106 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in left_edge() [all …]
|
D | SkOpEdgeBuilder.cpp | 33 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument 34 if (SkPath::kMove_Verb == verb) { in can_add_curve() 37 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in can_add_curve() 40 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve() 92 auto verb = static_cast<SkPath::Verb>(pathVerb); in preFetch() local 93 switch (verb) { in preFetch() 98 *fPathVerbs.append() = verb; in preFetch() 117 verb = SkReduceOrder::Quad(curve, curve); in preFetch() 118 if (verb == SkPath::kMove_Verb) { in preFetch() 125 verb = SkReduceOrder::Quad(curve, curve); in preFetch() [all …]
|
D | SkPathOpsCurve.cpp | 13 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()
|
/external/skqp/tests/ |
D | SubsetPath.cpp | 65 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/ |
D | sepolicy-bash-completion.sh | 66 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/skia/docs/examples/ |
D | Conic_Weight_a.cpp | 12 SkPath::Verb verb; in draw() local 15 verb = iter.next(points); in draw() 16 SkDebugf("%s ", verbNames[(int) verb]); in draw() 17 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 20 if (SkPath::kConic_Verb == verb) { in draw() 24 } while (SkPath::kDone_Verb != verb); in draw()
|
D | Conic_Weight_b.cpp | 12 SkPath::Verb verb; in draw() local 15 verb = iter.next(points); in draw() 16 SkDebugf("%s ", verbNames[(int) verb]); in draw() 17 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 20 if (SkPath::kConic_Verb == verb) { in draw() 24 } while (SkPath::kDone_Verb != verb); in draw()
|
D | Conic_Weight_c.cpp | 12 SkPath::Verb verb; in draw() local 15 verb = iter.next(points); in draw() 16 SkDebugf("%s ", verbNames[(int) verb]); in draw() 17 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 20 if (SkPath::kConic_Verb == verb) { in draw() 24 } while (SkPath::kDone_Verb != verb); in draw()
|
D | Path_Iter_const_SkPath.cpp | 11 SkPath::Verb verb; in draw() local 14 verb = iter.next(points); in draw() 15 SkDebugf("k%s_Verb ", verbStr[(int) verb]); in draw() 16 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 19 if (SkPath::kConic_Verb == verb) { in draw() 23 } while (SkPath::kDone_Verb != verb); in draw()
|
D | Path_Iter_setPath.cpp | 11 SkPath::Verb verb; in draw() local 14 verb = iter.next(points); in draw() 15 SkDebugf("k%s_Verb ", verbStr[(int) verb]); in draw() 16 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 19 if (SkPath::kConic_Verb == verb) { in draw() 23 } while (SkPath::kDone_Verb != verb); in draw()
|
D | Path_Iter_next.cpp | 19 SkPath::Verb verb; in draw() local 22 verb = iter.next(points); in draw() 23 SkDebugf("k%s_Verb ", verbStr[(int) verb]); in draw() 24 for (int i = 0; i < pointCount[(int) verb]; ++i) { in draw() 28 } while (SkPath::kDone_Verb != verb); in draw()
|
/external/libtextclassifier/native/utils/grammar/utils/ |
D | ir_test.cc | 129 const Nonterm verb = ir.AddUnshareableNonterminal(); in TEST() local 130 ir.Add(verb, "buy"); in TEST() 131 ir.Add(Ir::Lhs{verb, {kOutput}}, "bring"); in TEST() 132 ir.Add(verb, "upbring"); in TEST() 133 ir.Add(verb, "remind"); in TEST() 138 ir.Add(kUnassignedNonterm, "to"), verb}); in TEST() 170 const Nonterm verb = ir.AddUnshareableNonterminal(); in TEST() local 174 ir.Add(verb, "buy"); in TEST() 175 ir.Add(verb, "bring"); in TEST() 176 ir.Add(verb, "remind"); in TEST() [all …]
|
/external/skia/tests/ |
D | SubsetPath.cpp | 67 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) { in SubsetContours() 68 switch (verb) { in SubsetContours() 102 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) { in getSubsetPath() 107 switch (verb) { in getSubsetPath() 151 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) { in SubsetVerbs() 152 switch (verb) { in SubsetVerbs() 183 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) { in getSubsetPath() 184 bool enabled = SkPathVerb::kLine <= verb && verb <= SkPathVerb::kCubic in getSubsetPath() 195 switch (verb) { in getSubsetPath()
|
/external/skia/bench/ |
D | PathIterBench.cpp | 83 auto handle = [this](int verb, const SkPoint pts[]) { in onDraw() argument 84 fVerbInc += verb; in onDraw() 89 SkPath::Verb verb; in onDraw() local 95 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in onDraw() 96 handle(verb, pts); in onDraw() 102 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) { in onDraw() 103 handle((SkPath::Verb)verb, pts); in onDraw()
|
/external/selinux/policycoreutils/setsebool/ |
D | setsebool-bash-completion.sh | 31 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/selinux/python/semanage/ |
D | semanage-bash-completion.sh | 73 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/linux-kselftest/tools/testing/selftests/cgroup/ |
D | with_stress.sh | 17 local verb=+ 19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control 20 [ $verb = "+" ] && verb=- || verb=+
|
/external/skqp/src/gpu/gl/ |
D | GrGLPath.cpp | 14 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/tools/lua/ |
D | bbh_filter.lua | 66 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")
|
/external/skqp/samplecode/ |
D | SampleAAGeometry.cpp | 101 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/freetype/src/gxvalid/ |
D | gxvmort0.c | 77 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/ |
D | SkPathRef.cpp | 366 SkPoint* SkPathRef::growForRepeatedVerb(int /*SkPath::Verb*/ verb, in growForRepeatedVerb() argument 371 switch (verb) { in growForRepeatedVerb() 409 memset(fVerbs.append(numVbs), verb, numVbs); in growForRepeatedVerb() 410 if (SkPath::kConic_Verb == verb) { in growForRepeatedVerb() 420 SkPoint* SkPathRef::growForVerb(int /* SkPath::Verb*/ verb, SkScalar weight) { in growForVerb() argument 424 switch (verb) { in growForVerb() 462 *fVerbs.append() = verb; in growForVerb() 463 if (SkPath::kConic_Verb == verb) { in growForVerb() 508 uint8_t verb = iter.next(pts); in getRRect() local 509 SkASSERT(SkPath::kMove_Verb == verb); in getRRect() [all …]
|