| /external/clang/test/CodeGenCXX/ |
| type_visibility.cpp | 21 // The template tests come first because IR-gen reorders RTTI wierdly. 24 template <class T> struct TYPE_DEFAULT B { 28 template struct B<A>; 41 template <class T> struct TYPE_DEFAULT B { 45 template struct B<A>; 58 template <class T> struct B { 62 template struct B<A>; 75 template <class T> struct TYPE_DEFAULT B { 79 template struct B<A>; 92 template <class T> struct TYPE_HIDDEN B [all...] |
| /external/clang/test/PCH/ |
| cxx-templates.cpp | 15 // Test with pch and delayed template parsing. 16 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fdelayed-template-parsing -fexceptions -x c++-header -emit-pch -o %t %S/cxx-templates.h 17 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fdelayed-template-parsing -fexceptions -include-pch %t -verify %s -ast-dump -o - 18 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fdelayed-template-parsing -fexceptions -include-pch %t %s -emit-llvm -o - -DNO_ERRORS | FileCheck %s 26 template <typename T> 49 template struct S4<int>; 54 template void f<X>(X*); 60 template<typename T, char Converter(T)> static inline unsigned createHash(const T*, unsigned) { 76 template< typename D > 108 template int local_extern::f<int[]>(); // expected-note {{in instantiation of} [all...] |
| /external/clang/test/SemaCXX/ |
| MicrosoftCompatibility.cpp | 13 template <typename T> 18 template <typename T> 168 template<class T> class A { 173 template<class T> class B { 179 template<class T, class U> 201 template <class T> 207 template void function_missing_typename<D>(const D::Type param); 219 template<class _Ty> 226 del((void*)a); // expected-note {{in instantiation of function template specialization}} 242 template<int N> int *get_n() { return N; } // expected-warning {{expression which evaluates to zero treat (…) [all...] |
| /external/deqp/framework/referencerenderer/ |
| rrGenericVector.hpp | 69 template<typename ScalarType> 84 template<typename ScalarType> 94 template<typename ScalarType> 104 template<typename ScalarType> 107 template<typename ScalarType> 111 template<> 117 template<> 123 template<> 129 template<> 135 template<> [all...] |
| /external/eigen/Eigen/src/Core/ |
| Replicate.h | 1 // This file is part of Eigen, a lightweight C++ template library 31 template<typename MatrixType,int RowFactor,int ColFactor> 62 template<typename MatrixType,int RowFactor,int ColFactor> class Replicate 72 template<typename OriginalMatrixType> 81 template<typename OriginalMatrixType> 104 template<int LoadMode> 114 return m_matrix.template packet<LoadMode>(actual_row, actual_col); 136 template<typename Derived> 137 template<int RowFactor, int ColFactor> 152 template<typename Derived [all...] |
| /external/eigen/Eigen/src/SparseCore/ |
| SparseDiagonalProduct.h | 1 // This file is part of Eigen, a lightweight C++ template library 16 // implemented using expression template. 29 template<typename Lhs, typename Rhs> 53 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType, int RhsMode, int LhsMode> 58 template<typename Lhs, typename Rhs> 106 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> 120 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> 144 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> 158 template<typename Lhs, typename Rhs, typename SparseDiagonalProductType> 186 template<typename Derived [all...] |
| SparseProduct.h | 1 // This file is part of Eigen, a lightweight C++ template library 15 template<typename Lhs, typename Rhs> 39 template<typename LhsNested, typename RhsNested> 79 template<typename LhsNested, typename RhsNested> 95 template<typename Lhs, typename Rhs> 102 template<typename Lhs, typename Rhs> 115 template<typename Dest> 159 template<typename Derived> 160 template<typename Lhs, typename Rhs> 178 template<typename Derived [all...] |
| /external/eigen/test/eigen2/ |
| eigen2_sparse_solvers.cpp | 1 // This file is part of Eigen, a lightweight C++ template library 12 template<typename Scalar> void 33 template<typename Scalar> void sparse_solvers(int rows, int cols) 53 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().solveTriangular(vec2), 54 m2.template marked<LowerTriangular>().solveTriangular(vec3)); 58 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().transpose().solveTriangular(vec2), 59 m2.template marked<LowerTriangular>().transpose().solveTriangular(vec3)); 63 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().solveTriangular(vec2), 64 m2.template marked<UpperTriangular>().solveTriangular(vec3)); 68 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().transpose().solveTriangular(vec2) [all...] |
| gsl_helper.h | 1 // This file is part of Eigen, a lightweight C++ template library 24 template<typename Scalar, bool IsComplex = NumTraits<Scalar>::IsComplex> struct GslTraits 59 template<typename Scalar> struct GslTraits<Scalar,true> 95 template<typename MatrixType> 106 template<typename MatrixType> 115 template<typename VectorType> 124 template<typename VectorType> 132 template<typename MatrixType> 144 template<typename MatrixType> 155 template<typename VectorType [all...] |
| /external/eigen/unsupported/Eigen/ |
| AlignedVector3 | 1 // This file is part of Eigen, a lightweight C++ template library 38 template<typename _Scalar> class AlignedVector3; 41 template<typename _Scalar> struct traits<AlignedVector3<_Scalar> > 47 template<typename _Scalar> class AlignedVector3 82 template<typename XprType, int Size=XprType::SizeAtCompileTime> 85 template<typename XprType> struct generic_assign_selector<XprType,4> 93 template<typename XprType> struct generic_assign_selector<XprType,3> 97 dest.m_coeffs.template head<3>() = src; 102 template<typename Derived> 179 template<typename Derived [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| QuantityFormatter.java | 31 * Adds a template if there is none yet for the plural form. 34 * @param template the text for that plural variant with "{0}" as the quantity. For 35 * example, in English, the template for the "one" variant may be "{0} apple" while the 36 * template for the "other" variant may be "{0} apples" 38 * if template has more than just the {0} placeholder. 40 public void addIfAbsent(CharSequence variant, String template) { 45 templates[idx] = SimplePatternFormatter.compileMinMaxPlaceholders(template, 0, 1); 60 * variant to use for fetching the formatting template. 82 SimplePatternFormatter template = templates[idx]; local 83 return (template == null && idx != StandardPlural.OTHER_INDEX) [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| QuantityFormatter.java | 30 * Adds a template if there is none yet for the plural form. 33 * @param template the text for that plural variant with "{0}" as the quantity. For 34 * example, in English, the template for the "one" variant may be "{0} apple" while the 35 * template for the "other" variant may be "{0} apples" 37 * if template has more than just the {0} placeholder. 39 public void addIfAbsent(CharSequence variant, String template) { 44 templates[idx] = SimplePatternFormatter.compileMinMaxPlaceholders(template, 0, 1); 59 * variant to use for fetching the formatting template. 81 SimplePatternFormatter template = templates[idx]; local 82 return (template == null && idx != StandardPlural.OTHER_INDEX) [all...] |
| /external/libchrome/base/memory/ |
| linked_ptr.h | 39 // a non-template class because different types of linked_ptr<> can refer to 74 template <typename T> 85 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } 93 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) { 127 template <typename U> 131 template <typename U> 137 template <typename U> 152 template <typename U> void copy(linked_ptr<U> const* ptr) { 161 template<typename T> inline 166 template<typename T> inlin [all...] |
| /external/libchrome/base/ |
| observer_list.h | 65 template <typename ObserverType> 68 template <class ObserverType> 132 template <class ObserverType> 142 template <class ObserverType> 148 template <class ObserverType> 160 template <class ObserverType> 170 template <class ObserverType> 184 template <class ObserverType> 194 template <class ObserverType> 206 template <class ObserverType [all...] |
| /external/libcxx/include/experimental/ |
| string_view | 21 // 7.2, Class template basic_string_view 22 template<class charT, class traits = char_traits<charT>> 26 template<class charT, class traits> 29 template<class charT, class traits> 32 template<class charT, class traits> 35 template<class charT, class traits> 38 template<class charT, class traits> 41 template<class charT, class traits> 47 template<class charT, class traits> 58 template<class charT, class traits = char_traits<charT> [all...] |
| /external/libcxx/test/std/thread/futures/ |
| test_allocator.h | 31 template <class T> 37 template <class U> friend class test_allocator; 48 template <class U> struct rebind {typedef test_allocator<U> other;}; 54 template <class U> test_allocator(const test_allocator<U>& a) throw() 89 template <> 95 template <class U> friend class test_allocator; 104 template <class U> struct rebind {typedef test_allocator<U> other;}; 110 template <class U> test_allocator(const test_allocator<U>& a) throw() 120 template <class T> 125 template <class U> friend class other_allocator [all...] |
| /external/libcxxabi/test/ |
| catch_multi_level_pointer.pass.cpp | 29 template <class To> 32 template <class To> 35 template <class Pointer> 42 template <class Tp> 49 template <class Throw, class Catch> 69 template <class Tp, bool First = false> 79 template <class Member, class Class> 87 template <class Throw, class Catch, int level, bool first = false> 103 template <class ThrowTp> 122 template <class Throw, class Catch, bool first [all...] |
| /external/libweave/third_party/chromium/base/strings/ |
| string_util.cc | 24 template<typename T> inline T* AlignToMachineWord(T* pointer) { 29 template<size_t size, typename CharacterType> struct NonASCIIMask; 30 template<> struct NonASCIIMask<4, char> { 33 template<> struct NonASCIIMask<8, char> { 40 template<typename StringType> 49 template<typename StringType> 68 template<class StringType> 105 template<typename STR> 132 template<typename Str> 174 template<typename Str [all...] |
| /external/llvm/include/llvm/ADT/ |
| STLExtras.h | 36 template<class Ty> 46 template<class Ty> 53 template<class Ty> 66 template<typename Fn> class function_ref; 68 template<typename Ret, typename ...Params> 73 template<typename Callable> 80 template <typename Callable> 97 template <class T> 111 template <class RootIt, class UnaryFunc> 183 template <class Iterator, class Func [all...] |
| /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
| reduce_to_column.hpp | 57 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor, int cn> struct Reduce; 59 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 1> 63 typename Reductor::template rebind<work_elem_type>::other op; 68 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 2> 72 typename Reductor::template rebind<work_elem_type>::other op; 77 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 3> 81 typename Reductor::template rebind<work_elem_type>::other op; 86 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 4> 90 typename Reductor::template rebind<work_elem_type>::other op; 95 template <class Reductor, int BLOCK_SIZE, class SrcPtr, typename ResType, class MaskPtr [all...] |
| /external/opencv3/modules/hal/include/opencv2/hal/ |
| intrin.hpp | 62 template<typename _Tp> struct V_TypeTraits 76 template<> struct V_TypeTraits<uchar> 93 template<> struct V_TypeTraits<schar> 110 template<> struct V_TypeTraits<ushort> 128 template<> struct V_TypeTraits<short> 147 template<> struct V_TypeTraits<unsigned> 163 template<> struct V_TypeTraits<int> 180 template<> struct V_TypeTraits<uint64> 195 template<> struct V_TypeTraits<int64> 211 template<> struct V_TypeTraits<float [all...] |
| /external/vulkan-validation-layers/libs/glm/gtx/ |
| transform2.inl | 12 template <typename T, precision P> 22 template <typename T, precision P> 32 template <typename T, precision P> 44 template <typename T, precision P> 56 template <typename T, precision P> 68 template <typename T, precision P> 81 template <typename T, precision P> 101 template <typename T, precision P> 114 template <typename T, precision P> 132 template <typename T, precision P [all...] |
| /frameworks/native/include/binder/ |
| Parcel.h | 38 template <typename T> class Flattenable; 39 template <typename T> class LightFlattenable; 153 template<typename T> 155 template<typename T> 158 template<typename T> 163 template<typename T> 166 template<typename T> 257 template<typename T> 260 template<typename T> 265 template<typename T [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/ |
| test_allocator.h | 30 template <class T> 36 template <class U> friend class test_allocator; 47 template <class U> struct rebind {typedef test_allocator<U> other;}; 53 template <class U> test_allocator(const test_allocator<U>& a) throw() 88 template <> 94 template <class U> friend class test_allocator; 103 template <class U> struct rebind {typedef test_allocator<U> other;}; 109 template <class U> test_allocator(const test_allocator<U>& a) throw() 119 template <class T> 124 template <class U> friend class other_allocator [all...] |
| /ndk/sources/cxx-stl/stlport/stlport/stl/ |
| _valarray.c | 35 template <class _Tp> 44 template <class _Tp> 55 template <class _Tp> 66 template <class _Size> 86 template <class _Tp> 97 template <class _Tp> 107 template <class _Tp> 125 template <class _Tp> 133 template <class _Tp> 147 template <class _Tp [all...] |