HomeSort by relevance Sort by last modified time
    Searched refs:Traits (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/webkit/Source/JavaScriptCore/wtf/
HashCountedSet.h 31 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
84 template<typename Value, typename HashFunctions, typename Traits>
85 inline int HashCountedSet<Value, HashFunctions, Traits>::capacity() const
90 template<typename Value, typename HashFunctions, typename Traits>
91 inline bool HashCountedSet<Value, HashFunctions, Traits>::isEmpty() const
96 template<typename Value, typename HashFunctions, typename Traits>
97 inline typename HashCountedSet<Value, HashFunctions, Traits>::iterator HashCountedSet<Value, HashFunctions, Traits>::begin(
    [all...]
HashTable.h 67 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
69 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
71 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
74 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
75 void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*,
76 HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*);
78 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
79 void removeIterator(HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*);
83 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
84 inline void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*
    [all...]
HashSet.h 29 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
169 template<typename Value, typename HashFunctions, typename Traits>
171 inline bool HashSet<Value, HashFunctions, Traits>::contains(const T& value) cons
    [all...]
  /external/clang/include/clang/AST/
CommentBriefParser.h 33 const CommandTraits &Traits;
45 BriefParser(Lexer &L, const CommandTraits &Traits);
CommentParser.h 52 const CommandTraits &Traits;
91 Traits.getCommandInfo(Tok.getCommandID())->IsBlockCommand;
97 const CommandTraits &Traits);
  /external/chromium/base/memory/
singleton_objc.h 6 // SingletonObjC is the same as a Singleton, except the default traits are
37 // Singleton traits usable to manage traditional Objective-C objects, which
56 typename Traits = DefaultSingletonObjCTraits<Type>,
58 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
singleton.h 15 // Default traits for Singleton<Type>. Calls operator new and operator delete on
43 // Alternate traits for use with the Singleton<Type>. Identical to
53 // Alternate traits for use with the Singleton<Type>. Allocates memory
77 // this is traits for returning NULL.
117 // The Singleton<Type, Traits, DifferentiatingType> class manages a single
165 // On every platform, if Traits::RAE is true, the singleton will be destroyed at
171 // If Traits::RAE is false, the singleton will not be freed at process exit,
172 // thus the singleton will be leaked if it is ever accessed. Traits::RAE
186 typename Traits = DefaultSingletonTraits<Type>,
199 if (!Traits::kAllowedToAccessOnNonjoinableThread
    [all...]
  /external/chromium/base/
lazy_instance.h 5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
119 template <typename Type, typename Traits = DefaultLazyInstanceTraits<Type> >
131 if (!Traits::kAllowedToAccessOnNonjoinableThread)
138 instance_ = Traits::New(buf_);
139 // Traits::Delete will be null for LeakyLazyInstanceTraits
140 void (*dtor)(void*) = Traits::Delete;
146 // We suggest dynamic race detection tool that "Traits::New" above
171 LazyInstance<Type, Traits>* me =
172 reinterpret_cast<LazyInstance<Type, Traits>*>(lazy_instance);
173 Traits::Delete(me->instance_)
    [all...]
  /external/llvm/include/llvm/ADT/
IntervalMap.h 23 // A Traits class specifies how keys are compared. It also allows IntervalMap to
38 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
66 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
90 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
112 //--- Key traits ---//
118 // The IntervalMapInfo traits class is used to determine if a key is contained
549 // - Traits::stopLess(start(i), stop(i)) - Non-empty, sane intervals.
551 // - Traits::stopLess(stop(i), start(i + 1) - Sorted.
553 // - value(i) != value(i + 1) || !Traits::adjacent(stop(i), start(i + 1))
558 template <typename KeyT, typename ValT, unsigned N, typename Traits>
    [all...]
  /external/clang/unittests/AST/
CommentParser.cpp 42 Traits(Allocator, CommentOptions()) {
51 CommandTraits Traits;
61 Lexer L(Allocator, Traits, Begin, Source, Source + strlen(Source));
63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ NULL);
64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits);
69 FC->dump(llvm::errs(), &Traits, &SourceMgr);
161 const CommandTraits &Traits,
170 StringRef ActualName = BCC->getCommandName(Traits);
183 const CommandTraits &Traits,
195 StringRef ActualCommandName = PCC->getCommandName(Traits);
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/
types.pass.cpp 14 // template<class charT, class traits = char_traits<charT>,
19 // typedef traits traits_type;
20 // typedef typename traits::char_type value_type;
42 template <class Traits, class Allocator>
46 typedef std::basic_string<typename Traits::char_type, Traits, Allocator> S;
48 static_assert((std::is_same<typename S::traits_type, Traits>::value), "");
49 static_assert((std::is_same<typename S::value_type, typename Traits::char_type>::value), "");
  /frameworks/compile/mclinker/include/mcld/
