Home
last modified time | relevance | path

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

12345678

/external/eigen/Eigen/src/Core/products/
DGeneralBlockPanelKernel.h534 Traits traits;
552 traits.unpackRhs(depth*nr,&blockB[j2*strideB+offsetB*nr],unpackedB);
564 traits.initAcc(C0);
565 traits.initAcc(C1);
566 if(nr==4) traits.initAcc(C2);
567 if(nr==4) traits.initAcc(C3);
568 traits.initAcc(C4);
569 traits.initAcc(C5);
570 if(nr==4) traits.initAcc(C6);
571 if(nr==4) traits.initAcc(C7);
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-subst-std.cpp51 template<typename charT, typename traits = char_traits<charT> >
52 struct basic_istream : virtual public basic_ios<charT, traits> {
53 basic_istream(int x) : basic_ios<charT, traits>(x), stored(x) { } in basic_istream()
57 template<typename charT, typename traits = char_traits<charT> >
58 struct basic_ostream : virtual public basic_ios<charT, traits> {
59 basic_ostream(int x) : basic_ios<charT, traits>(x), stored(x) { } in basic_ostream()
64 template<typename charT, typename traits = char_traits<charT> >
65 struct basic_iostream : public basic_istream<charT, traits>,
66 public basic_ostream<charT, traits> {
67 basic_iostream(int x) : basic_istream<charT, traits>(x), in basic_iostream()
[all …]
/external/eigen/Eigen/src/Core/util/
DXprHelper.h148 template<typename T, typename StorageKind = typename traits<T>::StorageKind> struct plain_matrix_ty…
152 typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind>::type type;
157 typedef Matrix<typename traits<T>::Scalar,
158 traits<T>::RowsAtCompileTime,
159 traits<T>::ColsAtCompileTime,
160 AutoAlign | (traits<T>::Flags&RowMajorBit ? RowMajor : ColMajor),
161 traits<T>::MaxRowsAtCompileTime,
162 traits<T>::MaxColsAtCompileTime
168 typedef Array<typename traits<T>::Scalar,
169 traits<T>::RowsAtCompileTime,
[all …]
DMacros.h326 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f…
330 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
331 typedef typename Eigen::internal::traits<Derived>::Index Index; \
332 enum { RowsAtCompileTime = Eigen::internal::traits<Derived>::RowsAtCompileTime, \
333 ColsAtCompileTime = Eigen::internal::traits<Derived>::ColsAtCompileTime, \
334 Flags = Eigen::internal::traits<Derived>::Flags, \
335 CoeffReadCost = Eigen::internal::traits<Derived>::CoeffReadCost, \
342 …typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; /*!< \brief Numeric type, e.g. f…
347 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
348 typedef typename Eigen::internal::traits<Derived>::Index Index; \
[all …]
/external/chromium/chrome/browser/sync/glue/
Dextension_sync.cc177 bool SlurpExtensionData(const ExtensionSyncTraits& traits, in SlurpExtensionData() argument
186 traits.is_valid_and_syncable, extensions_service, in SlurpExtensionData()
190 traits.root_node_tag, traits.extension_specifics_getter, in SlurpExtensionData()
206 const ExtensionSyncTraits& traits, in UpdateServer() argument
214 if (write_node.InitByClientTagLookup(traits.model_type, id)) { in UpdateServer()
215 (*traits.extension_specifics_setter)(specifics, &write_node); in UpdateServer()
218 if (!root.InitByTagLookup(traits.root_node_tag)) { in UpdateServer()
219 LOG(ERROR) << GetRootNodeDoesNotExistError(traits.root_node_tag); in UpdateServer()
223 if (!create_node.InitUniqueByCreation(traits.model_type, root, id)) { in UpdateServer()
227 (*traits.extension_specifics_setter)(specifics, &create_node); in UpdateServer()
[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 template<typename Lhs, typename Rhs, int InnerSize = internal::traits<Lhs>::ColsAtCompileTime> stru…
89 template<typename Lhs, typename Rhs, int InnerSize = internal::traits<Lhs>::ColsAtCompileTime> stru…
97 : public sparse_eval<T, traits<T>::RowsAtCompileTime,traits<T>::ColsAtCompileTime>
[all …]
DSparseDenseProduct.h38 struct traits<SparseDenseOuterProduct<Lhs,Rhs,Tr> >
41 typedef typename scalar_product_traits<typename traits<Lhs>::Scalar,
42 typename traits<Rhs>::Scalar>::ReturnType Scalar;
50 LhsCoeffReadCost = traits<_LhsNested>::CoeffReadCost,
51 RhsCoeffReadCost = traits<_RhsNested>::CoeffReadCost,
53 …RowsAtCompileTime = Tr ? int(traits<Rhs>::RowsAtCompileTime) : int(traits<Lhs>::RowsAtCompi…
54 …ColsAtCompileTime = Tr ? int(traits<Lhs>::ColsAtCompileTime) : int(traits<Rhs>::ColsAtCompi…
55 …MaxRowsAtCompileTime = Tr ? int(traits<Rhs>::MaxRowsAtCompileTime) : int(traits<Lhs>::MaxRowsAtCo…
56 …MaxColsAtCompileTime = Tr ? int(traits<Lhs>::MaxColsAtCompileTime) : int(traits<Rhs>::MaxColsAtCo…
74 typedef internal::traits<SparseDenseOuterProduct> Traits;
[all …]
/external/eigen/Eigen/src/Core/
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…
165 typedef typename NumTraits<typename traits<Derived>::Scalar>::Real RealScalar;
175 …static inline typename NumTraits<typename traits<Derived>::Scalar>::Real run(const MatrixBase<Deri…
[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 …]
DDenseBase.h33 : public internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar,
34 … typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>
40 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar,
41 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*;
45 typedef typename internal::traits<Derived>::StorageKind StorageKind;
51 typedef typename internal::traits<Derived>::Index Index;
53 typedef typename internal::traits<Derived>::Scalar Scalar;
92 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
98 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
105 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime,
[all …]
DProduct.h30 struct traits<Product<Lhs, Rhs> >
35 …typedef typename scalar_product_traits<typename traits<LhsCleaned>::Scalar, typename traits<RhsCle…
36 typedef typename promote_storage_type<typename traits<LhsCleaned>::StorageKind,
37 typename traits<RhsCleaned>::StorageKind>::ret StorageKind;
38 typedef typename promote_index_type<typename traits<LhsCleaned>::Index,
39 typename traits<RhsCleaned>::Index>::type Index;
53 …ctImpl<Lhs,Rhs,typename internal::promote_storage_type<typename internal::traits<Lhs>::StorageKind,
54 … typename internal::traits<Rhs>::StorageKind>::ret>
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;
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 …]
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,
48 * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar)),
59 public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
63 …typedef typename CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::Stor…
104 …return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::…
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 …]
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)
DProductBase.h22 struct traits<ProductBase<Derived,_Lhs,_Rhs> >
28 typedef typename promote_storage_type<typename traits<Lhs>::StorageKind,
29 typename traits<Rhs>::StorageKind>::ret StorageKind;
30 typedef typename promote_index_type<typename traits<Lhs>::Index,
31 typename traits<Rhs>::Index>::type Index;
33 RowsAtCompileTime = traits<Lhs>::RowsAtCompileTime,
34 ColsAtCompileTime = traits<Rhs>::ColsAtCompileTime,
35 MaxRowsAtCompileTime = traits<Lhs>::MaxRowsAtCompileTime,
36 MaxColsAtCompileTime = traits<Rhs>::MaxColsAtCompileTime,
74 typedef typename internal::traits<Lhs>::Scalar LhsScalar;
[all …]
/external/chromium_org/base/strings/
Dstring_number_conversions.cc173 typedef IteratorRangeToNumberTraits traits; typedef in base::__anon558a26e30111::IteratorRangeToNumber
174 typedef typename traits::iterator_type const_iterator;
175 typedef typename traits::value_type value_type;
217 typename traits::value_type* output) { in Invoke()
226 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke()
234 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke()
242 *output *= traits::kBase; in Invoke()
254 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds()
255 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds()
256 new_digit > traits::max() % traits::kBase)) { in CheckBounds()
[all …]
/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/chromium/base/
Dstring_number_conversions.cc170 typedef IteratorRangeToNumberTraits traits; typedef in base::__anone50263e30111::IteratorRangeToNumber
171 typedef typename traits::iterator_type const_iterator;
172 typedef typename traits::value_type value_type;
212 typename traits::value_type* output) { in Invoke()
221 if (traits::kBase == 16 && end - begin >= 2 && *begin == '0' && in Invoke()
229 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke()
237 *output *= traits::kBase; in Invoke()
249 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds()
250 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds()
251 new_digit > traits::max() % traits::kBase)) { in CheckBounds()
[all …]
/external/chromium_org/ui/gfx/
Dplatform_font_mac_unittest.mm11 // Use a base font that support all traits.
16 NSFontTraitMask traits = [[NSFontManager sharedFontManager]
18 EXPECT_EQ(NSBoldFontMask, traits);
22 traits = [[NSFontManager sharedFontManager]
24 EXPECT_EQ(NSItalicFontMask, traits);
29 traits = [[NSFontManager sharedFontManager]
32 traits);
/external/eigen/Eigen/src/LU/
DDeterminant.h37 static inline typename traits<Derived>::Scalar run(const Derived& m) in run()
40 return typename traits<Derived>::Scalar(1); in run()
47 static inline typename traits<Derived>::Scalar run(const Derived& m)
55 static inline typename traits<Derived>::Scalar run(const Derived& m)
63 static inline typename traits<Derived>::Scalar run(const Derived& m)
73 static typename traits<Derived>::Scalar run(const Derived& m)
92 inline typename internal::traits<Derived>::Scalar MatrixBase<Derived>::determinant() const
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineMatrixBase.h29 typedef typename internal::traits<Derived>::Scalar Scalar;
30 typedef typename internal::traits<Derived>::StorageKind StorageKind;
34 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
40 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
47 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime,
48 internal::traits<Derived>::ColsAtCompileTime>::ret),
65 Flags = internal::traits<Derived>::Flags,
70 CoeffReadCost = internal::traits<Derived>::CoeffReadCost,
/external/eigen/Eigen/src/Geometry/
DQuaternion.h42 typedef typename internal::traits<Derived>::Scalar Scalar;
44 typedef typename internal::traits<Derived>::Coefficients Coefficients;
46 Flags = Eigen::internal::traits<Derived>::Flags
84 …inline const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().c… in coeffs()
87 inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); } in coeffs()
214 struct traits<Quaternion<_Scalar,_Options> >
220 IsAligned = internal::traits<Coefficients>::Flags & AlignedBit,
230 enum { IsAligned = internal::traits<Quaternion>::IsAligned };
238 typedef typename internal::traits<Quaternion>::Coefficients Coefficients;
307 struct traits<Map<Quaternion<_Scalar>, _Options> >:
[all …]

12345678