/third_party/boost/libs/geometry/test/algorithms/area/ |
D | area_geo.cpp | 31 bg::strategy::area::geographic<> geographic_default; in test_geo_strategies() 33 bg::strategy::area::geographic<bg::strategy::andoyer, 1> in test_geo_strategies() 35 bg::strategy::area::geographic<bg::strategy::andoyer, 2> in test_geo_strategies() 37 bg::strategy::area::geographic<bg::strategy::andoyer, 3> in test_geo_strategies() 39 bg::strategy::area::geographic<bg::strategy::andoyer, 4> in test_geo_strategies() 41 bg::strategy::area::geographic<bg::strategy::andoyer, 5> in test_geo_strategies() 44 bg::strategy::area::geographic<bg::strategy::thomas, 1> in test_geo_strategies() 46 bg::strategy::area::geographic<bg::strategy::thomas, 2> in test_geo_strategies() 48 bg::strategy::area::geographic<bg::strategy::thomas, 3> in test_geo_strategies() 50 bg::strategy::area::geographic<bg::strategy::thomas, 4> in test_geo_strategies() [all …]
|
D | area_sph_geo.cpp | 40 bg::strategy::area::geographic in test_spherical_geo() 60 bg::strategy::area::spherical in test_spherical_geo() 69 ct area = bg::area(geometry, strategy_unary); in test_spherical_geo() local 70 BOOST_CHECK_CLOSE(area, expected, 0.0001); in test_spherical_geo() 73 bg::strategy::area::spherical in test_spherical_geo() 78 area = bg::area(geometry, strategy); in test_spherical_geo() 80 BOOST_CHECK_CLOSE(area, two * two * expected, 0.0001); in test_spherical_geo() 86 area = bg::area(geometry_geo, area_geographic); in test_spherical_geo() 88 BOOST_CHECK_CLOSE(area, 63758202715509.844, 0.0001); in test_spherical_geo() 95 bg::strategy::area::spherical in test_spherical_geo() [all …]
|
D | test_area.hpp | 28 typename bg::default_area_result<Geometry>::type area = bg::area(geometry); in test_area() local 36 << "area : " << bg::area(geometry) in test_area() 41 BOOST_CHECK_CLOSE(area, expected_area, 0.0001); in test_area() 44 bg::strategy::area::cartesian<> strategy1; in test_area() 46 area = bg::area(geometry, strategy1); in test_area() 48 bg::strategy::area::cartesian in test_area() 53 area = bg::area(geometry, strategy2); in test_area() 71 bg::area(geometry); in test_empty_input()
|
D | area.cpp | 97 ct area1 = bg::area(ccw_polygon); in test_ccw() 99 ct area2 = bg::area(ccw_polygon); in test_ccw() 101 ct area3 = bg::area(ccw_polygon); in test_ccw() 103 ct area4 = bg::area(ccw_polygon); in test_ccw() 136 ct area1 = bg::area(polygon); in test_poles_ccw() 138 ct area2 = bg::area(polygon); in test_poles_ccw() 140 ct area3 = bg::area(polygon); in test_poles_ccw() 142 ct area4 = bg::area(polygon); in test_poles_ccw() 172 double int_area = bg::area(int_poly); in test_large_integers() 173 double double_area = bg::area(double_poly); in test_large_integers() [all …]
|
/third_party/alsa-lib/src/ |
D | shmarea.c | 57 struct snd_shm_area *area = malloc(sizeof(*area)); in snd_shm_area_create() local 58 if (area) { in snd_shm_area_create() 59 area->shmid = shmid; in snd_shm_area_create() 60 area->ptr = ptr; in snd_shm_area_create() 61 area->share = 1; in snd_shm_area_create() 62 list_add_tail(&area->list, &shm_areas); in snd_shm_area_create() 64 return area; in snd_shm_area_create() 74 struct snd_shm_area *snd_shm_area_share(struct snd_shm_area *area) in snd_shm_area_share() argument 76 if (area == NULL) in snd_shm_area_share() 78 area->share++; in snd_shm_area_share() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/shm/ |
D | shmpipe.c | 156 ShmArea *area; member 186 static void sp_close_shm (ShmArea * area); 189 static void sp_shm_area_dec (ShmPipe * self, ShmArea * area); 261 area->use_count--; \ 262 sp_close_shm (area); \ 276 ShmArea *area = spalloc_new (ShmArea); in sp_open_shm() local 282 memset (area, 0, sizeof (ShmArea)); in sp_open_shm() 284 area->shm_area_buf = MAP_FAILED; in sp_open_shm() 285 area->use_count = 1; in sp_open_shm() 287 area->shm_area_len = size; in sp_open_shm() [all …]
|
/third_party/boost/libs/geometry/test/cs_undefined/ |
D | measure.cpp | 20 bg::area(g.r, bg::strategy::area::cartesian<>()); in test_main() 21 bg::area(g.r, bg::strategy::area::spherical<>()); in test_main() 22 bg::area(g.r, bg::strategy::area::geographic<>()); in test_main() 23 bg::area(g.po, bg::strategy::area::cartesian<>()); in test_main() 24 bg::area(g.po, bg::strategy::area::spherical<>()); in test_main() 25 bg::area(g.po, bg::strategy::area::geographic<>()); in test_main() 26 bg::area(g.mpo, bg::strategy::area::cartesian<>()); in test_main() 27 bg::area(g.mpo, bg::strategy::area::spherical<>()); in test_main() 28 bg::area(g.mpo, bg::strategy::area::geographic<>()); in test_main()
|
/third_party/boost/boost/geometry/algorithms/ |
D | area.hpp | 64 namespace detail { namespace area namespace 148 struct area : detail::calculate_null struct 163 struct area<Geometry, box_tag> : detail::area::box_area struct 168 struct area<Ring, ring_tag> struct 169 : detail::area::ring_area 178 struct area<Polygon, polygon_tag> : detail::calculate_polygon_sum struct 186 detail::area::ring_area in apply() 197 struct area<MultiGeometry, multi_polygon_tag> : detail::multi_sum struct 206 area<typename boost::range_value<MultiGeometry>::type> in apply() 220 struct area struct [all …]
|
/third_party/boost/libs/geometry/doc/generated/ |
D | area.qbk | 16 [section:area_1 area] 18 '''<indexterm><primary>area</primary></indexterm>''' 19 Calculates the area of a geometry. 22 The free function area calculates the area of a geometry. It uses the default strategy, based on th… 24 …area algorithm calculates the surface area of all geometries having a surface, namely box, polygon… 26 The area calculation can be done in all three common coordinate systems, Cartesian, Spherical and G… 30 area_result<Geometry>::type area(Geometry const & geometry)`` 41 The calculated area 51 `#include <boost/geometry/algorithms/area.hpp>` 53 [include reference/algorithms/area.qbk] [all …]
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | qsc.hpp | 131 inline T qsc_fwd_equat_face_theta(T const& phi, T const& y, T const& x, area_type *area) in qsc_fwd_equat_face_theta() argument 139 *area = area_0; in qsc_fwd_equat_face_theta() 144 *area = area_0; in qsc_fwd_equat_face_theta() 146 *area = area_1; in qsc_fwd_equat_face_theta() 149 *area = area_2; in qsc_fwd_equat_face_theta() 152 *area = area_3; in qsc_fwd_equat_face_theta() 193 area_type area; in fwd() local 213 area = area_0; in fwd() 216 area = area_1; in fwd() 219 area = area_2; in fwd() [all …]
|
/third_party/pixman/demos/ |
D | dither.c | 109 GdkRectangle *area = &event->expose.area; in on_expose() local 116 app->format, area->width, area->height, NULL, 0); in on_expose() 122 area->x, area->y, 0, 0, 0, 0, in on_expose() 123 app->width - area->x, in on_expose() 124 app->height - area->y); in on_expose() 126 pixels = calloc (1, area->width * area->height * 4); in on_expose() 128 PIXMAN_a8r8g8b8, area->width, area->height, pixels, area->width * 4); in on_expose() 133 area->x, area->y, 0, 0, 0, 0, in on_expose() 134 app->width - area->x, in on_expose() 135 app->height - area->y); in on_expose() [all …]
|
D | scale.c | 284 GdkRectangle *area = &event->expose.area; in on_expose() local 290 pixels = calloc (1, area->width * area->height * 4); in on_expose() 292 PIXMAN_a8r8g8b8, area->width, area->height, pixels, area->width * 4); in on_expose() 294 if (area->x < app->scaled_width && area->y < app->scaled_height) in on_expose() 299 area->x, area->y, 0, 0, 0, 0, in on_expose() 300 app->scaled_width - area->x, app->scaled_height - area->y); in on_expose() 305 area->width, area->height, area->width * 4); in on_expose() 309 cairo_set_source_surface (cr, surface, area->x, area->y); in on_expose()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_image.h | 286 const dng_rect &area, 298 const dng_rect &area, in CopyArea() argument 303 CopyArea (src, area, plane, plane, planes); in CopyArea() 314 const dng_rect &area, 321 const dng_rect &area) in SetConstant_uint8() argument 326 SetConstant ((uint32) value, area); in SetConstant_uint8() 336 const dng_rect &area) in SetConstant_uint16() argument 341 SetConstant ((uint32) value, area); in SetConstant_uint16() 351 const dng_rect &area) in SetConstant_int16() argument 356 SetConstant ((uint32) (uint16) value, area); in SetConstant_int16() [all …]
|
D | dng_area_task.cpp | 97 dng_point dng_area_task::FindTileSize (const dng_rect &area) const in FindTileSize() 106 repeatingTile1 = area; in FindTileSize() 111 repeatingTile2 = area; in FindTileSize() 116 repeatingTile3 = area; in FindTileSize() 186 const dng_rect &area, in ProcessOnThread() argument 197 repeatingTile1 = area; in ProcessOnThread() 202 repeatingTile2 = area; in ProcessOnThread() 207 repeatingTile3 = area; in ProcessOnThread() 212 dng_tile_iterator iter1 (repeatingTile3, area); in ProcessOnThread() 255 const dng_rect &area, in Perform() argument [all …]
|
D | dng_tile_iterator.cpp | 27 const dng_rect &area) in dng_tile_iterator() argument 45 area & image.Bounds ()); in dng_tile_iterator() 52 const dng_rect &area) in dng_tile_iterator() argument 69 dng_rect tile (area); in dng_tile_iterator() 75 area); in dng_tile_iterator() 82 const dng_rect &area) in dng_tile_iterator() argument 100 area); in dng_tile_iterator() 107 const dng_rect &area) in Initialize() argument 110 fArea = area; in Initialize() 112 if (area.IsEmpty ()) in Initialize()
|
D | dng_pixel_buffer.h | 180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes, 503 void SetConstant (const dng_rect &area, 514 void SetConstant_uint8 (const dng_rect &area, in SetConstant_uint8() argument 522 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint8() 532 void SetConstant_uint16 (const dng_rect &area, in SetConstant_uint16() argument 540 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint16() 550 void SetConstant_int16 (const dng_rect &area, in SetConstant_int16() argument 558 SetConstant (area, plane, planes, (uint32) (uint16) value); in SetConstant_int16() 568 void SetConstant_uint32 (const dng_rect &area, in SetConstant_uint32() argument 576 SetConstant (area, plane, planes, value); in SetConstant_uint32() [all …]
|
/third_party/boost/libs/geometry/doc/src/examples/algorithms/ |
D | area_with_strategy.cpp | 32 bg::strategy::area::spherical<> sph_strategy(6371008.8); in main() 35 double area = bg::area(sph_poly, sph_strategy); in main() local 36 std::cout << "Area: " << area << std::endl; in main() 44 bg::strategy::area::geographic<> geo_strategy(spheroid); in main() 47 area = bg::area(geo_poly, geo_strategy); in main() 48 std::cout << "Area: " << area << std::endl; in main()
|
D | area.cpp | 26 double area = bg::area(poly); in main() local 27 std::cout << "Area: " << area << std::endl; in main() 32 area = bg::area(sph_poly); in main() 33 std::cout << "Area: " << area << std::endl; in main()
|
/third_party/typescript/tests/baselines/reference/ |
D | exhaustiveSwitchStatements1.js | 66 function area(s: Shape): number { 67 let area; variable 69 case "square": area = s.size * s.size; break; 70 case "rectangle": area = s.width * s.height; break; 71 case "circle": area = Math.PI * s.radius * s.radius; break; 72 case "triangle": area = Math.sqrt(3) / 4 * s.side * s.side; break; 74 return area; 78 let area; variable 79 area = (() => { 87 return area; [all …]
|
/third_party/mindspore/tests/ut/data/dataset/testCOCO/annotations/ |
D | invalid.json | 1 …area": 100, "id": 10000}, {"segmentation": [[20.0,22.0,23.0,24.0,25.0,26.0,27.0,28.0,29.0,30.0,31.…
|
/third_party/mindspore/mindspore/_extends/graph_kernel/model/ |
D | graph_split.py | 182 area, relation = area_map[t.op], self.get_relation(self.ops[0], i) 183 self.in_relations[area] = relation 199 def fuse(self, area): argument 206 if area.pattern > self.pattern: 207 self.pattern = area.pattern 208 if area in self.in_relations and self.in_relations[area] > self.pattern: 209 self.pattern = self.in_relations[area] 215 if area in self_relations: 216 self_relations.pop(area) 220 if area in rels: [all …]
|
/third_party/typescript/tests/cases/conformance/controlFlow/ |
D | exhaustiveSwitchStatements1.ts | 69 function area(s: Shape): number { function 70 let area; 72 case "square": area = s.size * s.size; break; 73 case "rectangle": area = s.width * s.height; break; 74 case "circle": area = Math.PI * s.radius * s.radius; break; 75 case "triangle": area = Math.sqrt(3) / 4 * s.side * s.side; break; 77 return area; 81 let area; 82 area = (() => { 90 return area;
|
/third_party/boost/libs/geometry/test/geometries/ |
D | boost_polygon.cpp | 95 T boost_polygon_area = bg::area(boost_polygon_box); in test_coordinate_type() 96 T boost_geometry_area = bg::area(boost_geometry_box); in test_coordinate_type() 97 T boost_polygon_area_by_boost_polygon = boost::polygon::area(boost_polygon_box); in test_coordinate_type() 124 boost_polygon_area = bg::area(boost_polygon_ring); in test_coordinate_type() 125 boost_geometry_area = bg::area(boost_geometry_ring); in test_coordinate_type() 126 boost_polygon_area_by_boost_polygon = boost::polygon::area(boost_polygon_ring); in test_coordinate_type() 134 boost_polygon_area = bg::area(boost_polygon_ring); in test_coordinate_type() 135 boost_geometry_area = bg::area(boost_geometry_ring); in test_coordinate_type() 136 boost_polygon_area_by_boost_polygon = boost::polygon::area(boost_polygon_ring); in test_coordinate_type() 145 boost_polygon_area = bg::area(boost_polygon_polygon); in test_coordinate_type() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Image9.cpp | 427 const gl::Box &area) in copyToSurface() argument 429 ASSERT(area.width > 0 && area.height > 0 && area.depth == 1); in copyToSurface() 438 rect.left = area.x; in copyToSurface() 439 rect.top = area.y; in copyToSurface() 440 rect.right = area.x + area.width; in copyToSurface() 441 rect.bottom = area.y + area.height; in copyToSurface() 478 const gl::Box &area, in loadData() argument 485 ASSERT(area.z == 0 && area.depth == 1); in loadData() 491 ANGLE_CHECK_GL_MATH(context9, formatInfo.computeRowPitch(type, area.width, unpack.alignment, in loadData() 500 RECT lockRect = {area.x, area.y, area.x + area.width, area.y + area.height}; in loadData() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Image9.cpp | 425 const gl::Box &area) in copyToSurface() argument 427 ASSERT(area.width > 0 && area.height > 0 && area.depth == 1); in copyToSurface() 436 rect.left = area.x; in copyToSurface() 437 rect.top = area.y; in copyToSurface() 438 rect.right = area.x + area.width; in copyToSurface() 439 rect.bottom = area.y + area.height; in copyToSurface() 476 const gl::Box &area, in loadData() argument 483 ASSERT(area.z == 0 && area.depth == 1); in loadData() 489 ANGLE_CHECK_GL_MATH(context9, formatInfo.computeRowPitch(type, area.width, unpack.alignment, in loadData() 498 RECT lockRect = {area.x, area.y, area.x + area.width, area.y + area.height}; in loadData() [all …]
|