InputTree.h 25 /** \class template<typename Traits, typename Iterator> PolicyIterator<mcld::Input>
28 template<typename Traits, typename IteratorType>
29 class PolicyIterator<mcld::Input, Traits, IteratorType> : public PolicyIteratorBase<Input, Traits, IteratorType>
32 typedef PolicyIterator<Input, Traits, IteratorType> Self;
33 typedef PolicyIteratorBase<Input, Traits, IteratorType> Base;
34 typedef PolicyIterator<Input, typename Traits::nonconst_traits, IteratorType> iterator;
35 typedef PolicyIterator<Input, typename Traits::const_traits, IteratorType> const_iterator;
  /external/llvm/include/llvm/Transforms/Utils/
SSAUpdaterImpl.h 35 typedef SSAUpdaterTraits<UpdaterT> Traits;
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);
115 Traits::FindPredecessorBlocks(Info->BB, &Preds);
182 for (typename Traits::BlkSucc_iterator SI =
183 Traits::BlkSucc_begin(Info->BB),
184 E = Traits::BlkSucc_end(Info->BB); SI != E; ++SI) {
242 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater)
    [all...]
  /external/eigen/Eigen/src/Core/
PermutationMatrix.h 55 typedef internal::traits<Derived> Traits;
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
274 struct traits<PermutationMatrix<SizeAtCompileTime, MaxSizeAtCompileTime, IndexType> > struct in namespace:Eigen::internal
388 struct traits<Map<PermutationMatrix<SizeAtCompileTime, MaxSizeAtCompileTime, IndexType>,_PacketAccess> > struct in namespace:Eigen::internal
465 struct traits<PermutationWrapper<_IndicesType> > struct in namespace:Eigen::internal
534 struct traits<permut_matrix_product_retval<PermutationType, MatrixType, Side, Transposed> > struct in namespace:Eigen::internal
606 struct traits<Transpose<PermutationBase<Derived> > > struct in namespace:Eigen::internal
    [all...]
Transpositions.h 51 typedef internal::traits<Derived> Traits;
55 typedef typename Traits::IndicesType IndicesType;
148 struct traits<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,IndexType> > struct in namespace:Eigen::internal
158 typedef internal::traits<Transpositions> Traits;
162 typedef typename Traits::IndicesType IndicesType;
219 struct traits<Map<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,IndexType>,_PacketAccess> > struct in namespace:Eigen::internal
230 typedef internal::traits<Map> Traits;
276 struct traits<TranspositionsWrapper<_IndicesType> > struct in namespace:Eigen::internal
355 struct traits<transposition_matrix_product_retval<TranspositionType, MatrixType, Side, Transposed> > struct in namespace:Eigen::internal
    [all...]
  /external/clang/lib/AST/
CommentBriefParser.cpp 58 BriefParser::BriefParser(Lexer &L, const CommandTraits &Traits) :
59 L(L), Traits(Traits) {
82 const CommandInfo *Info = Traits.getCommandInfo(Tok.getCommandID());
CommentSema.cpp 29 DiagnosticsEngine &Diags, CommandTraits &Traits,
31 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits),
89 << Command->getCommandNameRange(Traits);
95 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
122 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
154 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
295 << Command->getCommandNameRange(Traits);
373 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name;
392 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name
    [all...]
  /external/eigen/Eigen/src/Core/products/
TriangularSolverMatrix.h 51 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)
    [all...]
TriangularMatrixMatrix.h 87 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>(
353 struct traits<TriangularProduct<Mode,LhsIsTriangular,Lhs,false,Rhs,false> > struct in namespace:Eigen::internal
    [all...]
GeneralMatrixMatrixTriangular.h 63 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
    [all...]
SelfadjointMatrixMatrix.h 244 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:RowMajor, true> pack_lhs_transposed;
297 gemm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder,false>(
366 struct traits<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,RhsMode,false> > struct in namespace:Eigen::internal
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
BinTree.h 100 template<class DataType, class Traits, class IteratorType>
105 typedef Traits traits; typedef in class:mcld::PolicyIteratorBase
106 typedef typename traits::pointer pointer;
107 typedef typename traits::reference reference;
109 typedef PolicyIteratorBase<value_type, Traits, IteratorType> Self;
111 typedef typename traits::nonconst_traits nonconst_traits;
113 typedef typename traits::const_traits const_traits;
143 template<class DataType, class Traits, class IteratorType>
144 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType
193 typedef Traits traits; typedef in struct:mcld::TreeIterator
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.friend/
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/webkit/Source/WebCore/bindings/v8/
IntrusiveDOMWrapperMap.h 39 template <class T, int CHUNK_SIZE, class Traits>
63 Traits::move(element, m_current);
94 void visit(DOMDataStore* store, typename Traits::Visitor* visitor)
114 Traits::clear(entry);
117 static void visitEntries(DOMDataStore* store, T* first, T* last, typename Traits::Visitor* visitor)
120 Traits::visit(store, entry, visitor);
  /external/clang/tools/libclang/
CXComment.cpp 136 const CommandTraits &Traits = getCommandTraits(CXC);
137 return cxstring::createRef(ICC->getCommandName(Traits));
224 const CommandTraits &Traits = getCommandTraits(CXC);
225 return cxstring::createRef(BCC->getCommandName(Traits));
410 const CommandTraits &Traits);
422 const CommandTraits &Traits) :
446 const CommandInfo *Info = Traits.getCommandInfo(BCC->getCommandID());
493 const CommandInfo *Info = Traits.getCommandInfo(VLC->getCommandID());
546 const CommandTraits &Traits) :
547 FC(FC), Result(Str), Traits(Traits
    [all...]

Completed in 479 milliseconds

1 2 3