HomeSort by relevance Sort by last modified time
    Searched full:distance (Results 501 - 525 of 3970) sorted by null

<<21222324252627282930>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.cons/
copy.pass.cpp 46 assert(distance(m.begin(), m.end()) == 3);
54 assert(distance(mo.begin(), mo.end()) == 3);
81 assert(distance(m.begin(), m.end()) == 3);
89 assert(distance(mo.begin(), mo.end()) == 3);
117 assert(distance(m.begin(), m.end()) == 3);
125 assert(distance(mo.begin(), mo.end()) == 3);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.cons/
move.pass.cpp 35 assert(distance(m.begin(), m.end()) == 0);
40 assert(distance(mo.begin(), mo.end()) == 0);
63 assert(distance(m.begin(), m.end()) == 9);
77 assert(distance(mo.begin(), mo.end()) == 0);
102 assert(distance(m.begin(), m.end()) == 9);
116 assert(distance(mo.begin(), mo.end()) == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
insert_iter_iter_iter.pass.cpp 51 assert(distance(l1.begin(), l1.end()) == 3);
62 assert(distance(l1.begin(), l1.end()) == 6);
87 assert(distance(l1.begin(), l1.end()) == 6);
120 assert(distance(l1.begin(), l1.end()) == 3);
131 assert(distance(l1.begin(), l1.end()) == 6);
156 assert(distance(l1.begin(), l1.end()) == 6);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
iterators.pass.cpp 33 assert(std::distance(i, j) == 0);
42 assert(std::distance(i, j) == 0);
51 assert(std::distance(i, j) == 0);
68 assert(std::distance(i, j) == 0);
77 assert(std::distance(i, j) == 0);
86 assert(std::distance(i, j) == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.cnstr/
copy.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());
145 assert(std::distance(c.begin(), c.end()) == c.size());
146 assert(std::distance(c.cbegin(), c.cend()) == c.size());
move_alloc.pass.cpp 65 assert(std::distance(c.begin(), c.end()) == c.size());
66 assert(std::distance(c.cbegin(), c.cend()) == c.size());
106 assert(std::distance(c.begin(), c.end()) == c.size());
107 assert(std::distance(c.cbegin(), c.cend()) == c.size());
148 assert(std::distance(c.begin(), c.end()) == c.size());
149 assert(std::distance(c.cbegin(), c.cend()) == c.size());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
rehash.pass.cpp 31 assert(std::distance(eq.first, eq.second) == 2);
39 assert(std::distance(eq.first, eq.second) == 2);
48 assert(std::distance(eq.first, eq.second) == 1);
53 assert(std::distance(eq.first, eq.second) == 1);
57 assert(std::distance(c.begin(), c.end()) == c.size());
58 assert(std::distance(c.cbegin(), c.cend()) == c.size());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/
copy.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());
165 assert(std::distance(c.begin(), c.end()) == c.size());
166 assert(std::distance(c.cbegin(), c.cend()) == c.size());
assign_move.pass.cpp 78 assert(std::distance(c.begin(), c.end()) == c.size());
79 assert(std::distance(c.cbegin(), c.cend()) == c.size());
123 assert(std::distance(c.begin(), c.end()) == c.size());
124 assert(std::distance(c.cbegin(), c.cend()) == c.size());
168 assert(std::distance(c.begin(), c.end()) == c.size());
169 assert(std::distance(c.cbegin(), c.cend()) == c.size());
222 assert(std::distance(c.begin(), c.end()) == c.size());
223 assert(std::distance(c.cbegin(), c.cend()) == c.size());
267 assert(std::distance(c.begin(), c.end()) == c.size());
268 assert(std::distance(c.cbegin(), c.cend()) == c.size())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.cnstr/
assign_copy.pass.cpp 69 assert(std::distance(c.begin(), c.end()) == c.size());
70 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());
178 assert(std::distance(c.begin(), c.end()) == c.size());
179 assert(std::distance(c.cbegin(), c.cend()) == c.size());
copy.pass.cpp 62 assert(std::distance(c.begin(), c.end()) == c.size());
63 assert(std::distance(c.cbegin(), c.cend()) == c.size());
101 assert(std::distance(c.begin(), c.end()) == c.size());
102 assert(std::distance(c.cbegin(), c.cend()) == c.size());
141 assert(std::distance(c.begin(), c.end()) == c.size());
142 assert(std::distance(c.cbegin(), c.cend()) == c.size());
move_alloc.pass.cpp 64 assert(std::distance(c.begin(), c.end()) == c.size());
65 assert(std::distance(c.cbegin(), c.cend()) == c.size());
105 assert(std::distance(c.begin(), c.end()) == c.size());
106 assert(std::distance(c.cbegin(), c.cend()) == c.size());
147 assert(std::distance(c.begin(), c.end()) == c.size());
148 assert(std::distance(c.cbegin(), c.cend()) == c.size());
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
binary_search.hpp 42 typename traits::difference_type len = boost::detail::distance(first, last);
67 typename traits::difference_type len = boost::detail::distance(first, last);
92 typename traits::difference_type len = boost::detail::distance(first, last);
117 typename traits::difference_type len = boost::detail::distance(first, last);
142 typename traits::difference_type len = boost::detail::distance(first, last);
174 typename traits::difference_type len = boost::detail::distance(first, last);
  /prebuilts/go/darwin-x86/test/bench/shootout/
