Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/distance/
H A Dbackward_compatibility.hpp44 namespace detail { namespace distance namespace
51 static inline typename strategy::distance::services::return_type
59 typename detail::distance::default_ps_strategy in apply()
87 struct distance struct
92 > : detail::distance::point_to_segment<Point, Segment, Strategy>
98 struct distance struct
106 static inline typename strategy::distance::services::return_type
114 typedef typename detail::distance::default_ps_strategy in apply()
121 return detail::distance::point_to_range in apply()
131 struct distance struct
[all …]
H A Dpoint_to_geometry.hpp57 namespace detail { namespace distance namespace
65 typename strategy::distance::services::return_type<Strategy, P1, P2>::type
84 typedef typename strategy::distance::services::comparable_type
95 typedef typename strategy::distance::services::return_type
112 namespace sds = strategy::distance::services; in apply()
154 typedef typename strategy::distance::services::return_type
186 typedef typename strategy::distance::services::return_type
267 typedef typename strategy::distance::services::return_type
280 namespace sds = strategy::distance::services; in apply()
304 dispatch::distance in apply()
[all …]
H A Dinterface.hpp60 struct distance struct
66 : distance<Geometry2, Geometry1, Strategy, Tag2, Tag1, StrategyTag, false>
68 typedef typename strategy::distance::services::return_type
80 return distance in apply()
97 struct distance struct
105 return dispatch::distance in apply()
118 typedef typename detail::distance::default_strategy in apply()
123 return dispatch::distance in apply()
138 struct distance struct
147 resolve_strategy::distance::apply(geometry1, geometry2, strategy); in apply()
[all …]
H A Dmultipoint_to_geometry.hpp33 namespace detail { namespace distance namespace
40 typedef typename strategy::distance::services::return_type
81 typedef typename strategy::distance::services::return_type
92 return detail::distance::point_or_segment_range_to_geometry_rtree in apply()
132 typedef typename strategy::distance::services::return_type
152 return detail::distance::point_or_segment_range_to_geometry_rtree in apply()
185 struct distance struct
190 > : detail::distance::multipoint_to_multipoint
197 struct distance struct
201 > : detail::distance::multipoint_to_linear<MultiPoint, Linear, Strategy>
[all …]
H A Dgeometry_to_segment_or_box.hpp45 namespace detail { namespace distance namespace
85 typedef typename strategy::distance::services::comparable_type
100 typedef typename strategy::distance::services::return_type
170 typedef typename strategy::distance::services::return_type
203 strategy::distance::services::get_comparable in apply()
287 return dispatch::distance in apply()
327 typedef typename strategy::distance::services::return_type
338 namespace sds = strategy::distance::services; in apply()
362 dispatch::distance in apply()
384 struct distance struct
[all …]
H A Dlinear_or_areal_to_areal.hpp26 namespace detail { namespace distance namespace
33 typedef typename strategy::distance::services::return_type
68 typedef typename strategy::distance::services::return_type
101 struct distance struct
107 : detail::distance::linear_to_areal
115 struct distance struct
121 : detail::distance::linear_to_areal
129 struct distance struct
135 : detail::distance::areal_to_areal
H A Dsegment_to_box.hpp57 namespace detail { namespace distance namespace
74 typedef typename strategy::distance::services::comparable_type
87 typedef typename strategy::distance::services::return_type
93 typedef typename strategy::distance::services::return_type
109 strategy::distance::services::get_comparable in apply()
187 typedef typename strategy::distance::services::comparable_type
192 typedef typename strategy::distance::services::return_type
197 typedef typename detail::distance::default_strategy
202 typedef typename strategy::distance::services::comparable_type
208 typedef typename strategy::distance::services::return_type
[all …]
H A Dsegment_to_segment.hpp39 namespace detail { namespace distance namespace
49 typedef typename strategy::distance::services::comparable_type
54 typedef typename strategy::distance::services::return_type
62 typedef typename strategy::distance::services::return_type
87 strategy::distance::services::get_comparable in apply()
98 std::size_t imin = std::distance(boost::addressof(d[0]), in apply()
135 struct distance struct
140 : detail::distance::segment_to_segment<Segment1, Segment2, Strategy>
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dall_indices.h52 …trix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) in create()
59 nnIndex = new LinearIndex<Distance>(dataset, params, distance); in create()
62 nnIndex = new KDTreeSingleIndex<Distance>(dataset, params, distance); in create()
65 nnIndex = new KDTreeIndex<Distance>(dataset, params, distance); in create()
68 nnIndex = new KMeansIndex<Distance>(dataset, params, distance); in create()
71 nnIndex = new CompositeIndex<Distance>(dataset, params, distance); in create()
74 nnIndex = new AutotunedIndex<Distance>(dataset, params, distance); in create()
77 nnIndex = new HierarchicalClusteringIndex<Distance>(dataset, params, distance); in create()
80 nnIndex = new LshIndex<Distance>(dataset, params, distance); in create()
93 …trix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance)
[all …]
H A Dindex_testing.h65 … int* neighbors, int* groundTruth, int veclen, int n, const Distance& distance) in computeDistanceRaport() argument
71 DistanceType den = distance(inputData[groundTruth[i]], target, veclen); in computeDistanceRaport()
72 DistanceType num = distance(inputData[neighbors[i]], target, veclen); in computeDistanceRaport()
88 … float& time, typename Distance::ResultType& dist, const Distance& distance, int skipMatches) in search_with_ground_truth() argument
119 …eRaport<Distance>(inputData, testData[i], neighbors, matches[i], (int)testData.cols, nn, distance); in search_with_ground_truth()
139 … int checks, float& precision, const Distance& distance, int nn = 1, int skipMatches = 0)
148 …h_ground_truth(index, inputData, testData, matches, nn, checks, time, dist, distance, skipMatches);
156 … float precision, int& checks, const Distance& distance, int nn = 1, int skipMatches = 0)
171 …p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, s…
183 …_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches);
[all …]
/OK3568_Linux_fs/u-boot/fs/jffs2/
H A Dmini_inflate.c55 stream->distance.bits = 16; in init_stream()
56 stream->distance.num_symbols = 32; in init_stream()
57 stream->distance.lengths = stream->distance_lengths; in init_stream()
58 stream->distance.symbols = stream->distance_symbols; in init_stream()
59 stream->distance.count = stream->distance_count; in init_stream()
60 stream->distance.first = stream->distance_first; in init_stream()
61 stream->distance.pos = stream->distance_pos; in init_stream()
144 struct huffman_set *distance = &(stream->distance); in decompress_huffman() local
166 if ((symbol = read_symbol(stream, distance)) < 0) in decompress_huffman()
228 struct huffman_set *distance = &(stream->distance); in decompress_dynamic() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplaceresult.cpp44 : QPlaceSearchResultPrivate(), distance(qQNaN()), sponsored(false) in QPlaceResultPrivate()
49 : QPlaceSearchResultPrivate(other), distance(other.distance), place(other.place), in QPlaceResultPrivate()
62 && ((qIsNaN(distance) && qIsNaN(od->distance)) in compare()
63 || qFuzzyCompare(distance, od->distance)) in compare()
121 qreal QPlaceResult::distance() const in Q_IMPLEMENT_SEARCHRESULT_D_FUNC()
124 return d->distance; in Q_IMPLEMENT_SEARCHRESULT_D_FUNC()
130 void QPlaceResult::setDistance(qreal distance) in setDistance() argument
133 d->distance = distance; in setDistance()
/OK3568_Linux_fs/external/xserver/test/
H A Dfixes.c102 double distance; in fixes_pointer_barriers_test() local
118 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
119 assert(distance == 1); in fixes_pointer_barriers_test()
124 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
131 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
138 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
145 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
152 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
159 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
166 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/
H A Dbuffer.hpp55 static inline void apply(BoxIn const& box_in, T const& distance, BoxOut& box_out) in apply()
57 coordinate_type d = distance; in apply()
59 box_loop<BoxIn, BoxOut, T, C, D + 1, N>::apply(box_in, distance, box_out); in apply()
71 inline void buffer_box(BoxIn const& box_in, T const& distance, BoxOut& box_out) in buffer_box() argument
77 box_loop<BoxIn, BoxOut, T, min_corner, 0, N>::apply(box_in, -distance, box_out); in buffer_box()
78 box_loop<BoxIn, BoxOut, T, max_corner, 0, N>::apply(box_in, distance, box_out); in buffer_box()
105 static inline void apply(BoxIn const& box_in, Distance const& distance, in apply()
108 detail::buffer::buffer_box(box_in, distance, box_out); in apply()
123 Distance const& distance, in apply()
127 dispatch::buffer<Geometry, GeometryOut>::apply(geometry, distance, chord_length, out); in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutesegment/
H A Dtst_qgeoroutesegment.cpp61 QCOMPARE(qgeoroutesegment->distance(), qreal(0.0)); in constructor()
73 QCOMPARE(qgeoroutesegmentcopy->distance(), qreal(0.0)); in copy_constructor()
114 void tst_QGeoRouteSegment::distance() in distance() function in tst_QGeoRouteSegment
116 QFETCH(qreal, distance); in distance()
121 sgmt.setDistance(distance); in distance()
124 QCOMPARE(sgmt.distance(), distance); in distance()
196 QCOMPARE((sgmt.nextRouteSegment()).distance(), in nextroutesegment()
197 qgeoroutesegmentcopy->distance()); in nextroutesegment()
228 QFETCH(double, distance); in operators()
238 qgeoroutesegment->setDistance(distance); in operators()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dline_bucket.cpp102 double distance = 0; in addGeometry() local
193 distance += util::dist<double>(newPrevVertex, *prevCoordinate); in addGeometry()
194 … addCurrentVertex(newPrevVertex, distance, *prevNormal, 0, 0, false, startVertex, triangleStore); in addGeometry()
234 distance += util::dist<double>(*currentCoordinate, *prevCoordinate); in addGeometry()
238 addCurrentVertex(*currentCoordinate, distance, joinNormal, 0, 0, false, startVertex, in addGeometry()
254 addCurrentVertex(*currentCoordinate, distance, joinNormal, 0, 0, false, startVertex, in addGeometry()
257 … addCurrentVertex(*currentCoordinate, distance, joinNormal * -1.0, 0, 0, false, startVertex, in addGeometry()
275 addCurrentVertex(*currentCoordinate, distance, *prevNormal, offsetA, offsetB, false, in addGeometry()
291 …addPieSliceVertex(*currentCoordinate, distance, approxFractionalJoinNormal, lineTurnsLeft, startVe… in addGeometry()
294 …addPieSliceVertex(*currentCoordinate, distance, joinNormal, lineTurnsLeft, startVertex, triangleSt… in addGeometry()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A Dnuma.txt36 3 - distance-map
39 The optional device tree node distance-map describes the relative
40 distance (memory latency) between all numa nodes.
42 - compatible : Should at least contain "numa-distance-map-v1".
44 - distance-matrix
47 It is represented as a list of node pairs and their relative distance.
50 1. Each entry represents distance from first node to second node.
52 2. The distance from a node to self (local distance) is represented
53 with value 10 and all internode distance should be represented with
55 3. distance-matrix should have entries in lexicographical ascending
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroute/
H A Dtst_qgeoroute.cpp63 QCOMPARE(qgeoroute->distance(), qreal(0.0)); in constructor()
77 qreal distance = qgeoroute->distance(); in copy_constructor() local
78 qgeoroutecopy->setDistance(distance + 10.0); in copy_constructor()
114 void tst_QGeoRoute::distance() in distance() function in tst_QGeoRoute
116 qreal distance = 0.0; in distance() local
118 qgeoroute->setDistance(distance); in distance()
119 QCOMPARE(qgeoroute->distance(), distance); in distance()
121 distance = 34.4324; in distance()
122 QVERIFY(qgeoroute->distance() != distance); in distance()
124 qgeoroute->setDistance(distance); in distance()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Dbuffer_point_square.hpp53 DistanceType const& distance, in add_point() argument
59 set<0>(p, get<0>(point) + x * distance); in add_point()
60 set<1>(p, get<1>(point) + y * distance); in add_point()
71 DistanceType const& distance, in add_points() argument
74 add_point(point, distance, -1.0, -1.0, output_range); in add_points()
75 add_point(point, distance, -1.0, +1.0, output_range); in add_points()
76 add_point(point, distance, +1.0, +1.0, output_range); in add_points()
77 add_point(point, distance, +1.0, -1.0, output_range); in add_points()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoroutesegment.cpp209 void QGeoRouteSegment::setDistance(qreal distance) in setDistance() argument
212 d_ptr->setDistance(distance); in setDistance()
218 qreal QGeoRouteSegment::distance() const in distance() function in QGeoRouteSegment
220 return d_ptr->distance(); in distance()
289 && (distance() == other.distance()) in equals()
324 qreal QGeoRouteSegmentPrivate::distance() const in distance() function in QGeoRouteSegmentPrivate
329 void QGeoRouteSegmentPrivate::setDistance(qreal distance) in setDistance() argument
331 Q_UNUSED(distance); in setDistance()
436 qreal QGeoRouteSegmentPrivateDefault::distance() const in distance() function in QGeoRouteSegmentPrivateDefault
441 void QGeoRouteSegmentPrivateDefault::setDistance(qreal distance) in setDistance() argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/geographic/
H A Dintersection.hpp124 typedef distance::geographic
338 if (math::equals(res_b1_b2.distance, c0)) in apply()
346 if (math::equals(res_b1_a1.distance, c0)) in apply()
351 if (math::equals(res_b1_a2.distance, c0)) in apply()
371 if (math::equals(res_a1_a2.distance, c0)) in apply()
379 if (math::equals(res_a1_b1.distance, c0)) in apply()
384 if (math::equals(res_a1_b2.distance, c0)) in apply()
444 if (res_a1_a2.distance <= res_b1_b2.distance) in apply()
636 dist_a1_a2 = res_a1_a2.distance; in calculate_collinear_data()
638 dist_a1_bi = res_a1_b1.distance; in calculate_collinear_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/
H A Dnext.hpp674 T float_advance_imp(T val, int distance, const mpl::true_&, const Policy& pol) in float_advance_imp() argument
690 return -float_advance(-val, -distance, pol); in float_advance_imp()
691 if(distance == 0) in float_advance_imp()
693 if(distance == 1) in float_advance_imp()
695 if(distance == -1) in float_advance_imp()
705 if(distance > 0) in float_advance_imp()
707 do{ val = float_next(val, pol); } while(--distance); in float_advance_imp()
711 do{ val = float_prior(val, pol); } while(++distance); in float_advance_imp()
718 T limit = ldexp((distance < 0 ? T(0.5f) : T(1)), expon); in float_advance_imp()
721 limit = sign(T(distance)) * tools::min_value<T>(); in float_advance_imp()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/buffer/
H A Dbuffer_inserter.hpp58 DistanceStrategy const& distance, in simplify_input() argument
71 geometry::simplify(range, simplified, distance.simplify_distance()); in simplify_input()
75 typedef strategy::distance::detail::projected_point_ax<> ax_type; in simplify_input()
76 typedef typename strategy::distance::services::return_type in simplify_input()
78 strategy::distance::detail::projected_point_ax<>, in simplify_input()
83 typedef strategy::distance::detail::projected_point_ax_less in simplify_input()
91 strategy::distance::detail::projected_point_ax<>, in simplify_input()
95 return_type max_distance(distance.simplify_distance() * 2.0, in simplify_input()
96 distance.simplify_distance()); in simplify_input()
138 DistanceStrategy const& distance, in add_join()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/
H A Djaguar1_coax_protocol.c180 unsigned char distance = 0; in coax_tx_init() local
188distance = gpio_i2c_read(jaguar1_i2c_addr[coax_tx->devnum], (0xA0+ch)); // 0:short, 1:100m, 2:200m… in coax_tx_init()
190 distance = distance&0x0F; in coax_tx_init()
191 if(distance == 0x0F) in coax_tx_init()
194 distance = 0; in coax_tx_init()
197 printk("DRV::Cable distance(%x)\n", distance); in coax_tx_init()
212 gpio_i2c_write(jaguar1_i2c_addr[coax_tx->vd_dev], 0x00+((ch%2)*0x80), CoaxVal->tx_baud[distance]); in coax_tx_init()
213 …o_i2c_write(jaguar1_i2c_addr[coax_tx->vd_dev], 0x02+((ch%2)*0x80), CoaxVal->tx_pel_baud[distance]); in coax_tx_init()
214 …_i2c_write(jaguar1_i2c_addr[coax_tx->vd_dev], 0x03+((ch%2)*0x80), CoaxVal->tx_line_pos0[distance]); in coax_tx_init()
215 …_i2c_write(jaguar1_i2c_addr[coax_tx->vd_dev], 0x04+((ch%2)*0x80), CoaxVal->tx_line_pos1[distance]); in coax_tx_init()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/view/transform_view/detail/
H A Ddistance_impl.hpp30 : result_of::distance<typename First::first_type, typename Last::first_type>
34 … typename result_of::distance<typename First::first_type, typename Last::first_type>::type
37 return boost::fusion::distance(first.first, last.first); in call()
48 : result_of::distance<typename First::first1_type, typename Last::first1_type>
52 … typename result_of::distance<typename First::first1_type, typename Last::first1_type>::type
55 return boost::fusion::distance(first.first1, last.first1); in call()

12345678910>>...21