/external/rust/crates/tinyvec/src/array/ |
D | generated_impl.rs | 7 impl<T: Default> Array for [T; 0] { implementation 8 type Item = T; 13 fn as_slice(&self) -> &[T] { in as_slice() argument 19 fn as_slice_mut(&mut self) -> &mut [T] { in as_slice_mut() argument 29 impl<T: Default> Array for [T; 1] { implementation 30 type Item = T; 35 fn as_slice(&self) -> &[T] { in as_slice() argument 41 fn as_slice_mut(&mut self) -> &mut [T] { in as_slice_mut() argument 47 [T::default()] in default() 51 impl<T: Default> Array for [T; 2] { implementation [all …]
|
/external/adhd/cros_alsa/src/ |
D | elem.rs | 28 pub type Result<T> = std::result::Result<T, Error>; 67 type T = Self; 73 fn load(handle: &mut Ctl, id: &ElemId) -> Result<Self::T> 101 fn save(handle: &mut Ctl, id: &ElemId, val: Self::T) -> Result<bool> { 134 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 135 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 136 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 137 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 142 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 143 T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T [all …]
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderInstructions.inl | 27 DECORATE_OP(T, OpNop) 28 DECORATE_OP(T, OpUndef) 78 DECORATE_OP(T, OpFunctionCall) 79 DECORATE_OP(T, OpVariable) 80 DECORATE_OP(T, OpImageTexelPointer) 81 DECORATE_OP(T, OpLoad) 82 DECORATE_OP(T, OpStore) 83 DECORATE_OP(T, OpCopyMemory) 84 DECORATE_OP(T, OpCopyMemorySized) 85 DECORATE_OP(T, OpAccessChain) [all …]
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_transform.hpp | 57 template <typename T, precision P> 58 GLM_FUNC_DECL tmat4x4<T, P> translate( 59 tmat4x4<T, P> const & m, 60 tvec3<T, P> const & v); 71 template <typename T, precision P> 72 GLM_FUNC_DECL tmat4x4<T, P> rotate( 73 tmat4x4<T, P> const & m, 74 T angle, 75 tvec3<T, P> const & axis); 85 template <typename T, precision P> [all …]
|
D | quaternion.hpp | 33 template <typename T, precision P = defaultp> 38 typedef tquat<T, P> type; 39 typedef T value_type; 56 struct { T x, y, z, w;}; 57 typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<P>::value>::type data; 67 T x, y, z, w; 76 GLM_FUNC_DECL T & operator[](length_type i); 77 GLM_FUNC_DECL T const & operator[](length_type i) const; 82 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, P> const & q) GLM_DEFAULT; 84 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, Q> const & q); [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-meta.hh | 47 template <typename T, T v> struct hb_integral_constant { static constexpr T value = v; }; 55 template <bool B, typename T = void> struct hb_enable_if {}; 56 template <typename T> struct hb_enable_if<true, T> { typedef T type; }; 61 template <typename T, typename T2> struct hb_is_same : hb_false_type {}; 62 template <typename T> struct hb_is_same<T, T> : hb_true_type {}; 63 #define hb_is_same(T, T2) hb_is_same<T, T2>::value argument 78 template <typename T> struct hb_type_identity_t { typedef T type; }; 79 template <typename T> using hb_type_identity = typename hb_type_identity_t<T>::type; 83 template <typename T> constexpr T* 84 operator () (T& arg) const in operator ()() [all …]
|
/external/OpenCSD/decoder/tests/snapshots-ete/ete_mem/bindir/ |
D | OTHERS_exec | 10 …�������������'���S���S���{��R8դ|S�TqT��q� 11 T��q� 12 …T��q�T��q@T�pq�T ��!��>@��+��5�����������#���+���3���;���C���K��E/��K���C���;���…
|
/external/clang/test/SemaCXX/ |
D | cxx1y-variable-templates_top_level.cpp | 11 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 …]
|
D | cxx1y-variable-templates_in_class.cpp | 12 …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/llvm-project/clang/test/SemaCXX/ |
D | cxx1y-variable-templates_top_level.cpp | 11 template<typename T> 12 T pi = T(3.1415926535897932385); // expected-note 2{{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 …]
|
D | cxx1y-variable-templates_in_class.cpp | 12 …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 … 25 template<typename T, typename T0> static CONST T right = T(100); 26 template<typename T> static CONST T right<T,int> = T(5); 34 template<typename T, typename T0> static CONST T right; 35 template<typename T> static CONST T right<T,int>; [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | winograd_transform.h | 28 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 …]
|
/external/llvm-project/llvm/unittests/ADT/ |
D | TripleTest.cpp | 18 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/llvm-project/clang/test/PCH/ |
D | cxx1y-variable-templates.cpp | 37 template<typename T> T var0a = T(); 38 template<typename T> extern T var0b; 41 template<typename T> T va = T(100); 42 template<typename T> extern T vb; 46 template<typename T> extern float err0; 47 template<typename T> extern T err1; 49 template<typename T> extern T def; 55 template<typename T> constexpr T va = T(10); 59 template<typename T> T vb = T(); 62 template<typename T> T vc = T(); [all …]
|
/external/clang/test/PCH/ |
D | cxx1y-variable-templates.cpp | 33 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/llvm-project/clang/test/SemaTemplate/ |
D | ms-lookup-template-base-classes.cpp | 5 template <class T> 8 …void f(T a) { }// expected-note 2{{must qualify identifier to find this declaration in dependent b… in f() 12 template <class T> 13 class B : public A<T> { 15 void z(T a) in z() 32 template<class T> void f(T) { in f() 58 template<class T> class A { 64 template<class T> 65 class B : public A<T> { 80 template <class T> [all …]
|
/external/clang/test/SemaTemplate/ |
D | ms-lookup-template-base-classes.cpp | 4 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/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | extended_min_max.hpp | 30 template <typename T> 31 GLM_FUNC_DECL T min( 32 T const & x, 33 T const & y, 34 T const & z); 38 template <typename T, template <typename> class C> 39 GLM_FUNC_DECL C<T> min( 40 C<T> const & x, 41 typename C<T>::T const & y, 42 typename C<T>::T const & z); [all …]
|
D | euler_angles.inl | 8 template <typename T> 9 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> eulerAngleX 11 T const & angleX 14 T cosX = glm::cos(angleX); 15 T sinX = glm::sin(angleX); 17 return tmat4x4<T, defaultp>( 18 T(1), T(0), T(0), T(0), 19 T(0), cosX, sinX, T(0), 20 T(0),-sinX, cosX, T(0), 21 T(0), T(0), T(0), T(1)); [all …]
|
/external/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | type_vec2.hpp | 18 template <typename T, precision P = defaultp> 23 typedef T value_type; 24 typedef tvec2<T, P> type; 30 T x, y; 45 struct{ T x, y; }; 46 struct{ T r, g; }; 47 struct{ T s, t; }; 50 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, x, y) 51 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, r, g) 52 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, s, t) [all …]
|
D | type_vec3.hpp | 18 template <typename T, precision P = defaultp> 23 typedef T value_type; 24 typedef tvec3<T, P> type; 30 T x, y, z; 45 struct{ T x, y, z; }; 46 struct{ T r, g, b; }; 47 struct{ T s, t, p; }; 50 _GLM_SWIZZLE3_2_MEMBERS(T, P, glm::tvec2, x, y, z) 51 _GLM_SWIZZLE3_2_MEMBERS(T, P, glm::tvec2, r, g, b) 52 _GLM_SWIZZLE3_2_MEMBERS(T, P, glm::tvec2, s, t, p) [all …]
|
D | type_vec1.hpp | 19 template <typename T, precision P = defaultp> 24 typedef T value_type; 25 typedef tvec1<T, P> type; 31 T x; 46 T x; 47 T r; 48 T s; 70 union {T x, r, s;}; 83 GLM_FUNC_DECL T & operator[](length_type i); 84 GLM_FUNC_DECL T const & operator[](length_type i) const; [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | mangle-exprs.cpp | 35 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/llvm-project/libcxx/test/std/numerics/c.math/c.math.lerp/ |
D | c.math.lerp.pass.cpp | 23 template <typename T> 26 return std::lerp(T( 0), T(12), T(0)) == T(0) in constexpr_test() 27 && std::lerp(T(12), T( 0), T(0.5)) == T(6) in constexpr_test() 28 && std::lerp(T( 0), T(12), T(2)) == T(24); in constexpr_test() 32 template <typename T> 35 ASSERT_SAME_TYPE(T, decltype(std::lerp(T(), T(), T()))); in test() 36 LIBCPP_ASSERT_NOEXCEPT( std::lerp(T(), T(), T())); in test() 39 constexpr T maxV = std::numeric_limits<T>::max(); in test() 40 constexpr T inf = std::numeric_limits<T>::infinity(); in test() 43 assert((std::lerp(T( 0), T(12), T(0)) == T(0))); in test() [all …]
|
/external/bcc/src/cc/vendor/ |
D | optional.hpp | 114 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 …]
|