/third_party/boost/libs/geometry/test/iterators/ |
D | ever_circling_iterator.cpp | 32 void test_geometry(G const& geo) in test_geometry() argument 38 std::size_t n = boost::size(geo) * 3; in test_geometry() 42 bg::ever_circling_iterator<iterator_type> it(boost::begin(geo), boost::end(geo)); in test_geometry() 54 boost::begin(geo), boost::end(geo), boost::begin(geo) + 1); in test_geometry() 66 bg::ever_circling_iterator<iterator_type> it(boost::begin(geo), boost::end(geo)); in test_geometry() 69 std::size_t const m = boost::size(geo); in test_geometry() 70 it.moveto(boost::begin(geo) + m - (i % m) - 1); in test_geometry() 79 bg::ever_circling_range_iterator<G const> it(geo); in test_geometry() 91 G geo; in test_geometry() local 92 bg::read_wkt(wkt, geo); in test_geometry() [all …]
|
/third_party/flutter/skia/include/core/ |
D | SkSurfaceProps.h | 27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument 28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB() 32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument 33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR() 37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument 38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH() 42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument 43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
|
/third_party/skia/include/core/ |
D | SkSurfaceProps.h | 27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument 28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB() 32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument 33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR() 37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument 38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH() 42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument 43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
|
/third_party/boost/libs/geometry/test/views/ |
D | reversible_closeable.cpp | 114 Geometry geo; in test_geometry() local 115 bg::read_wkt(wkt, geo); in test_geometry() 117 test_close_reverse<bg::closed, bg::iterate_forward>(geo, expected_n); in test_geometry() 118 test_close_reverse<bg::open, bg::iterate_forward>(geo, expected_n + closing); in test_geometry() 119 test_close_reverse<bg::closed, bg::iterate_reverse>(geo, expected_r); in test_geometry() 123 test_close_reverse<bg::open, bg::iterate_reverse>(geo, expected_r + rclosing); in test_geometry() 125 test_reverse_close<bg::iterate_forward, bg::closed>(geo, expected_n); in test_geometry() 126 test_reverse_close<bg::iterate_forward, bg::open>(geo, expected_n + closing); in test_geometry() 127 test_reverse_close<bg::iterate_reverse, bg::closed>(geo, expected_r); in test_geometry() 131 test_reverse_close<bg::iterate_reverse, bg::open>(geo, expected); in test_geometry() [all …]
|
D | reversible_view.cpp | 57 Geometry geo; in test_geometry() local 58 bg::read_wkt(wkt, geo); in test_geometry() 60 test_forward_or_reverse<bg::iterate_forward>(geo, expected_forward); in test_geometry() 61 test_forward_or_reverse<bg::iterate_reverse>(geo, expected_reverse); in test_geometry()
|
D | closeable_view.cpp | 107 Geometry geo; in test_geometry() local 108 bg::read_wkt(wkt, geo); in test_geometry() 110 test_optionally_closing<bg::closed>(geo, expected_false); in test_geometry() 111 test_optionally_closing<bg::open>(geo, expected_true); in test_geometry()
|
/third_party/boost/libs/geometry/doc/src/examples/core/ |
D | tag_cast.cpp | 20 namespace geo = boost::geometry; 23 typedef geo::model::d2::point_xy<double> point_type; in main() 24 typedef geo::model::polygon<point_type> polygon_type; in main() 26 typedef geo::tag<polygon_type>::type tag; in main() 27 typedef geo::tag_cast<tag, geo::linear_tag, geo::areal_tag>::type base_tag; in main()
|
/third_party/skia/tests/ |
D | GrStyledShapeTest.cpp | 525 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument 527 : fBase(new GrStyledShape(geo.makeShape(paint))) { in TestCase() 777 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument 783 TestCase fillCase(geo, fill, reporter); in test_basic() 789 make_TestCase(geo, fill, reporter) in test_basic() 797 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic() 800 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic() 802 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic() 807 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic() 812 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic() [all …]
|
/third_party/flutter/skia/tests/ |
D | GrShapeTest.cpp | 518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument 520 : fBase(new GrShape(geo.makeShape(paint))) { in TestCase() 767 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument 773 TestCase fillCase(geo, fill, reporter); in test_basic() 779 make_TestCase(geo, fill, reporter) in test_basic() 787 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic() 790 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic() 792 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic() 797 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic() 802 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic() [all …]
|
/third_party/NuttX/drivers/bch/ |
D | bchlib_setup.c | 50 struct geometry geo; in bchlib_setup() local 79 ret = bops->geometry(bch->vnode, &geo); in bchlib_setup() 86 if (!geo.geo_available) in bchlib_setup() 93 if (!readonly && (!bops->write || !geo.geo_writeenabled)) in bchlib_setup() 103 bch->nsectors = geo.geo_nsectors; in bchlib_setup() 104 bch->sectsize = geo.geo_sectorsize; in bchlib_setup()
|
/third_party/boost/boost/graph/ |
D | geodesic_distance.hpp | 136 const Graph& g, DistanceMatrixMap dist, GeodesicMap geo, Measure measure) in all_mean_geodesics() argument 161 put(geo, *i, r); in all_mean_geodesics() 180 const Graph& g, DistanceMatrixMap dist, GeodesicMap geo) in all_mean_geodesics() argument 192 g, dist, geo, measure_mean_geodesic< Result >(g, DistanceMap())); in all_mean_geodesics() 197 const Graph& g, GeodesicMap geo, Measure measure) in small_world_distance() argument 203 = detail::combine_distances(g, geo, std::plus< Result >(), Result(0)); in small_world_distance() 209 const Graph& g, GeodesicMap geo) in small_world_distance() argument 211 return small_world_distance(g, geo, measure_graph_mean_geodesic(g, geo)); in small_world_distance()
|
/third_party/skia/src/gpu/ops/ |
D | AtlasTextOp.cpp | 62 Geometry* geo, in AtlasTextOp() argument 71 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective()) 73 , fHead{geo} 87 Geometry* geo, in AtlasTextOp() argument 96 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective()) 99 , fHead{geo} 115 void* geo = alloc->makeBytesAlignedTo(sizeof(Geometry), alignof(Geometry)); in MakeForBlob() local 116 return new(geo) Geometry{subRun, in MakeForBlob() 281 for (const Geometry* geo = fHead; geo != nullptr; geo = geo->fNext) { in onPrepareDraws() local 282 const GrAtlasSubRun& subRun = geo->fSubRun; in onPrepareDraws() [all …]
|
D | DashOp.cpp | 262 DashDraw(const LineData& geo) { in DashDraw() 263 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw() 264 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw() 265 fPhase = geo.fPhase; in DashDraw() 663 for (const auto& geo : fLines) { in onDumpInfo() local 666 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in onDumpInfo() 667 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in onDumpInfo() 668 geo.fSrcStrokeWidth, in onDumpInfo() 669 geo.fIntervals[0], in onDumpInfo() 670 geo.fIntervals[1], in onDumpInfo() [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | xcbgrab.c | 113 xcb_get_geometry_reply_t *geo) in xcbgrab_reposition() argument 120 if (!p || !geo) in xcbgrab_reposition() 146 c->x = FFMIN(FFMAX(0, x), geo->width - w); in xcbgrab_reposition() 147 c->y = FFMIN(FFMAX(0, y), geo->height - h); in xcbgrab_reposition() 334 xcb_get_geometry_reply_t *geo, in xcbgrab_draw_mouse() argument 421 xcb_get_geometry_reply_t *geo = NULL; in xcbgrab_read_packet() local 438 geo = xcb_get_geometry_reply(c->conn, gc, NULL); in xcbgrab_read_packet() 439 if (!geo) { in xcbgrab_read_packet() 450 free(geo); in xcbgrab_read_packet() 460 xcbgrab_reposition(s, p, geo); in xcbgrab_read_packet() [all …]
|
D | bktr.c | 101 struct meteor_geomet geo; in bktr_init() local 154 geo.rows = height; in bktr_init() 155 geo.columns = width; in bktr_init() 156 geo.frames = 1; in bktr_init() 157 geo.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_YUV_12; in bktr_init() 170 geo.oformat |= METEOR_GEO_EVEN_ONLY; in bktr_init() 172 if (ioctl(*video_fd, METEORSETGEO, &geo) < 0) { in bktr_init()
|
/third_party/skia/experimental/skrive/src/ |
D | Shape.cpp | 44 } else if (const Geometry* geo = *child) { in onRevalidate() local 45 fGeometries.push_back(geo); in onRevalidate() 58 for (const auto& geo : fGeometries) { in onRender() local 59 geo->draw(canvas, p, paint->getFillRule()); in onRender()
|
/third_party/flutter/skia/modules/sksg/include/ |
D | SkSGDraw.h | 26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument 27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
|
/third_party/skia/modules/sksg/include/ |
D | SkSGDraw.h | 26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument 27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | ShapeLayer.cpp | 241 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this)) { in attachShape() local 242 geos.push_back(std::move(geo)); in attachShape() 291 auto geo = drawGeos.size() > 1 in attachShape() local 295 SkASSERT(geo); in attachShape() 296 add_draw(sksg::Draw::Make(std::move(geo), std::move(paint)), *rec); in attachShape() 351 for (auto& geo : geos) { in attachShape() local 353 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape() 354 : std::move(geo)); in attachShape()
|
D | PuckerBloat.cpp | 31 explicit PuckerBloatEffect(sk_sp<sksg::GeometryNode> geo) : INHERITED({std::move(geo)}) {} in PuckerBloatEffect() argument 42 SkPath onRevalidateEffect(const sk_sp<GeometryNode>& geo) override { in onRevalidateEffect() argument 47 const auto input = geo->asPath(); in onRevalidateEffect()
|
D | MergePaths.cpp | 22 for (auto& geo : geos) { in MergeGeometry() local 24 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in MergeGeometry()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | device.c | 637 { struct hd_geometry geo; in ntfs_device_partition_start_sector_get() local 639 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_partition_start_sector_get() 641 geo.start, geo.start); in ntfs_device_partition_start_sector_get() 642 return geo.start; in ntfs_device_partition_start_sector_get() 760 { struct hd_geometry geo; in ntfs_device_get_geo() local 762 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_get_geo() 763 dev->d_heads = geo.heads; in ntfs_device_get_geo() 764 dev->d_sectors_per_track = geo.sectors; in ntfs_device_get_geo()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 233 for (const auto& geo : fLines) { in dumpInfo() local 236 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in dumpInfo() 237 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in dumpInfo() 238 geo.fSrcStrokeWidth, in dumpInfo() 239 geo.fIntervals[0], in dumpInfo() 240 geo.fIntervals[1], in dumpInfo() 241 geo.fPhase); in dumpInfo() 307 DashDraw(const LineData& geo) { in DashDraw() 308 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw() 309 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw() [all …]
|
D | GrAtlasTextOp.cpp | 85 const Geometry& geo = fGeoData[0]; in init() local 89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init() 109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
|
/third_party/flutter/skia/modules/skottie/src/layers/ |
D | ShapeLayer.cpp | 262 for (auto& geo : geos) { in Merge() local 264 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in Merge() 596 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this)) { in attachShape() local 597 geos.push_back(std::move(geo)); in attachShape() 639 auto geo = drawGeos.size() > 1 in attachShape() local 643 SkASSERT(geo); in attachShape() 644 add_draw(sksg::Draw::Make(std::move(geo), std::move(paint)), *rec); in attachShape() 699 for (auto& geo : geos) { in attachShape() local 701 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape() 702 : std::move(geo)); in attachShape()
|