Home
last modified time | relevance | path

Searched refs:Derived (Results 1 – 18 of 18) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/
Dconvert.pass.cpp33 struct Derived : Base {}; struct
37 Derived d; in main()
39 test<input_iterator<Base*> >(input_iterator<Derived*>(&d)); in main()
40 test<forward_iterator<Base*> >(forward_iterator<Derived*>(&d)); in main()
41 test<bidirectional_iterator<Base*> >(bidirectional_iterator<Derived*>(&d)); in main()
42 test<random_access_iterator<const Base*> >(random_access_iterator<Derived*>(&d)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/
Dmove_iterator.pass.cpp36 struct Derived : Base {}; struct
40 Derived d; in main()
42 test<input_iterator<Base*> >(input_iterator<Derived*>(&d)); in main()
43 test<forward_iterator<Base*> >(forward_iterator<Derived*>(&d)); in main()
44 test<bidirectional_iterator<Base*> >(bidirectional_iterator<Derived*>(&d)); in main()
45 test<random_access_iterator<const Base*> >(random_access_iterator<Derived*>(&d)); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/
Diterator_facade.hpp457 template <class Derived, class V, class TC, class R, class D> \
458 prefix Derived operator+ args
497 , (iterator_facade<Derived, V, TC, R, D> const&
498 , typename Derived::difference_type)
504 , (typename Derived::difference_type
505 , iterator_facade<Derived, V, TC, R, D> const&)
586 class Derived // The derived iterator type being constructed
604 Derived& derived() in derived()
606 return *static_cast<Derived*>(this); in derived()
609 Derived const& derived() const in derived()
[all …]
Diterator_adaptor.hpp172 class Derived
182 Derived
254 class Derived
263 Derived, Base, Value, Traversal, Reference, Difference
270 Derived, Base, Value, Traversal, Reference, Difference
287 typedef iterator_adaptor<Derived,Base,Value,Traversal,Reference,Difference> iterator_adaptor_;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/
Dreverse_iterator.pass.cpp33 struct Derived : Base {}; struct
37 Derived d; in main()
39 test<bidirectional_iterator<Base*> >(bidirectional_iterator<Derived*>(&d)); in main()
40 test<random_access_iterator<const Base*> >(random_access_iterator<Derived*>(&d)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/
Dreverse_iterator.pass.cpp36 struct Derived : Base {}; struct
40 Derived d; in main()
42 test<bidirectional_iterator<Base*> >(bidirectional_iterator<Derived*>(&d)); in main()
43 test<random_access_iterator<const Base*> >(random_access_iterator<Derived*>(&d)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/
Drv_pair_U_V.pass.cpp25 struct Derived struct
34 typedef std::pair<std::unique_ptr<Derived>, short> P1; in main()
36 P1 p1(std::unique_ptr<Derived>(), 4); in main()
Dassign_rv_pair_U_V.pass.cpp25 struct Derived struct
34 typedef std::pair<std::unique_ptr<Derived>, short> P1; in main()
36 P1 p1(std::unique_ptr<Derived>(), 4); in main()
/ndk/sources/cxx-stl/gabi++/tests/
Dtest_gabixx_rtti.cpp41 struct Derived : Base {}; struct
73 Derived derived; in main()
76 CHECK(typeid(derived) == typeid(Derived)); in main()
78 CHECK(typeid(&derived) == typeid(Derived*)); in main()
/ndk/tests/device/test-stlport-rtti/jni/
Dtest_stlport_rtti.cpp41 struct Derived : Base {}; struct
73 Derived derived; in main()
76 CHECK(typeid(derived) == typeid(Derived)); in main()
78 CHECK(typeid(&derived) == typeid(Derived*)); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/iterator/
Dinput_iterator_facade.hpp56 template<typename Derived,
60 class input_iterator_facade : public iterator_facade<Derived,ValueType,Traversal,Reference>
85 m_valid = input_iterator_core_access::get( *static_cast<Derived*>(this) ); in increment()
Dtoken_iterator.hpp177 template<typename Derived,
184 : public input_iterator_facade<Derived,ValueType,Reference,Traversal> {
187 typedef input_iterator_facade<Derived,ValueType,Reference,Traversal> base;
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
Dtrivial_singleton.hpp35 template<typename Derived>
38 static Derived& instance() { static Derived the_inst; return the_inst; } in instance()
Dnamed_params.hpp105 template<typename Derived>
108 named_parameter_combine<NP,Derived>
109 …( NP const& np ) const { return named_parameter_combine<NP,Derived>( np, *static_cast<Derived cons… in operator ,()
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-port.h1144 template <class Derived, class Base>
1145 Derived* CheckedDowncastToActualType(Base* base) {
1147 GTEST_CHECK_(typeid(*base) == typeid(Derived));
1148 return dynamic_cast<Derived*>(base); // NOLINT
1150 return static_cast<Derived*>(base); // Poor man's downcast.
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-port_test.cc114 class Derived : public Base { class
116 explicit Derived(int n) : Base(n) {} in Derived() function in testing::internal::Derived
120 Derived derived(0); in TEST()
125 Derived derived(1); in TEST()
/ndk/sources/cxx-stl/stlport/stlport/
Dtype_traits9 * Derived from original <misc/type_traits.h> of 'complement' project
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dtype_traits127 template <class Base, class Derived> struct is_base_of;