/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.modifiers/ |
insert_hint_rvalue.pass.cpp | 36 assert(r->second == 3); 41 assert(r->second == 4); 46 assert(r->second == 4); 51 assert(r->second == 4); 63 assert(r->second == 3); 68 assert(r->second == 4); 73 assert(r->second == 4); 78 assert(r->second == 4);
|
insert_rvalue.pass.cpp | 35 assert(r->second == 3); 40 assert(r->second == 4); 45 assert(r->second == 4); 50 assert(r->second == 4); 61 assert(r->second == 3); 66 assert(r->second == 4); 71 assert(r->second == 4); 76 assert(r->second == 4);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/ |
insert_rvalue.pass.cpp | 33 assert(r.second); 38 assert(!r.second); 43 assert(r.second); 48 assert(r.second); 59 assert(r.second); 64 assert(!r.second); 69 assert(r.second); 74 assert(r.second);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/utility/pairs/pairs.pair/ |
const_first_const_second.pass.cpp | 34 assert(p.second == nullptr); 40 assert(p.second == 2);
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 22 public static long createTimeInMillis(int second, int minute, int hour, int monthDay, 25 t.set(second, minute, hour, monthDay, month, year);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/ |
equal_range_const.pass.cpp | 43 assert(std::distance(r.first, r.second) == 1); 45 assert(r.first->second == "thirty"); 47 assert(std::distance(r.first, r.second) == 0); 50 assert(r.first->second == "fifty"); 53 assert(r.first->second == "fiftyA"); 56 assert(r.first->second == "fiftyB");
|
equal_range_non_const.pass.cpp | 43 assert(std::distance(r.first, r.second) == 1); 45 assert(r.first->second == "thirty"); 47 assert(std::distance(r.first, r.second) == 0); 50 assert(r.first->second == "fifty"); 53 assert(r.first->second == "fiftyA"); 56 assert(r.first->second == "fiftyB");
|
reserve.pass.cpp | 25 assert(c.find(1)->second == "one"); 26 assert(next(c.find(1))->second == "four"); 27 assert(c.find(2)->second == "two"); 28 assert(next(c.find(2))->second == "four"); 29 assert(c.find(3)->second == "three"); 30 assert(c.find(4)->second == "four");
|
rehash.pass.cpp | 29 assert(std::distance(eq.first, eq.second) == 2); 32 assert(i->second == "one"); 35 assert(i->second == "four"); 37 assert(std::distance(eq.first, eq.second) == 2); 40 assert(i->second == "two"); 43 assert(i->second == "four"); 46 assert(std::distance(eq.first, eq.second) == 1); 49 assert(i->second == "three"); 51 assert(std::distance(eq.first, eq.second) == 1); 54 assert(i->second == "four") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.search/ |
grep.pass.cpp | 34 assert(m.prefix().second == m[0].first); 36 assert(m.suffix().first == m[0].second); 37 assert(m.suffix().second == s + std::char_traits<char>::length(s)); 50 assert(m.prefix().second == m[0].first); 52 assert(m.suffix().first == m[0].second); 53 assert(m.suffix().second == s + std::char_traits<char>::length(s));
|
/frameworks/base/test-runner/src/android/test/ |
ViewAsserts.java | 114 * @param second The second view 116 static public void assertBaselineAligned(View first, View second) { 121 second.getLocationOnScreen(xy); 122 int secondTop = xy[1] + second.getBaseline(); 132 * @param second The second view 134 static public void assertRightAligned(View first, View second) { 139 second.getLocationOnScreen(xy); 140 int secondRight = xy[0] + second.getMeasuredWidth() [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
stl_pair.h | 70 typedef _T2 second_type; ///< @c second_type is the second bound type 73 _T2 second; ///< @c second is a copy of the second object member in struct:pair 77 /** The default constructor creates @c first and @c second using their 80 : first(), second() { } 84 : first(__a), second(__b) { } 90 : first(std::forward<_U1>(__x)), second(__y) { } 95 : first(__x), second(std::forward<_U2>(__y)) { } 101 : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
assign_move.pass.cpp | 64 assert(std::distance(eq.first, eq.second) == 2); 67 assert(i->second == "one"); 70 assert(i->second == "four"); 72 assert(std::distance(eq.first, eq.second) == 2); 75 assert(i->second == "two"); 78 assert(i->second == "four"); 81 assert(std::distance(eq.first, eq.second) == 1); 84 assert(i->second == "three"); 86 assert(std::distance(eq.first, eq.second) == 1); 89 assert(i->second == "four") [all...] |
assign_init.pass.cpp | 55 assert(std::distance(eq.first, eq.second) == 2); 58 assert(i->second == "one"); 61 assert(i->second == "four"); 63 assert(std::distance(eq.first, eq.second) == 2); 66 assert(i->second == "two"); 69 assert(i->second == "four"); 72 assert(std::distance(eq.first, eq.second) == 1); 75 assert(i->second == "three"); 77 assert(std::distance(eq.first, eq.second) == 1); 80 assert(i->second == "four") [all...] |
init.pass.cpp | 49 assert(std::distance(eq.first, eq.second) == 2); 52 assert(i->second == "one"); 55 assert(i->second == "four"); 57 assert(std::distance(eq.first, eq.second) == 2); 60 assert(i->second == "two"); 63 assert(i->second == "four"); 66 assert(std::distance(eq.first, eq.second) == 1); 69 assert(i->second == "three"); 71 assert(std::distance(eq.first, eq.second) == 1); 74 assert(i->second == "four") [all...] |
init_size.pass.cpp | 51 assert(std::distance(eq.first, eq.second) == 2); 54 assert(i->second == "one"); 57 assert(i->second == "four"); 59 assert(std::distance(eq.first, eq.second) == 2); 62 assert(i->second == "two"); 65 assert(i->second == "four"); 68 assert(std::distance(eq.first, eq.second) == 1); 71 assert(i->second == "three"); 73 assert(std::distance(eq.first, eq.second) == 1); 76 assert(i->second == "four") [all...] |
init_size_hash.pass.cpp | 52 assert(std::distance(eq.first, eq.second) == 2); 55 assert(i->second == "one"); 58 assert(i->second == "four"); 60 assert(std::distance(eq.first, eq.second) == 2); 63 assert(i->second == "two"); 66 assert(i->second == "four"); 69 assert(std::distance(eq.first, eq.second) == 1); 72 assert(i->second == "three"); 74 assert(std::distance(eq.first, eq.second) == 1); 77 assert(i->second == "four") [all...] |
init_size_hash_equal.pass.cpp | 54 assert(std::distance(eq.first, eq.second) == 2); 57 assert(i->second == "one"); 60 assert(i->second == "four"); 62 assert(std::distance(eq.first, eq.second) == 2); 65 assert(i->second == "two"); 68 assert(i->second == "four"); 71 assert(std::distance(eq.first, eq.second) == 1); 74 assert(i->second == "three"); 76 assert(std::distance(eq.first, eq.second) == 1); 79 assert(i->second == "four") [all...] |
init_size_hash_equal_allocator.pass.cpp | 55 assert(std::distance(eq.first, eq.second) == 2); 58 assert(i->second == "one"); 61 assert(i->second == "four"); 63 assert(std::distance(eq.first, eq.second) == 2); 66 assert(i->second == "two"); 69 assert(i->second == "four"); 72 assert(std::distance(eq.first, eq.second) == 1); 75 assert(i->second == "three"); 77 assert(std::distance(eq.first, eq.second) == 1); 80 assert(i->second == "four") [all...] |
range.pass.cpp | 53 assert(std::distance(eq.first, eq.second) == 2); 56 assert(i->second == "one"); 59 assert(i->second == "four"); 61 assert(std::distance(eq.first, eq.second) == 2); 64 assert(i->second == "two"); 67 assert(i->second == "four"); 70 assert(std::distance(eq.first, eq.second) == 1); 73 assert(i->second == "three"); 75 assert(std::distance(eq.first, eq.second) == 1); 78 assert(i->second == "four") [all...] |
range_size.pass.cpp | 55 assert(std::distance(eq.first, eq.second) == 2); 58 assert(i->second == "one"); 61 assert(i->second == "four"); 63 assert(std::distance(eq.first, eq.second) == 2); 66 assert(i->second == "two"); 69 assert(i->second == "four"); 72 assert(std::distance(eq.first, eq.second) == 1); 75 assert(i->second == "three"); 77 assert(std::distance(eq.first, eq.second) == 1); 80 assert(i->second == "four") [all...] |
range_size_hash.pass.cpp | 57 assert(std::distance(eq.first, eq.second) == 2); 60 assert(i->second == "one"); 63 assert(i->second == "four"); 65 assert(std::distance(eq.first, eq.second) == 2); 68 assert(i->second == "two"); 71 assert(i->second == "four"); 74 assert(std::distance(eq.first, eq.second) == 1); 77 assert(i->second == "three"); 79 assert(std::distance(eq.first, eq.second) == 1); 82 assert(i->second == "four") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.match/ |
awk.pass.cpp | 35 assert(m.prefix().second == m[0].first); 37 assert(m.suffix().first == m[0].second); 38 assert(m.suffix().second == s+1); 50 assert(m.prefix().second == m[0].first); 52 assert(m.suffix().first == m[0].second); 53 assert(m.suffix().second == s+2); 91 assert(m.prefix().second == m[0].first); 93 assert(m.suffix().first == m[0].second); 94 assert(m.suffix().second == s+4); 106 assert(m.prefix().second == m[0].first) [all...] |
/external/ceres-solver/include/ceres/ |
ordered_groups.h | 66 if (it->second == group) { 71 group_to_elements_[it->second].erase(element); 72 if (group_to_elements_[it->second].size() == 0) { 73 group_to_elements_.erase(it->second); 114 new_group_to_elements[it->first] = it->second; 118 for (typename set<T>::const_iterator element_it = it->second.begin(); 119 element_it != it->second.end(); 123 new_group_to_elements[new_group_id] = it->second; 137 return it->second; 150 return (it == group_to_elements_.end()) ? 0 : it->second.size() [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
GestureUtils.java | 26 private static boolean eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, 28 if (isTimedOut(first, second, timeout)) { 31 final double deltaMove = computeDistance(first, second, actionIndex); 38 public static double computeDistance(MotionEvent first, MotionEvent second, int pointerIndex) { 40 second.getX(pointerIndex), second.getY(pointerIndex)); 48 public static boolean isSamePointerContext(MotionEvent first, MotionEvent second) { 49 return (first.getPointerIdBits() == second.getPointerIdBits() 51 == second.getPointerId(second.getActionIndex())) [all...] |