/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
ParametrizedLine.h | 68 /** \returns the squared distance of a point \a p to its projection onto the line \c *this. 69 * \sa distance() 76 /** \returns the distance of a point \a p to its projection onto the line \c *this. 79 RealScalar distance(const VectorType& p) const { return ei_sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
|
/external/eigen/Eigen/src/Geometry/ |
ParametrizedLine.h | 79 /** \returns the squared distance of a point \a p to its projection onto the line \c *this. 80 * \sa distance() 87 /** \returns the distance of a point \a p to its projection onto the line \c *this. 90 RealScalar distance(const VectorType& p) const { using std::sqrt; return sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularContiguousSet.java | 95 long distance = domain.distance(first(), last()); local 96 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
/external/jsoncpp/src/lib_json/ |
json_valueiterator.inl | 91 // Usage of std::distance is not portable (does not compile with Sun Studio 12 95 // return difference_type( std::distance( current_, other.current_ ) ); 105 return ValueInternalArray::distance(iterator_.array_, 107 return ValueInternalMap::distance(iterator_.map_, other.iterator_.map_);
|
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
copy.pass.cpp | 45 assert(distance(m.begin(), m.end()) == 9); 59 assert(distance(mo.begin(), mo.end()) == 9); 92 assert(distance(m.begin(), m.end()) == 9); 106 assert(distance(mo.begin(), mo.end()) == 9);
|
copy_assign.pass.cpp | 46 assert(distance(m.begin(), m.end()) == 9); 60 assert(distance(mo.begin(), mo.end()) == 9); 113 assert(distance(m.begin(), m.end()) == 9); 127 assert(distance(mo.begin(), mo.end()) == 9);
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
allocator.pass.cpp | 44 assert(std::distance(c.begin(), c.end()) == 0); 64 assert(std::distance(c.begin(), c.end()) == 0); 84 assert(std::distance(c.begin(), c.end()) == 0); 105 assert(std::distance(c.begin(), c.end()) == 0);
|
copy_alloc.pass.cpp | 64 assert(std::distance(c.begin(), c.end()) == c.size()); 65 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 104 assert(std::distance(c.begin(), c.end()) == c.size()); 105 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
init_size.pass.cpp | 59 assert(std::distance(c.begin(), c.end()) == c.size()); 60 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 93 assert(std::distance(c.begin(), c.end()) == c.size()); 94 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
init_size_hash.pass.cpp | 60 assert(std::distance(c.begin(), c.end()) == c.size()); 61 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 95 assert(std::distance(c.begin(), c.end()) == c.size()); 96 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
init_size_hash_equal.pass.cpp | 62 assert(std::distance(c.begin(), c.end()) == c.size()); 63 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 98 assert(std::distance(c.begin(), c.end()) == c.size()); 99 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
init_size_hash_equal_allocator.pass.cpp | 63 assert(std::distance(c.begin(), c.end()) == c.size()); 64 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 100 assert(std::distance(c.begin(), c.end()) == c.size()); 101 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size.pass.cpp | 63 assert(std::distance(c.begin(), c.end()) == c.size()); 64 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 99 assert(std::distance(c.begin(), c.end()) == c.size()); 100 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size_hash.pass.cpp | 65 assert(std::distance(c.begin(), c.end()) == c.size()); 66 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 102 assert(std::distance(c.begin(), c.end()) == c.size()); 103 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size_hash_equal.pass.cpp | 66 assert(std::distance(c.begin(), c.end()) == c.size()); 67 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 104 assert(std::distance(c.begin(), c.end()) == c.size()); 105 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size_hash_equal_allocator.pass.cpp | 68 assert(std::distance(c.begin(), c.end()) == c.size()); 69 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 107 assert(std::distance(c.begin(), c.end()) == c.size()); 108 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
equal_range_const.pass.cpp | 45 assert(std::distance(r.first, r.second) == 1); 49 assert(std::distance(r.first, r.second) == 0); 81 assert(std::distance(r.first, r.second) == 1); 85 assert(std::distance(r.first, r.second) == 0);
|
equal_range_non_const.pass.cpp | 45 assert(std::distance(r.first, r.second) == 1); 49 assert(std::distance(r.first, r.second) == 0); 81 assert(std::distance(r.first, r.second) == 1); 85 assert(std::distance(r.first, r.second) == 0);
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
allocator.pass.cpp | 44 assert(std::distance(c.begin(), c.end()) == 0); 64 assert(std::distance(c.begin(), c.end()) == 0); 84 assert(std::distance(c.begin(), c.end()) == 0); 105 assert(std::distance(c.begin(), c.end()) == 0);
|
copy_alloc.pass.cpp | 78 assert(std::distance(c.begin(), c.end()) == c.size()); 79 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 132 assert(std::distance(c.begin(), c.end()) == c.size()); 133 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
allocator.pass.cpp | 42 assert(std::distance(c.begin(), c.end()) == 0); 60 assert(std::distance(c.begin(), c.end()) == 0); 81 assert(std::distance(c.begin(), c.end()) == 0); 103 assert(std::distance(c.begin(), c.end()) == 0);
|
copy_alloc.pass.cpp | 70 assert(std::distance(c.begin(), c.end()) == c.size()); 71 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 117 assert(std::distance(c.begin(), c.end()) == c.size()); 118 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size_hash_equal.pass.cpp | 63 assert(std::distance(c.begin(), c.end()) == c.size()); 64 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 100 assert(std::distance(c.begin(), c.end()) == c.size()); 101 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
range_size_hash_equal_allocator.pass.cpp | 65 assert(std::distance(c.begin(), c.end()) == c.size()); 66 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 103 assert(std::distance(c.begin(), c.end()) == c.size()); 104 assert(std::distance(c.cbegin(), c.cend()) == c.size());
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
allocator.pass.cpp | 42 assert(std::distance(c.begin(), c.end()) == 0); 60 assert(std::distance(c.begin(), c.end()) == 0); 81 assert(std::distance(c.begin(), c.end()) == 0); 103 assert(std::distance(c.begin(), c.end()) == 0);
|