/external/chromium_org/v8/test/cctest/ |
D | test-fixed-dtoa.cc | 46 int point; in TEST() local 48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST() 50 CHECK_EQ(1, point); in TEST() 52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST() 54 CHECK_EQ(1, point); in TEST() 56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST() 58 CHECK_EQ(1, point); in TEST() 60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST() 62 CHECK_EQ(10, point); in TEST() 64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point)); in TEST() [all …]
|
D | test-bignum-dtoa.cc | 63 int point; in TEST() local 65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST() 67 CHECK_EQ(1, point); in TEST() 69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST() 70 CHECK_GE(3, length - point); in TEST() 73 CHECK_EQ(1, point); in TEST() 75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST() 79 CHECK_EQ(1, point); in TEST() 81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST() 83 CHECK_EQ(1, point); in TEST() [all …]
|
D | test-dtoa.cc | 63 int point; in TEST() local 66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 68 CHECK_EQ(1, point); in TEST() 70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST() 73 CHECK_EQ(1, point); in TEST() 75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST() 78 CHECK_EQ(1, point); in TEST() 80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 82 CHECK_EQ(1, point); in TEST() 84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); in TEST() [all …]
|
D | test-fast-dtoa.cc | 60 int point; in TEST() local 65 buffer, &length, &point); in TEST() 68 CHECK_EQ(-323, point); in TEST() 72 buffer, &length, &point); in TEST() 75 CHECK_EQ(309, point); in TEST() 78 buffer, &length, &point); in TEST() 81 CHECK_EQ(10, point); in TEST() 84 buffer, &length, &point); in TEST() 87 CHECK_EQ(299, point); in TEST() 90 buffer, &length, &point); in TEST() [all …]
|
/external/freetype/src/autofit/ |
D | afhints.c | 198 AF_Point point; in af_glyph_hints_dump_points() local 205 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points() 208 point - points, in af_glyph_hints_dump_points() 209 point->fx, in af_glyph_hints_dump_points() 210 point->fy, in af_glyph_hints_dump_points() 211 point->ox / 64.0, in af_glyph_hints_dump_points() 212 point->oy / 64.0, in af_glyph_hints_dump_points() 213 point->x / 64.0, in af_glyph_hints_dump_points() 214 point->y / 64.0, in af_glyph_hints_dump_points() 215 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? 'w' : ' ', in af_glyph_hints_dump_points() [all …]
|
/external/chromium_org/third_party/freetype/src/autofit/ |
D | afhints.c | 186 AF_Point point; in af_glyph_hints_dump_points() local 193 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points() 196 point - points, in af_glyph_hints_dump_points() 197 point->fx, in af_glyph_hints_dump_points() 198 point->fy, in af_glyph_hints_dump_points() 199 point->ox / 64.0, in af_glyph_hints_dump_points() 200 point->oy / 64.0, in af_glyph_hints_dump_points() 201 point->x / 64.0, in af_glyph_hints_dump_points() 202 point->y / 64.0, in af_glyph_hints_dump_points() 203 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? 'w' : ' ', in af_glyph_hints_dump_points() [all …]
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 1188 PSH_Point point = glyph->points; in psh_glyph_load_points() local 1192 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points() 1194 point->flags2 = 0; in psh_glyph_load_points() 1195 point->hint = NULL; in psh_glyph_load_points() 1198 point->org_u = vec->x; in psh_glyph_load_points() 1199 point->org_v = vec->y; in psh_glyph_load_points() 1203 point->org_u = vec->y; in psh_glyph_load_points() 1204 point->org_v = vec->x; in psh_glyph_load_points() 1208 point->org_x = vec->x; in psh_glyph_load_points() 1209 point->org_y = vec->y; in psh_glyph_load_points() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
D | pshalgo.c | 1188 PSH_Point point = glyph->points; in psh_glyph_load_points() local 1192 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points() 1194 point->flags2 = 0; in psh_glyph_load_points() 1195 point->hint = NULL; in psh_glyph_load_points() 1198 point->org_u = vec->x; in psh_glyph_load_points() 1199 point->org_v = vec->y; in psh_glyph_load_points() 1203 point->org_u = vec->y; in psh_glyph_load_points() 1204 point->org_v = vec->x; in psh_glyph_load_points() 1208 point->org_x = vec->x; in psh_glyph_load_points() 1209 point->org_y = vec->y; in psh_glyph_load_points() [all …]
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 1188 PSH_Point point = glyph->points; in psh_glyph_load_points() local 1192 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points() 1194 point->flags2 = 0; in psh_glyph_load_points() 1195 point->hint = NULL; in psh_glyph_load_points() 1198 point->org_u = vec->x; in psh_glyph_load_points() 1199 point->org_v = vec->y; in psh_glyph_load_points() 1203 point->org_u = vec->y; in psh_glyph_load_points() 1204 point->org_v = vec->x; in psh_glyph_load_points() 1208 point->org_x = vec->x; in psh_glyph_load_points() 1209 point->org_y = vec->y; in psh_glyph_load_points() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | CubicParameterization_TestUtility.cpp | 38 bool point_on_parameterized_curve(const Cubic& cubic, const _Point& point) { in point_on_parameterized_curve() argument 41 double xxx = coeffs[xxx_coeff] * point.x * point.x * point.x; in point_on_parameterized_curve() 42 double xxy = coeffs[xxy_coeff] * point.x * point.x * point.y; in point_on_parameterized_curve() 43 double xyy = coeffs[xyy_coeff] * point.x * point.y * point.y; in point_on_parameterized_curve() 44 double yyy = coeffs[yyy_coeff] * point.y * point.y * point.y; in point_on_parameterized_curve() 45 double xx = coeffs[ xx_coeff] * point.x * point.x; in point_on_parameterized_curve() 46 double xy = coeffs[ xy_coeff] * point.x * point.y; in point_on_parameterized_curve() 47 double yy = coeffs[ yy_coeff] * point.y * point.y; in point_on_parameterized_curve() 48 double x = coeffs[ x_coeff] * point.x; in point_on_parameterized_curve() 49 double y = coeffs[ y_coeff] * point.y; in point_on_parameterized_curve()
|
D | QuadraticParameterization_TestUtility.cpp | 6 bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point) { in point_on_parameterized_curve() argument 8 double xx = q.x2() * point.x * point.x; in point_on_parameterized_curve() 9 double xy = q.xy() * point.x * point.y; in point_on_parameterized_curve() 10 double yy = q.y2() * point.y * point.y; in point_on_parameterized_curve() 11 double x = q.x() * point.x; in point_on_parameterized_curve() 12 double y = q.y() * point.y; in point_on_parameterized_curve()
|
/external/skia/experimental/Intersection/ |
D | CubicParameterization_TestUtility.cpp | 38 bool point_on_parameterized_curve(const Cubic& cubic, const _Point& point) { in point_on_parameterized_curve() argument 41 double xxx = coeffs[xxx_coeff] * point.x * point.x * point.x; in point_on_parameterized_curve() 42 double xxy = coeffs[xxy_coeff] * point.x * point.x * point.y; in point_on_parameterized_curve() 43 double xyy = coeffs[xyy_coeff] * point.x * point.y * point.y; in point_on_parameterized_curve() 44 double yyy = coeffs[yyy_coeff] * point.y * point.y * point.y; in point_on_parameterized_curve() 45 double xx = coeffs[ xx_coeff] * point.x * point.x; in point_on_parameterized_curve() 46 double xy = coeffs[ xy_coeff] * point.x * point.y; in point_on_parameterized_curve() 47 double yy = coeffs[ yy_coeff] * point.y * point.y; in point_on_parameterized_curve() 48 double x = coeffs[ x_coeff] * point.x; in point_on_parameterized_curve() 49 double y = coeffs[ y_coeff] * point.y; in point_on_parameterized_curve()
|
D | QuadraticParameterization_TestUtility.cpp | 6 bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point) { in point_on_parameterized_curve() argument 8 double xx = q.x2() * point.x * point.x; in point_on_parameterized_curve() 9 double xy = q.xy() * point.x * point.y; in point_on_parameterized_curve() 10 double yy = q.y2() * point.y * point.y; in point_on_parameterized_curve() 11 double x = q.x() * point.x; in point_on_parameterized_curve() 12 double y = q.y() * point.y; in point_on_parameterized_curve()
|
/external/pdfium/core/src/reflow/ |
D | reflowedtextpage.cpp | 150 inline FX_FLOAT _GetDistance(CFX_FloatRect floatRect, CPDF_Point point) in _GetDistance() argument 152 if(floatRect.right < point.x && floatRect.bottom > point.y) { in _GetDistance() 153 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(floatRect.bottom - point.y, … in _GetDistance() 155 if (floatRect.right < point.x && floatRect.top < point.y) { in _GetDistance() 156 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(point.y - floatRect.top, 2)); in _GetDistance() 158 if(floatRect.left > point.x && floatRect.bottom > point.y) { in _GetDistance() 159 …return FXSYS_sqrt(FXSYS_pow(floatRect.bottom - point.y, 2) + FXSYS_pow(floatRect.left - point.x, 2… in _GetDistance() 161 if((floatRect.right > point.x || FXSYS_fabs(floatRect.right - point.x) <= 0.0001f) && in _GetDistance() 162 …(floatRect.left < point.x || FXSYS_fabs(floatRect.left - point.x) <= 0.0001f) && floatRect.bottom … in _GetDistance() 163 return FXSYS_fabs(floatRect.bottom - point.y); in _GetDistance() [all …]
|
/external/openssl/crypto/ec/ |
D | ec_oct.c | 71 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates_GFp() argument 80 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GFp() 89 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp() 98 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp() 101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp() 105 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates_GF2m() argument 114 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GF2m() 123 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GF2m() 126 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GF2m() 128 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GF2m() [all …]
|
D | ec2_smpl.c | 305 int ec_GF2m_simple_point_init(EC_POINT *point) in ec_GF2m_simple_point_init() argument 307 BN_init(&point->X); in ec_GF2m_simple_point_init() 308 BN_init(&point->Y); in ec_GF2m_simple_point_init() 309 BN_init(&point->Z); in ec_GF2m_simple_point_init() 315 void ec_GF2m_simple_point_finish(EC_POINT *point) in ec_GF2m_simple_point_finish() argument 317 BN_free(&point->X); in ec_GF2m_simple_point_finish() 318 BN_free(&point->Y); in ec_GF2m_simple_point_finish() 319 BN_free(&point->Z); in ec_GF2m_simple_point_finish() 324 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) in ec_GF2m_simple_point_clear_finish() argument 326 BN_clear_free(&point->X); in ec_GF2m_simple_point_clear_finish() [all …]
|
/external/chromium_org/rlz/lib/ |
D | lib_values_unittest.cc | 17 rlz_lib::AccessPoint point; in TEST() local 18 EXPECT_FALSE(rlz_lib::GetAccessPointFromName(NULL, &point)); in TEST() 19 EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); in TEST() 21 EXPECT_TRUE(rlz_lib::GetAccessPointFromName("", &point)); in TEST() 22 EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); in TEST() 24 EXPECT_FALSE(rlz_lib::GetAccessPointFromName("i1", &point)); in TEST() 25 EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); in TEST() 27 EXPECT_TRUE(rlz_lib::GetAccessPointFromName("I7", &point)); in TEST() 28 EXPECT_EQ(rlz_lib::IE_DEFAULT_SEARCH, point); in TEST() 30 EXPECT_TRUE(rlz_lib::GetAccessPointFromName("T4", &point)); in TEST() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | FloatPolygon.cpp | 52 …isPointOnLineSegment(const FloatPoint& vertex1, const FloatPoint& vertex2, const FloatPoint& point) in isPointOnLineSegment() argument 54 return point.x() >= std::min(vertex1.x(), vertex2.x()) in isPointOnLineSegment() 55 && point.x() <= std::max(vertex1.x(), vertex2.x()) in isPointOnLineSegment() 56 && areCollinearPoints(vertex1, vertex2, point); in isPointOnLineSegment() 154 …nline float leftSide(const FloatPoint& vertex1, const FloatPoint& vertex2, const FloatPoint& point) in leftSide() argument 156 …return ((point.x() - vertex1.x()) * (vertex2.y() - vertex1.y())) - ((vertex2.x() - vertex1.x()) * … in leftSide() 159 bool FloatPolygon::containsEvenOdd(const FloatPoint& point) const in containsEvenOdd() 165 if (isPointOnLineSegment(vertex1, vertex2, point)) in containsEvenOdd() 167 …if ((vertex1.y() <= point.y() && vertex2.y() > point.y()) || (vertex1.y() > point.y() && vertex2.y… in containsEvenOdd() 168 float vt = (point.y() - vertex1.y()) / (vertex2.y() - vertex1.y()); in containsEvenOdd() [all …]
|
/external/chromium_org/ppapi/cpp/ |
D | rect.h | 25 rect_.point.x = 0; in Rect() 26 rect_.point.y = 0; in Rect() 37 set_x(rect.point.x); in Rect() 38 set_y(rect.point.y); in Rect() 126 return rect_.point.x; in x() 133 rect_.point.x = in_x; in set_x() 140 return rect_.point.y; in y() 147 rect_.point.y = in_y; in set_y() 189 Point point() const { in point() function 190 return Point(rect_.point); in point() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | RenderGeometryMapTest.cpp | 148 FloatPoint point; in TEST_F() local 150 EXPECT_EQ(FloatPoint(8.0f, 8.0f), rgm.mapToContainer(point, nullptr)); in TEST_F() 154 EXPECT_EQ(FloatPoint(0.0f, 0.0f), rgm.mapToContainer(point, nullptr)); in TEST_F() 158 … EXPECT_EQ(FloatPoint(21.0f, 6.0f), rgm.mapToContainer(point, getRenderBox(webView, "CenterDiv"))); in TEST_F() 162 …EXPECT_EQ(FloatPoint(22.0f, 12.0f), rgm.mapToContainer(point, getRenderBox(webView, "CenterDiv"))); in TEST_F() 165 EXPECT_EQ(FloatPoint(1.0f, 6.0f), rgm.mapToContainer(point, getRenderBox(webView, "InnerDiv"))); in TEST_F() 168 EXPECT_EQ(FloatPoint(50.0f, 44.0f), rgm.mapToContainer(point, nullptr)); in TEST_F() 188 FloatPoint point; in TEST_F() local 193 EXPECT_EQ(FloatPoint(8.0f, 8.0f), rgm.mapToContainer(point, nullptr)); in TEST_F() 197 EXPECT_EQ(FloatPoint(0.0f, 0.0f), rgm.mapToContainer(point, nullptr)); in TEST_F() [all …]
|
/external/llvm/test/Transforms/DeadArgElim/ |
D | 2008-01-16-VarargsParamAttrs.ll | 3 %struct.point = type { double, double } 4 …point] [ %struct.point { double 1.000000e+00, double 2.000000e+00 }, %struct.point { double 3.0000… 8 %pi = alloca %struct.point ; <%struct.point*> [#uses=0] 10 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] 24 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] 25 %tmp = getelementptr [4 x %struct.point]* @pts, i32 0, i32 0 ; <%struct.point*> [#uses=1] 26 %tmp1 = call i32 (i32, ...)* @va1( i32 1, %struct.point* byval %tmp ) nounwind ; <i32> [#uses=0]
|
/external/chromium_org/ui/gfx/geometry/ |
D | point.cc | 18 Point::Point(DWORD point) : PointBase<Point, int, Vector2d>(0, 0){ in Point() argument 19 POINTS points = MAKEPOINTS(point); in Point() 24 Point::Point(const POINT& point) in Point() argument 25 : PointBase<Point, int, Vector2d>(point.x, point.y) { in Point() 28 Point& Point::operator=(const POINT& point) { in operator =() argument 29 set_x(point.x); in operator =() 30 set_y(point.y); in operator =() 41 Point::Point(const CGPoint& point) in Point() argument 42 : PointBase<Point, int, Vector2d>(point.x, point.y) { in Point()
|
D | point_conversions.cc | 11 Point ToFlooredPoint(const PointF& point) { in ToFlooredPoint() argument 12 int x = ToFlooredInt(point.x()); in ToFlooredPoint() 13 int y = ToFlooredInt(point.y()); in ToFlooredPoint() 17 Point ToCeiledPoint(const PointF& point) { in ToCeiledPoint() argument 18 int x = ToCeiledInt(point.x()); in ToCeiledPoint() 19 int y = ToCeiledInt(point.y()); in ToCeiledPoint() 23 Point ToRoundedPoint(const PointF& point) { in ToRoundedPoint() argument 24 int x = ToRoundedInt(point.x()); in ToRoundedPoint() 25 int y = ToRoundedInt(point.y()); in ToRoundedPoint()
|
/external/chromium_org/v8/benchmarks/spinning-balls/ |
D | v.js | 97 PointsList.prototype.add = function (point) { argument 98 if (this.head !== null) this.head.prev = point; 99 point.next = this.head; 100 this.head = point; 105 PointsList.prototype.remove = function (point) { argument 106 if (point.next !== null) { 107 point.next.prev = point.prev; 109 if (point.prev !== null) { 110 point.prev.next = point.next; 112 this.head = point.next; [all …]
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
D | GdiPlusTypes.h | 254 PointF(IN const PointF &point) in PointF() argument 256 X = point.X; in PointF() 257 Y = point.Y; in PointF() 273 PointF operator+(IN const PointF& point) const 275 return PointF(X + point.X, 276 Y + point.Y); 279 PointF operator-(IN const PointF& point) const 281 return PointF(X - point.X, 282 Y - point.Y); 285 BOOL Equals(IN const PointF& point) in Equals() argument [all …]
|