Home
last modified time | relevance | path

Searched refs:TContainer (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DTemplatesTest.cpp77 template<typename TContainer, typename TCount>
79 REPORTER_ASSERT(reporter, !TContainer((TCount)0).get()); in test_container_apis()
80 REPORTER_ASSERT(reporter, !TContainer((TCount)0).data()); in test_container_apis()
81 REPORTER_ASSERT(reporter, TContainer((TCount)1).get()); in test_container_apis()
82 REPORTER_ASSERT(reporter, TContainer((TCount)1).data()); in test_container_apis()
83 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).get()); in test_container_apis()
84 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).data()); in test_container_apis()
85 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).get()); in test_container_apis()
86 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).data()); in test_container_apis()
88 TContainer container; in test_container_apis()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dutil.hpp64 #define CppLinq_GET_ITERATOR_TYPE(TContainer) \
65 decltype(begin(static_cast<TContainer*>(0)))
66 #define CppLinq_GET_CONST_ITERATOR_TYPE(TContainer) \
67 decltype(begin(static_cast<const TContainer*>(0)))
69 #define CppLinq_GET_ITERATOR_TYPE(TContainer) \ argument
70 typename ::cpplinq::util::container_traits<TContainer>::iterator
71 #define CppLinq_GET_CONST_ITERATOR_TYPE(TContainer) \ argument
72 typename ::cpplinq::util::container_traits<TContainer>::const_iterator
Dlinq.hpp555 template <class TContainer>
556 linq_driver<iter_cursor<typename util::container_traits<TContainer>::iterator>> from(TContainer& c) in from()
558 …auto cur = iter_cursor<typename util::container_traits<TContainer>::iterator>(std::begin(c), std::… in from()
572 template <class TContainer>
573 linq_driver<TContainer> from_value(const TContainer& c) in from_value()
575 return linq_driver<TContainer>(c); in from_value()
/external/skqp/tests/
DTemplatesTest.cpp77 template<typename TContainer, typename TCount>
79 REPORTER_ASSERT(reporter, !TContainer((TCount)0).get()); in test_container_apis()
80 REPORTER_ASSERT(reporter, TContainer((TCount)1).get()); in test_container_apis()
81 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).get()); in test_container_apis()
82 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).get()); in test_container_apis()
84 TContainer container; in test_container_apis()