/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
PackageTest.java | 210 Package p1 = Package.getPackage("java.lang"); local 211 if (p1 != null) { 212 assertEquals(p1.hashCode(), "java.lang".hashCode());
|
/external/libpcap/ |
nametoaddr.c | 227 u_int p1, p2; local 231 if (sscanf(name, "%d-%d", &p1, &p2) != 2) { 256 *port1 = p1;
|
/external/libvpx/vp8/common/arm/neon/ |
loopfiltersimpleverticaledge_neon.asm | 57 ;vswp q4, q5 ; p1:q3, p0:q5, q0:q4, q1:q6 63 vabd.u8 q14, q3, q6 ; abs(p1 - q1) 65 vshr.u8 q14, q14, #1 ; abs(p1 - q1) / 2 66 vqadd.u8 q15, q15, q14 ; abs(p0 - q0) * 2 + abs(p1 - q1) / 2 70 veor q3, q3, q0 ; ps1: p1 offset to convert to a signed value 75 vcge.u8 q15, q1, q15 ; abs(p0 - q0)*2 + abs(p1-q1)/2 > flimit*2 + limit)*-1
|
/external/quake/quake/src/QW/server/ |
world.c | 533 qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) 571 t1 = p1[plane->type] - plane->dist; 576 t1 = DotProduct (plane->normal, p1) - plane->dist; 582 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); 584 return SV_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); 587 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); 589 return SV_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); 604 mid[i] = p1[i] + frac*(p2[i] - p1[i]); 609 if (!SV_RecursiveHullCheck (hull, node->children[side], p1f, midf, p1, mid, trace) [all...] |
/external/quake/quake/src/WinQuake/ |
world.cpp | 581 qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) 619 t1 = p1[plane->type] - plane->dist; 624 t1 = DotProduct (plane->normal, p1) - plane->dist; 630 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); 632 return SV_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); 635 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); 637 return SV_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); 652 mid[i] = p1[i] + frac*(p2[i] - p1[i]); 657 if (!SV_RecursiveHullCheck (hull, node->children[side], p1f, midf, p1, mid, trace) [all...] |
/external/skia/src/animator/ |
SkParseSVGPath.cpp | 36 static void quadApprox(SkPath &fPath, const SkPoint &p0, const SkPoint &p1, const SkPoint &p2) 43 midPt(k, p0, p1); 44 midPt(l, p1, p2);
|
/external/webkit/Source/WebCore/platform/graphics/ |
FloatRect.h | 136 void fitToPoints(const FloatPoint& p0, const FloatPoint& p1); 137 void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2); 138 void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3);
|
GraphicsContext.cpp | 716 void GraphicsContext::adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle penStyle) 723 if (p1.x() == p2.x()) { 724 p1.setY(p1.y() + strokeWidth); 727 p1.setX(p1.x() + strokeWidth); 733 if (p1.x() == p2.x()) { 735 p1.setX(p1.x() + 0.5f); 739 p1.setY(p1.y() + 0.5f) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
PathCG.cpp | 209 void Path::addArcTo(const FloatPoint& p1, const FloatPoint& p2, float radius) 211 CGPathAddArcToPoint(m_path, 0, p1.x(), p1.y(), p2.x(), p2.y(), radius);
|