/external/clang/test/Index/ |
index-templates.cpp | 3 template<typename T, T Value, template<typename U, U ValU> class X> 6 template<typename T> class allocator; 8 template<typename T, typename Alloc = allocator<T> > 13 template<typename T> 27 template<typename T, typename U> 29 using typename T::type; 36 template<typename T, unsigned Dimensions = OneDimension [all...] |
/external/clang/test/SemaCXX/ |
function-overload-typo-crash.cpp | 7 template <typename T> void max(T); //expected-note {{'max' declared here}} 14 template <typename T> void somefunc(T*, T*); //expected-note {{'somefunc' declared here}} 15 template <typename T> void somefunc(const T[]); //expected-note {{'somefunc' declared here}} 16 template <typename T1, typename T2> void somefunc(T1*, T2*); //expected-note {{'somefunc' declared here}} 17 template <typename T1, typename T2> void somefunc(T1*, const T2[]); //expected-note 2 {{'somefunc' declared here}}
|
/external/clang/test/SemaTemplate/ |
dependent-type-identity.cpp | 10 template<typename T> 12 template<typename U> 21 template<typename T> 26 template<typename T, typename U> 47 void f4(typename T::template apply<U>*); // expected-note{{previous}} 48 void f4(typename U::template apply<U>*); 49 void f4(typename type::template apply<T>*); 50 void f4(typename type::template apply<U_type>*); // expected-error{{redeclar}} 52 void f5(typename T::template apply<U>::type*); // expected-note{{previous} [all...] |
instantiation-backtrace.cpp | 2 template<typename T> struct A; // expected-note 4{{template is declared here}} 4 template<typename T> struct B : A<T*> { }; // expected-error{{implicit instantiation of undefined template}} \ 7 template<typename T> struct C : B<T> { } ; // expected-note{{instantiation of template class}} 9 template<typename T> struct D : C<T> { }; // expected-note{{instantiation of template class}} 11 template<typename T> struct E : D<T> { }; // expected-note{{instantiation of template class}} 13 template<typename T> struct F : E<T(T)> { }; // expected-note{{instantiation of template class}} 25 template<typename T>
|
temp_func_order.cpp | 2 template<typename T> 5 template<typename T> 13 template<typename T, typename U> 16 template<typename T> 25 template<typename T, typename U> 28 template<typename T> 31 template<typename T, typename U [all...] |
temp.cpp | 6 template<typename T> int foo(T), bar(T, T); // expected-error{{single entity}} 11 namespace A { template<typename T> struct Base { typedef T t; }; } // expected-note {{member found}} 12 namespace B { template<typename T> struct Base { typedef T t; }; } // expected-note {{member found}} 14 template<typename T> struct Derived : A::Base<char>, B::Base<int> { 16 typename Derived::Base<float>::t x; // expected-error {{found in multiple base classes of different types}} \
|
instantiate-function-params.cpp | 5 template<typename T1> struct if_ { 24 template < typename TT > struct InputIterator { 27 template < typename TT > struct ForwardIterator : InputIterator<TT> { // expected-note {{in instantiation}} 33 template<typename T> struct X0 { }; 34 template<typename R, typename A1> struct X0<R(A1 param)> { }; 36 template<typename T, typename A1, typename A2> 44 template<typename R, typename A1, R (*ptr)(A1)> struct FuncPtr { } [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
sfinae-1.cpp | 6 template<typename T> one_byte __is_class_check(int T::*); 7 template<typename T> two_bytes __is_class_check(...); 9 template<typename T> struct is_class { 20 template<typename T> 22 typedef typename T::trap type; 25 template<bool, typename T = void> 30 template<typename T> 33 template<typename T> 34 typename enable_if<sizeof(T) == 17>::type 35 f(const T&, typename it_is_a_trap<T>::type* = 0) [all...] |
/external/clang/test/Parser/ |
cxx-member-crash.cpp | 9 template<typename _CharT, typename _Traits = char_traits<_CharT> > class basic_ios; 10 template<typename _CharT, typename _Traits = char_traits<_CharT> > class ostreambuf_iterator; 11 template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > class num_get; 12 template<typename _CharT, typename _Traits> class basic_ostream : virtual public basic_ios<_CharT, _Traits> { 13 template<typename _CharT, typename _InIter> _InIter num_get<_CharT, _InIter>:: _M_extract_float(_InIter __beg, _InIter __ (…) [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p13.cpp | 5 template<typename ...Types> 8 template<typename ...Types> 17 template<typename ...Types> 37 template<typename ...Types> 46 template<typename T>
|
/external/clang/test/CXX/temp/temp.param/ |
p11-0x.cpp | 6 template<typename> struct vector; 8 template<typename T = int, typename> struct X3t; // expected-error{{template parameter missing a default argument}} expected-note{{previous default template argument defined here}} 9 template<typename T = int, typename> using A3t = int; // expected-error{{template parameter missing a default argument}} expected-note{{previous default template argument defined here}} 15 template<typename T = int, typename ...Types> struct X2t; 16 template<typename T = int, typename ...Types> using A2t = X2t<T, Types...>; 26 template<typename ...Types, // expected-error{{template parameter pack must be the last template parameter} [all...] |
/external/clang/test/PCH/ |
cxx-alias-decl.cpp | 18 template<typename U> using B = S; 19 template<typename U> using C = T<U>; 20 template<typename U, typename V> using D = typename T<U>::template A<V>;
|
/external/clang/test/Sema/ |
paren-list-expr-type.cpp | 5 template<typename T> class X { void f() { X x(*this); } }; 7 template<typename T> class Y { Y() : t(1) {} T t; }; 9 template<typename T> class Z { Z() : b(true) {} const bool b; }; 11 template<typename T> class A : public Z<T> { A() : Z<T>() {} }; 14 template<typename T> class D : public C { D(): C() {} };
|
/external/stlport/stlport/stl/ |
_ctraits_fns.h | 34 : public binary_function<typename _Traits::char_type, 35 typename _Traits::char_type, 37 bool operator()(const typename _Traits::char_type& __x, 38 const typename _Traits::char_type& __y) const 44 : public unary_function<typename _Traits::char_type, bool> { 45 typename _Traits::char_type __val; 46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} 47 bool operator()(const typename _Traits::char_type& __x) const 53 : public unary_function<typename _Traits::char_type, bool> 55 typename _Traits::char_type __val [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_ctraits_fns.h | 34 : public binary_function<typename _Traits::char_type, 35 typename _Traits::char_type, 37 bool operator()(const typename _Traits::char_type& __x, 38 const typename _Traits::char_type& __y) const 44 : public unary_function<typename _Traits::char_type, bool> { 45 typename _Traits::char_type __val; 46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} 47 bool operator()(const typename _Traits::char_type& __x) const 53 : public unary_function<typename _Traits::char_type, bool> 55 typename _Traits::char_type __val [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_ctraits_fns.h | 34 : public binary_function<typename _Traits::char_type, 35 typename _Traits::char_type, 37 bool operator()(const typename _Traits::char_type& __x, 38 const typename _Traits::char_type& __y) const 44 : public unary_function<typename _Traits::char_type, bool> { 45 typename _Traits::char_type __val; 46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} 47 bool operator()(const typename _Traits::char_type& __x) const 53 : public unary_function<typename _Traits::char_type, bool> 55 typename _Traits::char_type __val [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_ctraits_fns.h | 34 : public binary_function<typename _Traits::char_type, 35 typename _Traits::char_type, 37 bool operator()(const typename _Traits::char_type& __x, 38 const typename _Traits::char_type& __y) const 44 : public unary_function<typename _Traits::char_type, bool> { 45 typename _Traits::char_type __val; 46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} 47 bool operator()(const typename _Traits::char_type& __x) const 53 : public unary_function<typename _Traits::char_type, bool> 55 typename _Traits::char_type __val [all...] |
/prebuilt/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/ |
_ctraits_fns.h | 34 : public binary_function<typename _Traits::char_type, 35 typename _Traits::char_type, 37 bool operator()(const typename _Traits::char_type& __x, 38 const typename _Traits::char_type& __y) const 44 : public unary_function<typename _Traits::char_type, bool> { 45 typename _Traits::char_type __val; 46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} 47 bool operator()(const typename _Traits::char_type& __x) const 53 : public unary_function<typename _Traits::char_type, bool> 55 typename _Traits::char_type __val [all...] |
/external/chromium/base/ |
callback_old.h | 56 template <class T, typename Method> 69 template <typename Params> 82 template <typename Arg1> 87 template <typename Arg1, typename Arg2> 92 template <typename Arg1, typename Arg2, typename Arg3> 97 template <typename Arg1, typename Arg2, typename Arg3, typename Arg4 [all...] |
callback.h | 223 template <typename Sig> 226 template <typename R> 241 template <typename T> 256 template <typename R, typename A1> 261 typename internal::ParamTraits<A1>::ForwardType); 272 template <typename T> 279 R Run(typename internal::ParamTraits<A1>::ForwardType a1) const { 287 template <typename R, typename A1, typename A2 [all...] |
bind_internal.h | 69 template <typename Sig> 73 template <typename R> 81 template <typename R, typename T> 92 template <typename R, typename T> 103 template <typename R, typename X1> 113 template <typename R, typename T, typename X1 [all...] |
/external/chromium/base/memory/ |
raw_scoped_refptr_mismatch_checker.h | 27 template <typename T> 45 template <typename Params> 55 template <typename A> 60 template <typename A, typename B> 66 template <typename A, typename B, typename C> 73 template <typename A, typename B, typename C, typename D [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
HashIterators.h | 31 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator; 32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator; 33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator; 34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/ |
tree_policy.hpp | 51 template<typename Const_Node_Iterator, 52 typename Node_Iterator, 53 typename Cmp_Fn, 54 typename Allocator> 59 template<typename Const_Node_Iterator, class Node_Iterator, class Cmp_Fn, class Allocator> 68 template<typename Const_Node_Iterator, typename Node_Iterator, 69 typename Cmp_Fn, typename Allocator> 78 typedef typename allocator_type::size_type size_type [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/ |
tree_policy.hpp | 51 template<typename Const_Node_Iterator, 52 typename Node_Iterator, 53 typename Cmp_Fn, 54 typename Allocator> 59 template<typename Const_Node_Iterator, class Node_Iterator, class Cmp_Fn, class Allocator> 68 template<typename Const_Node_Iterator, typename Node_Iterator, 69 typename Cmp_Fn, typename Allocator> 78 typedef typename allocator_type::size_type size_type [all...] |