Home
last modified time | relevance | path

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

12345678910>>...382

/external/v8/src/
Dmessages.h254 #define MESSAGE_TEMPLATES(T) \ argument
256 T(None, "") \
257 T(CyclicProto, "Cyclic __proto__ value") \
258 T(Debugger, "Debugger: %") \
259 T(DebuggerLoading, "Error loading debugger") \
260 T(DefaultOptionsMissing, "Internal % error. Default options are missing.") \
261 T(DeletePrivateField, "Private fields can not be deleted") \
262 T(UncaughtException, "Uncaught %") \
263 T(Unsupported, "Not supported") \
264 T(WrongServiceType, "Internal error, wrong service 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/tensorflow/tensorflow/core/kernels/
Dwinograd_transform.h28 template <typename T>
29 class WinogradTransform : public DeepConv2DTransform<T> {
31 typedef typename DeepConv2DTransform<T>::Shape Shape;
37 T* transform_matrix) const;
40 T* transform_matrix) const;
43 T* transform_matrix) const;
66 template <typename T>
67 void WinogradTransform<T>::GetFilterTransformMatrix(const int64 rows, in GetFilterTransformMatrix()
69 T* transform_matrix) const { in GetFilterTransformMatrix()
72 memset(transform_matrix, 0, sizeof(T) * rows * cols); in GetFilterTransformMatrix()
[all …]
Dcwise_ops.h55 template <typename T>
58 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const T operator()(const T& a) const {
62 template <typename T>
63 struct functor_traits<scalar_asinh_op<T>> {
64 enum { Cost = 5 * NumTraits<T>::MulCost, PacketAccess = false };
67 template <typename T>
70 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const T operator()(const T& a) const {
74 template <typename T>
75 struct functor_traits<scalar_acosh_op<T>> {
76 enum { Cost = 5 * NumTraits<T>::MulCost, PacketAccess = false };
[all …]
Daggregate_ops_cpu.h35 template <typename T>
36 struct Add2Functor<CPUDevice, T> {
37 void operator()(const CPUDevice& d, typename TTypes<T>::Flat out,
38 typename TTypes<T>::ConstFlat in1,
39 typename TTypes<T>::ConstFlat in2) {
40 Add2EigenImpl<CPUDevice, T>::Compute(d, out, in1, in2);
43 template <typename T>
44 struct Add3Functor<CPUDevice, T> {
45 void operator()(const CPUDevice& d, typename TTypes<T>::Flat out,
46 typename TTypes<T>::ConstFlat in1,
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/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/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/bcc/src/cc/vendor/
Doptional.hpp114 template <typename T>
115 using is_trivially_destructible = std::has_trivial_destructor<T>;
131 template <class T>
134 constexpr static bool value = std::is_nothrow_constructible<T, T&&>::value;
138 template <class T, class U>
148 constexpr static bool value = has_assign<T, U>(true);
152 template <class T>
165 constexpr static bool value = has_nothrow_move_assign<T, is_assignable<T&, T&&>::value>::value;
175 template <class T> class optional;
178 template <class T> class optional<T&>;
[all …]
/external/skia/include/private/
DSkVx.h40 template <int N, typename T>
44 Vec<N/2,T> lo, hi;
52 Vec(T x) : lo(x), hi(x) {} in Vec()
54 Vec(std::initializer_list<T> xs) { in Vec()
55 T vals[N] = {0}; in Vec()
56 memcpy(vals, xs.begin(), std::min(xs.size(), (size_t)N)*sizeof(T)); in Vec()
58 lo = Vec<N/2,T>::Load(vals + 0); in Vec()
59 hi = Vec<N/2,T>::Load(vals + N/2); in Vec()
62 T operator[](int i) const { return i < N/2 ? lo[i] : hi[i-N/2]; }
63 T& operator[](int i) { return i < N/2 ? lo[i] : hi[i-N/2]; }
[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/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/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/v8/src/base/
Datomic-utils.h19 template <typename T>
24 explicit AtomicValue(T initial) in AtomicValue()
25 : value_(cast_helper<T>::to_storage_type(initial)) {} in AtomicValue()
27 V8_INLINE T Value() const { in Value()
28 return cast_helper<T>::to_return_type(base::Acquire_Load(&value_)); in Value()
31 V8_INLINE bool TrySetValue(T old_value, T new_value) { in TrySetValue()
33 &value_, cast_helper<T>::to_storage_type(old_value), in TrySetValue()
34 cast_helper<T>::to_storage_type(new_value)) == in TrySetValue()
35 cast_helper<T>::to_storage_type(old_value); in TrySetValue()
38 V8_INLINE void SetBits(T bits, T mask) { in SetBits()
[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/tensorflow/tensorflow/core/framework/
Dtensor_testutil_test.cc28 template <typename T>
30 EXPECT_TRUE(Expector<T>::Near(Eigen::NumTraits<T>::infinity(), in TestEdgeCasesNear()
31 Eigen::NumTraits<T>::infinity(), 0.0)); in TestEdgeCasesNear()
32 EXPECT_TRUE(Expector<T>::Near(Eigen::NumTraits<T>::lowest(), in TestEdgeCasesNear()
33 Eigen::NumTraits<T>::highest(), in TestEdgeCasesNear()
35 EXPECT_FALSE(Expector<T>::Near(Eigen::NumTraits<T>::lowest(), in TestEdgeCasesNear()
36 Eigen::NumTraits<T>::highest(), in TestEdgeCasesNear()
38 EXPECT_FALSE(Expector<T>::Near(Eigen::NumTraits<T>::quiet_NaN(), in TestEdgeCasesNear()
39 Eigen::NumTraits<T>::quiet_NaN(), 0.0)); in TestEdgeCasesNear()
40 EXPECT_FALSE(Expector<T>::Near(Eigen::NumTraits<T>::quiet_NaN(), in TestEdgeCasesNear()
[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 …]
/external/guava/guava/src/com/google/common/collect/
DIterables.java64 public static <T> Iterable<T> unmodifiableIterable( in unmodifiableIterable()
65 final Iterable<T> iterable) { in unmodifiableIterable()
71 return new UnmodifiableIterable<T>(iterable); in unmodifiableIterable()
85 private static final class UnmodifiableIterable<T> extends FluentIterable<T> {
86 private final Iterable<T> iterable;
88 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
93 public Iterator<T> iterator() { in iterator()
174 public static <T> boolean removeIf( in removeIf()
175 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf()
178 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf()
[all …]
DIterators.java111 public static <T> UnmodifiableIterator<T> emptyIterator() { in emptyIterator()
123 static <T> UnmodifiableListIterator<T> emptyListIterator() { in emptyListIterator()
124 return (UnmodifiableListIterator<T>) EMPTY_LIST_ITERATOR; in emptyListIterator()
150 static <T> Iterator<T> emptyModifiableIterator() { in emptyModifiableIterator()
151 return (Iterator<T>) EMPTY_MODIFIABLE_ITERATOR; in emptyModifiableIterator()
155 public static <T> UnmodifiableIterator<T> unmodifiableIterator( in unmodifiableIterator()
156 final Iterator<T> iterator) { in unmodifiableIterator()
159 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator()
161 return new UnmodifiableIterator<T>() { in unmodifiableIterator()
167 public T next() { in unmodifiableIterator()
[all …]
/external/libxcam/xcore/
Dvec_mat.h51 Vector2<T> operator op (const Vector2<T>& b) const { \
52 return Vector2<T>(x op b.x, y op b.y); \
54 Vector2<T> &operator op##= (const Vector2<T>& b) { \
59 Vector2<T> operator op (const T& b) const { \
60 return Vector2<T>(x op b, y op b); \
62 Vector2<T> &operator op##= (const T& b) { \
66 template<class T>
71 T x;
72 T y;
75 Vector2 (T _x, T _y) : x(_x), y(_y) {}; in Vector2()
[all …]
/external/arm-neon-tests/
Dcompute_ref_data.c35 #define MY_INIT_TAB(T,W,N) xNAME(INIT_TAB,N)(T##W##_t) argument
36 #define MY_INIT_TAB2(T,W,N) xNAME(INIT_TAB2,N)(T##W##_t) argument
37 #define MY_INIT_TAB3(T,W,N) xNAME(INIT_TAB3,N)(T##W##_t) argument
38 #define MY_INIT_TAB4(T,W,N) xNAME(INIT_TAB4,N)(T##W##_t) argument
41 #define VECT_VAR_DECL_INIT(V, T, W, N) \ argument
42 VECT_VAR_DECL(V,T,W,N) [] = { MY_INIT_TAB(T,W,N) };
46 #define VECT_VAR_DECL_INIT4(V, T, W, N) \ argument
47 VECT_VAR_DECL(V,T,W,N) [] = { MY_INIT_TAB(T,W,4) };
50 #define VECT_ARRAY_INIT2(V, T, W, N) \ argument
51 T##W##_t VECT_ARRAY_VAR(V,T,W,N,2)[] = \
[all …]
/external/libcxx/test/std/utilities/function.objects/refwrap/
Dunwrap_ref_decay.pass.cpp24 template <typename T, typename Result>
26 static_assert(std::is_same_v<typename std::unwrap_ref_decay<T>::type, Result>); in check()
27 …static_assert(std::is_same_v<typename std::unwrap_ref_decay<T>::type, std::unwrap_ref_decay_t<T>>); in check()
30 struct T { }; struct
33 check<T, T>(); in main()
34 check<T&, T>(); in main()
35 check<T const, T>(); in main()
36 check<T const&, T>(); in main()
37 check<T*, T*>(); in main()
38 check<T const*, T const*>(); in main()
[all …]

12345678910>>...382