Home
last modified time | relevance | path

Searched full:template (Results 1 – 25 of 15047) sorted by relevance

12345678910>>...602

/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dglm.cpp11 template struct tvec1<uint8, lowp>;
12 template struct tvec1<uint16, lowp>;
13 template struct tvec1<uint32, lowp>;
14 template struct tvec1<uint64, lowp>;
15 template struct tvec1<int8, lowp>;
16 template struct tvec1<int16, lowp>;
17 template struct tvec1<int32, lowp>;
18 template struct tvec1<int64, lowp>;
19 template struct tvec1<float32, lowp>;
20 template struct tvec1<float64, lowp>;
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkGetStructureTypeImpl.inl4 template<> VkStructureType getStructureType<VkBufferMemoryBarrier> (void)
9 template<> VkStructureType getStructureType<VkImageMemoryBarrier> (void)
14 template<> VkStructureType getStructureType<VkMemoryBarrier> (void)
19 template<> VkStructureType getStructureType<VkApplicationInfo> (void)
24 template<> VkStructureType getStructureType<VkInstanceCreateInfo> (void)
29 template<> VkStructureType getStructureType<VkDeviceQueueCreateInfo> (void)
34 template<> VkStructureType getStructureType<VkDeviceCreateInfo> (void)
39 template<> VkStructureType getStructureType<VkSubmitInfo> (void)
44 template<> VkStructureType getStructureType<VkMappedMemoryRange> (void)
49 template<> VkStructureType getStructureType<VkMemoryAllocateInfo> (void)
[all …]
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h1 // This file is part of Eigen, a lightweight C++ template library
17 template<typename T> struct traits;
20 // When constness must affect traits, it has to be constness on template parameters on which T itse…
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;
[all …]
/external/vulkan-validation-layers/layers/generated/
Dvk_typemap_helper.h39 template <VkStructureType id> struct LvlSTypeMap {};
40 template <typename T> struct LvlTypeMap {};
43 template <> struct LvlTypeMap<VkApplicationInfo> {
47 template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_APPLICATION_INFO> {
52 template <> struct LvlTypeMap<VkInstanceCreateInfo> {
56 template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO> {
61 template <> struct LvlTypeMap<VkDeviceQueueCreateInfo> {
65 template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO> {
70 template <> struct LvlTypeMap<VkDeviceCreateInfo> {
74 template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO> {
[all …]
/external/llvm-project/clang/test/Parser/
Dcxx-template-decl.cpp2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fdelayed-template-parsing -DDELAYED_TEMPLATE_PARSING
8 export class foo { }; // expected-error {{expected template}}
9 template x; // expected-error {{C++ requires a type specifier for all declarations}} \
11 export template x; // expected-error {{expected '<' after 'template'}}
12 export template<class T> class x0; // expected-warning {{exported templates are unsupported}}
13 template < ; // expected-error {{expected template parameter}} \
14 // expected-error{{expected ',' or '>' in template-parameter-list}} \
16 template <int +> struct x1; // expected-error {{expected ',' or '>' in template-parameter-list}}
18 // verifies that we only walk to the ',' & still produce errors on the rest of the template paramet…
19 template <int +, T> struct x2; // expected-error {{expected ',' or '>' in template-parameter-list}}…
[all …]
/external/clang/test/Parser/
Dcxx-template-decl.cpp2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fdelayed-template-parsing -DDELAYED_TEMPLATE_PARSING
8 export class foo { }; // expected-error {{expected template}}
9 template x; // expected-error {{C++ requires a type specifier for all declarations}} \
11 export template x; // expected-error {{expected '<' after 'template'}}
12 export template<class T> class x0; // expected-warning {{exported templates are unsupported}}
13 template < ; // expected-error {{expected template parameter}} \
14 // expected-error{{expected ',' or '>' in template-parameter-list}} \
16 template <int +> struct x1; // expected-error {{expected ',' or '>' in template-parameter-list}}
18 // verifies that we only walk to the ',' & still produce errors on the rest of the template paramet…
19 template <int +, T> struct x2; // expected-error {{expected ',' or '>' in template-parameter-list}}…
[all …]
/external/clang/test/CXX/temp/temp.param/
Dp11-0x.cpp3 // If a template-parameter of a class template or alias template has a default
4 // template-argument, each subsequent template-parameter shall either have a
5 // default template-argument supplied or be a template parameter pack.
6 template<typename> struct vector;
8 template<typename T = int, typename> struct X3t; // expected-error{{template parameter missing a de…
9 template<typename T = int, typename> using A3t = int; // expected-error{{template parameter missing…
10 template<int V = 0, int> struct X3nt; // expected-error{{template parameter missing a default argum…
11 template<int V = 0, int> using A3nt = int; // expected-error{{template parameter missing a default …
12 template<template<class> class M = vector, template<class> class> struct X3tt; // expected-error{{t…
13 template<template<class> class M = vector, template<class> class> using A3tt = int; // expected-err…
[all …]
/external/llvm-project/clang/test/CXX/temp/temp.param/
Dp11-0x.cpp3 // If a template-parameter of a class template or alias template has a default
4 // template-argument, each subsequent template-parameter shall either have a
5 // default template-argument supplied or be a template parameter pack.
6 template<typename> struct vector;
8 template<typename T = int, typename> struct X3t; // expected-error{{template parameter missing a de…
9 template<typename T = int, typename> using A3t = int; // expected-error{{template parameter missing…
10 template<int V = 0, int> struct X3nt; // expected-error{{template parameter missing a default argum…
11 template<int V = 0, int> using A3nt = int; // expected-error{{template parameter missing a default …
12 template<template<class> class M = vector, template<class> class> struct X3tt; // expected-error{{t…
13 template<template<class> class M = vector, template<class> class> using A3tt = int; // expected-err…
[all …]
/external/llvm-project/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dexamples.cpp4 template<typename T> struct identity { typedef T type; };
9 template<typename T> struct C { typedef B type; };
15 namespace N { template<typename T> struct S { void f(); }; }
17 namespace N { template<> void T::f() {} } in f()
21 template< typename S >
24 template< int >
30 template< typename S >
38 template<>
39 template<>
46 template<typename S> struct C {
[all …]
Dp2-0x.cpp16 // -- function template
18 template<typename T> void f0(T) { in f0()
22 template<> void f0(NonDefaultConstructible) { } in f0()
28 template<> void f0(int);
29 template<> void f0(long);
32 template<> void N0::f0(int) { } // okay in f0()
35 template<> void N0::f0(long) { } // expected-error{{does not enclose namespace}} in f0()
38 template<> void N0::f0(double) { } in f0()
41 template<typename T> void f(T);
43 template<> void f(int); // OK (DR727)
[all …]
/external/clang/test/SemaCXX/
Dcxx1y-variable-templates_in_class.cpp12template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a tem…
13template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared…
14 template<typename T, typename T0> static CONST T right = T(100);
15 template<typename T> static CONST T right<T,int> = 5;
16template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a tem…
17template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared …
18template<> static CONST int right<int,int> = 7; // expected-error {{explicit specialization …
19template<> static CONST float right<float,int>; // expected-error {{explicit specialization …
20template static CONST int right<int,int>; // expected-error {{template specialization requires…
26 template<typename T, typename T0> static CONST T right = T(100);
[all …]
Dcxx1y-variable-templates_top_level.cpp11 template<typename T>
12 T pi = T(3.1415926535897932385); // expected-note {{template is declared here}}
14 template<typename T>
15 CONST T cpi = T(3.1415926535897932385); // expected-note {{template is declared here}}
17 template<typename T> extern CONST T vc;
32 // template arguments are not deduced for uses of variable templates. in no_deduce()
33 …int ipi = pi; // expected-error {{cannot refer to variable template 'pi' without a template argume… in no_deduce()
34 …int icpi = cpi; // expected-error {{cannot refer to variable template 'cpi' without a template arg… in no_deduce()
37 template<typename T>
42 template<typename T>
[all …]
/external/llvm-project/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/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dexamples.cpp4 template<typename T> struct identity { typedef T type; };
9 template<typename T> struct C { typedef B type; };
15 namespace N { template<typename T> struct S { void f(); }; }
17 namespace N { template<> void T::f() {} } in f()
21 template< typename S >
24 template< int >
30 template< typename S >
38 template<>
39 template<>
46 template<typename S> struct C {
[all …]
Dp2-0x.cpp19 // -- function template
21 template<typename T> void f0(T) { in f0()
25 template<> void f0(NonDefaultConstructible) { } in f0()
31 template<> void f0(int);
32 template<> void f0(long);
35 template<> void N0::f0(int) { } // okay in f0()
38 template<> void N0::f0(long) { } // expected-error{{does not enclose namespace}} in f0()
41 template<> void N0::f0(double) { } in f0()
44 template<typename T> void f(T);
46 template<> void f(int); // expected-error{{in class scope}}
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dcxx1y-variable-templates_in_class.cpp12template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a tem…
13template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared…
14 template<typename T, typename T0> static CONST T right = T(100);
15 template<typename T> static CONST T right<T,int> = 5;
16template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a tem…
17template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared …
18 template<> static CONST int right<int,int> = 7;
19 template<> static CONST float right<float,int>;
20 template static CONST int right<int,int>; // expected-error {{expected '<' after 'template'}}
25 template<typename T, typename T0> static CONST T right = T(100);
[all …]
Dcxx1y-variable-templates_top_level.cpp11 template<typename T>
14 template<typename T>
15 CONST T cpi = T(3.1415926535897932385); // expected-note {{template is declared here}}
17 template<typename T> extern CONST T vc;
32 // template arguments are not deduced for uses of variable templates. in no_deduce()
33 int ipi = pi; // expected-error {{use of variable template 'pi' requires template arguments}} in no_deduce()
34 int icpi = cpi; // expected-error {{use of variable template 'cpi' requires template arguments}} in no_deduce()
37 template<typename T>
42 template<typename T>
63 … ipi = pi<int>; // expected-error {{'pi' does not name a template but is followed by template arg… in foo()
[all …]
/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/
Dequivalence.cpp3 template<typename T, typename U> constexpr bool is_same_v = false;
4 template<typename T> constexpr bool is_same_v<T, T> = true;
6 template<typename T> struct identity { using type = T; };
7 template<typename T> using identity_t = T;
10 template<typename T> requires requires { typename identity_t<T>; }
12 template<typename U> requires requires { typename identity_t<U>; } // expected-note{{previous templ…
14 template<typename T> requires requires { typename identity_t<T*>; } // expected-error{{requires cla…
16 template<typename T> requires requires { typename ::identity_t<T>; }
19 template<typename Y> requires requires { typename identity<Y>::type; }
21 template<typename U> requires requires { typename identity<U>::type; }
[all …]
/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h24 template <decltype(sizeof(0)) kLength,
32 template <decltype(sizeof(0)) kLength,
38 template <typename T, T kValue>
52 template <bool kValue>
58 template <typename T>
61 template <typename T>
64 template <typename T, decltype(sizeof(int)) kSize>
67 template <typename T>
70 template <typename T>
73 template <typename T>
[all …]
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dtype_traits24 template <decltype(sizeof(0)) kLength,
32 template <decltype(sizeof(0)) kLength,
38 template <typename T, T kValue>
52 template <bool kValue>
58 template <typename T>
61 template <typename T>
64 template <typename T, decltype(sizeof(int)) kSize>
67 template <typename T>
70 template <typename T>
73 template <typename T>
[all …]
/external/llvm-project/clang/test/SemaTemplate/
Dtemp_arg_template.cpp5 template<template<typename T> class X> struct A; // expected-note 2{{previous template template par…
7 template<template<typename T, int I> class X> struct B; // expected-note{{previous template templat…
9 template<template<int I> class X> struct C; // expected-note 2{{previous non-type template paramet…
11 template<class> struct X; // expected-note{{too few template parameters in template template argume…
12 template<int N> struct Y; // expected-note{{template parameter has a different kind in template arg…
13 template<long N> struct Ylong; // expected-note{{template non-type parameter has a different type '…
14 template<const int &N> struct Yref; // expected-note{{template non-type parameter has a different t…
17 template<class> struct Z;
19 template<class, class> struct TooMany; // expected-note{{too many template parameters in template t…
26 …> *a4; // expected-error{{template template argument has different template parameters than its co…
[all …]
Dtemplate-id-expr.cpp5 template<typename FromCl>
7 template<class ToCl>
11 template<class X, class Y>
12 void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); } in isa()
17 // Implicit template-ids.
18 template<typename T>
20 template<typename U>
23 template<typename U>
33 // Not template-id expressions, but they almost look like it.
34 template<typename F>
[all …]
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dparameter-matching.cpp3 // Check for template type parameter pack (mis-)matches with template
5 template<typename ...T> struct X0t;
6 template<typename ...T> struct X0t;
8 template<typename ...T> struct X1t; // expected-note{{previous template type parameter pack declare…
9 template<typename T> struct X1t; // expected-error{{template type parameter conflicts with previous…
11 template<typename T> struct X2t; // expected-note{{previous template type parameter declared here}}
12 template<typename ...T> struct X2t; // expected-error{{template type parameter pack conflicts with …
14 template<template<typename ...T> class> struct X0t_intt;
15 template<template<typename ...T> class> struct X0t_intt;
17 template<template<typename ...T> class> struct X1t_intt; // expected-note{{previous template type p…
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dparameter-matching.cpp3 // Check for template type parameter pack (mis-)matches with template
5 template<typename ...T> struct X0t;
6 template<typename ...T> struct X0t;
8 template<typename ...T> struct X1t; // expected-note{{previous template type parameter pack declare…
9 template<typename T> struct X1t; // expected-error{{template type parameter conflicts with previous…
11 template<typename T> struct X2t; // expected-note{{previous template type parameter declared here}}
12 template<typename ...T> struct X2t; // expected-error{{template type parameter pack conflicts with …
14 template<template<typename ...T> class> struct X0t_intt;
15 template<template<typename ...T> class> struct X0t_intt;
17 template<template<typename ...T> class> struct X1t_intt; // expected-note{{previous template type p…
[all …]
/external/llvm-project/libcxx/include/
Dtype_traits20 template <class T, T v> struct integral_constant;
24 template <bool B> // C++14
30 template <bool, class T = void> struct enable_if;
31 template <bool, class T, class F> struct conditional;
34 template <class T> struct is_void;
35 template <class T> struct is_null_pointer; // C++14
36 template <class T> struct is_integral;
37 template <class T> struct is_floating_point;
38 template <class T> struct is_array;
39 template <class T> struct is_pointer;
[all …]

12345678910>>...602