/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/libchrome/ui/gfx/geometry/ |
D | point_unittest.cc | 17 Point a(10, 20); in TEST() 25 EXPECT_FALSE(Point(1, 0).IsOrigin()); in TEST() 26 EXPECT_FALSE(Point(0, 1).IsOrigin()); in TEST() 27 EXPECT_FALSE(Point(1, 2).IsOrigin()); in TEST() 28 EXPECT_FALSE(Point(-1, 0).IsOrigin()); in TEST() 29 EXPECT_FALSE(Point(0, -1).IsOrigin()); in TEST() 30 EXPECT_FALSE(Point(-1, -2).IsOrigin()); in TEST() 31 EXPECT_TRUE(Point(0, 0).IsOrigin()); in TEST() 43 Point a(1, 5); in TEST() 48 Point expected; in TEST() [all …]
|
D | point.h | 27 class GFX_EXPORT Point { 29 constexpr Point() : x_(0), y_(0) {} in Point() function 30 constexpr Point(int x, int y) : x_(x), y_(y) {} in Point() function 35 explicit Point(DWORD point); 36 explicit Point(const POINT& point); 37 Point& operator=(const POINT& point); 39 explicit Point(const CGPoint& point); 73 void SetToMin(const Point& other); 74 void SetToMax(const Point& other); 86 bool operator<(const Point& rhs) const { [all …]
|
D | point.cc | 23 Point::Point(DWORD point) { in Point() function in gfx::Point 29 Point::Point(const POINT& point) : x_(point.x), y_(point.y) { in Point() function in gfx::Point 32 Point& Point::operator=(const POINT& point) { in operator =() 38 Point::Point(const CGPoint& point) : x_(point.x), y_(point.y) { 43 POINT Point::ToPOINT() const { in ToPOINT() 50 CGPoint Point::ToCGPoint() const { in ToCGPoint() 55 void Point::SetToMin(const Point& other) { in SetToMin() 60 void Point::SetToMax(const Point& other) { in SetToMax() 65 std::string Point::ToString() const { in ToString() 69 Point ScaleToCeiledPoint(const Point& point, float x_scale, float y_scale) { in ScaleToCeiledPoint() [all …]
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | RendererCommonTest.java | 21 import android.graphics.Point; 32 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 33 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 34 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 40 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 41 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 42 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 48 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 49 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 50 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 16.0f / 9, 0, 0)); in testZeroDisplaySize() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | points.c | 46 if (ctx->Point.Size == size) in point_size() 55 ctx->Point.Size = size; in point_size() 132 if (TEST_EQ_3V(ctx->Point.Params, params)) in _mesa_PointParameterfv() 135 COPY_3V(ctx->Point.Params, params); in _mesa_PointParameterfv() 136 ctx->Point._Attenuated = (ctx->Point.Params[0] != 1.0F || in _mesa_PointParameterfv() 137 ctx->Point.Params[1] != 0.0F || in _mesa_PointParameterfv() 138 ctx->Point.Params[2] != 0.0F); in _mesa_PointParameterfv() 146 if (ctx->Point.MinSize == params[0]) in _mesa_PointParameterfv() 149 ctx->Point.MinSize = params[0]; in _mesa_PointParameterfv() 157 if (ctx->Point.MaxSize == params[0]) in _mesa_PointParameterfv() [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | geometry_test.py | 13 p = g.Point(1, 2) 17 p = g.Point(1, 2) 18 q = g.Point(3, 4) 19 r = g.Point(4, 6) 24 p = g.Point(1, 2) 31 p = g.Point(1, 2) 32 r = g.Point(2, 4) 37 p = g.Point(1, 2) 38 q = g.Point(2, 4) 47 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3)) [all …]
|
D | geometry.py | 9 class Point(collections.namedtuple('Point', ['x', 'y'])): class 23 if isinstance(other, Point): 24 return Point(self.x + other.x, self.y + other.y) 36 return Point(factor * self.x, factor * self.y) 51 if not isinstance(top_left, Point): 52 top_left = Point(*top_left) 53 if not isinstance(bottom_right, Point): 54 bottom_right = Point(*bottom_right) 74 return cls(Point(d['left'], d['top']), Point(d['right'], d['bottom']))
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | DeprecatedTypeHandling1102Test.java | 17 static class Point { class in DeprecatedTypeHandling1102Test 26 static class Point3D extends Point { 35 JavaType elem = SimpleType.construct(Point.class); in testSimplePOJOType() 37 Point p = MAPPER.readValue(aposToQuotes("{'x':1,'y':2}"), elem); in testSimplePOJOType() 58 JavaType elem = SimpleType.construct(Point.class); in testExplicitCollectionType() 63 List<Point> l = MAPPER.readValue(json, t); in testExplicitCollectionType() 67 assertEquals(Point.class, ob.getClass()); in testExplicitCollectionType() 68 Point p = (Point) ob; in testExplicitCollectionType() 77 JavaType elem = SimpleType.construct(Point.class); in testExplicitMapType() 82 Map<String,Point> m = MAPPER.readValue(json, t); in testExplicitMapType() [all …]
|
/external/geojson-jackson/src/test/java/org/geojson/jackson/ |
D | PointTest.java | 7 import org.geojson.Point; 38 Point point = new Point(100, 0); in itShouldSerializeAPoint() 48 assertTrue(value instanceof Point); in itShouldDeserializeAPoint() 49 Point point = (Point)value; in itShouldDeserializeAPoint() 57 Point point = (Point)value; in itShouldDeserializeAPointWithAltitude() 63 Point point = new Point(100, 0, 256); in itShouldSerializeAPointWithAltitude() 72 Point point = (Point)value; in itShouldDeserializeAPointWithAdditionalAttributes() 78 Point point = new Point(100, 0, 256, 345d, 678d); in itShouldSerializeAPointWithAdditionalAttributes() 85 Point point = new Point(100, 0, 256, 345d, 678d); in itShouldSerializeAPointWithAdditionalAttributesAndNull()
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/util/ |
D | threshold_curve_unittest.cc | 44 ThresholdCurve::Point point, in CheckRelativePosition() 76 constexpr ThresholdCurve::Point p1{1000, 2000}; in TEST() 77 constexpr ThresholdCurve::Point p2{2000, 1000}; in TEST() 161 constexpr ThresholdCurve::Point p1{100, 200}; in TEST() 162 constexpr ThresholdCurve::Point p2{p1.x + 1, p1.y}; in TEST() 228 constexpr ThresholdCurve::Point p1{100, 200}; in TEST() 229 constexpr ThresholdCurve::Point p2{p1.x, p1.y - 1}; in TEST() 295 constexpr ThresholdCurve::Point p{100, 200}; in TEST() 339 constexpr ThresholdCurve::Point c1_left{5, 10}; in TEST() 340 constexpr ThresholdCurve::Point c1_right{10, 5}; in TEST() [all …]
|
D | threshold_curve.h | 20 struct Point { struct 21 constexpr Point(float x, float y) : x(x), y(y) {} in Point() argument 47 ThresholdCurve(const Point& left, const Point& right) in ThresholdCurve() 56 : ThresholdCurve(Point{a_x, a_y}, Point{b_x, b_y}) {} in ThresholdCurve() 59 bool IsBelowCurve(const Point& p) const { in IsBelowCurve() 74 bool IsAboveCurve(const Point& p) const { in IsAboveCurve() 92 static const Point& GetPoint(const Point& left, in GetPoint() 93 const Point& right, in GetPoint() 110 const Point a; 111 const Point b;
|
/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/python/cryptography/vectors/cryptography_vectors/asymmetric/ECDSA/FIPS_186-2/ |
D | PKV.rsp | 11 Result = F (2 - Point not on curve) 19 Result = F (2 - Point not on curve) 27 Result = F (2 - Point not on curve) 55 Result = F (2 - Point not on curve) 61 Result = F (2 - Point not on curve) 65 Result = F (2 - Point not on curve) 69 Result = F (2 - Point not on curve) 85 Result = F (2 - Point not on curve) 115 Result = F (2 - Point not on curve) 119 Result = F (2 - Point not on curve) [all …]
|
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/ |
D | RouteGuideClientTest.java | 110 Point requestPoint = Point.newBuilder().setLatitude(-1).setLongitude(-1).build(); in getFeature() 111 Point responsePoint = Point.newBuilder().setLatitude(-123).setLongitude(-123).build(); in getFeature() 112 final AtomicReference<Point> pointDelivered = new AtomicReference<Point>(); in getFeature() 120 public void getFeature(Point point, StreamObserver<Feature> responseObserver) { in getFeature() 140 Point requestPoint = Point.newBuilder().setLatitude(-1).setLongitude(-1).build(); in getFeature_error() 141 final AtomicReference<Point> pointDelivered = new AtomicReference<Point>(); in getFeature_error() 148 public void getFeature(Point point, StreamObserver<Feature> responseObserver) { in getFeature_error() 192 .setLo(Point.newBuilder().setLatitude(1).setLongitude(2).build()) in listFeatures() 193 .setHi(Point.newBuilder().setLatitude(3).setLongitude(4).build()) in listFeatures() 230 .setLo(Point.newBuilder().setLatitude(1).setLongitude(2).build()) in listFeatures_error() [all …]
|
/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/python/cryptography/vectors/cryptography_vectors/asymmetric/ECDSA/FIPS_186-3/ |
D | PKV.rsp | 19 Result = F (2 - Point not on curve) 23 Result = F (2 - Point not on curve) 39 Result = F (2 - Point not on curve) 51 Result = F (2 - Point not on curve) 81 Result = F (2 - Point not on curve) 85 Result = F (2 - Point not on curve) 89 Result = F (2 - Point not on curve) 93 Result = F (2 - Point not on curve) 123 Result = F (2 - Point not on curve) 135 Result = F (2 - Point not on curve) [all …]
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRFinder.cpp | 37 explicit NamedDeclOccurrenceFindingVisitor(const SourceLocation Point, in NamedDeclOccurrenceFindingVisitor() argument 41 Point(Point), Context(Context) {} in NamedDeclOccurrenceFindingVisitor() 64 return Point == Start || Point == End || in isPointWithin() 66 Point) && in isPointWithin() 67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin() 71 const SourceLocation Point; // The location to find the NamedDecl. member in clang::tooling::__anon52afb2580111::NamedDeclOccurrenceFindingVisitor 78 const SourceLocation Point) { in getNamedDeclAt() argument 80 NamedDeclOccurrenceFindingVisitor Visitor(Point, Context); in getNamedDeclAt() 89 SM.isBeforeInTranslationUnit(StartLoc, Point) != in getNamedDeclAt() 90 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_pb.js | 28 proto.routeguide.Point = function(opt_data) { class in proto.routeguide 31 goog.inherits(proto.routeguide.Point, jspb.Message); 33 proto.routeguide.Point.displayName = 'proto.routeguide.Point'; 48 proto.routeguide.Point.prototype.toObject = function(opt_includeInstance) { 49 return proto.routeguide.Point.toObject(opt_includeInstance, this); 61 proto.routeguide.Point.toObject = function(includeInstance, msg) { 80 proto.routeguide.Point.deserializeBinary = function(bytes) { 82 var msg = new proto.routeguide.Point; 83 return proto.routeguide.Point.deserializeBinaryFromReader(msg, reader); 94 proto.routeguide.Point.deserializeBinaryFromReader = function(msg, reader) { [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestConvertingSerializer.java | 27 static class Point class in TestConvertingSerializer 31 public Point(int v1, int v2) { in Point() method in TestConvertingSerializer.Point 54 static class PointConverter extends StdConverter<Point, int[]> 56 @Override public int[] convert(Point value) { in convert() 63 public Point value; 66 value = new Point(x, y); in PointWrapper() 72 public Point[] values; 75 values = new Point[] { new Point(x, y), new Point(y, x) }; in PointListWrapperArray() 81 public List<Point> values; 84 values = Arrays.asList(new Point[] { new Point(x, y), new Point(y, x) }); in PointListWrapperList() [all …]
|
/external/geojson-jackson/src/main/java/org/geojson/ |
D | Point.java | 3 public class Point extends GeoJsonObject { class 7 public Point() { in Point() method in Point 10 public Point(LngLatAlt coordinates) { in Point() method in Point 14 public Point(double longitude, double latitude) { in Point() method in Point 18 public Point(double longitude, double latitude, double altitude) { in Point() method in Point 22 public Point(double longitude, double latitude, double altitude, double... additionalElements) { in Point() method in Point 44 if (!(o instanceof Point)) { in equals() 50 Point point = (Point)o; in equals()
|
/external/llvm-project/lldb/test/API/functionalities/var_path/ |
D | main.cpp | 3 struct Point { struct 8 Point pt = { 1, 2 }; in main() argument 9 Point points[] = {{1010,2020}, {3030,4040}, {5050,6060}}; in main() 10 Point *pt_ptr = &points[1]; in main() 11 Point &pt_ref = pt; in main() 12 std::shared_ptr<Point> pt_sp(new Point{111,222}); in main()
|
/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/grpc-grpc/examples/ruby/route_guide/ |
D | route_guide_client.rb | 32 Point.new(latitude: 409_146_138, longitude: -746_188_906), 33 Point.new(latitude: 0, longitude: 0) 54 lo: Point.new(latitude: 400_000_000, longitude: -750_000_000), 55 hi: Point.new(latitude: 420_000_000, longitude: -730_000_000)) 87 pt = Point.new( 111 location: Point.new(latitude: 0, longitude: 0)), 113 location: Point.new(latitude: 0, longitude: 1)), 115 location: Point.new(latitude: 1, longitude: 0)), 117 location: Point.new(latitude: 1, longitude: 1)), 119 location: Point.new(latitude: 0, longitude: 1))
|