/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 …]
|
D | array_util.h | 45 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 …]
|
D | nonlinear_beamformer_unittest.cc | 54 std::vector<Point> array_geometry; in TEST() 55 array_geometry.push_back(Point(-0.025f, 0.f, 0.f)); in TEST() 56 array_geometry.push_back(Point(0.025f, 0.f, 0.f)); in TEST() 70 std::vector<Point> array_geometry; in TEST() 71 array_geometry.push_back(Point(-0.1f, 0.f, 0.f)); in TEST() 72 array_geometry.push_back(Point(0.f, 0.f, 0.f)); in TEST() 73 array_geometry.push_back(Point(0.2f, 0.f, 0.f)); in TEST() 89 std::vector<Point> array_geometry; in TEST() 90 array_geometry.push_back(Point(-0.1f, 0.f, 0.f)); in TEST() 91 array_geometry.push_back(Point(0.f, 0.f, 0.f)); in TEST() [all …]
|
/external/swiftshader/src/Renderer/ |
D | Point.hpp | 23 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 …]
|
D | Point.cpp | 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 *() 61 Point operator*(const Point &P, const Matrix &M) in operator *() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | points.c | 54 if (ctx->Point.Size == size) in _mesa_PointSize() 58 ctx->Point.Size = size; in _mesa_PointSize() 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() 128 ctx->Point.Params[1] != 0.0 || in _mesa_PointParameterfv() 129 ctx->Point.Params[2] != 0.0); in _mesa_PointParameterfv() 131 if (ctx->Point._Attenuated) in _mesa_PointParameterfv() 142 if (ctx->Point.MinSize == params[0]) in _mesa_PointParameterfv() 145 ctx->Point.MinSize = params[0]; in _mesa_PointParameterfv() [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTTrans.cpp | 69 pBoundingBox->Point[0].x=MinX; in PVRTBoundingBoxCompute() 70 pBoundingBox->Point[0].y=MinY; in PVRTBoundingBoxCompute() 71 pBoundingBox->Point[0].z=MinZ; 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() 79 pBoundingBox->Point[2].x=MinX; in PVRTBoundingBoxCompute() 80 pBoundingBox->Point[2].y=MaxY; in PVRTBoundingBoxCompute() 81 pBoundingBox->Point[2].z=MinZ; in PVRTBoundingBoxCompute() 84 pBoundingBox->Point[3].x=MinX; in PVRTBoundingBoxCompute() [all …]
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | RendererCommonTest.java | 34 import android.graphics.Point; 44 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 45 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 46 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 51 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 52 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 53 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 58 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 59 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 60 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 16.0f / 9, 0, 0)); in testZeroDisplaySize() [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() 54 public List<Point> getPoints() { in getPoints() 63 public Point getWasMovedTo() { in getWasMovedTo() [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | geometry_test.py | 15 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) 33 p = g.Point(1, 2) 34 r = g.Point(2, 4) 39 p = g.Point(1, 2) 40 q = g.Point(2, 4) 50 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3)) [all …]
|
D | geometry.py | 10 class Point(collections.namedtuple('Point', ['x', 'y'])): class 24 if isinstance(other, Point): 25 return Point(self.x + other.x, self.y + other.y) 37 return Point(factor * self.x, factor * self.y) 52 if not isinstance(top_left, Point): 53 top_left = Point(*top_left) 54 if not isinstance(bottom_right, Point): 55 bottom_right = Point(*bottom_right) 75 return cls(Point(d['left'], d['top']), Point(d['right'], d['bottom']))
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | geometry_test.py | 15 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) 33 p = g.Point(1, 2) 34 r = g.Point(2, 4) 39 p = g.Point(1, 2) 40 q = g.Point(2, 4) 50 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3)) [all …]
|
D | geometry.py | 10 class Point(collections.namedtuple('Point', ['x', 'y'])): class 24 if isinstance(other, Point): 25 return Point(self.x + other.x, self.y + other.y) 37 return Point(factor * self.x, factor * self.y) 52 if not isinstance(top_left, Point): 53 top_left = Point(*top_left) 54 if not isinstance(bottom_right, Point): 55 bottom_right = Point(*bottom_right) 75 return cls(Point(d['left'], d['top']), Point(d['right'], d['bottom']))
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Geometry.h | 198 class MagickPPExport Point; variable 202 (const Magick::Point& left_,const Magick::Point& right_); 204 (const Magick::Point& left_,const Magick::Point& right_); 206 class MagickPPExport Point 211 Point(); 214 Point(const char *point_); 217 Point(const Point &point_); 220 Point(const std::string &point_); 223 Point(double x_,double y_); 226 Point(double xy_); [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/CBackend/ |
D | 2008-10-21-PPCLongDoubleConstant.ll | 5 %"struct.Point<0>" = type { %"struct.Tensor<1,0>" } 7 …e<0>" = type { %struct.Subscriptor, i32, %"struct.std::vector<Point<0>,std::allocator<Point<0> > >… 10 …struct.std::_Vector_base<Point<0>,std::allocator<Point<0> > >" = type { %"struct.std::_Vector_base… 11 …std::_Vector_base<Point<0>,std::allocator<Point<0> > >::_Vector_impl" = type { %"struct.Point<0>"*… 15 …%"struct.std::vector<Point<0>,std::allocator<Point<0> > >" = type { %"struct.std::_Vector_base<Poi…
|
/external/libchrome/crypto/ |
D | p224.h | 26 struct CRYPTO_EXPORT Point { struct 46 void CRYPTO_EXPORT ScalarMult(const Point& in, argument 48 Point* out); 52 void CRYPTO_EXPORT ScalarBaseMult(const uint8_t* scalar, Point* out); 55 void CRYPTO_EXPORT Add(const Point& a, const Point& b, Point* out); 58 void CRYPTO_EXPORT Negate(const Point& a, Point* out);
|
/external/ImageMagick/Magick++/lib/ |
D | Geometry.cpp | 574 MagickPPExport int Magick::operator == (const Magick::Point& left_, in operator ==() 575 const Magick::Point& right_) in operator ==() 581 MagickPPExport int Magick::operator != (const Magick::Point& left_, in operator !=() 582 const Magick::Point& right_) in operator !=() 587 Magick::Point::Point(void) in Point() function in Magick::Point 593 Magick::Point::Point(const char *point_) in Point() function in Magick::Point 600 Magick::Point::Point(const Point &point_) in Point() function in Magick::Point 606 Magick::Point::Point(const std::string &point_) in Point() function in Magick::Point 613 Magick::Point::Point(double x_,double y_) in Point() function in Magick::Point 619 Magick::Point::Point(double xy_) in Point() function in Magick::Point [all …]
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | MessageHeaderTest.java | 11 import org.chromium.mojo.bindings.test.mojom.imported.Point; 26 Point p = new Point(); in testSimpleMessageHeader() 36 Point p2 = Point.deserialize(message.getPayload()); in testSimpleMessageHeader() 51 Point p = new Point(); in testMessageWithRequestIdHeader() 64 Point p2 = Point.deserialize(message.getPayload()); in testMessageWithRequestIdHeader()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | CameraConfigurationManager.java | 21 import android.graphics.Point; 41 private Point screenResolution; 42 private Point cameraResolution; 65 screenResolution = new Point(width, height); in initFromCameraParameters() 93 Point getCameraResolution() { in getCameraResolution() 97 Point getScreenResolution() { in getScreenResolution() 134 private static Point findBestPreviewSizeValue(Camera.Parameters parameters, in findBestPreviewSizeValue() 135 Point screenResolution, in findBestPreviewSizeValue() 137 Point bestSize = null; in findBestPreviewSizeValue() 148 bestSize = new Point(supportedWidth, supportedHeight); in findBestPreviewSizeValue() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | PathTest.java | 12 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO; 13 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO; 34 List<ShadowPath.Point> moveToPoints = shadowOf(path).getPoints(); in testMoveTo() 36 assertEquals(new ShadowPath.Point(2, 3, MOVE_TO), moveToPoints.get(0)); in testMoveTo() 37 assertEquals(new ShadowPath.Point(3, 4, MOVE_TO), moveToPoints.get(1)); in testMoveTo() 46 List<ShadowPath.Point> lineToPoints = shadowOf(path).getPoints(); in testLineTo() 48 assertEquals(new ShadowPath.Point(2, 3, LINE_TO), lineToPoints.get(0)); in testLineTo() 49 assertEquals(new ShadowPath.Point(3, 4, LINE_TO), lineToPoints.get(1)); in testLineTo()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-01-31-BigShift3.ll | 10 … %struct.Texture*, %struct.Material*, %struct.Point, i32, i32, %struct.Point, %struct.Point, %stru… 11 %struct.Point = type { double, double, double } 15 …%struct.Texture = type { %struct.Point, %struct.BitMapListStruct*, %struct.Point, %struct.Point, %…
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2009-01-31-BigShift3.ll | 10 … %struct.Texture*, %struct.Material*, %struct.Point, i32, i32, %struct.Point, %struct.Point, %stru… 11 %struct.Point = type { double, double, double } 15 …%struct.Texture = type { %struct.Point, %struct.BitMapListStruct*, %struct.Point, %struct.Point, %…
|
/external/clang/test/Index/ |
D | complete-macro-args.c | 1 struct Point { struct 10 void test(struct Point *p) { in test() argument 17 void test2(struct Point *p) { in test2() 23 void test3(struct Point *p) { 32 void test3(struct Point *p) { 36 void test3(struct Point *p) {
|
/external/clang/test/SemaCXX/ |
D | tag-ambig.cpp | 5 typedef struct Point Point; typedef 8 class Point; 16 struct Point { }; struct in Test 17 virtual bool testMethod (Test::Point& p) = 0;
|