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

1 2

  /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;
92 const CommandTraits &Traits);
CommentSema.h 44 CommandTraits &Traits;
71 DiagnosticsEngine &Diags, 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...]
ref_counted.h 104 template <class T, typename Traits> class RefCountedThreadSafe;
106 // Default traits for RefCountedThreadSafe<T>. Deletes the object when its ref
131 template <class T, typename Traits = DefaultRefCountedThreadSafeTraits<T> >
143 Traits::Destruct(static_cast<const T*>(this));
  /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
529 // - Traits::stopLess(start(i), stop(i)) - Non-empty, sane intervals.
531 // - Traits::stopLess(stop(i), start(i + 1) - Sorted.
533 // - value(i) != value(i + 1) || !Traits::adjacent(stop(i), start(i + 1))
538 template <typename KeyT, typename ValT, unsigned N, typename Traits>
    [all...]
  /external/clang/unittests/AST/
CommentParser.cpp 41 Traits(Allocator) {
50 CommandTraits Traits;
60 Lexer L(Allocator, Traits, Begin, Source, Source + strlen(Source));
62 Sema S(Allocator, SourceMgr, Diags, Traits);
63 Parser P(L, S, Allocator, SourceMgr, Diags, Traits);
68 FC->dump(llvm::errs(), &Traits, &SourceMgr);
160 const CommandTraits &Traits,
169 StringRef ActualName = BCC->getCommandName(Traits);
182 const CommandTraits &Traits,
194 StringRef ActualCommandName = PCC->getCommandName(Traits);
    [all...]
  /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/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());
CommentDumper.cpp 19 const CommandTraits *Traits;
25 const CommandTraits *Traits,
27 OS(OS), Traits(Traits), SM(SM), IndentLevel(0)
64 if (Traits)
65 return Traits->getCommandInfo(CommandID)->Name;
235 void Comment::dump(llvm::raw_ostream &OS, const CommandTraits *Traits,
237 CommentDumper D(llvm::errs(), Traits, SM);
CommentSema.cpp 26 DiagnosticsEngine &Diags, CommandTraits &Traits) :
27 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits),
73 << Command->getCommandNameRange(Traits);
166 << Command->getCommandNameRange(Traits);
244 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name;
263 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name;
277 unsigned CommandID = Traits.registerUnknownCommand(Name)->getID();
292 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name;
418 DiagLoc = Command->getCommandNameRange(Traits).getEnd()
    [all...]
  /frameworks/compile/mclinker/include/mcld/MC/
InputTree.h 27 /** \class template<typename Traits, typename Iterator> PolicyIterator<mcld::Input>
30 template<typename Traits, typename IteratorType>
31 class PolicyIterator<mcld::Input, Traits, IteratorType> : public PolicyIteratorBase<Input, Traits, IteratorType>
34 typedef PolicyIterator<Input, Traits, IteratorType> Self;
35 typedef PolicyIteratorBase<Input, Traits, IteratorType> Base;
36 typedef PolicyIterator<Input, typename Traits::nonconst_traits, IteratorType> iterator;
37 typedef PolicyIterator<Input, typename Traits::const_traits, IteratorType> const_iterator;
  /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 135 const CommandTraits &Traits = getCommandTraits(CXC);
136 return createCXString(ICC->getCommandName(Traits), /*DupString=*/ false);
223 const CommandTraits &Traits = getCommandTraits(CXC);
224 return createCXString(BCC->getCommandName(Traits), /*DupString=*/ false);
409 const CommandTraits &Traits);
420 const CommandTraits &Traits) :
444 const CommandInfo *Info = Traits.getCommandInfo(BCC->getCommandID());
487 const CommandInfo *Info = Traits.getCommandInfo(VLC->getCommandID());
539 const CommandTraits &Traits) :
540 Result(Str), Traits(Traits
    [all...]
  /frameworks/compile/mclinker/include/mcld/Support/
GCFactory.h 60 template<typename ChunkType, class Traits>
65 typedef Traits traits; typedef in class:mcld::DataIterator
66 typedef typename traits::pointer pointer;
67 typedef typename traits::reference reference;
68 typedef DataIterator<ChunkType, Traits> Self;
71 typedef typename traits::nonconst_traits nonconst_traits;
73 typedef typename traits::const_traits const_traits;
  /external/clang/test/SemaTemplate/
issue150.cpp 16 template<class _T, class Traits> class IM;
19 template<class _T, class Traits = int> class IntervalMap>
  /external/llvm/include/llvm/
SymbolTableListTraits.h 1 //===-- llvm/SymbolTableListTraits.h - Traits for iplist --------*- C++ -*-===//
14 // The way that this is implemented is by using a special traits class with the
16 // a new element is added to the list of instructions, the traits class is
19 // This generic class implements the traits class. It must be generic so that
34 template<typename NodeTy, typename Traits> class iplist;
  /external/chromium/third_party/libjingle/source/talk/base/
stringutils.h 142 // Traits simplifies porting string functions to be CTYPE-agnostic
150 struct Traits {
163 return str ? str : (def_str ? def_str : Traits<CTYPE>::empty_str());
302 // Traits<char> specializations
306 struct Traits<char> {
312 // Traits<wchar_t> specializations (Windows only, currently)
318 struct Traits<wchar_t> {
320 inline static const wchar_t* Traits<wchar_t>::empty_str() { return L""; }

Completed in 565 milliseconds

1 2