/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
D | erase_key.pass.cpp | 59 assert(std::distance(eq.first, eq.second) == 2); in main() 67 assert(std::distance(eq.first, eq.second) == 2); in main() 75 assert(std::distance(eq.first, eq.second) == 1); in main() 80 assert(std::distance(eq.first, eq.second) == 1); in main() 84 assert(std::distance(c.begin(), c.end()) == c.size()); in main() 85 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main() 90 assert(std::distance(eq.first, eq.second) == 2); in main() 98 assert(std::distance(eq.first, eq.second) == 1); in main() 103 assert(std::distance(eq.first, eq.second) == 1); in main() 107 assert(std::distance(c.begin(), c.end()) == c.size()); in main() [all …]
|
D | erase_range.pass.cpp | 46 assert(std::distance(eq.first, eq.second) == 2); in main() 54 assert(std::distance(eq.first, eq.second) == 2); in main() 62 assert(std::distance(eq.first, eq.second) == 1); in main() 67 assert(std::distance(eq.first, eq.second) == 1); in main() 71 assert(std::distance(c.begin(), c.end()) == c.size()); in main() 72 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main() 77 assert(std::distance(eq.first, eq.second) == 2); in main() 85 assert(std::distance(eq.first, eq.second) == 1); in main() 90 assert(std::distance(eq.first, eq.second) == 1); in main() 94 assert(std::distance(c.begin(), c.end()) == c.size()); in main() [all …]
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 147 SkScalar distance, int mint, int maxt, int ptIndex) { in compute_quad_segs() argument 153 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); in compute_quad_segs() 154 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs() 157 SkScalar prevD = distance; in compute_quad_segs() 158 distance += d; in compute_quad_segs() 159 if (distance > prevD) { in compute_quad_segs() 161 seg->fDistance = distance; in compute_quad_segs() 167 return distance; in compute_quad_segs() 170 SkScalar SkPathMeasure::compute_conic_segs(const SkConic& conic, SkScalar distance, in compute_conic_segs() argument 176 distance = this->compute_conic_segs(conic, distance, mint, minPt, halft, halfPt, ptIndex); in compute_conic_segs() [all …]
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
D | all_indices.h | 52 …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 …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); in main() 53 assert(std::distance(i, j) == 2); in main() 61 assert(std::distance(i, j) == 2); in main() 69 assert(std::distance(i, j) == 1); in main() 75 assert(std::distance(i, j) == 1); in main() 81 assert(std::distance(i, j) == 0); in main() 86 assert(std::distance(i, j) == 0); in main() 106 assert(std::distance(i, j) == 0); in main() 111 assert(std::distance(i, j) == 2); in main() 119 assert(std::distance(i, j) == 2); in main() [all …]
|
D | local_iterators.fail.cpp | 46 assert(std::distance(i, j) == 0); in main() 51 assert(std::distance(i, j) == 2); in main() 60 assert(std::distance(i, j) == 2); in main() 68 assert(std::distance(i, j) == 1); in main() 74 assert(std::distance(i, j) == 1); in main() 80 assert(std::distance(i, j) == 0); in main() 85 assert(std::distance(i, j) == 0); in main() 105 assert(std::distance(i, j) == 0); in main() 110 assert(std::distance(i, j) == 2); in main() 118 assert(std::distance(i, j) == 2); in main() [all …]
|
D | swap_member.pass.cpp | 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 54 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 92 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 93 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 101 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 102 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 130 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 131 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
D | splice_pos_list.pass.cpp | 32 assert(distance(l1.begin(), l1.end()) == 0); in main() 34 assert(distance(l2.begin(), l2.end()) == 0); in main() 41 assert(distance(l1.begin(), l1.end()) == 1); in main() 43 assert(distance(l2.begin(), l2.end()) == 0); in main() 52 assert(distance(l1.begin(), l1.end()) == 2); in main() 54 assert(distance(l2.begin(), l2.end()) == 0); in main() 65 assert(distance(l1.begin(), l1.end()) == 3); in main() 67 assert(distance(l2.begin(), l2.end()) == 0); in main() 80 assert(distance(l1.begin(), l1.end()) == 1); in main() 82 assert(distance(l2.begin(), l2.end()) == 0); in main() [all …]
|
D | splice_pos_list_iter.pass.cpp | 32 assert(distance(l1.begin(), l1.end()) == 1); in main() 34 assert(distance(l2.begin(), l2.end()) == 0); in main() 43 assert(distance(l1.begin(), l1.end()) == 1); in main() 45 assert(distance(l2.begin(), l2.end()) == 1); in main() 56 assert(distance(l1.begin(), l1.end()) == 1); in main() 58 assert(distance(l2.begin(), l2.end()) == 1); in main() 69 assert(distance(l1.begin(), l1.end()) == 1); in main() 71 assert(distance(l2.begin(), l2.end()) == 2); in main() 84 assert(distance(l1.begin(), l1.end()) == 1); in main() 86 assert(distance(l2.begin(), l2.end()) == 2); in main() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
D | DeltaOptions.java | 40 private int distance = DISTANCE_MIN; field in DeltaOptions 50 public DeltaOptions(int distance) throws UnsupportedOptionsException { in DeltaOptions() argument 51 setDistance(distance); in DeltaOptions() 58 public void setDistance(int distance) throws UnsupportedOptionsException { in setDistance() argument 59 if (distance < DISTANCE_MIN || distance > DISTANCE_MAX) in setDistance() 62 + ", " + DISTANCE_MAX + "]: " + distance); in setDistance() 64 this.distance = distance; in setDistance() 71 return distance; in getDistance() 87 return new DeltaInputStream(in, distance); in getInputStream()
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); in main() 53 assert(std::distance(i, j) == 1); in main() 59 assert(std::distance(i, j) == 1); in main() 65 assert(std::distance(i, j) == 1); in main() 71 assert(std::distance(i, j) == 1); in main() 92 assert(std::distance(i, j) == 0); in main() 97 assert(std::distance(i, j) == 1); in main() 103 assert(std::distance(i, j) == 1); in main() 109 assert(std::distance(i, j) == 1); in main() 115 assert(std::distance(i, j) == 1); in main() [all …]
|
D | local_iterators.fail.cpp | 46 assert(std::distance(i, j) == 0); in main() 51 assert(std::distance(i, j) == 2); in main() 60 assert(std::distance(i, j) == 2); in main() 68 assert(std::distance(i, j) == 1); in main() 74 assert(std::distance(i, j) == 1); in main() 80 assert(std::distance(i, j) == 0); in main() 85 assert(std::distance(i, j) == 0); in main() 105 assert(std::distance(i, j) == 0); in main() 110 assert(std::distance(i, j) == 2); in main() 118 assert(std::distance(i, j) == 2); in main() [all …]
|
D | swap_member.pass.cpp | 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 54 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 92 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 93 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 101 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 102 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 130 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 131 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
D | local_iterators.pass.cpp | 49 assert(std::distance(i, j) == 0); in main() 54 assert(std::distance(i, j) == 2); in main() 64 assert(std::distance(i, j) == 2); in main() 74 assert(std::distance(i, j) == 1); in main() 81 assert(std::distance(i, j) == 1); in main() 88 assert(std::distance(i, j) == 0); in main() 93 assert(std::distance(i, j) == 0); in main() 113 assert(std::distance(i, j) == 0); in main() 118 assert(std::distance(i, j) == 2); in main() 128 assert(std::distance(i, j) == 2); in main() [all …]
|
D | local_iterators.fail.cpp | 47 assert(std::distance(i, j) == 0); in main() 52 assert(std::distance(i, j) == 2); in main() 63 assert(std::distance(i, j) == 2); in main() 73 assert(std::distance(i, j) == 1); in main() 80 assert(std::distance(i, j) == 1); in main() 87 assert(std::distance(i, j) == 0); in main() 92 assert(std::distance(i, j) == 0); in main() 112 assert(std::distance(i, j) == 0); in main() 117 assert(std::distance(i, j) == 2); in main() 127 assert(std::distance(i, j) == 2); in main() [all …]
|
/external/opencv3/modules/cudafeatures2d/src/cuda/ |
D | bf_radius_match.cu | 116 …const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, c… in matchUnrolled() argument 124 trainIdx, PtrStepi(), distance, nMatches.data, trainIdx.cols); in matchUnrolled() 133 …const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<… in matchUnrolled() argument 149 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in matchUnrolled() 154 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in matchUnrolled() 223 … const PtrStepSzi& trainIdx, const PtrStepSzf& distance, const PtrStepSz<unsigned int>& nMatches, in match() argument 232 trainIdx, PtrStepi(), distance, nMatches.data, trainIdx.cols); in match() 241 …const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, const PtrStepSz<… in match() argument 257 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in match() 262 trainIdx, imgIdx, distance, nMatches.data, trainIdx.cols); in match() [all …]
|
D | bf_match.cu | 171 const PtrStepSzi& trainIdx, const PtrStepSzf& distance, in matchUnrolledCached() argument 179 …SC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, train, mask, trainIdx.data, distance.data); in matchUnrolledCached() 230 … const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, in matchUnrolledCached() argument 238 …rid, block, smemSize, stream>>>(query, trains, n, mask, trainIdx.data, imgIdx.data, distance.data); in matchUnrolledCached() 329 const PtrStepSzi& trainIdx, const PtrStepSzf& distance, in matchUnrolled() argument 337 …SC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, train, mask, trainIdx.data, distance.data); in matchUnrolled() 386 … const PtrStepSzi& trainIdx, const PtrStepSzi& imgIdx, const PtrStepSzf& distance, in matchUnrolled() argument 394 …rid, block, smemSize, stream>>>(query, trains, n, mask, trainIdx.data, imgIdx.data, distance.data); in matchUnrolled() 484 const PtrStepSzi& trainIdx, const PtrStepSzf& distance, in match() argument 492 …K_SIZE, Dist><<<grid, block, smemSize, stream>>>(query, train, mask, trainIdx.data, distance.data); in match() [all …]
|
/external/libcxx/test/std/containers/unord/unord.map/ |
D | local_iterators.pass.cpp | 49 assert(std::distance(i, j) == 0); in main() 54 assert(std::distance(i, j) == 1); in main() 61 assert(std::distance(i, j) == 1); in main() 68 assert(std::distance(i, j) == 1); in main() 75 assert(std::distance(i, j) == 1); in main() 97 assert(std::distance(i, j) == 0); in main() 102 assert(std::distance(i, j) == 1); in main() 109 assert(std::distance(i, j) == 1); in main() 116 assert(std::distance(i, j) == 1); in main() 123 assert(std::distance(i, j) == 1); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | resize_size.pass.cpp | 27 assert(distance(c.begin(), c.end()) == 0); in main() 29 assert(distance(c.begin(), c.end()) == 10); in main() 31 assert(distance(c.begin(), c.end()) == 20); in main() 33 assert(distance(c.begin(), c.end()) == 5); in main() 35 assert(distance(c.begin(), c.end()) == 0); in main() 44 assert(distance(c.begin(), c.end()) == 3); in main() 50 assert(distance(c.begin(), c.end()) == 6); in main() 59 assert(distance(c.begin(), c.end()) == 6); in main() 73 assert(distance(c.begin(), c.end()) == 0); in main() 75 assert(distance(c.begin(), c.end()) == 10); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/ |
D | swap_non_member.pass.cpp | 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 54 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 92 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 93 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 101 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 102 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 130 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 131 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/ |
D | swap_non_member.pass.cpp | 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 54 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 92 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 93 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 101 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 102 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 130 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 131 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
D | init.pass.cpp | 50 assert(std::distance(eq.first, eq.second) == 2); in main() 58 assert(std::distance(eq.first, eq.second) == 2); in main() 67 assert(std::distance(eq.first, eq.second) == 1); in main() 72 assert(std::distance(eq.first, eq.second) == 1); in main() 76 assert(std::distance(c.begin(), c.end()) == c.size()); in main() 77 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main() 104 assert(std::distance(eq.first, eq.second) == 2); in main() 112 assert(std::distance(eq.first, eq.second) == 2); in main() 121 assert(std::distance(eq.first, eq.second) == 1); in main() 126 assert(std::distance(eq.first, eq.second) == 1); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/ |
D | non_member_swap.pass.cpp | 33 assert(distance(c1.begin(), c1.end()) == 3); in main() 39 assert(distance(c2.begin(), c2.end()) == 6); in main() 57 assert(distance(c1.begin(), c1.end()) == 0); in main() 60 assert(distance(c2.begin(), c2.end()) == 6); in main() 78 assert(distance(c1.begin(), c1.end()) == 3); in main() 84 assert(distance(c2.begin(), c2.end()) == 0); in main() 95 assert(distance(c1.begin(), c1.end()) == 0); in main() 98 assert(distance(c2.begin(), c2.end()) == 0); in main() 112 assert(distance(c1.begin(), c1.end()) == 3); in main() 118 assert(distance(c2.begin(), c2.end()) == 6); in main() [all …]
|
D | member_swap.pass.cpp | 32 assert(distance(c1.begin(), c1.end()) == 3); in main() 38 assert(distance(c2.begin(), c2.end()) == 6); in main() 56 assert(distance(c1.begin(), c1.end()) == 0); in main() 59 assert(distance(c2.begin(), c2.end()) == 6); in main() 77 assert(distance(c1.begin(), c1.end()) == 3); in main() 83 assert(distance(c2.begin(), c2.end()) == 0); in main() 94 assert(distance(c1.begin(), c1.end()) == 0); in main() 97 assert(distance(c2.begin(), c2.end()) == 0); in main() 111 assert(distance(c1.begin(), c1.end()) == 3); in main() 117 assert(distance(c2.begin(), c2.end()) == 6); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/ |
D | swap_non_member.pass.cpp | 45 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 46 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 54 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 55 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 93 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 94 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() 102 assert(std::distance(c2.begin(), c2.end()) == c2.size()); in main() 103 assert(std::distance(c2.cbegin(), c2.cend()) == c2.size()); in main() 131 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main() 132 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main() [all …]
|