Home
last modified time | relevance | path

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

123

/external/webkit/Source/JavaScriptCore/wtf/
DHashCountedSet.h31 typename Traits = HashTraits<Value> > class HashCountedSet {
34 typedef HashMap<Value, unsigned, HashFunctions, Traits> ImplType;
78 template<typename Value, typename HashFunctions, typename Traits>
79 inline int HashCountedSet<Value, HashFunctions, Traits>::size() const in size()
84 template<typename Value, typename HashFunctions, typename Traits>
85 inline int HashCountedSet<Value, HashFunctions, Traits>::capacity() const in capacity()
90 template<typename Value, typename HashFunctions, typename Traits>
91 inline bool HashCountedSet<Value, HashFunctions, Traits>::isEmpty() const in isEmpty()
96 template<typename Value, typename HashFunctions, typename Traits>
97 …typename HashCountedSet<Value, HashFunctions, Traits>::iterator HashCountedSet<Value, HashFunction… in begin()
[all …]
DHashTable.h67 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
69 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
71 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
74 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
75 void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*,
76 HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*);
78 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
79 …void removeIterator(HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits…
83 …ey, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTrait…
84 … inline void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*, in addIterator() argument
[all …]
DHashSet.h29 template<typename Value, typename HashFunctions, typename Traits> class HashSet;
30 template<typename Value, typename HashFunctions, typename Traits>
31 void deleteAllValues(const HashSet<Value, HashFunctions, Traits>&);
32 template<typename Value, typename HashFunctions, typename Traits>
33 void fastDeleteAllValues(const HashSet<Value, HashFunctions, Traits>&);
160 template<typename Value, typename HashFunctions, typename Traits>
162 typename HashSet<Value, HashFunctions, Traits>::iterator
163 inline HashSet<Value, HashFunctions, Traits>::find(const T& value) const in find()
169 template<typename Value, typename HashFunctions, typename Traits>
171 inline bool HashSet<Value, HashFunctions, Traits>::contains(const T& value) const in contains()
[all …]
/external/llvm/include/llvm/ADT/
DIntervalMap.h538 template <typename KeyT, typename ValT, unsigned N, typename Traits>
557 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in findFrom()
559 while (i != Size && Traits::stopLess(stop(i), x)) ++i; in findFrom()
572 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in safeFind()
574 while (Traits::stopLess(stop(i), x)) ++i; in safeFind()
586 return Traits::startLess(x, start(i)) ? NotFound : value(i); in safeLookup()
601 template <typename KeyT, typename ValT, unsigned N, typename Traits>
602 unsigned LeafNode<KeyT, ValT, N, Traits>::
606 assert(!Traits::stopLess(b, a) && "Invalid interval"); in insertFrom()
609 assert((i == 0 || Traits::stopLess(stop(i - 1), a))); in insertFrom()
[all …]
/external/clang/unittests/AST/
DCommentParser.cpp41 Traits(Allocator) { in CommentParserTest()
50 CommandTraits Traits; member in clang::comments::__anon9fb91b950111::CommentParserTest
60 Lexer L(Allocator, Traits, Begin, Source, Source + strlen(Source)); in parseString()
62 Sema S(Allocator, SourceMgr, Diags, Traits); in parseString()
63 Parser P(L, S, Allocator, SourceMgr, Diags, Traits); in parseString()
68 FC->dump(llvm::errs(), &Traits, &SourceMgr); in parseString()
160 const CommandTraits &Traits, in HasBlockCommandAt() argument
169 StringRef ActualName = BCC->getCommandName(Traits); in HasBlockCommandAt()
182 const CommandTraits &Traits, in HasParamCommandAt() argument
194 StringRef ActualCommandName = PCC->getCommandName(Traits); in HasParamCommandAt()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h35 typedef SSAUpdaterTraits<UpdaterT> Traits; typedef
36 typedef typename Traits::BlkT BlkT;
37 typedef typename Traits::ValT ValT;
38 typedef typename Traits::PhiT PhiT;
84 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
115 Traits::FindPredecessorBlocks(Info->BB, &Preds); in BuildBlockList()
182 for (typename Traits::BlkSucc_iterator SI = in BuildBlockList()
183 Traits::BlkSucc_begin(Info->BB), in BuildBlockList()
184 E = Traits::BlkSucc_end(Info->BB); SI != E; ++SI) { in BuildBlockList()
242 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
[all …]
/external/eigen/Eigen/src/Core/products/
DTriangularSolverMatrix.h51 typedef gebp_traits<Scalar,Scalar> Traits;
53 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
62 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
69 gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, Conjugate, false> gebp_kernel;
70 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, TriStorageOrder> pack_lhs;
71 gemm_pack_rhs<Scalar, Index, Traits::nr, ColMajor, false, true> pack_rhs;
78 subcols = std::max<Index>((subcols/Traits::nr)*Traits::nr, Traits::nr);
193 typedef gebp_traits<Scalar,Scalar> Traits;
196 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
205 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),
115 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
128 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
129 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
130 gemm_pack_rhs<Scalar, Index, Traits::nr,RhsStorageOrder> pack_rhs;
198 gemm_pack_lhs<Scalar, Index, Traits::mr,Traits::LhsProgress, LhsStorageOrder,false>()
216 typedef gebp_traits<Scalar,Scalar> Traits;
218 SmallPanelWidth = EIGEN_PLAIN_ENUM_MAX(Traits::mr,Traits::nr),
244 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
[all …]
DGeneralMatrixMatrixTriangular.h63 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
70 if(mc > Traits::nr)
71 mc = (mc/Traits::nr)*Traits::nr;
73 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
79 gemm_pack_lhs<LhsScalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
80 gemm_pack_rhs<RhsScalar, Index, Traits::nr, RhsStorageOrder> pack_rhs;
81 …gebp_kernel <LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
82 …tribb_kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs, UpLo…
130 typedef gebp_traits<LhsScalar,RhsScalar,ConjLhs,ConjRhs> Traits;
131 typedef typename Traits::ResScalar ResScalar;
DSelfadjointMatrixMatrix.h244 typedef gebp_traits<Scalar,Scalar> Traits;
253 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
259 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
260 symm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
261 gemm_pack_rhs<Scalar, Index, Traits::nr,RhsStorageOrder> pack_rhs;
262 …gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder==RowMajor?ColMajor:R…
297 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder,false>()
324 typedef gebp_traits<Scalar,Scalar> Traits;
330 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
336 …gebp_kernel<Scalar, Scalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel;
[all …]
DGeneralMatrixMatrix.h65 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
71 gemm_pack_lhs<LhsScalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
72 gemm_pack_rhs<RhsScalar, Index, Traits::nr, RhsStorageOrder> pack_rhs;
73 gebp_kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
83 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
154 std::size_t sizeW = kc*Traits::WorkSpaceFactor;
283 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
287 SizeW = MaxDepth * Traits::WorkSpaceFactor
323 typedef gebp_traits<LhsScalar,RhsScalar> Traits;
340 m_sizeW = this->m_kc*Traits::WorkSpaceFactor;
/external/chromium/base/
Dlazy_instance.h119 template <typename Type, typename Traits = DefaultLazyInstanceTraits<Type> >
131 if (!Traits::kAllowedToAccessOnNonjoinableThread) in Pointer()
138 instance_ = Traits::New(buf_); in Pointer()
140 void (*dtor)(void*) = Traits::Delete; in Pointer()
171 LazyInstance<Type, Traits>* me = in OnExit()
172 reinterpret_cast<LazyInstance<Type, Traits>*>(lazy_instance); in OnExit()
173 Traits::Delete(me->instance_); in OnExit()
/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/chromium/base/memory/
Dsingleton.h186 typename Traits = DefaultSingletonTraits<Type>,
199 if (!Traits::kAllowedToAccessOnNonjoinableThread) in get()
220 Type* newval = Traits::New(); in get()
229 if (newval != NULL && Traits::kRegisterAtExit) in get()
260 Traits::Delete( in OnExit()
267 template <typename Type, typename Traits, typename DifferentiatingType>
268 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::
Dsingleton_objc.h56 typename Traits = DefaultSingletonObjCTraits<Type>,
58 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
/external/clang/lib/AST/
DCommentDumper.cpp19 const CommandTraits *Traits; member in clang::comments::__anon899353f90111::CommentDumper
25 const CommandTraits *Traits, in CommentDumper() argument
27 OS(OS), Traits(Traits), SM(SM), IndentLevel(0) in CommentDumper()
64 if (Traits) in getCommandName()
65 return Traits->getCommandInfo(CommandID)->Name; in getCommandName()
235 void Comment::dump(llvm::raw_ostream &OS, const CommandTraits *Traits, in dump() argument
237 CommentDumper D(llvm::errs(), Traits, SM); in dump()
DCommentSema.cpp26 DiagnosticsEngine &Diags, CommandTraits &Traits) : in Sema() argument
27 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits), in Sema()
73 << Command->getCommandNameRange(Traits); in actOnParamCommandStart()
166 << Command->getCommandNameRange(Traits); in actOnTParamCommandStart()
244 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand()
263 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand()
277 unsigned CommandID = Traits.registerUnknownCommand(Name)->getID(); in actOnUnknownCommand()
292 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart()
418 DiagLoc = Command->getCommandNameRange(Traits).getEnd(); in checkBlockCommandEmptyParagraph()
420 << Command->getCommandName(Traits) in checkBlockCommandEmptyParagraph()
[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/clang/tools/libclang/
DCXComment.cpp135 const CommandTraits &Traits = getCommandTraits(CXC); in clang_InlineCommandComment_getCommandName() local
136 return createCXString(ICC->getCommandName(Traits), /*DupString=*/ false); in clang_InlineCommandComment_getCommandName()
223 const CommandTraits &Traits = getCommandTraits(CXC); in clang_BlockCommandComment_getCommandName() local
224 return createCXString(BCC->getCommandName(Traits), /*DupString=*/ false); in clang_BlockCommandComment_getCommandName()
409 const CommandTraits &Traits);
420 const CommandTraits &Traits) : in FullCommentParts() argument
444 const CommandInfo *Info = Traits.getCommandInfo(BCC->getCommandID()); in FullCommentParts()
487 const CommandInfo *Info = Traits.getCommandInfo(VLC->getCommandID()); in FullCommentParts()
539 const CommandTraits &Traits) : in CommentASTToHTMLConverter() argument
540 Result(Str), Traits(Traits) in CommentASTToHTMLConverter()
[all …]
/external/webkit/Source/WebCore/bindings/v8/
DIntrusiveDOMWrapperMap.h39 template <class T, int CHUNK_SIZE, class Traits>
63 Traits::move(element, m_current); in remove()
94 void visit(DOMDataStore* store, typename Traits::Visitor* visitor) in visit()
114 Traits::clear(entry); in clearEntries()
117 …static void visitEntries(DOMDataStore* store, T* first, T* last, typename Traits::Visitor* visitor) in visitEntries()
120 Traits::visit(store, entry, visitor); in visitEntries()
/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/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/clang/include/clang/AST/
DCommentBriefParser.h33 const CommandTraits &Traits; variable
45 BriefParser(Lexer &L, const CommandTraits &Traits);
/external/chromium/third_party/libjingle/source/talk/base/
Dstringutils.h150 struct Traits { struct
163 return str ? str : (def_str ? def_str : Traits<CTYPE>::empty_str());
306 struct Traits<char> {
318 struct Traits<wchar_t> {
320 inline static const wchar_t* Traits<wchar_t>::empty_str() { return L""; }

123