Home
last modified time | relevance | path

Searched full:point (Results 1 – 25 of 7966) sorted by relevance

12345678910>>...319

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc23 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 …]
Darray_util.cc25 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 …]
Darray_util.h45 using Point = CartesianPoint<float>; variable
48 Point PairDirection(const Point& a, const Point& b);
50 float DotProduct(const Point& a, const Point& b);
51 Point CrossProduct(const Point& a, const Point& b);
53 bool AreParallel(const Point& a, const Point& b);
54 bool ArePerpendicular(const Point& a, const Point& b);
58 float GetMinimumSpacing(const std::vector<Point>& array_geometry);
62 rtc::Optional<Point> GetDirectionIfLinear(
63 const std::vector<Point>& array_geometry);
67 rtc::Optional<Point> GetNormalIfPlanar(
[all …]
/external/swiftshader/src/Renderer/
DPoint.hpp23 struct Point struct
25 Point();
26 Point(const int i);
27 Point(const Point &P);
28 Point(const Vector &v);
29 Point(float Px, float Py, float Pz);
31 Point &operator=(const Point &P);
51 Point &operator+=(const Vector &v);
52 Point &operator-=(const Vector &v);
54 friend Point operator+(const Point &P, const Vector &v);
[all …]
DPoint.cpp15 #include "Point.hpp"
21 Point &Point::operator+=(const Vector &v) in operator +=()
30 Point &Point::operator-=(const Vector &v) in operator -=()
39 Point operator+(const Point &P, const Vector &v) in operator +()
41 return Point(P.x + v.x, P.y + v.y, P.z + v.z); in operator +()
44 Point operator-(const Point &P, const Vector &v) in operator -()
46 return Point(P.x - v.x, P.y - v.y, P.z - v.z); in operator -()
49 Vector operator-(const Point &P, const Point &Q) in operator -()
54 Point operator*(const Matrix &M, const Point &P) in operator *()
56 return Point(M(1, 1) * P.x + M(1, 2) * P.y + M(1, 3) * P.z + M(1, 4), in operator *()
[all …]
/external/freetype/src/autofit/
Dafhints.c247 AF_Point point = hints->points + point_idx; in af_get_segment_index() local
257 if ( point >= segment->first && point <= segment->last ) in af_get_segment_index()
267 if ( point == p ) in af_get_segment_index()
311 AF_Point point; in af_glyph_hints_dump_points() local
322 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points()
324 int point_idx = AF_INDEX_NUM( point, points ); in af_glyph_hints_dump_points()
332 if ( contour < climit && *contour == point ) in af_glyph_hints_dump_points()
347 ( point->flags & AF_FLAG_NEAR ) in af_glyph_hints_dump_points()
349 : ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) in af_glyph_hints_dump_points()
353 point->fx, 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 …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/
Dfwd.hpp46 /// 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/freetype/src/pshinter/
Dpshalgo.c940 /* 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/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c940 /* 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/mesa3d/src/mesa/main/
Dpoints.c3 * 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/
DRealPointValuePair.java24 * 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 …]
DVectorialPointValuePair.java23 * 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/
DShadowPath.java10 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/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTrans.cpp68 /* Point 0 */ in PVRTBoundingBoxCompute()
69 pBoundingBox->Point[0].x=MinX; in PVRTBoundingBoxCompute()
70 pBoundingBox->Point[0].y=MinY; in PVRTBoundingBoxCompute()
71 pBoundingBox->Point[0].z=MinZ; in PVRTBoundingBoxCompute()
73 /* Point 1 */ in PVRTBoundingBoxCompute()
74 pBoundingBox->Point[1].x=MinX; in PVRTBoundingBoxCompute()
75 pBoundingBox->Point[1].y=MinY; in PVRTBoundingBoxCompute()
76 pBoundingBox->Point[1].z=MaxZ; in PVRTBoundingBoxCompute()
78 /* Point 2 */ in PVRTBoundingBoxCompute()
79 pBoundingBox->Point[2].x=MinX; in PVRTBoundingBoxCompute()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DGeometry.h115 // 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/vulkan-validation-layers/libs/glm/gtc/
Dpacking.hpp54 /// 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/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/pdfium/fpdfsdk/fxedit/
Dfxet_list.h71 const CLST_Rect operator+=(const CFX_PointF& point) {
72 left += point.x;
73 right += point.x;
74 top += point.y;
75 bottom += point.y;
80 const CLST_Rect operator-=(const CFX_PointF& point) {
81 left -= point.x;
82 right -= point.x;
83 top -= point.y;
84 bottom -= point.y;
[all …]
/external/icu/icu4c/source/common/unicode/
Dutf16.h42 /* single-code point definitions -------------------------------------------- */
45 * Does this code unit alone encode a code point (BMP, not a surrogate)?
77 * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)),
86 * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)),
101 * Get a supplementary code point value (U+10000..U+10ffff)
108 * @return supplementary code point (U+10000..U+10ffff)
117 * supplementary code point (0x10000..0x10ffff).
118 * @param supplementary 32-bit code point (U+10000..U+10ffff)
126 * supplementary code point (0x10000..0x10ffff).
127 * @param supplementary 32-bit code point (U+10000..U+10ffff)
[all …]
/external/skia/include/core/
DSkPoint.h64 /** 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/chromium-trace/catapult/devil/devil/utils/
Dgeometry_test.py15 p = g.Point(1, 2)
19 p = g.Point(1, 2)
20 q = g.Point(3, 4)
21 r = g.Point(4, 6)
26 p = g.Point(1, 2)
28 p + 4 # Can't add point and scalar.
30 4 + p # Can't add scalar and point.
33 p = g.Point(1, 2)
34 r = g.Point(2, 4)
39 p = g.Point(1, 2)
[all …]
/external/libmojo/third_party/catapult/devil/devil/utils/
Dgeometry_test.py15 p = g.Point(1, 2)
19 p = g.Point(1, 2)
20 q = g.Point(3, 4)
21 r = g.Point(4, 6)
26 p = g.Point(1, 2)
28 p + 4 # Can't add point and scalar.
30 4 + p # Can't add scalar and point.
33 p = g.Point(1, 2)
34 r = g.Point(2, 4)
39 p = g.Point(1, 2)
[all …]
/external/libchrome/base/third_party/icu/
Dicu_utf.h34 * It is outside of the Unicode code point range 0..0x10ffff.
52 * Is this code point a Unicode noncharacter?
53 * @param c 32-bit code point
62 * Is c a Unicode code point value (0..U+10ffff)
69 * - the highest Unicode code point value is U+10ffff
74 * @param c 32-bit code point
84 * Is this code point a surrogate (U+d800..U+dfff)?
85 * @param c 32-bit code point
92 * Assuming c is a surrogate code point (U_IS_SURROGATE(c)),
94 * @param c 32-bit code point
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_packing.hpp28 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu…
30 /// @defgroup core_func_packing Floating-Point Pack and Unpack Functions
47 …/// First, converts each component of the normalized floating-point value v into 8- or 16-bit inte…
50 /// The conversion for component c of v to fixed point is done as follows:
57 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu…
60 …/// First, converts each component of the normalized floating-point value v into 8- or 16-bit inte…
63 /// The conversion for component c of v to fixed point is done as follows:
70 …c/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Fu…
73 …/// First, converts each component of the normalized floating-point value v into 8- or 16-bit inte…
76 /// The conversion for component c of v to fixed point is done as follows:
[all …]

12345678910>>...319