nbody.c 63 double distance = sqrt(dx * dx + dy * dy + dz * dz); local
64 double mag = dt / (distance * distance * distance);
95 double distance = sqrt(dx * dx + dy * dy + dz * dz); local
96 e -= (b->mass * b2->mass) / distance;
  /prebuilts/go/linux-x86/test/bench/shootout/
nbody.c 63 double distance = sqrt(dx * dx + dy * dy + dz * dz); local
64 double mag = dt / (distance * distance * distance);
95 double distance = sqrt(dx * dx + dy * dy + dz * dz); local
96 e -= (b->mass * b2->mass) / distance;
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java 211 * @return The new X offset as an absolute distance from the origin.
220 * @return The new Y offset as an absolute distance from the origin.
240 * @return The start X offset as an absolute distance from the origin.
249 * @return The start Y offset as an absolute distance from the origin.
258 * @return The final X offset as an absolute distance from the origin.
267 * @return The final Y offset as an absolute distance from the origin.
339 * Start scrolling by providing a starting point and the distance to travel.
347 * @param dx Horizontal distance to travel. Positive numbers will scroll the
349 * @param dy Vertical distance to travel. Positive numbers will scroll the
357 * Start scrolling by providing a starting point, the distance to travel
    [all...]
  /external/zlib/src/contrib/blast/
blast.c 12 * example Ben provided in the post is incorrect. The distance 110001 should
24 * 1.1 16 Feb 2003 - Fixed distance check for > 4 GB uncompressed data
246 * byte is 4, 5, or 6 for the number of extra bits in the distance code.
249 * - Compressed data is a combination of literals and length/distance pairs
251 * uncoded bytes. A length/distance pair is a coded length followed by a
252 * coded distance to represent a string that occurs earlier in the
255 * - A bit preceding a literal or length/distance pair indicates which comes
256 * next, 0 for literals, 1 for length/distance.
260 * no bit reversal is needed for either the length extra bits or the distance
263 * - Literal bytes are simply written to the output. A length/distance pair i
    [all...]
  /external/v8/src/x64/
macro-assembler-x64.h 152 Label::Distance if_equal_distance = Label::kFar) {
158 Label::Distance if_equal_distance = Label::kFar) {
166 Label::Distance if_not_equal_distance = Label::kFar) {
172 Label::Distance if_not_equal_distance = Label::kFar) {
212 Label::Distance condition_met_distance = Label::kFar);
219 Label::Distance distance = Label::kFar) {
220 InNewSpace(object, scratch, not_equal, branch, distance);
228 Label::Distance distance = Label::kFar)
    [all...]
  /external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
