/external/harfbuzz_ng/src/ |
D | hb-cff-interp-cs-common.hh | 243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve() 544 point_t pt2 = pt1; in rrcurveto() local 545 pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); in rrcurveto() 546 point_t pt3 = pt2; in rrcurveto() 548 PATH::curve (env, param, pt1, pt2, pt3); in rrcurveto() 559 point_t pt2 = pt1; in rcurveline() local 560 pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); in rcurveline() 561 point_t pt3 = pt2; in rcurveline() 563 PATH::curve (env, param, pt1, pt2, pt3); in rcurveline() 587 point_t pt2 = pt1; in rlinecurve() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 59 template <typename PT1, typename PT2> class PointerUnionUIntTraits { 66 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 87 template <typename PT1, typename PT2> class PointerUnion { 90 PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>; 108 PointerUnion(PT2 V) 109 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 126 ::llvm::PointerUnionTypeSelector<PT2, T, IsPT2, 178 const PointerUnion &operator=(const PT2 &RHS) { 180 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 193 template <typename PT1, typename PT2> [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | PointerUnion.h | 59 template <typename PT1, typename PT2> class PointerUnionUIntTraits { 66 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 87 template <typename PT1, typename PT2> class PointerUnion { 89 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>> 109 PointerUnion(PT2 V) 110 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 126 PT2, T, IsPT2, UNION_DOESNT_CONTAIN_TYPE<T>>>::Return 177 const PointerUnion &operator=(const PT2 &RHS) { 179 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 192 template <typename PT1, typename PT2> [all …]
|
/external/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 56 template <typename PT1, typename PT2> class PointerUnionUIntTraits { 62 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 83 template <typename PT1, typename PT2> class PointerUnion { 85 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>> 105 PointerUnion(PT2 V) 106 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 122 PT2, T, IsPT2, UNION_DOESNT_CONTAIN_TYPE<T>>>::Return 173 const PointerUnion &operator=(const PT2 &RHS) { 175 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 188 template <typename PT1, typename PT2> [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | bezierTools.py | 32 def calcCubicArcLength(pt1, pt2, pt3, pt4, tolerance=0.005): argument 34 … return calcCubicArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3), complex(*pt4), tolerance) 52 def calcCubicArcLengthC(pt1, pt2, pt3, pt4, tolerance=0.005): argument 55 return _calcCubicArcLengthCRecurse(mult, pt1, pt2, pt3, pt4) 72 def calcQuadraticArcLength(pt1, pt2, pt3): argument 74 pt1 and pt3 are the "anchor" points, pt2 is the "handle". 95 return calcQuadraticArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3)) 98 def calcQuadraticArcLengthC(pt1, pt2, pt3): argument 100 pt1 and pt3 are the "anchor" points, pt2 is the "handle".""" 104 d0 = pt2 - pt1 [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | basePen.py | 208 def _curveToOne(self, pt1, pt2, pt3): argument 219 def _qCurveToOne(self, pt1, pt2): argument 226 pt2x, pt2y = pt2 231 self._curveToOne((mid1x, mid1y), (mid2x, mid2y), pt2) 276 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 277 _curveToOne(pt1, pt2, pt3) 308 for pt1, pt2 in decomposeQuadraticSegment(points): 309 _qCurveToOne(pt1, pt2) 310 self.__currentPoint = pt2 322 This function returns a list of (pt1, pt2, pt3) tuples, which each [all …]
|
D | svgPathPen.py | 119 def _curveToOne(self, pt1, pt2, pt3): argument 128 t += pointToString(pt2) + " " 134 def _qCurveToOne(self, pt1, pt2): argument 141 assert pt2 is not None 144 t += pointToString(pt2) 147 self._lastX, self._lastY = pt2
|
/external/skia/docs/examples/ |
D | Point_set.cpp | 7 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; in draw() local 9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
|
D | Point_iset.cpp | 7 SkPoint pt1, pt2 = { SK_MinS16, SK_MaxS16 }; in draw() local 9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
|
D | IPoint_set.cpp | 7 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; in draw() local 9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
|
D | IPoint_Make.cpp | 8 SkIPoint pt2 = SkIPoint::Make(45, 66); in draw() local 9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
|
D | Point_Make.cpp | 8 SkPoint pt2 = SkPoint::Make(45, 66); in draw() local 11 SkDebugf("all %s" "equal\n", pt1 == pt2 && pt2 == v1 && v1 == v2 ? "" : "not "); in draw()
|
D | Path_setLastPt_2.cpp | 13 SkPoint pt, pt2; 15 path2.getLastPt(&pt2); 16 path.setLastPt(pt2);
|
/external/skqp/src/pathops/ |
D | SkPathWriter.h | 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2);
|
D | SkPathWriter.cpp | 34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument 35 SkPoint pt2pt = this->update(pt2); in conicTo() 43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 47 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3pt.fX, pt3pt.fY); in cubicTo() 49 fCurrent.cubicTo(pt1, pt2, pt3pt); in cubicTo() 146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument 147 SkPoint pt2pt = this->update(pt2); in quadTo()
|
/external/skia/src/pathops/ |
D | SkPathWriter.h | 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2);
|
D | SkPathWriter.cpp | 34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument 35 SkPoint pt2pt = this->update(pt2); in conicTo() 43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 47 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3pt.fX, pt3pt.fY); in cubicTo() 49 fCurrent.cubicTo(pt1, pt2, pt3pt); in cubicTo() 146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument 147 SkPoint pt2pt = this->update(pt2); in quadTo()
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_checkboxtp.cpp | 169 CFX_PointF pt2(fWidth / 4.5f, fBottom + fHeight / 16.0f); in InitCheckPath() local 188 CFX_PointF p2 = ScaleBezierPoint(pt21 - pt2); in InitCheckPath() 189 m_pCheckPath->BezierTo(pt1 + p1, pt2 + p2, pt2); in InitCheckPath() 191 p1 = ScaleBezierPoint(pt23 - pt2); in InitCheckPath() 193 m_pCheckPath->BezierTo(pt2 + p1, pt3 + p2, pt3); in InitCheckPath()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_appstream.cpp | 191 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle() local 197 float px = pt2.x - pt1.x; in GetAP_Circle() 198 float py = pt2.y - pt1.y; in GetAP_Circle() 201 << pt2.x - px * FX_BEZIER << " " << pt2.y << " " << pt2.x << " " << pt2.y in GetAP_Circle() 204 px = pt3.x - pt2.x; in GetAP_Circle() 205 py = pt2.y - pt3.y; in GetAP_Circle() 207 csAP << pt2.x + px * FX_BEZIER << " " << pt2.y << " " << pt3.x << " " in GetAP_Circle() 247 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond() local 252 csAP << pt2.x << " " << pt2.y << " " << kLineToOperator << "\n"; in GetAP_Diamond() 309 CFX_PointF pt2(0, fHeight / 2); in GetAP_HalfCircle() local [all …]
|
/external/skqp/docs/ |
D | SkIPoint_Reference.bmh | 33 SkIPoint pt2 = SkIPoint::Make(45, 66); 34 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 36 pt1 == pt2 118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; 120 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 122 pt1 == pt2
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 1144 CFX_PointF pt2; in RenderPath() local 1150 pt2.x = pt1.x + in RenderPath() 1152 pt1.y = pt2.y = fEndY; in RenderPath() 1153 path.AppendLine(pt1, pt2); in RenderPath() 1159 pt2.x = (*pCharPos)[szChars - 1].m_Origin.x + in RenderPath() 1163 pt1.y = pt2.y = fEndY; in RenderPath() 1164 path.AppendLine(pt1, pt2); in RenderPath() 1170 pt2.x = in RenderPath() 1174 pt1.y = pt2.y = fEndY; in RenderPath() 1175 path.AppendLine(pt1, pt2); in RenderPath() [all …]
|
/external/skia/animations/ |
D | images#1.xml | 23 <lineTo id="pt2" x="256" y="0" /> 46 <animate target="pt2" field="x" from="256" to="192" dur="0.5" repeat="3" /> 47 <animate target="pt2" field="y" from="0" to="-455" dur="0.5" repeat="3" />
|
/external/skqp/animations/ |
D | images#1.xml | 23 <lineTo id="pt2" x="256" y="0" /> 46 <animate target="pt2" field="x" from="256" to="192" dur="0.5" repeat="3" /> 47 <animate target="pt2" field="y" from="0" to="-455" dur="0.5" repeat="3" />
|
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/ |
D | rt_tgsigqueueinfo01.c | 146 pthread_t pt1, pt2; in verify_signal_inter_thread() local 152 SAFE_PTHREAD_CREATE(&pt2, NULL, sender_func, &tid); in verify_signal_inter_thread() 154 SAFE_PTHREAD_JOIN(pt2, NULL); in verify_signal_inter_thread()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_aead.py | 117 pt2 = chacha.decrypt(nonce, ct2, b"") 118 assert pt1 == pt2 326 pt2 = aesccm.decrypt(nonce, ct2, b"") 327 assert pt1 == pt2 444 pt2 = aesgcm.decrypt(nonce, ct2, b"") 445 assert pt1 == pt2
|