/external/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-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-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-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/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | array_util_unittest.cc | 23 bool operator==(const Point& lhs, const Point& rhs) { in operator ==() 28 EXPECT_EQ(Point(1.f, 2.f, 3.f), in TEST() 29 PairDirection(Point(0.f, 0.f, 0.f), Point(1.f, 2.f, 3.f))); in TEST() 30 EXPECT_EQ(Point(-1.f, -2.f, -3.f), in TEST() 31 PairDirection(Point(1.f, 2.f, 3.f), Point(0.f, 0.f, 0.f))); in TEST() 32 EXPECT_EQ(Point(0.f, 0.f, 0.f), in TEST() 33 PairDirection(Point(1.f, 0.f, 0.f), Point(1.f, 0.f, 0.f))); in TEST() 34 EXPECT_EQ(Point(-1.f, 2.f, 0.f), in TEST() 35 PairDirection(Point(1.f, 0.f, 0.f), Point(0.f, 2.f, 0.f))); in TEST() 36 EXPECT_EQ(Point(-4.f, 4.f, -4.f), in TEST() [all …]
|
D | array_util.cc | 25 float GetMinimumSpacing(const std::vector<Point>& array_geometry) { in GetMinimumSpacing() 37 Point PairDirection(const Point& a, const Point& b) { in PairDirection() 41 float DotProduct(const Point& a, const Point& b) { in DotProduct() 45 Point CrossProduct(const Point& a, const Point& b) { in CrossProduct() 50 bool AreParallel(const Point& a, const Point& b) { in AreParallel() 51 Point cross_product = CrossProduct(a, b); in AreParallel() 55 bool ArePerpendicular(const Point& a, const Point& b) { in ArePerpendicular() 59 rtc::Optional<Point> GetDirectionIfLinear( in GetDirectionIfLinear() 60 const std::vector<Point>& array_geometry) { in GetDirectionIfLinear() 62 const Point first_pair_direction = in GetDirectionIfLinear() [all …]
|
/external/clang/test/OpenMP/ |
D | cancellation_point_messages.cpp | 5 #pragma omp cancellation point // expected-error {{one of 'for', 'parallel', 'sections' or 'taskgro… in main() 7 …mp cancellation point parallel untied // expected-error {{unexpected OpenMP clause 'untied' in dir… 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/ |
D | afhints.c | 245 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/freetype/src/autofit/ |
D | afhints.c | 231 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/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | GridPoint2.java | 21 /** A point in a 2D grid, with integer x and y coordinates 30 /** Constructs a new 2D grid point. */ 34 /** Constructs a new 2D grid point. 45 * @param point The 2D grid point to make a copy of. */ 46 public GridPoint2 (GridPoint2 point) { in GridPoint2() argument 47 this.x = point.x; in GridPoint2() 48 this.y = point.y; in GridPoint2() 51 /** Sets the coordinates of this 2D grid point to that of another. 53 * @param point The 2D grid point to copy the coordinates of. 55 * @return this 2D grid point for chaining. */ [all …]
|
D | GridPoint3.java | 21 /** A point in a 3D grid, with integer x and y coordinates 31 /** Constructs a 3D grid point with all coordinates pointing to the origin (0, 0, 0). */ 35 /** Constructs a 3D grid point. 48 * @param point The 3D grid point to make a copy of. */ 49 public GridPoint3 (GridPoint3 point) { in GridPoint3() argument 50 this.x = point.x; in GridPoint3() 51 this.y = point.y; in GridPoint3() 52 this.z = point.z; in GridPoint3() 55 /** Sets the coordinates of this 3D grid point to that of another. 57 * @param point The 3D grid point to copy coordinates of. [all …]
|
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/ |
D | Drawing_1.cpp | 16 void MyFilledCircle( Mat img, Point center ); 18 void MyLine( Mat img, Point start, Point end ); 44 MyFilledCircle( atom_image, Point( w/2, w/2) ); in main() 54 Point( 0, 7*w/8 ), in main() 55 Point( w, w), in main() 61 MyLine( rook_image, Point( 0, 15*w/16 ), Point( w, 15*w/16 ) ); in main() 62 MyLine( rook_image, Point( w/4, 7*w/8 ), Point( w/4, w ) ); in main() 63 MyLine( rook_image, Point( w/2, 7*w/8 ), Point( w/2, w ) ); in main() 64 MyLine( rook_image, Point( 3*w/4, 7*w/8 ), Point( 3*w/4, w ) ); in main() 88 Point( w/2, w/2 ), in MyEllipse() [all …]
|
/external/vulkan-validation-layers/libs/glm/ |
D | fwd.hpp | 46 /// Quaternion of low single-precision floating-point numbers. 51 /// Quaternion of medium single-precision floating-point numbers. 56 /// Quaternion of high single-precision floating-point numbers. 68 /// Quaternion of default single-precision floating-point numbers. 72 /// Quaternion of low single-precision floating-point numbers. 77 /// Quaternion of medium single-precision floating-point numbers. 82 /// Quaternion of high single-precision floating-point numbers. 87 /// Quaternion of default single-precision floating-point numbers. 93 /// Quaternion of low double-precision floating-point numbers. 98 /// Quaternion of medium double-precision floating-point numbers. [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | RealPointValuePair.java | 24 * This class holds a point and the value of an objective function at this point. 35 /** Point coordinates. */ 36 private final double[] point; field in RealPointValuePair 38 /** Value of the objective function at the point. */ 41 /** Build a point/objective function value pair. 42 * @param point point coordinates (the built instance will store 44 * @param value value of an objective function at the point 46 public RealPointValuePair(final double[] point, final double value) { in RealPointValuePair() argument 47 this.point = (point == null) ? null : point.clone(); in RealPointValuePair() 51 /** Build a point/objective function value pair. [all …]
|
D | VectorialPointValuePair.java | 23 * This class holds a point and the vectorial value of an objective function at this point. 35 /** Point coordinates. */ 36 private final double[] point; field in VectorialPointValuePair 38 /** Vectorial value of the objective function at the point. */ 41 /** Build a point/objective function value pair. 42 * @param point point coordinates (the built instance will store 44 * @param value value of an objective function at the point 46 public VectorialPointValuePair(final double[] point, final double[] value) { in VectorialPointValuePair() argument 47 this.point = (point == null) ? null : point.clone(); in VectorialPointValuePair() 51 /** Build a point/objective function value pair. [all …]
|
/external/opencv3/doc/tutorials/core/basic_geometric_drawing/ |
D | basic_geometric_drawing.markdown | 9 - Use @ref cv::Point to define 2D points in an image. 20 For this tutorial, we will heavily use two structures: @ref cv::Point and @ref cv::Scalar : 22 ### Point subsection 24 It represents a 2D point, specified by its image coordinates \f$x\f$ and \f$y\f$. We can define it … 26 Point pt; 32 Point pt = Point(10, 8); 78 MyFilledCircle( atom_image, Point( w/2.0, w/2.0) ); 89 Point( 0, 7*w/8.0 ), 90 Point( w, w), 96 MyLine( rook_image, Point( 0, 15*w/16 ), Point( w, 15*w/16 ) ); [all …]
|
/external/mesa3d/src/mesa/main/ |
D | points.c | 3 * Point operations. 39 * Set current point size. 40 * \param size point diameter in pixels 54 if (ctx->Point.Size == size) in _mesa_PointSize() 58 ctx->Point.Size = size; in _mesa_PointSize() 107 /* Drivers that support point sprites must also support point parameters. in _mesa_PointParameterfv() 108 * If point parameters aren't supported, then this function shouldn't even in _mesa_PointParameterfv() 123 if (TEST_EQ_3V(ctx->Point.Params, params)) in _mesa_PointParameterfv() 126 COPY_3V(ctx->Point.Params, params); in _mesa_PointParameterfv() 127 ctx->Point._Attenuated = (ctx->Point.Params[0] != 1.0 || in _mesa_PointParameterfv() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPath.java | 10 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO; 11 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO; 20 private List<Point> points = new ArrayList<Point>(); 21 private List<Point> pointsMovedTo = new ArrayList<Point>(); 22 private List<Point> pointsLinedTo = new ArrayList<Point>(); 23 private Point wasMovedTo; 28 Point p = new Point(x, y, MOVE_TO); in moveTo() 35 Point point = new Point(x, y, LINE_TO); in lineTo() local 36 points.add(point); in lineTo() 41 …quadDescription = "Add a quadratic bezier from last point, approaching (" + x1 + "," + y1 + "), " + in quadTo() [all …]
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 940 /* we need at least 4 points to create an inflection point */ in psh_glyph_compute_inflections() 1079 /* load outline point coordinates into hinter glyph */ 1085 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() [all …]
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 1034 /* we need at least 4 points to create an inflection point */ in psh_glyph_compute_inflections() 1173 /* load outline point coordinates into hinter glyph */ 1179 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() [all …]
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/ |
D | pshalgo.c | 940 /* we need at least 4 points to create an inflection point */ in psh_glyph_compute_inflections() 1079 /* load outline point coordinates into hinter glyph */ 1085 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() [all …]
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
D | Chart.java | 37 ArrayList<Point> points = new ArrayList(); 85 Point newPoint = pixelToPoint(mouseX, mouseY); in Chart() 87 Point lastPoint = null; in Chart() 88 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() 114 …point.y = Math.min(maxY, Math.max(0, point.y + (moveAllProportionally ? deltaY * point.y : deltaY)… in Chart() 121 Point point = points.get(movingIndex); in Chart() [all …]
|
/external/opencv3/modules/core/misc/java/test/ |
D | RectTest.java | 3 import org.opencv.core.Point; 28 Point p_br = new Point(); in testBr() 30 Point truth = new Point(10, 10); in testBr() 42 Point p_inner = new Point(5, 5); in testContains() 43 Point p_outer = new Point(5, 55); in testContains() 44 Point p_bl = new Point(0, 0); in testContains() 45 Point p_br = new Point(10, 0); in testContains() 46 Point p_tl = new Point(0, 10); in testContains() 47 Point p_tr = new Point(10, 10); in testContains() 102 Point p1 = new Point(4, 4); in testRectPointPoint() [all …]
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Geometry.h | 115 // Public methods below this point are for Magick++ use only. 187 // Public methods below this point are for Magick++ use only. 198 class MagickPPExport Point; variable 200 // Compare two Point objects 202 (const Magick::Point& left_,const Magick::Point& right_); 204 (const Magick::Point& left_,const Magick::Point& right_); 206 class MagickPPExport Point 211 Point(); 213 // Construct Point from specified string 214 Point(const char *point_); [all …]
|
/external/opencv3/modules/imgproc/misc/java/test/ |
D | ImgprocTest.java | 15 import org.opencv.core.Point; 26 Point anchorPoint; 35 anchorPoint = new Point(2, 2); in setUp() 149 …tOfPoint2f curve = new MatOfPoint2f(new Point(1, 3), new Point(2, 4), new Point(3, 5), new Point(4… in testApproxPolyDP() 155 List<Point> approxCurveGold = new ArrayList<Point>(3); in testApproxPolyDP() 156 approxCurveGold.add(new Point(1, 3)); in testApproxPolyDP() 157 approxCurveGold.add(new Point(3, 5)); in testApproxPolyDP() 158 approxCurveGold.add(new Point(5, 3)); in testApproxPolyDP() 164 …tOfPoint2f curve = new MatOfPoint2f(new Point(1, 3), new Point(2, 4), new Point(3, 5), new Point(4… in testArcLength() 207 …MatOfPoint points = new MatOfPoint(new Point(0, 0), new Point(0, 4), new Point(4, 0), new Point(4,… in testBoundingRect() [all …]
|