/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.modifiers/ |
insert_initializer_list.pass.cpp | 41 assert(distance(m.begin(), m.end()) == 3); 42 assert(*m.begin() == V(1, 1)); 43 assert(*next(m.begin()) == V(2, 1)); 44 assert(*next(m.begin(), 2) == V(3, 1)); 64 assert(distance(m.begin(), m.end()) == 3); 65 assert(*m.begin() == V(1, 1)); 66 assert(*next(m.begin()) == V(2, 1)); 67 assert(*next(m.begin(), 2) == V(3, 1));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.cons/ |
copy_alloc.pass.cpp | 44 assert(distance(m.begin(), m.end()) == 3); 45 assert(*m.begin() == 1); 46 assert(*next(m.begin()) == 2); 47 assert(*next(m.begin(), 2) == 3); 52 assert(distance(mo.begin(), mo.end()) == 3); 53 assert(*mo.begin() == 1); 54 assert(*next(mo.begin()) == 2); 55 assert(*next(mo.begin(), 2) == 3);
|
iter_iter.pass.cpp | 42 assert(distance(m.begin(), m.end()) == 3); 43 assert(*m.begin() == 1); 44 assert(*next(m.begin()) == 2); 45 assert(*next(m.begin(), 2) == 3); 65 assert(distance(m.begin(), m.end()) == 3); 66 assert(*m.begin() == 1); 67 assert(*next(m.begin()) == 2); 68 assert(*next(m.begin(), 2) == 3);
|
iter_iter_alloc.pass.cpp | 52 assert(distance(m.begin(), m.end()) == 3); 53 assert(*m.begin() == 1); 54 assert(*next(m.begin()) == 2); 55 assert(*next(m.begin(), 2) == 3); 77 assert(distance(m.begin(), m.end()) == 3); 78 assert(*m.begin() == 1); 79 assert(*next(m.begin()) == 2); 80 assert(*next(m.begin(), 2) == 3);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.access/ |
front.pass.cpp | 27 C c(std::begin(t), std::end(t)); 31 assert(*c.begin() == 10); 37 const C c(std::begin(t), std::end(t)); 39 assert(*c.begin() == 0); 46 C c(std::begin(t), std::end(t)); 50 assert(*c.begin() == 10); 56 const C c(std::begin(t), std::end(t)); 58 assert(*c.begin() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.modifiers/ |
clear.pass.cpp | 27 assert(distance(c.begin(), c.end()) == 0); 33 C c(std::begin(t), std::end(t)); 36 assert(distance(c.begin(), c.end()) == 0); 39 assert(distance(c.begin(), c.end()) == 0); 47 assert(distance(c.begin(), c.end()) == 0); 53 C c(std::begin(t), std::end(t)); 56 assert(distance(c.begin(), c.end()) == 0); 59 assert(distance(c.begin(), c.end()) == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
iterators.fail.cpp | 16 // iterator begin() {return __table_.begin();} 18 // const_iterator begin() const {return __table_.begin();} 20 // const_iterator cbegin() const {return __table_.begin();} 43 assert(std::distance(c.begin(), c.end()) == c.size()); 45 C::iterator i = c.begin(); 64 assert(std::distance(c.begin(), c.end()) == c.size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/ |
iterators.fail.cpp | 16 // iterator begin() {return __table_.begin();} 18 // const_iterator begin() const {return __table_.begin();} 20 // const_iterator cbegin() const {return __table_.begin();} 43 assert(std::distance(c.begin(), c.end()) == c.size()); 45 C::iterator i = c.begin(); 64 assert(std::distance(c.begin(), c.end()) == c.size());
|
/ndk/tests/device/test-gnustl-full/unit/ |
list_test.cpp | 62 list<int>::iterator i1 = l1.begin(); 63 list<int>::iterator i2 = l2.begin(); 67 i1 = l1.begin(); 76 CPPUNIT_ASSERT( i2 == l1.begin() ); 81 i1 = l.begin(); 102 list<int>::iterator i = l1.begin(); 104 l1.splice(i, l2, l2.begin(), l2.end()); 105 i = l1.begin(); 120 i = str.begin(); 129 i = str.begin(); [all...] |
merge_test.cpp | 58 __iota(v1.begin(), v1.end(), 0); 59 __iota(v2.begin(), v2.end(), 3); 62 merge(v1.begin(), v1.end(), v2.begin(), v2.end(), result.begin()); 85 merge(v1.begin(), v1.end(), v2.begin(), v2.end(), result.begin(), greater<int>() );
|
search_test.cpp | 57 __iota(v1.begin(), v1.end(), 0); 59 __iota(v2.begin(), v2.end(), 50); 62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 66 __iota(v2.begin(), v2.end(), 4); 68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 71 CPPUNIT_ASSERT(location - v1.begin() == 4);
|
/ndk/tests/device/test-stlport/unit/ |
list_test.cpp | 62 list<int>::iterator i1 = l1.begin(); 63 list<int>::iterator i2 = l2.begin(); 67 i1 = l1.begin(); 76 CPPUNIT_ASSERT( i2 == l1.begin() ); 81 i1 = l.begin(); 102 list<int>::iterator i = l1.begin(); 104 l1.splice(i, l2, l2.begin(), l2.end()); 105 i = l1.begin(); 120 i = str.begin(); 129 i = str.begin(); [all...] |
merge_test.cpp | 58 __iota(v1.begin(), v1.end(), 0); 59 __iota(v2.begin(), v2.end(), 3); 62 merge(v1.begin(), v1.end(), v2.begin(), v2.end(), result.begin()); 85 merge(v1.begin(), v1.end(), v2.begin(), v2.end(), result.begin(), greater<int>() );
|
search_test.cpp | 57 __iota(v1.begin(), v1.end(), 0); 59 __iota(v2.begin(), v2.end(), 50); 62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 66 __iota(v2.begin(), v2.end(), 4); 68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 71 CPPUNIT_ASSERT(location - v1.begin() == 4);
|
/external/libcxx/test/std/iterators/iterator.range/ |
begin-end.pass.cpp | 11 // template <class C> auto begin(C& c) -> decltype(c.begin()); 12 // template <class C> auto begin(const C& c) -> decltype(c.begin()); 28 assert ( std::begin(c) == c.begin()); 29 assert (*std::begin(c) == val ); 30 assert ( std::begin(c) != c.end()); 47 assert ( std::begin(c) == c.begin()); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/iterator.range/ |
begin-end.pass.cpp | 11 // template <class C> auto begin(C& c) -> decltype(c.begin()); 12 // template <class C> auto begin(const C& c) -> decltype(c.begin()); 30 assert ( std::begin(c) == c.begin()); 31 assert (*std::begin(c) == val ); 32 assert ( std::begin(c) != c.end()); 49 assert ( std::begin(c) == c.begin()); [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
stl_util.h | 47 void STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) { 48 while (begin != end) { 49 ForwardIterator temp = begin; 50 ++begin; 63 void STLDeleteContainerPairPointers(ForwardIterator begin, 65 while (begin != end) { 66 ForwardIterator temp = begin; 67 ++begin; 77 void STLDeleteContainerPairFirstPointers(ForwardIterator begin, 79 while (begin != end) [all...] |
/external/eigen/doc/ |
eigendoxy_header.html.in | 7 <!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME--> 8 <!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME--> 27 <!--BEGIN TITLEAREA--> 32 <!--BEGIN PROJECT_LOGO--> 35 <!--BEGIN PROJECT_NAME--> 38 <!--BEGIN PROJECT_NUMBER--> <span id="projectnumber">$projectnumber</span><!--END PROJECT_NUMBER--> 40 <!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF--> 43 <!--BEGIN !PROJECT_NAME--> 44 <!--BEGIN PROJECT_BRIEF--> 50 <!--BEGIN DISABLE_INDEX-- [all...] |
/external/libbrillo/brillo/ |
secure_blob_unittest.cc | 27 haystack.begin(), haystack.end(), needle.begin(), needle.end()); 34 haystack.begin(), haystack.end(), needle.begin(), needle.end()); 38 return std::distance(haystack.begin(), pos); 55 std::iota(std::begin(from_data), std::end(from_data), 0); 57 SecureBlob blob(std::begin(from_data), std::end(from_data)); 73 SecureBlob blob(from_blob.begin(), from_blob.end()); 100 std::iota(blob1.begin(), blob1.end(), 0); 101 std::iota(blob2.begin(), blob2.end(), 32) [all...] |
/external/libcxx/test/std/containers/sequences/list/list.cons/ |
size_type.pass.cpp | 30 assert(std::distance(d.begin(), d.end()) == n); 42 assert(std::distance(l.begin(), l.end()) == 3); 43 std::list<int>::const_iterator i = l.begin(); 53 assert(std::distance(l.begin(), l.end()) == 3); 54 std::list<int>::const_iterator i = l.begin(); 66 assert(std::distance(l.begin(), l.end()) == 3); 67 C::const_iterator i = l.begin(); 80 assert(std::distance(l.begin(), l.end()) == 3); 87 assert(std::distance(l.begin(), l.end()) == 3); 88 std::list<int, min_allocator<int>>::const_iterator i = l.begin(); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/ |
size_type.pass.cpp | 30 assert(std::distance(d.begin(), d.end()) == n); 42 assert(std::distance(l.begin(), l.end()) == 3); 43 std::list<int>::const_iterator i = l.begin(); 53 assert(std::distance(l.begin(), l.end()) == 3); 54 std::list<int>::const_iterator i = l.begin(); 66 assert(std::distance(l.begin(), l.end()) == 3); 67 C::const_iterator i = l.begin(); 80 assert(std::distance(l.begin(), l.end()) == 3); 87 assert(std::distance(l.begin(), l.end()) == 3); 88 std::list<int, min_allocator<int>>::const_iterator i = l.begin(); [all...] |
/system/netd/server/ |
UidRanges.cpp | 28 auto iter = std::lower_bound(mRanges.begin(), mRanges.end(), Range(uid, uid)); 30 (iter != mRanges.begin() && (--iter)->second >= uid); 74 std::sort(mRanges.begin(), mRanges.end()); 80 std::transform(ranges.begin(), ranges.end(), mRanges.begin(), 84 std::sort(mRanges.begin(), mRanges.end()); 88 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end()); 89 std::inplace_merge(mRanges.begin(), middle, mRanges.end()); 93 auto end = std::set_difference(mRanges.begin(), mRanges.end(), other.mRanges.begin(), [all...] |
/external/google-breakpad/src/processor/ |
static_map-inl.h | 63 int begin = 0; local 67 while (begin < end) { 68 middle = begin + (end - begin) / 2; 75 begin = middle + 1; 84 int begin = 0; local 88 while (begin < end) { 89 middle = begin + (end - begin) / 2; 96 begin = middle + 1 105 int begin = 0; local [all...] |
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
pmmintrin.h | 48 /* APPLE LOCAL begin nodebug inline 4152603 */ 52 /* APPLE LOCAL begin radar 5618945 */ 61 /* APPLE LOCAL begin radar 4152603 */ 62 /* APPLE LOCAL begin radar 5618945 */ 70 /* APPLE LOCAL begin radar 5618945 */ 78 /* APPLE LOCAL begin radar 5618945 */ 86 /* APPLE LOCAL begin radar 5618945 */ 94 /* APPLE LOCAL begin radar 5618945 */ 102 /* APPLE LOCAL begin radar 5618945 */ 110 /* APPLE LOCAL begin radar 5618945 * [all...] |
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
pmmintrin.h | 48 /* APPLE LOCAL begin nodebug inline 4152603 */ 52 /* APPLE LOCAL begin radar 5618945 */ 61 /* APPLE LOCAL begin radar 4152603 */ 62 /* APPLE LOCAL begin radar 5618945 */ 70 /* APPLE LOCAL begin radar 5618945 */ 78 /* APPLE LOCAL begin radar 5618945 */ 86 /* APPLE LOCAL begin radar 5618945 */ 94 /* APPLE LOCAL begin radar 5618945 */ 102 /* APPLE LOCAL begin radar 5618945 */ 110 /* APPLE LOCAL begin radar 5618945 * [all...] |