Searched refs:key_value_pair_t (Results 1 - 6 of 6) sorted by relevance

/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h103 const key_value_pair_t<key_t, cache_entry_t>&,
104 const key_value_pair_t<key_t, cache_entry_t>&);
118 const key_value_pair_t<key_t, cache_entry_t>&,
119 const key_value_pair_t<key_t, cache_entry_t>&);
125 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& lhs,
126 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& rhs)
124 compare_type( const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& lhs, const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& rhs) argument
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DTypeHelpers.h220 struct key_value_pair_t { struct in namespace:android::tinyutils
223 key_value_pair_t() { } function in struct:android::tinyutils::key_value_pair_t
224 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { } function in struct:android::tinyutils::key_value_pair_t
225 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } function in struct:android::tinyutils::key_value_pair_t
226 key_value_pair_t(const KEY& k) : key(k) { } function in struct:android::tinyutils::key_value_pair_t
227 inline bool operator < (const key_value_pair_t& o) const {
234 struct trait_trivial_ctor< key_value_pair_t<K, V> >
238 struct trait_trivial_dtor< key_value_pair_t<K, V> >
242 struct trait_trivial_copy< key_value_pair_t<
[all...]
H A DKeyedVector.h92 SortedVector< key_value_pair_t<KEY, VALUE> > mVector;
121 return mVector.indexOf( key_value_pair_t<KEY,VALUE>(key) );
155 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
160 key_value_pair_t<KEY,VALUE> pair(key, value);
176 return mVector.remove(key_value_pair_t<KEY,VALUE>(key));
/system/core/include/utils/
H A DTypeHelpers.h227 struct key_value_pair_t { struct in namespace:android
233 key_value_pair_t() { } function in struct:android::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { } function in struct:android::key_value_pair_t
235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } function in struct:android::key_value_pair_t
236 key_value_pair_t(const KEY& k) : key(k) { } function in struct:android::key_value_pair_t
237 inline bool operator < (const key_value_pair_t& o) const {
249 struct trait_trivial_ctor< key_value_pair_t<K, V> >
252 struct trait_trivial_dtor< key_value_pair_t<K, V> >
255 struct trait_trivial_copy< key_value_pair_t<
[all...]
H A DKeyedVector.h97 SortedVector< key_value_pair_t<KEY, VALUE> > mVector;
103 enum { value = trait_trivial_move<SortedVector< key_value_pair_t<KEY, VALUE> > >::value };
138 return mVector.indexOf( key_value_pair_t<KEY,VALUE>(key) );
177 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
182 key_value_pair_t<KEY,VALUE> pair(key, value);
198 return mVector.remove(key_value_pair_t<KEY,VALUE>(key));
/system/core/libutils/tests/
H A DBasicHashtable_test.cpp28 typedef key_value_pair_t<SimpleKey, SimpleValue> SimpleEntry;
83 typedef key_value_pair_t<ComplexKey, ComplexValue> ComplexEntry;
122 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h,
124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value));
128 static ssize_t find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h,
134 static bool remove(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h,
158 static void dump(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h) {

Completed in 61 milliseconds