/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/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/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/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/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/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/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/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/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/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 …]
|
/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/vulkan-validation-layers/libs/glm/gtc/ |
D | packing.hpp | 54 /// First, converts the normalized floating-point value v into a 8-bit integer value. 57 /// The conversion for component c of v to fixed point is done as follows: 64 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu… 67 /// Convert a single 8-bit integer to a normalized floating-point value. 69 /// The conversion for unpacked fixed-point value f to floating point is done as follows: 76 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu… 79 …/// First, converts each component of the normalized floating-point value v into 8-bit integer val… 82 /// The conversion for component c of v to fixed point is done as follows: 92 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu… 96 …/// Then, each component is converted to a normalized floating-point value to generate the returne… [all …]
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
D | seam_finders.hpp | 68 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 77 void find(const std::vector<UMat>&, const std::vector<Point>&, std::vector<UMat>&) {} in find() argument 85 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 100 std::vector<Point> corners_; 109 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 111 virtual void find(const std::vector<Size> &size, const std::vector<Point> &corners, 128 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 142 ImagePairLess(const std::vector<Mat> &images, const std::vector<Point> &corners) in ImagePairLess() 147 Point c1 = corners_[l.first] + Point(src_[l.first].cols / 2, src_[l.first].rows / 2); in operator ()() 148 Point c2 = corners_[l.second] + Point(src_[l.second].cols / 2, src_[l.second].rows / 2); in operator ()() [all …]
|
/external/libxml2/result/XPath/xptr/ |
D | strpoint | 3 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/icu/icu4c/source/common/unicode/ |
D | utf16.h | 40 /* single-code point definitions -------------------------------------------- */ 43 * Does this code unit alone encode a code point (BMP, not a surrogate)? 75 * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)), 84 * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)), 99 * Get a supplementary code point value (U+10000..U+10ffff) 106 * @return supplementary code point (U+10000..U+10ffff) 115 * supplementary code point (0x10000..0x10ffff). 116 * @param supplementary 32-bit code point (U+10000..U+10ffff) 124 * supplementary code point (0x10000..0x10ffff). 125 * @param supplementary 32-bit code point (U+10000..U+10ffff) [all …]
|
/external/skia/include/core/ |
D | SkPoint.h | 64 /** Set the x and y values of the point. */ 67 /** Rotate the point clockwise, writing the new point into dst 72 /** Rotate the point clockwise, writing the new point back into the point 77 /** Rotate the point counter-clockwise, writing the new point into dst. 82 /** Rotate the point counter-clockwise, writing the new point back into 83 the point 87 /** Negate the X and Y coordinates of the point. 91 /** Return a new point whose X and Y coordinates are the negative of the 92 original point's 101 /** Add v's coordinates to this point's */ [all …]
|
/external/pdfium/xfa/src/fwl/src/basewidget/ |
D | fwl_pushbuttonimp.cpp | 145 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 …]
|