assign_move.pass.cpp 78 assert(std::distance(c.begin(), c.end()) == c.size());
79 assert(std::distance(c.cbegin(), c.cend()) == c.size());
123 assert(std::distance(c.begin(), c.end()) == c.size());
124 assert(std::distance(c.cbegin(), c.cend()) == c.size());
168 assert(std::distance(c.begin(), c.end()) == c.size());
169 assert(std::distance(c.cbegin(), c.cend()) == c.size());
222 assert(std::distance(c.begin(), c.end()) == c.size());
223 assert(std::distance(c.cbegin(), c.cend()) == c.size());
267 assert(std::distance(c.begin(), c.end()) == c.size());
268 assert(std::distance(c.cbegin(), c.cend()) == c.size())
    [all...]
  /external/opencv/cv/include/
cvtypes.h 130 float depth; /* distance between the farthest point and the convex hull */
204 /* Defines for Distance Transform */
205 #define CV_DIST_USER -1 /* User defined distance */
206 #define CV_DIST_L1 1 /* distance = |x1-x2| + |y1-y2| */
207 #define CV_DIST_L2 2 /* the simple euclidean distance */
208 #define CV_DIST_C 3 /* distance = max(|x1-x2|,|y1-y2|) */
209 #define CV_DIST_L12 4 /* L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1)) */
210 #define CV_DIST_FAIR 5 /* distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998 */
211 #define CV_DIST_WELSCH 6 /* distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846 */
212 #define CV_DIST_HUBER 7 /* distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345 *
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
FadeAndShortSlide.java 54 int distance);
59 public float getGoneX(ViewGroup sceneRoot, View view, int[] position, int distance) {
63 x = view.getTranslationX() + distance;
65 x = view.getTranslationX() - distance;
73 public float getGoneX(ViewGroup sceneRoot, View view, int[] position, int distance) {
77 x = view.getTranslationX() - distance;
79 x = view.getTranslationX() + distance;
304 * Sets the moving distance in pixel.
306 public void setDistance(int distance) {
307 mDistance = distance;
    [all...]
  /art/test/565-checker-rotate/src/
Main.java 65 private static int rotateLeftBoolean(boolean value, int distance) {
66 return Integer.rotateLeft(value ? 1 : 0, distance);
86 private static int rotateLeftByte(byte value, int distance) {
87 return Integer.rotateLeft(value, distance);
107 private static int rotateLeftShort(short value, int distance) {
108 return Integer.rotateLeft(value, distance);
128 private static int rotateLeftChar(char value, int distance) {
129 return Integer.rotateLeft(value, distance);
149 private static int rotateLeftInt(int value, int distance) {
150 return Integer.rotateLeft(value, distance);
    [all...]
  /external/v8/src/ia32/
macro-assembler-ia32.h 84 Label::Distance if_equal_distance = Label::kFar) {
90 Label::Distance if_equal_distance = Label::kFar) {
98 Label::Distance if_not_equal_distance = Label::kFar) {
104 Label::Distance if_not_equal_distance = Label::kFar) {
123 Label::Distance condition_met_distance = Label::kFar);
127 Label::Distance condition_met_distance = Label::kFar);
132 Label::Distance distance = Label::kFar) {
133 InNewSpace(object, scratch, zero, branch, distance);
139 Label::Distance distance = Label::kFar)
849 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance); local
    [all...]
  /external/v8/src/x87/
macro-assembler-x87.h 84 Label::Distance if_equal_distance = Label::kFar) {
90 Label::Distance if_equal_distance = Label::kFar) {
98 Label::Distance if_not_equal_distance = Label::kFar) {
104 Label::Distance if_not_equal_distance = Label::kFar) {
123 Label::Distance condition_met_distance = Label::kFar);
127 Label::Distance condition_met_distance = Label::kFar);
132 Label::Distance distance = Label::kFar) {
133 InNewSpace(object, scratch, zero, branch, distance);
139 Label::Distance distance = Label::kFar)
829 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardAffordanceHelper.java 159 float distance = (float) Math.hypot(xDist, yDist); local
160 if (!mTouchSlopExeeded && distance > mTouchSlop) {
165 distance = mTranslationOnDown - distance;
166 distance = Math.min(0, distance);
168 distance = mTranslationOnDown + distance;
169 distance = Math.max(0, distance);
212 double distance = Math.hypot(x - iconX, y - iconY); local
    [all...]

Completed in 1088 milliseconds

<<21222324252627282930>>