Home
last modified time | relevance | path

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

12345678910>>...98

/external/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.c231 AF_Point point; in af_glyph_hints_dump_points() local
242 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points()
245 AF_INDEX_NUM( point, points ), in af_glyph_hints_dump_points()
246 point->fx, in af_glyph_hints_dump_points()
247 point->fy, in af_glyph_hints_dump_points()
248 point->ox / 64.0, in af_glyph_hints_dump_points()
249 point->oy / 64.0, in af_glyph_hints_dump_points()
250 point->x / 64.0, in af_glyph_hints_dump_points()
251 point->y / 64.0, in af_glyph_hints_dump_points()
252 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? 'w' : ' ')); in af_glyph_hints_dump_points()
[all …]
/external/clang/test/OpenMP/
Dcancellation_point_messages.cpp5 #pragma omp cancellation point // expected-error {{one of 'for', 'parallel', 'sections' or 'taskgro… in main()
7 #pragma omp cancellation point parallel untied // expected-error {{unexpected OpenMP clause 'untied… in main()
8 #pragma omp cancellation point unknown // expected-error {{one of 'for', 'parallel', 'secti… in main()
9 #pragma omp cancellation point sections( // expected-warning {{extra tokens at the end of '#p… in main()
10 #pragma omp cancellation point for, ) // expected-warning {{extra tokens at the end of '#p… in main()
11 #pragma omp cancellation point taskgroup() // expected-warning {{extra tokens at the end of '#p… in main()
12 #pragma omp cancellation point parallel, if // expected-warning {{extra tokens at the end of '#p… in main()
14 #pragma omp cancellation point for // expected-error {{'#pragma omp cancellation point' cannot be a… in main()
20 #pragma omp cancellation point taskgroup // expected-error {{region cannot be closely nested inside… in main()
26 #pragma omp cancellation point taskgroup // expected-error {{region cannot be closely nested inside… in main()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Dafhints.c245 AF_Point point = hints->points + point_idx; in af_get_segment_index() local
255 if ( point >= segment->first && point <= segment->last ) in af_get_segment_index()
265 if ( point == p ) in af_get_segment_index()
307 AF_Point point; in af_glyph_hints_dump_points() local
318 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points()
320 int point_idx = AF_INDEX_NUM( point, points ); in af_glyph_hints_dump_points()
336 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? "weak" in af_glyph_hints_dump_points()
339 point->fx, in af_glyph_hints_dump_points()
340 point->fy, in af_glyph_hints_dump_points()
341 point->ox / 64.0, in af_glyph_hints_dump_points()
[all …]
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c1085 PSH_Point point = glyph->points; in psh_glyph_load_points() local
1089 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points()
1091 point->flags2 = 0; in psh_glyph_load_points()
1092 point->hint = NULL; in psh_glyph_load_points()
1095 point->org_u = vec->x; in psh_glyph_load_points()
1096 point->org_v = vec->y; in psh_glyph_load_points()
1100 point->org_u = vec->y; in psh_glyph_load_points()
1101 point->org_v = vec->x; in psh_glyph_load_points()
1105 point->org_x = vec->x; in psh_glyph_load_points()
1106 point->org_y = vec->y; in psh_glyph_load_points()
[all …]
/external/freetype/src/pshinter/
Dpshalgo.c1179 PSH_Point point = glyph->points; in psh_glyph_load_points() local
1183 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points()
1185 point->flags2 = 0; in psh_glyph_load_points()
1186 point->hint = NULL; in psh_glyph_load_points()
1189 point->org_u = vec->x; in psh_glyph_load_points()
1190 point->org_v = vec->y; in psh_glyph_load_points()
1194 point->org_u = vec->y; in psh_glyph_load_points()
1195 point->org_v = vec->x; in psh_glyph_load_points()
1199 point->org_x = vec->x; in psh_glyph_load_points()
1200 point->org_y = vec->y; in psh_glyph_load_points()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
Dpshalgo.c1085 PSH_Point point = glyph->points; in psh_glyph_load_points() local
1089 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points()
1091 point->flags2 = 0; in psh_glyph_load_points()
1092 point->hint = NULL; in psh_glyph_load_points()
1095 point->org_u = vec->x; in psh_glyph_load_points()
1096 point->org_v = vec->y; in psh_glyph_load_points()
1100 point->org_u = vec->y; in psh_glyph_load_points()
1101 point->org_v = vec->x; in psh_glyph_load_points()
1105 point->org_x = vec->x; in psh_glyph_load_points()
1106 point->org_y = vec->y; in psh_glyph_load_points()
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathBox.h87 Box (const T &point);
102 void extendBy (const T &point);
112 bool intersects (const T &point) const;
153 inline Box<T>::Box (const T &point) in Box() argument
155 min = point; in Box()
156 max = point; in Box()
201 Box<T>::extendBy(const T &point) in extendBy() argument
205 if (point[i] < min[i]) in extendBy()
206 min[i] = point[i]; in extendBy()
208 if (point[i] > max[i]) in extendBy()
[all …]
DImathInterval.h74 Interval(const T& point);
88 void extendBy(const T& point);
97 bool intersects(const T &point) const;
131 inline Interval<T>::Interval(const T& point) in Interval() argument
133 min = point; in Interval()
134 max = point; in Interval()
161 Interval<T>::extendBy(const T& point) in extendBy() argument
163 if ( point < min ) in extendBy()
164 min = point; in extendBy()
166 if ( point > max ) in extendBy()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DRealPointValuePair.java36 private final double[] point; field in RealPointValuePair
46 public RealPointValuePair(final double[] point, final double value) { in RealPointValuePair() argument
47 this.point = (point == null) ? null : point.clone(); in RealPointValuePair()
58 public RealPointValuePair(final double[] point, final double value, in RealPointValuePair() argument
60 this.point = copyArray ? in RealPointValuePair()
61 ((point == null) ? null : point.clone()) : in RealPointValuePair()
62 point; in RealPointValuePair()
70 return (point == null) ? null : point.clone(); in getPoint()
79 return point; in getPointRef()
DVectorialPointValuePair.java36 private final double[] point; field in VectorialPointValuePair
46 public VectorialPointValuePair(final double[] point, final double[] value) { in VectorialPointValuePair() argument
47 this.point = (point == null) ? null : point.clone(); in VectorialPointValuePair()
58 public VectorialPointValuePair(final double[] point, final double[] value, in VectorialPointValuePair() argument
60 this.point = copyArray ? in VectorialPointValuePair()
61 ((point == null) ? null : point.clone()) : in VectorialPointValuePair()
62 point; in VectorialPointValuePair()
72 return (point == null) ? null : point.clone(); in getPoint()
81 return point; in getPointRef()
/external/libxml2/result/XPath/xptr/
Dstrpoint3 Expression: xpointer(start-point(string-range(//p,'multiple')))
5 1 : Object is a point : index 1 in node TEXT
10 Expression: xpointer(end-point(string-range(//p,'multiple')))
12 1 : Object is a point : index 8 in node TEXT
17 Expression: xpointer(start-point(string-range(//p,'test')))
19 1 : Object is a point : index 10 in node TEXT
22 2 : Object is a point : index 10 in node TEXT
25 3 : Object is a point : index 7 in node TEXT
30 Expression: xpointer(end-point(string-range(//p,'test')))
32 1 : Object is a point : index 13 in node TEXT
[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], [4 x %struct.point]* @pts, i32 0, i32 0 ; <%struct.poin…
26 %tmp1 = call i32 (i32, ...) @va1( i32 1, %struct.point* byval %tmp ) nounwind ; <i32> [#uses=0]
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_pushbuttonimp.cpp145 CFX_PointF point; in DrawWidget() local
148 point.x = m_rtClient.left; in DrawWidget()
149 point.y = m_rtClient.top; in DrawWidget()
153 point.x = m_rtClient.left + in DrawWidget()
155 point.y = m_rtClient.top; in DrawWidget()
159 point.x = m_rtClient.left + m_rtClient.width - pPicture->GetWidth(); in DrawWidget()
160 point.y = m_rtClient.top; in DrawWidget()
163 point.x = m_rtClient.left; in DrawWidget()
164 point.y = m_rtClient.top + m_rtClient.height / 2 - in DrawWidget()
168 point.x = m_rtClient.left + in DrawWidget()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtConvexHullComputer.cpp440 Point32 point; member in btConvexHullInternal::Vertex
450 printf("V%d (%d, %d, %d)", point.index, point.x, point.y, point.z); in print()
458 return point - b.point; in operator -()
463 return (point.index >= 0) ? Rational128(point.dot(b)) in dot()
469 return (point.index >= 0) ? btScalar(point.x) : point128.xvalue(); in xvalue()
474 return (point.index >= 0) ? btScalar(point.y) : point128.yvalue(); in yvalue()
479 return (point.index >= 0) ? btScalar(point.z) : point128.zvalue(); in zvalue()
536 …p p=%p (0 %d\t%d\t%d) -> (%d %d %d)", this, reverse->target->point.index, target->point.index, n… in print()
537 …reverse->target->point.x, reverse->target->point.y, reverse->target->point.z, target->point.x, tar… in print()
559 origin = a->point; in init()
[all …]
/external/v8/benchmarks/spinning-balls/
Dv.js97 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/chromium-trace/catapult/dashboard/dashboard/
Dadd_point_test.py264 point = copy.deepcopy(_SAMPLE_POINT)
265 point['test'] = '1234/abcd_ref'
267 '/add_point', {'data': json.dumps([point])},
278 point = copy.deepcopy(_SAMPLE_POINT)
279 point['test'] = '1234/ref'
281 '/add_point', {'data': json.dumps([point])},
291 point = copy.deepcopy(_SAMPLE_POINT)
292 point['test'] = '_ref/abcd'
294 '/add_point', {'data': json.dumps([point])},
301 point = copy.deepcopy(_SAMPLE_POINT)
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBresenham2Test.java41 for (GridPoint2 point : bresenham.line(0, 0, 512, 512)) in create()
42 pixmap.drawPixel(point.x, point.y); in create()
43 for (GridPoint2 point : bresenham.line(512, 0, 0, 512)) in create()
44 pixmap.drawPixel(point.x, point.y); in create()
45 for (GridPoint2 point : bresenham.line(0, 0, 512, 256)) in create()
46 pixmap.drawPixel(point.x, point.y); in create()
47 for (GridPoint2 point : bresenham.line(512, 0, 0, 256)) in create()
48 pixmap.drawPixel(point.x, point.y); in create()
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_list.h90 const CLST_Rect operator+=(const CPDF_Point& point) {
91 left += point.x;
92 right += point.x;
93 top += point.y;
94 bottom += point.y;
99 const CLST_Rect operator-=(const CPDF_Point& point) {
100 left -= point.x;
101 right -= point.x;
102 top -= point.y;
103 bottom -= point.y;
[all …]
/external/boringssl/src/crypto/ec/
Dsimple.c303 int ec_GFp_simple_point_init(EC_POINT *point) { in ec_GFp_simple_point_init() argument
304 BN_init(&point->X); in ec_GFp_simple_point_init()
305 BN_init(&point->Y); in ec_GFp_simple_point_init()
306 BN_init(&point->Z); in ec_GFp_simple_point_init()
307 point->Z_is_one = 0; in ec_GFp_simple_point_init()
312 void ec_GFp_simple_point_finish(EC_POINT *point) { in ec_GFp_simple_point_finish() argument
313 BN_free(&point->X); in ec_GFp_simple_point_finish()
314 BN_free(&point->Y); in ec_GFp_simple_point_finish()
315 BN_free(&point->Z); in ec_GFp_simple_point_finish()
318 void ec_GFp_simple_point_clear_finish(EC_POINT *point) { in ec_GFp_simple_point_clear_finish() argument
[all …]
/external/libxml2/test/XPath/xptr/
Dstrpoint1 xpointer(start-point(string-range(//p,'multiple')))
2 xpointer(end-point(string-range(//p,'multiple')))
3 xpointer(start-point(string-range(//p,'test')))
4 xpointer(end-point(string-range(//p,'test')))
5 xpointer(start-point(string-range(//*,'multiple',1,0)))
6 xpointer(end-point(string-range(//*,'multiple',1,0)))
7 xpointer(start-point(string-range(//*,'multiple',1,1)))
8 xpointer(end-point(string-range(//*,'multiple',1,1)))
9 xpointer(start-point(string-range(//p,'test'))[1])
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
DChart.java88 for (Point point : points) { in Chart()
89 if (point.x > newPoint.x) { in Chart()
90 if (Math.abs(point.x - newPoint.x) < 0.001f) return; in Chart()
98 lastPoint = point; in Chart()
113 for (Point point : points){ in Chart()
114point.y = Math.min(maxY, Math.max(0, point.y + (moveAllProportionally ? deltaY * point.y : deltaY)… in Chart()
121 Point point = points.get(movingIndex); in Chart()
122 point.x = Math.min(nextX, Math.max(prevX, (event.getX() - chartX) / (float)chartWidth * maxX)); in Chart()
123point.y = Math.min(maxY, Math.max(0, chartHeight - (event.getY() - chartY)) / (float)chartHeight *… in Chart()
136 for (Point point : points) { in Chart()
[all …]

12345678910>>...98