Home
last modified time | relevance | path

Searched refs:Traits (Results 1 – 25 of 62) sorted by relevance

123

/external/v8/include/
Dv8-util.h118 template<typename K, typename V, typename Traits>
130 size_t Size() { return Traits::Size(&impl_); } in Size()
135 bool IsWeak() { return Traits::kCallbackType != kNotWeak; } in IsWeak()
141 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key))); in Get()
148 return Traits::Get(&impl_, key) != kPersistentContainerNotFound; in Contains()
157 return SetReturnValueFromVal(&returnValue, Traits::Get(&impl_, key)); in SetReturnValue()
167 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key)))); in SetReference()
191 return Release(Traits::Remove(&impl_, key)).Pass(); in Remove()
199 typedef typename Traits::Iterator It; in Clear()
202 while (!Traits::Empty(&impl_)) { in Clear()
[all …]
/external/v8/src/compiler/
Dgeneric-algorithm.h39 template <class Visitor, class Traits, class RootIterator>
43 typedef typename Traits::Node Node; in Visit()
44 typedef typename Traits::Iterator Iterator; in Visit()
48 BoolVector visited(Traits::max_id(graph), false, zone); in Visit()
54 DCHECK(id < Traits::max_id(graph)); // Must be a valid id. in Visit()
61 Iterator begin(visit ? Traits::begin(current) : Traits::end(current)); in Visit()
62 Iterator end(Traits::end(current)); in Visit()
79 post_order_node = Traits::from(stack.top().first); in Visit()
82 visitor->PreEdge(Traits::from(top.first), top.first.edge().index(), in Visit()
83 Traits::to(top.first)); in Visit()
[all …]
/external/v8/src/
Dpreparser.h61 template <typename Traits>
62 class ParserBase : public Traits {
65 typedef typename Traits::Type::Expression ExpressionT;
66 typedef typename Traits::Type::Identifier IdentifierT;
67 typedef typename Traits::Type::FunctionLiteral FunctionLiteralT;
68 typedef typename Traits::Type::Literal LiteralT;
69 typedef typename Traits::Type::ObjectLiteralProperty ObjectLiteralPropertyT;
72 ParserRecorder* log, typename Traits::Type::Zone* zone, in ParserBase()
74 typename Traits::Type::Parser this_object) in ParserBase()
75 : Traits(this_object), in ParserBase()
[all …]
/external/llvm/include/llvm/ADT/
DIntervalMap.h559 template <typename KeyT, typename ValT, unsigned N, typename Traits>
578 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in findFrom()
580 while (i != Size && Traits::stopLess(stop(i), x)) ++i; in findFrom()
593 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in safeFind()
595 while (Traits::stopLess(stop(i), x)) ++i; in safeFind()
607 return Traits::startLess(x, start(i)) ? NotFound : value(i); in safeLookup()
622 template <typename KeyT, typename ValT, unsigned N, typename Traits>
623 unsigned LeafNode<KeyT, ValT, N, Traits>::
627 assert(!Traits::stopLess(b, a) && "Invalid interval"); in insertFrom()
630 assert((i == 0 || Traits::stopLess(stop(i - 1), a))); in insertFrom()
[all …]
/external/clang/unittests/AST/
DCommentParser.cpp42 Traits(Allocator, CommentOptions()) { in CommentParserTest()
51 CommandTraits Traits; member in clang::comments::__anon78407fef0111::CommentParserTest
61 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source)); in parseString()
63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr); in parseString()
64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits); in parseString()
69 FC->dump(llvm::errs(), &Traits, &SourceMgr); in parseString()
161 const CommandTraits &Traits, in HasBlockCommandAt() argument
170 StringRef ActualName = BCC->getCommandName(Traits); in HasBlockCommandAt()
183 const CommandTraits &Traits, in HasParamCommandAt() argument
195 StringRef ActualCommandName = PCC->getCommandName(Traits); in HasParamCommandAt()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h37 typedef SSAUpdaterTraits<UpdaterT> Traits; typedef
38 typedef typename Traits::BlkT BlkT;
39 typedef typename Traits::ValT ValT;
40 typedef typename Traits::PhiT PhiT;
86 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
117 Traits::FindPredecessorBlocks(Info->BB, &Preds); in BuildBlockList()
184 for (typename Traits::BlkSucc_iterator SI = in BuildBlockList()
185 Traits::BlkSucc_begin(Info->BB), in BuildBlockList()
186 E = Traits::BlkSucc_end(Info->BB); SI != E; ++SI) { in BuildBlockList()
244 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
[all …]
/external/eigen/Eigen/src/Core/products/
DTriangularSolverMatrix.h58 typedef gebp_traits<Scalar,Scalar> Traits;
60 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
69 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
76 gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, Conjugate, false> gebp_kernel;
77 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, TriStorageOrder> pack_lhs;
78 gemm_pack_rhs<Scalar, Index, Traits::nr, ColMajor, false, true> pack_rhs;
85 subcols = std::max<Index>((subcols/Traits::nr)*Traits::nr, Traits::nr);
206 typedef gebp_traits<Scalar,Scalar> Traits;
209 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
218 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
[all …]
DTriangularMatrixMatrix.h87 typedef gebp_traits<Scalar,Scalar> Traits;
89 SmallPanelWidth = 2 * EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
128 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
141 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
142 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
143 gemm_pack_rhs<Scalar, Index, Traits::nr,RhsStorageOrder> pack_rhs;
211 gemm_pack_lhs<Scalar, Index, Traits::mr,Traits::LhsProgress, LhsStorageOrder,false>()
228 typedef gebp_traits<Scalar,Scalar> Traits;
230 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
269 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
[all …]
DSelfadjointMatrixMatrix.h255 typedef gebp_traits<Scalar,Scalar> Traits;
264 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
270 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
271 symm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
272 gemm_pack_rhs<Scalar, Index, Traits::nr,RhsStorageOrder> pack_rhs;
273 …gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder==RowMajor?ColMajor:R…
308 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder,false>()
345 typedef gebp_traits<Scalar,Scalar> Traits;
351 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
357 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
[all …]
DGeneralMatrixMatrixTriangular.h66 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
73 if(mc > Traits::nr)
74 mc = (mc/Traits::nr)*Traits::nr;
76 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
82 gemm_pack_lhs<LhsScalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
83 gemm_pack_rhs<RhsScalar, Index, Traits::nr, RhsStorageOrder> pack_rhs;
84 …gebp_kernel <LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
85 …tribb_kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs, UpLo…
133 typedef gebp_traits<LhsScalar,RhsScalar,ConjLhs,ConjRhs> Traits;
134 typedef typename Traits::ResScalar ResScalar;
DGeneralMatrixMatrix.h66 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
72 gemm_pack_lhs<LhsScalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
73 gemm_pack_rhs<RhsScalar, Index, Traits::nr, RhsStorageOrder> pack_rhs;
74 gebp_kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
84 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
155 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
282 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
286 SizeW = MaxDepth * Traits::WorkSpaceFactor
322 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
339 m_sizeW = this->m_kc*Traits::WorkSpaceFactor;
/external/eigen/Eigen/src/Core/
DPermutationMatrix.h55 typedef internal::traits<Derived> Traits; typedef
60 typedef typename Traits::IndicesType IndicesType;
62 Flags = Traits::Flags,
63 CoeffReadCost = Traits::CoeffReadCost,
64 RowsAtCompileTime = Traits::RowsAtCompileTime,
65 ColsAtCompileTime = Traits::ColsAtCompileTime,
66 MaxRowsAtCompileTime = Traits::MaxRowsAtCompileTime,
67 MaxColsAtCompileTime = Traits::MaxColsAtCompileTime
69 typedef typename Traits::Scalar Scalar;
70 typedef typename Traits::Index Index;
[all …]
DTranspositions.h51 typedef internal::traits<Derived> Traits; typedef
55 typedef typename Traits::IndicesType IndicesType;
158 typedef internal::traits<Transpositions> Traits;
162 typedef typename Traits::IndicesType IndicesType;
230 typedef internal::traits<Map> Traits;
234 typedef typename Traits::IndicesType IndicesType;
287 typedef internal::traits<TranspositionsWrapper> Traits;
291 typedef typename Traits::IndicesType IndicesType;
/external/libcxx/test/std/strings/basic.string/
Dtypes.pass.cpp43 template <class Traits, class Allocator>
47 typedef std::basic_string<typename Traits::char_type, Traits, Allocator> S; in test()
49 static_assert((std::is_same<typename S::traits_type, Traits>::value), ""); in test()
50 static_assert((std::is_same<typename S::value_type, typename Traits::char_type>::value), ""); in test()
/external/skia/src/core/
DSkTHash.h24 template <typename T, typename K, typename Traits = T>
66 if (!s.removed() && hash == s.hash && key == Traits::GetKey(s.val)) { in find()
84 if (!s.removed() && hash == s.hash && key == Traits::GetKey(s.val)) { in remove()
117 const K& key = Traits::GetKey(val); in uncheckedSet()
132 if (hash == s.hash && key == Traits::GetKey(s.val)) { in uncheckedSet()
170 uint32_t hash = Traits::Hash(key); in Hash()
285 struct Traits { struct
289 SkTHashTable<T, T, Traits> fTable; argument
DSkPictureFlat.h265 template <typename Traits, typename T>
275 Traits::Flatten(buffer, obj); in Create()
291 template <typename Traits, typename T>
304 Traits::Unflatten(buffer, result);
363 template <typename T, typename Traits> friend class SkFlatDictionary;
366 template <typename T, typename Traits>
512 Traits::Flatten(fScratch, element); in resetScratch()
539 element->unflatten<Traits>(dst, in unflatten()
/external/clang/lib/AST/
DCommentSema.cpp29 DiagnosticsEngine &Diags, CommandTraits &Traits, in Sema() argument
31 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits), in Sema()
93 << Command->getCommandNameRange(Traits); in actOnParamCommandStart()
99 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkFunctionDeclVerbatimLine()
132 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkContainerDeclVerbatimLine()
169 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkContainerDecl()
294 << Command->getCommandNameRange(Traits); in actOnTParamCommandStart()
370 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand()
389 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand()
402 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
[all …]
DCommentBriefParser.cpp58 BriefParser::BriefParser(Lexer &L, const CommandTraits &Traits) : in BriefParser() argument
59 L(L), Traits(Traits) { in BriefParser()
82 const CommandInfo *Info = Traits.getCommandInfo(Tok.getCommandID()); in Parse()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h72 typedef internal::traits<MatrixType> Traits; typedef
73 typedef typename Traits::Scalar Scalar;
74 static const int Rows = Traits::RowsAtCompileTime;
75 static const int Cols = Traits::ColsAtCompileTime;
77 static const int MaxRows = Traits::MaxRowsAtCompileTime;
78 static const int MaxCols = Traits::MaxColsAtCompileTime;
127 typedef internal::traits<MatrixType> Traits; typedef
130 static const int RowsAtCompileTime = Traits::RowsAtCompileTime;
131 static const int ColsAtCompileTime = Traits::ColsAtCompileTime;
134 typedef Matrix<Scalar, Traits::RowsAtCompileTime, 1> VectorType;
[all …]
/external/libcxx/test/std/experimental/string.view/string.view.cons/
Dfrom_string.pass.cpp23 template<typename CharT, typename Traits>
24 void test ( const std::basic_string<CharT, Traits> &str ) { in test()
25 std::experimental::basic_string_view<CharT, Traits> sv1 ( str ); in test()
/external/clang/test/CXX/temp/temp.decls/temp.friend/
Dp1.cpp147 template<typename T, typename Traits> class X;
148 template<typename T, typename Traits>
149 X<T, Traits> operator+(const X<T, Traits>&, const T*);
151 template<typename T, typename Traits> class X {
152 typedef typename Traits::value_type value_type;
/external/eigen/Eigen/src/SparseCholesky/
DSimplicialCholesky.h317 typedef internal::traits<SimplicialLLT> Traits;
318 typedef typename Traits::MatrixL MatrixL;
319 typedef typename Traits::MatrixU MatrixU;
330 return Traits::getL(Base::m_matrix);
336 return Traits::getU(Base::m_matrix);
406 typedef internal::traits<SimplicialLDLT> Traits;
407 typedef typename Traits::MatrixL MatrixL;
408 typedef typename Traits::MatrixU MatrixU;
425 return Traits::getL(Base::m_matrix);
431 return Traits::getU(Base::m_matrix);
[all …]
/external/clang/lib/Index/
DCommentToXML.cpp85 const CommandTraits &Traits);
98 const CommandTraits &Traits) : in FullCommentParts() argument
122 const CommandInfo *Info = Traits.getCommandInfo(BCC->getCommandID()); in FullCommentParts()
173 const CommandInfo *Info = Traits.getCommandInfo(VLC->getCommandID()); in FullCommentParts()
226 const CommandTraits &Traits) : in CommentASTToHTMLConverter() argument
227 FC(FC), Result(Str), Traits(Traits) in CommentASTToHTMLConverter()
260 const CommandTraits &Traits; member in __anon1d5d404a0111::CommentASTToHTMLConverter
333 const CommandInfo *Info = Traits.getCommandInfo(C->getCommandID()); in visitBlockCommandComment()
442 FullCommentParts Parts(C, Traits); in visitFullComment()
534 const CommandTraits &Traits, in CommentASTToXMLConverter() argument
[all …]
/external/clang/include/clang/AST/
DCommentParser.h52 const CommandTraits &Traits; variable
89 Traits.getCommandInfo(Tok.getCommandID())->IsBlockCommand; in isTokBlockCommand()
95 const CommandTraits &Traits);
DCommentBriefParser.h33 const CommandTraits &Traits; variable
45 BriefParser(Lexer &L, const CommandTraits &Traits);

123