Home
last modified time | relevance | path

Searched refs:traits (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/external/eigen/Eigen/src/Core/products/
DGeneralBlockPanelKernel.h541 Traits traits;
559 traits.unpackRhs(depth*nr,&blockB[j2*strideB+offsetB*nr],unpackedB);
571 traits.initAcc(C0);
572 traits.initAcc(C1);
573 if(nr==4) traits.initAcc(C2);
574 if(nr==4) traits.initAcc(C3);
575 traits.initAcc(C4);
576 traits.initAcc(C5);
577 if(nr==4) traits.initAcc(C6);
578 if(nr==4) traits.initAcc(C7);
[all …]
/external/ImageMagick/MagickCore/
Dpixel-accessor.h56 if (image->channel_map[AlphaPixelChannel].traits == UndefinedPixelTrait) in GetPixelAlpha()
64 return(image->channel_map[AlphaPixelChannel].traits); in GetPixelAlphaTraits()
76 if (image->channel_map[BlackPixelChannel].traits == UndefinedPixelTrait) in GetPixelBlack()
84 return(image->channel_map[BlackPixelChannel].traits); in GetPixelBlackTraits()
95 return(image->channel_map[BluePixelChannel].traits); in GetPixelBlueTraits()
106 return(image->channel_map[CbPixelChannel].traits); in GetPixelCbTraits()
112 if (image->channel_map[channel].traits == UndefinedPixelTrait) in GetPixelChannel()
132 return(image->channel_map[channel].traits); in GetPixelChannelTraits()
148 return(image->channel_map[CrPixelChannel].traits); in GetPixelCrTraits()
159 return(image->channel_map[CyanPixelChannel].traits); in GetPixelCyanTraits()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseUtil.h48 typedef typename Eigen::internal::traits<Derived >::Scalar Scalar; \
51 typedef typename Eigen::internal::traits<Derived >::StorageKind StorageKind; \
52 typedef typename Eigen::internal::traits<Derived >::Index Index; \
53 enum { RowsAtCompileTime = Eigen::internal::traits<Derived >::RowsAtCompileTime, \
54 ColsAtCompileTime = Eigen::internal::traits<Derived >::ColsAtCompileTime, \
55 Flags = Eigen::internal::traits<Derived >::Flags, \
56 CoeffReadCost = Eigen::internal::traits<Derived >::CoeffReadCost, \
88 …nt InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(internal::traits<Lhs>::ColsAtCompileTime,internal::trai…
90 …nt InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(internal::traits<Lhs>::ColsAtCompileTime,internal::trai…
98 : public sparse_eval<T, traits<T>::RowsAtCompileTime,traits<T>::ColsAtCompileTime>
[all …]
DSparseDenseProduct.h44 struct traits<SparseDenseOuterProduct<Lhs,Rhs,Tr> >
47 typedef typename scalar_product_traits<typename traits<Lhs>::Scalar,
48 typename traits<Rhs>::Scalar>::ReturnType Scalar;
56 LhsCoeffReadCost = traits<_LhsNested>::CoeffReadCost,
57 RhsCoeffReadCost = traits<_RhsNested>::CoeffReadCost,
59 …RowsAtCompileTime = Tr ? int(traits<Rhs>::RowsAtCompileTime) : int(traits<Lhs>::RowsAtCompi…
60 …ColsAtCompileTime = Tr ? int(traits<Lhs>::ColsAtCompileTime) : int(traits<Rhs>::ColsAtCompi…
61 …MaxRowsAtCompileTime = Tr ? int(traits<Rhs>::MaxRowsAtCompileTime) : int(traits<Lhs>::MaxRowsAtCo…
62 …MaxColsAtCompileTime = Tr ? int(traits<Lhs>::MaxColsAtCompileTime) : int(traits<Rhs>::MaxColsAtCo…
80 typedef internal::traits<SparseDenseOuterProduct> Traits;
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-subst-std.cpp52 template<typename charT, typename traits = char_traits<charT> >
53 struct basic_istream : virtual public basic_ios<charT, traits> {
54 basic_istream(int x) : basic_ios<charT, traits>(x), stored(x) { } in basic_istream()
58 template<typename charT, typename traits = char_traits<charT> >
59 struct basic_ostream : virtual public basic_ios<charT, traits> {
60 basic_ostream(int x) : basic_ios<charT, traits>(x), stored(x) { } in basic_ostream()
65 template<typename charT, typename traits = char_traits<charT> >
66 struct basic_iostream : public basic_istream<charT, traits>,
67 public basic_ostream<charT, traits> {
68 basic_iostream(int x) : basic_istream<charT, traits>(x), in basic_iostream()
[all …]
/external/eigen/Eigen/src/Core/util/
DXprHelper.h170 template<typename T, typename StorageKind = typename traits<T>::StorageKind> struct plain_matrix_ty…
174 typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind>::type type;
179 typedef Matrix<typename traits<T>::Scalar,
180 traits<T>::RowsAtCompileTime,
181 traits<T>::ColsAtCompileTime,
182 AutoAlign | (traits<T>::Flags&RowMajorBit ? RowMajor : ColMajor),
183 traits<T>::MaxRowsAtCompileTime,
184 traits<T>::MaxColsAtCompileTime
190 typedef Array<typename traits<T>::Scalar,
191 traits<T>::RowsAtCompileTime,
[all …]
DMacros.h351 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f…
355 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
356 typedef typename Eigen::internal::traits<Derived>::Index Index; \
357 enum { RowsAtCompileTime = Eigen::internal::traits<Derived>::RowsAtCompileTime, \
358 ColsAtCompileTime = Eigen::internal::traits<Derived>::ColsAtCompileTime, \
359 Flags = Eigen::internal::traits<Derived>::Flags, \
360 CoeffReadCost = Eigen::internal::traits<Derived>::CoeffReadCost, \
367 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f…
372 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
373 typedef typename Eigen::internal::traits<Derived>::Index Index; \
[all …]
/external/libchrome/base/
Dscoped_generic_unittest.cc35 IntTraits traits(&values_freed); in TEST() local
39 ScopedInt a(IntTraits::InvalidValue(), traits); in TEST()
46 ScopedInt a(kFirst, traits); in TEST()
54 ScopedInt a(kFirst, traits); in TEST()
57 ScopedInt b(IntTraits::InvalidValue(), traits); in TEST()
66 ScopedInt b(kFirst, traits); in TEST()
77 ScopedInt a(kFirst, traits); in TEST()
78 ScopedInt b(kSecond, traits); in TEST()
92 ScopedInt a(kFirst, traits); in TEST()
105 ScopedInt a(kFirst, traits); in TEST()
[all …]
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h83 typedef typename internal::traits<KroneckerProductSparse>::Index Index;
153 struct traits<KroneckerProduct<_Lhs,_Rhs> >
160 … Rows = size_at_compile_time<traits<Lhs>::RowsAtCompileTime, traits<Rhs>::RowsAtCompileTime>::ret,
161 … Cols = size_at_compile_time<traits<Lhs>::ColsAtCompileTime, traits<Rhs>::ColsAtCompileTime>::ret,
162 …MaxRows = size_at_compile_time<traits<Lhs>::MaxRowsAtCompileTime, traits<Rhs>::MaxRowsAtCompileTim…
163 …MaxCols = size_at_compile_time<traits<Lhs>::MaxColsAtCompileTime, traits<Rhs>::MaxColsAtCompileTim…
171 struct traits<KroneckerProductSparse<_Lhs,_Rhs> >
177 …typedef typename promote_storage_type<typename traits<Lhs>::StorageKind, typename traits<Rhs>::Sto…
184 …RowsAtCompileTime = size_at_compile_time<traits<Lhs>::RowsAtCompileTime, traits<Rhs>::RowsAtCompil…
185 …ColsAtCompileTime = size_at_compile_time<traits<Lhs>::ColsAtCompileTime, traits<Rhs>::ColsAtCompil…
[all …]
/external/eigen/Eigen/src/Core/
DVectorBlock.h49 struct traits<VectorBlock<VectorType, Size> >
50 : public traits<Block<VectorType,
51 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
52 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
59 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
60 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1>
63 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
64 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1> Base;
66 IsColVector = !(internal::traits<VectorType>::Flags & RowMajorBit)
DDot.h31 …typedef typename scalar_product_traits<typename traits<T>::Scalar,typename traits<U>::Scalar>::Ret…
34 …return a.template binaryExpr<scalar_conj_product_op<typename traits<T>::Scalar,typename traits<U>:… in run()
41 …typedef typename scalar_product_traits<typename traits<T>::Scalar,typename traits<U>::Scalar>::Ret…
44 …spose().template binaryExpr<scalar_conj_product_op<typename traits<T>::Scalar,typename traits<U>::…
62 … internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,typename internal::tra…
88 typename internal::traits<Derived>::Scalar
113 EIGEN_STRONG_INLINE typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase…
125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::no…
166 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar;
177 …static inline typename NumTraits<typename traits<Derived>::Scalar>::Real run(const MatrixBase<Deri…
[all …]
DDenseBase.h43 : public internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar,
44 … typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>
50 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar,
51 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*;
55 typedef typename internal::traits<Derived>::StorageKind StorageKind;
61 typedef typename internal::traits<Derived>::Index Index;
63 typedef typename internal::traits<Derived>::Scalar Scalar;
102 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
108 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
115 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime,
[all …]
DCwiseBinaryOp.h38 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
43 typedef typename traits<Ancestor>::XprKind XprKind;
45 RowsAtCompileTime = traits<Ancestor>::RowsAtCompileTime,
46 ColsAtCompileTime = traits<Ancestor>::ColsAtCompileTime,
47 MaxRowsAtCompileTime = traits<Ancestor>::MaxRowsAtCompileTime,
48 MaxColsAtCompileTime = traits<Ancestor>::MaxColsAtCompileTime
59 typedef typename promote_storage_type<typename traits<Lhs>::StorageKind,
60 typename traits<Rhs>::StorageKind>::ret StorageKind;
61 typedef typename promote_index_type<typename traits<Lhs>::Index,
62 typename traits<Rhs>::Index>::type Index;
[all …]
DCwiseUnaryView.h31 struct traits<CwiseUnaryView<ViewOp, MatrixType> >
32 : traits<MatrixType>
35 ViewOp(typename traits<MatrixType>::Scalar)
40 …Flags = (traits<_MatrixTypeNested>::Flags & (HereditaryBits | LvalueBit | LinearAccessBit | Direct…
41 CoeffReadCost = traits<_MatrixTypeNested>::CoeffReadCost + functor_traits<ViewOp>::Cost,
47 … : int(MatrixTypeInnerStride) * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar)),
50 …: outer_stride_at_compile_time<MatrixType>::ret * int(sizeof(typename traits<MatrixType>::Scalar) …
59 class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<Matr…
63 …typedef typename CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::Stor…
108 …return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::…
[all …]
DBandMatrix.h23 Flags = internal::traits<Derived>::Flags,
24 CoeffReadCost = internal::traits<Derived>::CoeffReadCost,
25 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
26 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
27 MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime,
28 MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime,
29 Supers = internal::traits<Derived>::Supers,
30 Subs = internal::traits<Derived>::Subs,
31 Options = internal::traits<Derived>::Options
33 typedef typename internal::traits<Derived>::Scalar Scalar;
[all …]
DReturnByValue.h24 struct traits<ReturnByValue<Derived> >
25 : public traits<typename traits<Derived>::ReturnType>
31 Flags = (traits<typename traits<Derived>::ReturnType>::Flags
45 typedef typename traits<Derived>::ReturnType type;
54 typedef typename internal::traits<Derived>::ReturnType ReturnType;
DReplicate.h32 struct traits<Replicate<MatrixType,RowFactor,ColFactor> >
33 : traits<MatrixType>
36 typedef typename traits<MatrixType>::StorageKind StorageKind;
37 typedef typename traits<MatrixType>::XprKind XprKind;
65 typedef typename internal::traits<Replicate>::MatrixTypeNested MatrixTypeNested;
66 typedef typename internal::traits<Replicate>::_MatrixTypeNested _MatrixTypeNested;
95 const Index actual_row = internal::traits<MatrixType>::RowsAtCompileTime==1 ? 0
98 const Index actual_col = internal::traits<MatrixType>::ColsAtCompileTime==1 ? 0
107 const Index actual_row = internal::traits<MatrixType>::RowsAtCompileTime==1 ? 0
110 const Index actual_col = internal::traits<MatrixType>::ColsAtCompileTime==1 ? 0
DArrayBase.h49 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar,
50 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*;
52 typedef typename internal::traits<Derived>::StorageKind StorageKind;
53 typedef typename internal::traits<Derived>::Index Index;
54 typedef typename internal::traits<Derived>::Scalar Scalar;
93 typedef Array<typename internal::traits<Derived>::Scalar,
94 internal::traits<Derived>::RowsAtCompileTime,
95 internal::traits<Derived>::ColsAtCompileTime,
96 AutoAlign | (internal::traits<Derived>::Flags&RowMajorBit ? RowMajor : ColMajor),
97 internal::traits<Derived>::MaxRowsAtCompileTime,
[all …]
/external/libweave/third_party/chromium/base/strings/
Dstring_number_conversions.cc121 typedef IteratorRangeToNumberTraits traits; typedef in base::__anon353a660a0111::IteratorRangeToNumber
122 typedef typename traits::iterator_type const_iterator;
123 typedef typename traits::value_type value_type;
165 typename traits::value_type* output) { in Invoke()
174 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke()
182 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke()
190 *output *= traits::kBase; in Invoke()
202 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds()
203 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds()
204 new_digit > traits::max() % traits::kBase)) { in CheckBounds()
[all …]
/external/libchrome/base/strings/
Dstring_number_conversions.cc129 typedef IteratorRangeToNumberTraits traits; typedef in base::__anon7b9c15440111::IteratorRangeToNumber
130 typedef typename traits::iterator_type const_iterator;
131 typedef typename traits::value_type value_type;
173 typename traits::value_type* output) { in Invoke()
182 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke()
190 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke()
198 *output *= traits::kBase; in Invoke()
210 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds()
211 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds()
212 new_digit > traits::max() % traits::kBase)) { in CheckBounds()
[all …]
/external/libweave/src/
Dcomponent_manager_unittest.cc450 "traits": ["trait1", "trait2"] in TEST_F()
453 "traits": ["trait3"] in TEST_F()
469 "traits": [], in TEST_F()
472 "traits": [], in TEST_F()
475 "traits": [] in TEST_F()
480 "traits": [] in TEST_F()
503 "traits": [], in TEST_F()
507 "traits": ["foo"] in TEST_F()
510 "traits": ["bar"], in TEST_F()
513 "traits": [], in TEST_F()
[all …]
/external/deqp/framework/opengl/
DgluObjectWrapper.cpp36 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits) in ObjectWrapper() argument
38 , m_traits (traits) in ObjectWrapper()
41 (gl.*traits.genFunc)(1, &m_object); in ObjectWrapper()
46 const char* objectName = traits.name; in ObjectWrapper()
58 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object) in ObjectWrapper() argument
60 , m_traits (traits) in ObjectWrapper()
88 ObjectVector::ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects) in ObjectVector() argument
90 , m_traits (traits) in ObjectVector()
/external/clang/test/SemaTemplate/
Dalias-templates.cpp25 template<typename T> struct traits { struct
30 template<typename U> using rebind = traits<rebind_thing<U>>; argument
44 typedef traits<thing<inner>> traits_type;
48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {} in thing()
49 ~thing() { traits.free(static_cast<inner_ptr&&>(val)); } in ~thing()
51 traits_type &traits; member
60 template<> bool &traits<thing<bool>>::alloc() { static bool b; return b; } in alloc()
61 template<> void traits<thing<bool>>::free(bool&) {} in free()
64 typedef X::traits<X::thing<int>> itt;
/external/libcxx/include/
Dostream17 template <class charT, class traits = char_traits<charT> >
19 : virtual public basic_ios<charT,traits>
24 typedef traits traits_type;
30 explicit basic_ostream(basic_streambuf<char_type,traits>* sb);
44 basic_ostream& operator<<(basic_ios<charT, traits>& (*pf)(basic_ios<charT,traits>&));
59 basic_ostream& operator<<(basic_streambuf<char_type,traits>* sb);
81 template<class charT, class traits>
82 basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>&, charT);
84 template<class charT, class traits>
85 basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>&, char);
[all …]
Diosfwd24 template <class charT, class traits = char_traits<charT> > class basic_ios;
26 template <class charT, class traits = char_traits<charT> > class basic_streambuf;
27 template <class charT, class traits = char_traits<charT> > class basic_istream;
28 template <class charT, class traits = char_traits<charT> > class basic_ostream;
29 template <class charT, class traits = char_traits<charT> > class basic_iostream;
31 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
33 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
35 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
37 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
40 template <class charT, class traits = char_traits<charT> > class basic_filebuf;
[all …]

12345678910>>...15