Home
last modified time | relevance | path

Searched refs:point (Results 1 – 25 of 2846) sorted by relevance

12345678910>>...114

/external/chromium_org/v8/test/cctest/
Dtest-fixed-dtoa.cc46 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 …]
Dtest-bignum-dtoa.cc63 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 …]
Dtest-dtoa.cc63 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 …]
Dtest-fast-dtoa.cc60 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/
Dafhints.c198 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/
Dafhints.c186 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/
Dpshalgo.c1188 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/
Dpshalgo.c1188 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/ui/events/gestures/
Dgesture_sequence.cc530 GesturePoint& point = GesturePointForEvent(event); in ProcessTouchEventForGesture() local
531 point.UpdateValues(event); in ProcessTouchEventForGesture()
534 const int point_id = point.point_id(); in ProcessTouchEventForGesture()
540 AppendBeginGestureEvent(point, gestures.get()); in ProcessTouchEventForGesture()
556 TouchDown(event, point, gestures.get()); in ProcessTouchEventForGesture()
561 if (Click(event, point, gestures.get())) in ProcessTouchEventForGesture()
562 point.UpdateForTap(); in ProcessTouchEventForGesture()
564 PrependTapCancelGestureEvent(point, gestures.get()); in ProcessTouchEventForGesture()
568 if (ScrollStart(event, point, gestures.get())) { in ProcessTouchEventForGesture()
569 PrependTapCancelGestureEvent(point, gestures.get()); in ProcessTouchEventForGesture()
[all …]
Dgesture_sequence.h114 void AppendTapDownGestureEvent(const GesturePoint& point, Gestures* gestures);
115 void PrependTapCancelGestureEvent(const GesturePoint& point,
117 void AppendBeginGestureEvent(const GesturePoint& point, Gestures* gestures);
118 void AppendEndGestureEvent(const GesturePoint& point, Gestures* gestures);
119 void AppendClickGestureEvent(const GesturePoint& point,
122 void AppendDoubleClickGestureEvent(const GesturePoint& point,
126 void AppendLongTapGestureEvent(const GesturePoint& point,
130 void AppendScrollGestureBegin(const GesturePoint& point,
133 void AppendScrollGestureEnd(const GesturePoint& point,
138 void AppendScrollGestureUpdate(GesturePoint& point,
[all …]
/external/freetype/src/pshinter/
Dpshalgo.c1188 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/skia/experimental/Intersection/
DCubicParameterization_TestUtility.cpp38 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()
/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicParameterization_TestUtility.cpp38 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()
DQuadraticParameterization_TestUtility.cpp6 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/openssl/crypto/ec/
Dec_oct.c71 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 …]
Dec2_smpl.c304 int ec_GF2m_simple_point_init(EC_POINT *point) in ec_GF2m_simple_point_init() argument
306 BN_init(&point->X); in ec_GF2m_simple_point_init()
307 BN_init(&point->Y); in ec_GF2m_simple_point_init()
308 BN_init(&point->Z); in ec_GF2m_simple_point_init()
314 void ec_GF2m_simple_point_finish(EC_POINT *point) in ec_GF2m_simple_point_finish() argument
316 BN_free(&point->X); in ec_GF2m_simple_point_finish()
317 BN_free(&point->Y); in ec_GF2m_simple_point_finish()
318 BN_free(&point->Z); in ec_GF2m_simple_point_finish()
323 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) in ec_GF2m_simple_point_clear_finish() argument
325 BN_clear_free(&point->X); in ec_GF2m_simple_point_clear_finish()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
Dec_oct.c71 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 …]
Dec2_smpl.c304 int ec_GF2m_simple_point_init(EC_POINT *point) in ec_GF2m_simple_point_init() argument
306 BN_init(&point->X); in ec_GF2m_simple_point_init()
307 BN_init(&point->Y); in ec_GF2m_simple_point_init()
308 BN_init(&point->Z); in ec_GF2m_simple_point_init()
314 void ec_GF2m_simple_point_finish(EC_POINT *point) in ec_GF2m_simple_point_finish() argument
316 BN_free(&point->X); in ec_GF2m_simple_point_finish()
317 BN_free(&point->Y); in ec_GF2m_simple_point_finish()
318 BN_free(&point->Z); in ec_GF2m_simple_point_finish()
323 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) in ec_GF2m_simple_point_clear_finish() argument
325 BN_clear_free(&point->X); in ec_GF2m_simple_point_clear_finish()
[all …]
/external/pdfium/core/src/reflow/
Dreflowedtextpage.cpp150 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/chromium_org/rlz/lib/
Dlib_values_unittest.cc17 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/ppapi/cpp/
Drect.h25 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/llvm/test/Transforms/DeadArgElim/
D2008-01-16-VarargsParamAttrs.ll3 %struct.point = type { double, double }
4point] [ %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/third_party/WebKit/Source/platform/geometry/
DFloatPolygon.cpp52 …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/ui/gfx/geometry/
Dpoint.cc18 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()
Dpoint_conversions.cc11 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()

12345678910>>...114