Home
last modified time | relevance | path

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

12345678910>>...255

/external/v8/test/cctest/compiler/
Dtest-run-jsops.cc12 FunctionTester T("(function(a,b) { return a + b; })"); in TEST() local
14 T.CheckCall(3, 1, 2); in TEST()
15 T.CheckCall(-11, -2, -9); in TEST()
16 T.CheckCall(-11, -1.5, -9.5); in TEST()
17 T.CheckCall(T.Val("AB"), T.Val("A"), T.Val("B")); in TEST()
18 T.CheckCall(T.Val("A11"), T.Val("A"), T.Val(11)); in TEST()
19 T.CheckCall(T.Val("12B"), T.Val(12), T.Val("B")); in TEST()
20 T.CheckCall(T.Val("38"), T.Val("3"), T.Val("8")); in TEST()
21 T.CheckCall(T.Val("31"), T.Val("3"), T.NewObject("([1])")); in TEST()
22 T.CheckCall(T.Val("3[object Object]"), T.Val("3"), T.NewObject("({})")); in TEST()
[all …]
Dtest-run-jsbranches.cc12 FunctionTester T("(function(a) { return a ? 23 : 42; })"); in TEST() local
14 T.CheckCall(T.Val(23), T.true_value(), T.undefined()); in TEST()
15 T.CheckCall(T.Val(42), T.false_value(), T.undefined()); in TEST()
16 T.CheckCall(T.Val(42), T.undefined(), T.undefined()); in TEST()
17 T.CheckCall(T.Val(42), T.Val(0.0), T.undefined()); in TEST()
18 T.CheckCall(T.Val(23), T.Val(999), T.undefined()); in TEST()
19 T.CheckCall(T.Val(23), T.Val("x"), T.undefined()); in TEST()
24 FunctionTester T("(function(a,b) { return a && b; })"); in TEST() local
26 T.CheckCall(T.true_value(), T.true_value(), T.true_value()); in TEST()
27 T.CheckCall(T.false_value(), T.false_value(), T.true_value()); in TEST()
[all …]
Dtest-run-intrinsics.cc15 FunctionTester T("(function(a,b) { return %_Call(b, a, 1, 2, 3); })", flags); in TEST() local
18 T.CheckCall(T.Val(129), T.NewObject("({d:123})"), T.NewObject("f")); in TEST()
19 T.CheckCall(T.Val("6x"), T.NewObject("({d:'x'})"), T.NewObject("f")); in TEST()
24 FunctionTester T("(function(a) { return %_ClassOf(a); })", flags); in TEST() local
26 T.CheckCall(T.Val("Function"), T.NewObject("(function() {})")); in TEST()
27 T.CheckCall(T.Val("Array"), T.NewObject("([1])")); in TEST()
28 T.CheckCall(T.Val("Object"), T.NewObject("({})")); in TEST()
29 T.CheckCall(T.Val("RegExp"), T.NewObject("(/x/)")); in TEST()
30 T.CheckCall(T.null(), T.undefined()); in TEST()
31 T.CheckCall(T.null(), T.null()); in TEST()
[all …]
Dtest-run-jscalls.cc12 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST() local
13 Handle<JSFunction> foo = T.NewFunction("(function(a) { return a; })"); in TEST()
15 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
16 T.CheckCall(T.Val(3.1), foo, T.Val(3.1)); in TEST()
17 T.CheckCall(foo, foo, foo); in TEST()
18 T.CheckCall(T.Val("Abba"), foo, T.Val("Abba")); in TEST()
23 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST() local
24 Handle<JSFunction> foo = T.NewFunction("(function(a) { return a; })"); in TEST()
25 T.Compile(foo); in TEST()
27 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
[all …]
Dtest-run-inlining.cc63 FunctionTester T( in TEST() local
72 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
77 FunctionTester T( in TEST() local
86 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
91 FunctionTester T( in TEST() local
100 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
105 FunctionTester T( in TEST() local
114 T.CheckCall(T.Val(13), T.Val(1), T.Val(2)); in TEST()
119 FunctionTester T( in TEST() local
131 T.CheckCall(T.Val(13), T.Val(1), T.Val(2)); in TEST()
[all …]
/external/v8/src/
Dmessages.h75 #define MESSAGE_TEMPLATES(T) \ argument
77 T(None, "") \
78 T(CyclicProto, "Cyclic __proto__ value") \
79 T(Debugger, "Debugger: %") \
80 T(DebuggerLoading, "Error loading debugger") \
81 T(DefaultOptionsMissing, "Internal % error. Default options are missing.") \
82 T(UncaughtException, "Uncaught %") \
83 T(Unsupported, "Not supported") \
84 T(WrongServiceType, "Internal error, wrong service type: %") \
85 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.cpp41 typedef const int T; in type_properties_test() typedef
42 static_assert(ex::is_const_v<T>, ""); in type_properties_test()
43 static_assert(std::is_same<decltype(ex::is_const_v<T>), const bool>::value, ""); in type_properties_test()
44 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
47 typedef int T; in type_properties_test() typedef
48 static_assert(!ex::is_const_v<T>, ""); in type_properties_test()
49 static_assert(ex::is_const_v<T> == std::is_const<T>::value, ""); in type_properties_test()
52 typedef volatile int T; in type_properties_test() typedef
53 static_assert(ex::is_volatile_v<T>, ""); in type_properties_test()
54 static_assert(std::is_same<decltype(ex::is_volatile_v<T>), const bool>::value, ""); in type_properties_test()
[all …]
Dmeta.unary.cat.pass.cpp25 typedef void T; in main() typedef
26 static_assert(ex::is_void_v<T>, ""); in main()
27 static_assert(std::is_same<decltype(ex::is_void_v<T>), const bool>::value, ""); in main()
28 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main()
31 typedef int T; in main() typedef
32 static_assert(!ex::is_void_v<T>, ""); in main()
33 static_assert(ex::is_void_v<T> == std::is_void<T>::value, ""); in main()
36 typedef decltype(nullptr) T; in main() typedef
37 static_assert(ex::is_null_pointer_v<T>, ""); in main()
38 static_assert(std::is_same<decltype(ex::is_null_pointer_v<T>), const bool>::value, ""); in main()
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathQuat.h70 template <class T>
75 T r; // real part
76 Vec3<T> v; // imaginary vector
88 Quat (T s, T i, T j, T k);
90 Quat (T s, Vec3<T> d);
92 static Quat<T> identity ();
111 const Quat<T> & operator = (const Quat<T> &q);
112 const Quat<T> & operator *= (const Quat<T> &q);
113 const Quat<T> & operator *= (T t);
114 const Quat<T> & operator /= (const Quat<T> &q);
[all …]
DImathFrustum.h67 template<class T>
73 Frustum(T nearPlane, T farPlane, T left, T right, T top, T bottom, bool ortho=false);
74 Frustum(T nearPlane, T farPlane, T fovx, T fovy, T aspect);
87 bool operator == (const Frustum<T> &src) const;
88 bool operator != (const Frustum<T> &src) const;
94 void set(T nearPlane, T farPlane,
95 T left, T right,
96 T top, T bottom,
99 void set(T nearPlane, T farPlane, T fovx, T fovy, T aspect);
105 void modifyNearAndFar(T nearPlane, T farPlane);
[all …]
DImathMatrixAlgo.h130 template <class T> bool extractScaling
131 (const Matrix44<T> &mat,
132 Vec3<T> &scl,
135 template <class T> Matrix44<T> sansScaling (const Matrix44<T> &mat,
138 template <class T> bool removeScaling
139 (Matrix44<T> &mat,
142 template <class T> bool extractScalingAndShear
143 (const Matrix44<T> &mat,
144 Vec3<T> &scl,
145 Vec3<T> &shr,
[all …]
DImathBox.h70 template <class T>
79 T min;
80 T max;
87 Box (const T &point);
88 Box (const T &minT, const T &maxT);
94 bool operator == (const Box<T> &src) const;
95 bool operator != (const Box<T> &src) const;
102 void extendBy (const T &point);
103 void extendBy (const Box<T> &box);
110 T size () const;
[all …]
DImathVec.h61 template <class T> class Vec2;
62 template <class T> class Vec3;
63 template <class T> class Vec4;
68 template <class T> class Vec2
76 T x, y;
78 T & operator [] (int i);
79 const T & operator [] (int i) const;
87 explicit Vec2 (T a); // (a a)
88 Vec2 (T a, T b); // (a b)
117 T * getValue ();
[all …]
/external/v8/test/cctest/
Dtest-types.cc105 TypesInstance T; member
111 T(Rep::ToRegion(&zone, isolate), isolate, in Tests()
169 for (TypeIterator it = T.types.begin(); it != T.types.end(); ++it) { in IsSomeType()
179 CHECK(this->IsBitset(T.None)); in Bitset()
180 CHECK(this->IsBitset(T.Any)); in Bitset()
182 CHECK(bitset(0) == this->AsBitset(T.None)); in Bitset()
183 CHECK(bitset(0xfffffffeu) == this->AsBitset(T.Any)); in Bitset()
186 for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) { in Bitset()
187 for (TypeIterator it2 = T.types.begin(); it2 != T.types.end(); ++it2) { in Bitset()
190 TypeHandle union12 = T.Union(type1, type2); in Bitset()
[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_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_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 …]
/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/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/gtx/
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 …]
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 …]
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h69 template <class T> struct is_integral;
70 template <class T> struct is_floating_point;
71 template <class T> struct is_pointer;
75 template <class T> struct is_enum;
77 template <class T> struct is_reference;
78 template <class T> struct is_pod;
79 template <class T> struct has_trivial_constructor;
80 template <class T> struct has_trivial_copy;
81 template <class T> struct has_trivial_assign;
82 template <class T> struct has_trivial_destructor;
[all …]

12345678910>>...255