Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 3754) sorted by relevance

12345678910>>...151

/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h17 template<typename T> struct traits;
23 template<typename T> struct traits<const T> : traits<T> {};
25 template<typename Derived> struct has_direct_access
30 template<typename Derived> struct accessors_level
39 template<typename T> struct evaluator_traits;
41 template< typename T> struct evaluator;
45 template<typename T> struct NumTraits;
47 template<typename Derived> struct EigenBase;
48 template<typename Derived> class DenseBase;
49 template<typename Derived> class PlainObjectBase;
[all …]
DMeta.h57 template<bool Condition, typename Then, typename Else>
60 template<typename Then, typename Else>
63 template<typename T, typename U> struct is_same { enum { value = 0 }; };
64 template<typename T> struct is_same<T,T> { enum { value = 1 }; };
66 template<typename T> struct remove_reference { typedef T type; };
67 template<typename T> struct remove_reference<T&> { typedef T type; };
69 template<typename T> struct remove_pointer { typedef T type; };
70 template<typename T> struct remove_pointer<T*> { typedef T type; };
71 template<typename T> struct remove_pointer<T*const> { typedef T type; };
73 template <class T> struct remove_const { typedef T type; };
[all …]
DXprHelper.h29 template<typename IndexDest, typename IndexSrc>
47 template<typename ExprScalar,typename T, bool IsSupported>
50 template<typename S,typename T>
57 template<typename ExprScalar,typename T,typename PromotedType,
63 template<typename S,typename T>
67 template<typename S,typename T, typename PromotedType>
75 template<typename ExprScalar,typename T, typename PromotedType>
81 template<typename S,typename T, typename PromotedType, bool ConvertibleToLiteral>
85 template<typename S,typename T>
96 template<typename I1, typename I2>
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h71 template<typename B, typename D>
88 template <bool cond, class T = void> struct enable_if;
89 template <class T> struct is_integral;
90 template <class T> struct is_floating_point;
91 template <class T> struct is_pointer;
95 template <class T> struct is_enum;
97 template <class T> struct is_reference;
98 template <class T> struct is_pod;
99 template <class T> struct has_trivial_constructor;
100 template <class T> struct has_trivial_copy;
[all …]
/external/clang/test/PCH/
Dcxx-templates.h3 template <typename T1, typename T2>
6 template <typename T1, typename T2>
12 template <typename T>
17 template <>
22 template <int x>
25 template <typename T, int y>
36 template <typename T>
43 template <typename T>
49 int y = T::template my_templf<int>(0);
57 template<typename T, typename A1>
[all …]
/external/libcxx/include/experimental/
Dtype_traits25 template <class T> constexpr bool is_void_v
27 template <class T> constexpr bool is_null_pointer_v
29 template <class T> constexpr bool is_integral_v
31 template <class T> constexpr bool is_floating_point_v
33 template <class T> constexpr bool is_array_v
35 template <class T> constexpr bool is_pointer_v
37 template <class T> constexpr bool is_lvalue_reference_v
39 template <class T> constexpr bool is_rvalue_reference_v
41 template <class T> constexpr bool is_member_object_pointer_v
43 template <class T> constexpr bool is_member_function_pointer_v
[all …]
/external/clang/test/Modules/Inputs/submodules-merge-defs/
Ddefs.h9 template<typename T> void f();
19 template<typename T> void B::f() {} in f()
20 template<> inline void B::f<int>() {}
23 template<int N> struct C_Base { struct D { constexpr operator int() const { return 0; } }; };
32 template<typename T> int E(T t) { return t; } in E()
34 template<typename T> struct F {
36 template<typename U> int g();
39 template<typename T> int F<T>::f() { return 0; } in f()
40 template<typename T> template<typename U> int F<T>::g() { return 0; } in g()
41 template<typename T> int F<T>::n = 0;
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorForwardDeclarations.h21 template<typename T> struct MakePointer {
25 template<typename PlainObjectType, int Options_ = Unaligned, template <class> class MakePointer_ = …
26 template<typename Scalar_, int NumIndices_, int Options_ = 0, typename IndexType = DenseIndex> clas…
27 template<typename Scalar_, typename Dimensions, int Options_ = 0, typename IndexType = DenseIndex> …
28 template<typename PlainObjectType> class TensorRef;
29 template<typename Derived, int AccessLevel> class TensorBase;
31 template<typename NullaryOp, typename PlainObjectType> class TensorCwiseNullaryOp;
32 template<typename UnaryOp, typename XprType> class TensorCwiseUnaryOp;
33 template<typename BinaryOp, typename LeftXprType, typename RightXprType> class TensorCwiseBinaryOp;
34 template<typename TernaryOp, typename Arg1XprType, typename Arg2XprType, typename Arg3XprType> clas…
[all …]
/external/libcxx/include/
D__tuple25 template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size;
28 template <class _Tp, class...>
31 template <class _Tp>
38 template <class _Tp>
45 template <class _Tp>
52 template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<const _Tp> : public tuple_size<_Tp> {};
53 template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<volatile _Tp> : public tuple_size<_Tp> {…
54 template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<const volatile _Tp> : public tuple_size<…
57 template <size_t _Ip, class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_element;
59 template <size_t _Ip, class _Tp>
[all …]
Dtype_traits21 template <class T, T v> struct integral_constant;
25 template <bool B> // C++14
31 template <bool, class T = void> struct enable_if;
32 template <bool, class T, class F> struct conditional;
35 template <class T> struct is_void;
36 template <class T> struct is_null_pointer; // C++14
37 template <class T> struct is_integral;
38 template <class T> struct is_floating_point;
39 template <class T> struct is_array;
40 template <class T> struct is_pointer;
[all …]
/external/mesa3d/src/mapi/glapi/
Dglapi_entrypoint.c140 static const unsigned int template[] = { in init_glapi_relocs() local
206 code[0] = template[0] | (dispatch >> 10); in init_glapi_relocs()
207 code[1] = template[1]; in init_glapi_relocs()
209 code[2] = template[2] | (dispatch & 0x3ff); in init_glapi_relocs()
210 code[3] = template[3]; in init_glapi_relocs()
212 code[4] = template[4]; in init_glapi_relocs()
213 code[5] = template[5]; in init_glapi_relocs()
215 code[6] = template[6]; in init_glapi_relocs()
219 code[0] = template[0] | (dispatch >> (32 + 10)); in init_glapi_relocs()
220 code[1] = template[1] | ((dispatch & 0xffffffff) >> 10); in init_glapi_relocs()
[all …]
/external/clang/test/Modules/Inputs/
Dcxx-templates-a.h3 template<typename T> T f() { return T(); } in f()
4 template<typename T> T f(T);
6 template<typename T> T f() { return T(); } in f()
7 template<typename T> T f(T);
10 template<int N> int template_param_kinds_1();
11 template<template<typename T, int, int> class> int template_param_kinds_2();
12 template<template<typename T, typename U, T> class> int template_param_kinds_3();
14 template<typename T> struct SomeTemplate<T*>;
15 template<typename T> struct SomeTemplate<T*> {};
18 template<typename T> void PerformDelayedLookup(T &t) {
[all …]
Dcxx-templates-b.h3 template<typename T> T f();
4 template<typename T> T f(T t) { return t; } in f()
6 template<typename T> T f();
7 template<typename T> T f(T t) { return t; } in f()
10 template<typename> int template_param_kinds_1();
11 template<template<typename, int, int...> class> int template_param_kinds_2();
12 template<template<typename T, typename U, U> class> int template_param_kinds_3();
14 template<typename T> struct SomeTemplate<T&> {};
15 template<typename T> struct SomeTemplate<T&>;
20 template<int> struct MergeTemplates;
[all …]
/external/libchrome/dbus/
Dproperty.h377 template <class T>
461 template <>
463 template <>
466 template <>
469 extern template class CHROME_DBUS_EXPORT Property<uint8_t>;
471 template <>
473 template <>
476 template <>
479 extern template class CHROME_DBUS_EXPORT Property<bool>;
481 template <>
[all …]
/external/ltp/testcases/kernel/security/integrity/ima/src/
Dima_measure.c83 static int verify_template_hash(struct event *template) in verify_template_hash() argument
87 rc = memcmp(fox, template->header.digest, sizeof fox); in verify_template_hash()
92 calc_digest(digest, sizeof template->ima_data, in verify_template_hash()
93 &template->ima_data); in verify_template_hash()
94 rc = memcmp(digest, template->header.digest, sizeof digest); in verify_template_hash()
137 struct event template; in main() local
171 while (fread(&template.header, sizeof template.header, 1, fp)) { in main()
178 if (memcmp(template.header.digest, zero, 20) == 0) in main()
179 memset(template.header.digest, 0xFF, 20); in main()
181 SHA1_Update(&c, template.header.digest, 20); in main()
[all …]
/external/eigen/Eigen/src/Core/
DMathFunctions.h51 template<typename T, typename dummy = void>
57 template<typename T> struct always_void { typedef void type; };
59 template<typename T>
75 template<typename Scalar, bool IsComplex = NumTraits<Scalar>::IsComplex>
86 template<typename Scalar>
98 template<typename Scalar> struct real_impl : real_default_impl<Scalar> {};
101 template<typename T>
113 template<typename Scalar>
123 template<typename Scalar, bool IsComplex = NumTraits<Scalar>::IsComplex>
134 template<typename Scalar>
[all …]
DGenericPacketMath.h96 template<typename T> struct packet_traits : default_packet_traits
120 template<typename T> struct packet_traits<const T> : packet_traits<T> { };
122 template <typename Src, typename Tgt> struct type_casting_traits {
132 template <typename SrcPacket, typename TgtPacket>
137 template <typename SrcPacket, typename TgtPacket>
143 template <typename SrcPacket, typename TgtPacket>
150 template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
155 template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
160 template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
165 template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
[all …]
/external/eigen/Eigen/src/Core/functors/
DUnaryFunctors.h22 template<typename Scalar> struct scalar_opposite_op {
25 template<typename Packet>
29 template<typename Scalar>
41 template<typename Scalar> struct scalar_abs_op {
45 template<typename Packet>
49 template<typename Scalar>
63 template<typename Scalar> struct scalar_score_coeff_op : scalar_abs_op<Scalar>
67 template<typename Scalar>
71 template<typename Scalar, typename=void> struct abs_knowing_score
75 template<typename Score>
[all …]
/external/llvm/include/llvm/ADT/
DTinyPtrVector.h25 template <typename EltTy>
38 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in ~TinyPtrVector()
43 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in TinyPtrVector()
56 if (Val.template is<EltTy>()) {
60 Val = new VecTy(*RHS.Val.template get<VecTy*>());
65 if (RHS.Val.template is<EltTy>()) {
66 Val.template get<VecTy*>()->clear();
67 Val.template get<VecTy*>()->push_back(RHS.front());
69 *Val.template get<VecTy*>() = *RHS.Val.template get<VecTy*>();
88 if (VecTy *V = Val.template dyn_cast<VecTy*>()) {
[all …]
/external/libchrome/base/
Dbind_helpers.h174 template <typename T>
179 template <typename T>
188 template <typename T>
197 template <typename T>
207 template <typename T>
222 template <typename T>
260 template <typename T>
279 template <typename T>
284 template <typename T>
289 template <typename T>
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/util/
DCXX11Meta.h33 template<typename... tt>
36 template<typename t, typename... tt>
39 template<typename T, T... nn>
42 template<typename T, T n, T... nn>
55 template<typename T, std::size_t n, T start = 0, T... ii> struct gen_numeric_list …
56 template<typename T, T start, T... ii> struct gen_numeric_list<T, 0, start, ii..…
58 template<typename T, std::size_t n, T start = 0, T... ii> struct gen_numeric_list_reversed …
59 template<typename T, T start, T... ii> struct gen_numeric_list_reversed<T, 0, st…
61 template<typename T, std::size_t n, T a, T b, T start = 0, T... ii> struct gen_numeric_list_swapped…
62 template<typename T, T a, T b, T start, T... ii> struct gen_numeric_list_swapped…
[all …]
/external/eigen/Eigen/src/Core/arch/SSE/
DPacketMath.h37 template<typename T>
60 template<> struct is_arithmetic<__m128> { enum { value = true }; };
61 template<> struct is_arithmetic<__m128i> { enum { value = true }; };
62 template<> struct is_arithmetic<__m128d> { enum { value = true }; };
95 template<> struct packet_traits<float> : default_packet_traits
123 template<> struct packet_traits<double> : default_packet_traits
148 template<> struct packet_traits<int> : default_packet_traits
161 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4, alignment=Aligned1…
162 template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned1…
163 template<> struct unpacket_traits<Packet4i> { typedef int type; enum {size=4, alignment=Aligned1…
[all …]
/external/webrtc/webrtc/base/
Dtemplate_util.h22 template<class T, T v>
29 template <class T, T v> const T integral_constant<T, v>::value;
34 template <class T> struct is_pointer : false_type {};
35 template <class T> struct is_pointer<T*> : true_type {};
37 template <class T, class U> struct is_same : public false_type {};
38 template <class T> struct is_same<T, T> : true_type {};
40 template<class> struct is_array : public false_type {};
41 template<class T, size_t n> struct is_array<T[n]> : public true_type {};
42 template<class T> struct is_array<T[]> : public true_type {};
44 template <class T> struct is_non_const_reference : false_type {};
[all …]
/external/v8/tools/clang/blink_gc_plugin/tests/heap/
Dstubs.h20 template<typename T> class RefCounted { };
22 template<typename T> class RawPtr {
28 template<typename T> class RefPtr {
35 template<typename T> class OwnPtr {
47 template<typename T>
52 template<size_t inlineCapacity, bool isGarbageCollected, bool tNeedsDestruction>
58 template<size_t inlineCapacity>
61 template<>
64 template<
76 template<
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/util/
DTemplateGroupTheory.h119 template<template<typename, typename> class Equality, typename id, typename L> struct strip_identit…
121 template<
122 template<typename, typename> class Equality,
137 template<
138 template<typename, typename> class Equality,
161 template<
162 template<typename, typename> class Multiply,
163 template<typename, typename> class Equality,
181 template<
182 template<typename, typename> class Multiply,
[all …]

12345678910>>...151