Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 6881) sorted by relevance

12345678910>>...276

/external/v8/src/
Dmessages.h251 #define MESSAGE_TEMPLATES(T) \ argument
253 T(None, "") \
254 T(CyclicProto, "Cyclic __proto__ value") \
255 T(Debugger, "Debugger: %") \
256 T(DebuggerLoading, "Error loading debugger") \
257 T(DefaultOptionsMissing, "Internal % error. Default options are missing.") \
258 T(UncaughtException, "Uncaught %") \
259 T(Unsupported, "Not supported") \
260 T(WrongServiceType, "Internal error, wrong service type: %") \
261 T(WrongValueType, "Internal error. Wrong value type.") \
[all …]
/external/clang/test/SemaCXX/
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;
37 template<typename T>
38 T circular_area(T r) { in circular_area()
39 return pi<T> * r * r; in circular_area()
42 template<typename T>
43 CONST T const_circular_area(T r) { in const_circular_area()
[all …]
Dcxx1y-variable-templates_in_class.cpp12 …template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a tem…
13 …template<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;
16 …template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a tem…
17 …template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared …
26 template<typename T, typename T0> static CONST T right = T(100);
27 template<typename T> static CONST T right<T,int> = T(5);
35 template<typename T, typename T0> static CONST T right;
36 template<typename T> static CONST T right<T,int>;
[all …]
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.prop.pass.cpp40 typedef const int T; in type_properties_test() typedef
41 static_assert(ex::is_const_v<T>, ""); in type_properties_test()
42 static_assert(std::is_same<decltype(ex::is_const_v<T>), const bool>::value, ""); in type_properties_test()
43 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
46 typedef int T; in type_properties_test() typedef
47 static_assert(!ex::is_const_v<T>, ""); in type_properties_test()
48 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
51 typedef volatile int T; in type_properties_test() typedef
52 static_assert(ex::is_volatile_v<T>, ""); in type_properties_test()
53 static_assert(std::is_same<decltype(ex::is_volatile_v<T>), const bool>::value, ""); in type_properties_test()
[all …]
Dmeta.unary.cat.pass.cpp24 typedef void T; in main() typedef
25 static_assert(ex::is_void_v<T>, ""); in main()
26 static_assert(std::is_same<decltype(ex::is_void_v<T>), const bool>::value, ""); in main()
27 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main()
30 typedef int T; in main() typedef
31 static_assert(!ex::is_void_v<T>, ""); in main()
32 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main()
35 typedef decltype(nullptr) T; in main() typedef
36 static_assert(ex::is_null_pointer_v<T>, ""); in main()
37 static_assert(std::is_same<decltype(ex::is_null_pointer_v<T>), const bool>::value, ""); in main()
[all …]
/external/clang/test/PCH/
Dcxx1y-variable-templates.cpp33 template<typename T> T var0a = T();
34 template<typename T> extern T var0b;
37 template<typename T> T va = T(100);
38 template<typename T> extern T vb;
42 template<typename T> extern float err0;
43 template<typename T> extern T err1;
45 template<typename T> extern T def;
51 template<typename T> constexpr T va = T(10);
55 template<typename T> T vb = T();
58 template<typename T> T vc = T();
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
D_swizzle.hpp36 template <typename T, int N>
39 typedef T value_type;
51 template <typename T, precision P, typename V, int E0, int E1, int E2, int E3, int N>
52 struct _swizzle_base1 : public _swizzle_base0<T, N>
56 template <typename T, precision P, typename V, int E0, int E1>
57 struct _swizzle_base1<T, P, V,E0,E1,-1,-2,2> : public _swizzle_base0<T, 2>
62 template <typename T, precision P, typename V, int E0, int E1, int E2>
63 struct _swizzle_base1<T, P, V,E0,E1,E2,-1,3> : public _swizzle_base0<T, 3>
68 template <typename T, precision P, typename V, int E0, int E1, int E2, int E3>
69 struct _swizzle_base1<T, P, V,E0,E1,E2,E3,4> : public _swizzle_base0<T, 4>
[all …]
Dtype_vec2.hpp46 template <typename T, precision P>
54 typedef tvec2<T, P> type;
56 typedef T value_type;
70 struct{ T x, y; };
71 struct{ T r, g; };
72 struct{ T s, t; };
74 _GLM_SWIZZLE2_2_MEMBERS(T, P, tvec2, x, y)
75 _GLM_SWIZZLE2_2_MEMBERS(T, P, tvec2, r, g)
76 _GLM_SWIZZLE2_2_MEMBERS(T, P, tvec2, s, t)
77 _GLM_SWIZZLE2_3_MEMBERS(T, P, tvec3, x, y)
[all …]
Dtype_vec1.hpp46 template <typename T, precision P>
54 typedef tvec1<T, P> type;
56 typedef T value_type;
66 union {T x, r, s;};
71 GLM_FUNC_DECL T & operator[](length_t i);
72 GLM_FUNC_DECL T const & operator[](length_t i) const;
78 GLM_FUNC_DECL tvec1(tvec1<T, P> const & v);
80 GLM_FUNC_DECL tvec1(tvec1<T, Q> const & v);
88 T const & s);
109 GLM_FUNC_DECL tvec1<T, P> & operator= (tvec1<T, P> const & v);
[all …]
Dtype_vec3.hpp46 template <typename T, precision P>
54 typedef tvec3<T, P> type;
56 typedef T value_type;
70 struct{ T x, y, z; };
71 struct{ T r, g, b; };
72 struct{ T s, t, p; };
74 _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, x, y, z)
75 _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, r, g, b)
76 _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, s, t, p)
77 _GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, x, y, z)
[all …]
Dtype_vec4.hpp47 template <typename T, precision P>
55 typedef tvec4<T, P> type;
57 typedef T value_type;
71 struct { T r, g, b, a; };
72 struct { T s, t, p, q; };
73 struct { T x, y, z, w;};
75 _GLM_SWIZZLE4_2_MEMBERS(T, P, tvec2, x, y, z, w)
76 _GLM_SWIZZLE4_2_MEMBERS(T, P, tvec2, r, g, b, a)
77 _GLM_SWIZZLE4_2_MEMBERS(T, P, tvec2, s, t, p, q)
78 _GLM_SWIZZLE4_3_MEMBERS(T, P, tvec3, x, y, z, w)
[all …]
Dtype_mat4x4.hpp41 template <typename T, precision P>
45 typedef T value_type;
47 typedef tvec4<T, P> col_type;
48 typedef tvec4<T, P> row_type;
49 typedef tmat4x4<T, P> type;
50 typedef tmat4x4<T, P> transpose_type;
66 GLM_FUNC_DECL tmat4x4(tmat4x4<T, P> const & m);
68 GLM_FUNC_DECL tmat4x4(tmat4x4<T, Q> const & m);
73 T const & x);
75 T const & x0, T const & y0, T const & z0, T const & w0,
[all …]
Dtype_mat2x2.hpp40 template <typename T, precision P>
44 typedef T value_type;
46 typedef tvec2<T, P> col_type;
47 typedef tvec2<T, P> row_type;
48 typedef tmat2x2<T, P> type;
49 typedef tmat2x2<T, P> transpose_type;
67 GLM_FUNC_DECL tmat2x2(tmat2x2<T, P> const & m);
69 GLM_FUNC_DECL tmat2x2(tmat2x2<T, Q> const & m);
74 T const & x);
76 T const & x1, T const & y1,
[all …]
/external/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp4 template <class T>
7 …void f(T a) { }// expected-note 2{{must qualify identifier to find this declaration in dependent b… in f()
11 template <class T>
12 class B : public A<T> {
14 void z(T a) in z()
31 template<class T> void f(T) { in f()
57 template<class T> class A {
63 template<class T>
64 class B : public A<T> {
79 template <class T>
[all …]
/external/vulkan-validation-layers/libs/glm/gtx/
Dextented_min_max.hpp56 template <typename T>
57 GLM_FUNC_DECL T min(
58 T const & x,
59 T const & y,
60 T const & z);
64 template <typename T, template <typename> class C>
65 GLM_FUNC_DECL C<T> min(
66 C<T> const & x,
67 typename C<T>::T const & y,
68 typename C<T>::T const & z);
[all …]
Deuler_angles.inl12 template <typename T>
13 GLM_FUNC_QUALIFIER detail::tmat4x4<T, defaultp> eulerAngleX
15 T const & angleX
18 T cosX = glm::cos(angleX);
19 T sinX = glm::sin(angleX);
21 return detail::tmat4x4<T, defaultp>(
22 T(1), T(0), T(0), T(0),
23 T(0), cosX, sinX, T(0),
24 T(0),-sinX, cosX, T(0),
25 T(0), T(0), T(0), T(1));
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h88 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;
101 template <class T> struct has_trivial_assign;
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/util/
Dfunctional.hpp30 template<typename T>
31 typename std::remove_reference<T>::type
32 operator()(T &&x) const { in operator ()()
38 template<typename T, typename S>
39 typename std::common_type<T, S>::type
40 operator()(T x, S y) const { in operator ()()
46 template<typename T, typename S>
47 typename std::common_type<T, S>::type
48 operator()(T x, S y) const { in operator ()()
54 template<typename T>
[all …]
/external/vulkan-validation-layers/libs/glm/gtc/
Dquaternion.hpp57 template <typename T, precision P>
65 T x, y, z, w;
75 T const & s,
76 tvec3<T, P> const & v);
78 T const & w,
79 T const & x,
80 T const & y,
81 T const & z);
92 detail::tvec3<T, P> const & u,
93 detail::tvec3<T, P> const & v);
[all …]
Dmatrix_transform.hpp84 template <typename T, precision P>
85 GLM_FUNC_DECL detail::tmat4x4<T, P> translate(
86 detail::tmat4x4<T, P> const & m,
87 detail::tvec3<T, P> const & v);
100 template <typename T, precision P>
101 GLM_FUNC_DECL detail::tmat4x4<T, P> rotate(
102 detail::tmat4x4<T, P> const & m,
103 T const & angle,
104 detail::tvec3<T, P> const & axis);
116 template <typename T, precision P>
[all …]
/external/llvm/unittests/ADT/
DTripleTest.cpp18 Triple T; in TEST() local
20 T = Triple(""); in TEST()
21 EXPECT_EQ("", T.getArchName().str()); in TEST()
22 EXPECT_EQ("", T.getVendorName().str()); in TEST()
23 EXPECT_EQ("", T.getOSName().str()); in TEST()
24 EXPECT_EQ("", T.getEnvironmentName().str()); in TEST()
26 T = Triple("-"); in TEST()
27 EXPECT_EQ("", T.getArchName().str()); in TEST()
28 EXPECT_EQ("", T.getVendorName().str()); in TEST()
29 EXPECT_EQ("", T.getOSName().str()); in TEST()
[all …]
/external/deqp/framework/common/
DtcuMatrix.hpp34 template <typename T, int Rows, int Cols>
38 typedef Vector<T, Rows> Element;
39 typedef T Scalar;
49 explicit Matrix (const T& src);
50 explicit Matrix (const T src[Rows*Cols]);
51 Matrix (const Vector<T, Rows>& src);
52 Matrix (const Matrix<T, Rows, Cols>& src);
55 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src);
56 Matrix<T, Rows, Cols>& operator*= (const Matrix<T, Rows, Cols>& src);
58 void setRow (int rowNdx, const Vector<T, Cols>& vec);
[all …]
DtcuVector.hpp36 template <typename T, int VecSize, int Size>
40 explicit VecAccess (Vector<T, VecSize>& v, int x, int y);
41 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z);
42 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z, int w);
44 VecAccess& operator= (const Vector<T, Size>& v);
46 operator Vector<T, Size> (void) const;
49 Vector<T, VecSize>& m_vector;
53 template <typename T, int VecSize, int Size>
54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y) in VecAccess() argument
62 template <typename T, int VecSize, int Size>
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java62 public static <T> Iterable<T> unmodifiableIterable( in unmodifiableIterable()
63 final Iterable<T> iterable) { in unmodifiableIterable()
69 return new UnmodifiableIterable<T>(iterable); in unmodifiableIterable()
83 private static final class UnmodifiableIterable<T> extends FluentIterable<T> {
84 private final Iterable<T> iterable;
86 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
91 public Iterator<T> iterator() { in iterator()
172 public static <T> boolean removeIf( in removeIf()
173 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf()
176 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf()
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-exprs.cpp35 template < bool condition, typename T = void >
36 struct enable_if { typedef T type; };
38 template< typename T >
39 struct enable_if< false, T > {};
59 template <unsigned O, typename T>
60 void reinterpret_(typename enable_if<O <= sizeof(reinterpret_cast<T *>(0))>::type * = 0) { in reinterpret_()
63 template <typename T, T *p>
64 void const_(typename enable_if<0 <= sizeof(const_cast<T *>(p))>::type * = 0) { in const_()
67 template <typename T, T *p>
68 void dynamic_(typename enable_if<0 <= sizeof(dynamic_cast<T *>(p))>::type * = 0) { in dynamic_()
[all …]

12345678910>>...276