/external/llvm/include/llvm/ADT/ |
ValueMap.h | 20 // parameters should inherit from ValueMapConfig<KeyT> to get default 37 template<typename KeyT, typename ValueT, typename Config> 40 template<typename DenseMapT, typename KeyT> 42 template<typename DenseMapT, typename KeyT> 48 template<typename KeyT> 61 static void onRAUW(const ExtraDataT & /*Data*/, KeyT /*Old*/, KeyT /*New*/) {} 63 static void onDelete(const ExtraDataT &/*Data*/, KeyT /*Old*/) {} 74 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT> > [all...] |
MapVector.h | 30 template<typename KeyT, typename ValueT, 31 typename MapType = llvm::DenseMap<KeyT, unsigned>, 32 typename VectorType = std::vector<std::pair<KeyT, ValueT> > > 67 std::pair<KeyT, ValueT> &front() { return Vector.front(); } 68 const std::pair<KeyT, ValueT> &front() const { return Vector.front(); } 69 std::pair<KeyT, ValueT> &back() { return Vector.back(); } 70 const std::pair<KeyT, ValueT> &back() const { return Vector.back(); } 77 ValueT &operator[](const KeyT &Key) { 78 std::pair<KeyT, unsigned> Pair = std::make_pair(Key, 0); 88 ValueT lookup(const KeyT &Key) const [all...] |
IntervalMap.h | 12 // KeyT objects are mapped to ValT objects. Intervals of keys that map to the 38 // template <typename KeyT, typename ValT, unsigned N, typename Traits> 41 // typedef KeyT key_type; 51 // KeyT start() const; 52 // KeyT stop() const; 53 // ValT lookup(KeyT x, Value NotFound = Value()) const; 59 // const_iterator find(KeyT x) const; 60 // iterator find(KeyT x); 62 // void insert(KeyT a, KeyT b, ValT y) [all...] |
SparseSet.h | 63 template<typename KeyT, typename ValueT, typename KeyFunctorT> 70 /// SparseSetValFunctor<KeyT, KeyT> - Helper class for the common case of 72 template<typename KeyT, typename KeyFunctorT> 73 struct SparseSetValFunctor<KeyT, KeyT, KeyFunctorT> { 74 unsigned operator()(const KeyT &Key) const { 114 /// @tparam KeyFunctorT A functor that computes an unsigned index from KeyT. 121 typedef typename KeyFunctorT::argument_type KeyT; 127 SparseSetValFunctor<KeyT, ValueT, KeyFunctorT> ValIndexOf [all...] |
DenseMap.h | 34 template<typename KeyT, typename ValueT, 35 typename KeyInfoT = DenseMapInfo<KeyT>, 40 typename KeyT, typename ValueT, typename KeyInfoT> 43 typedef std::pair<KeyT, ValueT> BucketT; 46 typedef KeyT key_type; 50 typedef DenseMapIterator<KeyT, ValueT, KeyInfoT> iterator; 51 typedef DenseMapIterator<KeyT, ValueT, 86 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); 101 bool count(const KeyT &Val) const { 106 iterator find(const KeyT &Val) [all...] |
ImmutableMap.h | 59 template <typename KeyT, typename ValT, 60 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> > 214 typedef typename ImmutableMap<KeyT,ValT,ValInfo>::value_type value_type; 215 typedef typename ImmutableMap<KeyT,ValT,ValInfo>::value_type_ref reference; 269 template <typename KeyT, typename ValT, 270 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> > 297 explicit ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, 298 typename ImmutableMap<KeyT, ValT>::Factory &F) 355 ImmutableMap<KeyT, ValT> asImmutableMap() const { 356 return ImmutableMap<KeyT, ValT>(Factory->getCanonicalTree(Root)) [all...] |
SparseMultiSet.h | 72 /// @tparam KeyFunctorT A functor that computes an unsigned index from KeyT. 109 typedef typename KeyFunctorT::argument_type KeyT; 115 SparseSetValFunctor<KeyT, ValueT, KeyFunctorT> ValIndexOf; 379 iterator find(const KeyT &Key) { 383 const_iterator find(const KeyT &Key) const { 390 unsigned count(const KeyT &Key) const { 399 bool contains(const KeyT &Key) const { 404 iterator getHead(const KeyT &Key) { return find(Key); } 405 iterator getTail(const KeyT &Key) { 415 RangePair equal_range(const KeyT &K) [all...] |
/frameworks/av/include/camera/ |
CameraParameters2.h | 116 template <typename KeyT, typename ValueT> 119 ssize_t add(const KeyT& key, const ValueT& value) { 127 const KeyT& keyAt(size_t idx) const { 135 const ValueT& valueFor(const KeyT& key) const { 142 ssize_t indexOfKey(const KeyT& key) const { 153 ssize_t removeItem(const KeyT& key) { 168 ssize_t replaceValueFor(const KeyT& key, const ValueT& value) { 177 Pair(const KeyT& key, const ValueT& value) : 180 KeyT mKey;
|
/external/llvm/unittests/IR/ |
ValueMapTest.cpp | 180 template<typename KeyT> 181 struct LockMutex : ValueMapConfig<KeyT> { 187 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) { 191 static void onDelete(const ExtraData &Data, KeyT Old) { 212 template<typename KeyT> 213 struct NoFollow : ValueMapConfig<KeyT> { 234 template<typename KeyT> 235 struct CountOps : ValueMapConfig<KeyT> { 241 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCOpts.cpp | 53 template<class KeyT, class ValueT> 56 typedef DenseMap<KeyT, size_t> MapTy; 59 typedef std::vector<std::pair<KeyT, ValueT> > VectorTy; 87 ValueT &operator[](const KeyT &Arg) { 100 insert(const std::pair<KeyT, ValueT> &InsertPair) { 112 iterator find(const KeyT &Key) { 118 const_iterator find(const KeyT &Key) const { 127 void blot(const KeyT &Key) { 130 Vector[It->second].first = KeyT(); [all...] |
/external/llvm/include/llvm/IR/ |
Module.h | 33 template<typename KeyT, typename ValueT, typename KeyInfoT> class DenseMap;
|
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | [all...] |