/external/v8/include/ |
D | v8-util.h | 118 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/ |
D | generic-algorithm.h | 39 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/ |
D | preparser.h | 61 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/ |
D | IntervalMap.h | 559 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/ |
D | CommentParser.cpp | 42 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/ |
D | SSAUpdaterImpl.h | 37 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/ |
D | TriangularSolverMatrix.h | 58 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 …]
|
D | TriangularMatrixMatrix.h | 87 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 …]
|
D | SelfadjointMatrixMatrix.h | 255 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 …]
|
D | GeneralMatrixMatrixTriangular.h | 66 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;
|
D | GeneralMatrixMatrix.h | 66 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/ |
D | PermutationMatrix.h | 55 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 …]
|
D | Transpositions.h | 51 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/ |
D | types.pass.cpp | 43 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/ |
D | SkTHash.h | 24 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
|
D | SkPictureFlat.h | 265 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/ |
D | CommentSema.cpp | 29 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 …]
|
D | CommentBriefParser.cpp | 58 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/ |
D | MatrixFunction.h | 72 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/ |
D | from_string.pass.cpp | 23 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/ |
D | p1.cpp | 147 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/ |
D | SimplicialCholesky.h | 317 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/ |
D | CommentToXML.cpp | 85 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/ |
D | CommentParser.h | 52 const CommandTraits &Traits; variable 89 Traits.getCommandInfo(Tok.getCommandID())->IsBlockCommand; in isTokBlockCommand() 95 const CommandTraits &Traits);
|
D | CommentBriefParser.h | 33 const CommandTraits &Traits; variable 45 BriefParser(Lexer &L, const CommandTraits &Traits);
|