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

1 2 3 4

  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
ZHash.java 26 public class ZHash<KeyType, ValueType> implements ZIndexable<KeyType> {
28 private HashMap<KeyType, ValueType> hash;
29 //private LinkedList<KeyType> zlist;
30 //private ListOrganizer<KeyType> listOrganizer;
31 private ZLinkedList<KeyType> zlist;
34 hash = new HashMap<KeyType, ValueType>();
35 zlist = new ZLinkedList<KeyType>();
36 //listOrganizer = new ListOrganizer<KeyType>(zlist);
44 public ValueType get(KeyType key) {
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
HashEntry.h 32 template <typename KeyType, typename ValueType, typename KeyCompare>
35 typedef KeyType key_type;
40 typedef HashEntry<KeyType, ValueType, KeyCompare> Self;
44 explicit HashEntry(const KeyType& pKey);
48 KeyType& key() { return m_Key; }
50 const KeyType& key() const { return m_Key; }
61 KeyType m_Key;
  /frameworks/compile/mclinker/include/mcld/Target/
KeyEntryMap.h 18 * \brief KeyEntryMap is a <const KeyType*, ENTRY*> map.
23 typedef KEY KeyType;
43 const KeyType* key;
56 const EntryType* lookUp(const KeyType& pKey) const;
57 EntryType* lookUp(const KeyType& pKey);
60 const EntryType* lookUpFirstEntry(const KeyType& pKey) const;
61 EntryType* lookUpFirstEntry(const KeyType& pKey);
64 const EntryType* lookUpSecondEntry(const KeyType& pKey) const;
65 EntryType* lookUpSecondEntry(const KeyType& pKey);
67 void record(const KeyType& pKey, EntryType& pEntry)
    [all...]
  /external/libchrome/base/containers/
mru_cache.h 37 template <class KeyType, class ValueType>
39 typedef std::map<KeyType, ValueType> Type;
45 template <class KeyType, class PayloadType, class DeletorType,
51 typedef std::pair<KeyType, PayloadType> value_type;
55 typedef typename MapType<KeyType,
93 iterator Put(const KeyType& key, const PayloadType& payload) {
116 iterator Get(const KeyType& key) {
129 iterator Peek(const KeyType& key) {
136 const_iterator Peek(const KeyType& key) const {
232 template <class KeyType, class PayloadType
    [all...]
small_map.h 153 template <typename KeyType, typename ValueType>
154 struct select_equal_key< std::map<KeyType, ValueType>, false> {
156 bool operator()(const KeyType& left, const KeyType& right) {
161 template <typename KeyType, typename ValueType>
162 struct select_equal_key< base::hash_map<KeyType, ValueType>, false> {
164 bool operator()(const KeyType& left, const KeyType& right) {
  /external/clang/test/SemaCXX/
PR11358.cpp 29 template <typename KeyType, typename ValueType>
30 void MapTest(hash_map<KeyType, ValueType> map) {
31 for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'typename'}}
  /frameworks/compile/mclinker/include/mcld/Support/
UniqueGCFactory.h 23 template <typename KeyType, typename DataType, size_t ChunkSize>
28 typedef std::map<KeyType, DataType*> KeyMap;
40 DataType* find(const KeyType& pKey) {
47 const DataType* find(const KeyType& pKey) const {
54 DataType* produce(const KeyType& pKey, bool& pExist) {
67 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) {
  /external/eigen/unsupported/Eigen/src/SparseExtra/
RandomSetter.h 21 typedef int KeyType;
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {}
49 typedef int KeyType;
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {}
66 typedef int KeyType;
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k)
84 typedef int KeyType;
    [all...]
  /external/webrtc/talk/app/webrtc/
dtlsidentitystore.h 79 rtc::KeyType key_type,
85 // RequestIdentity should replace the old one that takes rtc::KeyType. When
109 rtc::KeyType key_type,
116 bool HasFreeIdentityForTesting(rtc::KeyType key_type) const;
120 rtc::KeyType key_type,
122 void OnIdentityGenerated(rtc::KeyType key_type,
131 IdentityResult(rtc::KeyType key_type,
135 rtc::KeyType key_type_;
159 // One RequestInfo per KeyType. Only touch on the |signaling_thread_|.
dtlsidentitystore.cc 59 WorkerTask(DtlsIdentityStoreImpl* store, rtc::KeyType key_type)
70 LOG(LS_INFO) << "Generating identity, using keytype " << key_type_;
119 const rtc::KeyType key_type_;
142 rtc::KeyType key_type,
164 rtc::KeyType key_type) const {
170 rtc::KeyType key_type,
209 rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) {
  /external/webrtc/webrtc/system_wrappers/source/
sort.cc 80 template<typename KeyType>
82 KeyType key_;
170 template <typename KeyType>
172 bool operator()(const SortKey<KeyType>& sort_key_x,
173 const SortKey<KeyType>& sort_key_y) const {
178 template <typename KeyType>
180 KeyType operator()(const SortKey<KeyType>& sort_key,
205 template<typename KeyType>
207 SortKey<KeyType>*& ptr_sort_key
    [all...]
  /external/webrtc/webrtc/base/
sslidentity.h 121 enum KeyType { KT_RSA, KT_ECDSA, KT_LAST, KT_DEFAULT = KT_RSA };
137 // Generate a KeyParams object from a simple KeyType, using default params.
138 explicit KeyParams(KeyType key_type = KT_DEFAULT);
156 KeyType type() const { return type_; }
159 KeyType type_;
166 // TODO(hbos): Remove once rtc::KeyType (to be modified) and
168 // appropriately we can change KeyType enum -> class without breaking Chromium.
169 KeyType IntKeyTypeFamilyToKeyType(int key_type_family);
194 KeyType key_type) {
  /system/tpm/attestation/common/
print_common_proto.h 28 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size);
29 std::string GetProtoDebugString(KeyType value);
  /bootable/recovery/
verifier.h 43 } KeyType;
46 KeyType key_type_,
56 KeyType key_type;
  /external/webrtc/webrtc/system_wrappers/test/TestSort/
TestSort.cc 24 template<typename KeyType>
27 KeyType key;
48 template<typename DataType, typename KeyType>
51 KeyType keyX = ((const DataType*)dataX)->key;
52 KeyType keyY = ((const DataType*)dataY)->key;
127 template<typename KeyType>
132 KeyType key[DataLength];
133 KeyType keyRef[DataLength];
134 LotsOfData<KeyType> data[DataLength];
135 LotsOfData<KeyType> dataRef[DataLength]
    [all...]
  /external/libchrome/base/
id_map.h 40 using KeyType = K;
43 typedef base::hash_map<KeyType, T*> HashTable;
67 KeyType Add(T* data) {
70 KeyType this_id = next_id_;
81 void AddWithID(T* data, KeyType id) {
88 void Remove(KeyType id) {
109 T* Replace(KeyType id, T* new_data) {
139 T* Lookup(KeyType id) const {
198 KeyType GetCurrentKey() const {
270 std::set<KeyType> removed_ids_
    [all...]
  /system/keymaster/
operation.h 40 struct KeyType {
41 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp)
47 bool operator==(const KeyType& rhs) const {
51 virtual KeyType registry_key() const = 0;
hmac_operation.h 57 virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_HMAC, purpose()); }
  /external/vixl/test/
test-invalset.cc 37 typedef ptrdiff_t KeyType;
44 Obj(KeyType key, ValType val) : key_(key), val_(val) {}
45 KeyType key_;
66 static const KeyType kInvalidKey = PTRDIFF_MAX;
72 KeyType,
78 inline KeyType InvalSet<Obj,
80 KeyType,
89 KeyType,
92 kReclaimFactor>::SetKey(Obj* obj, KeyType key) {
  /frameworks/rs/
rsMap.h 28 template <class KeyType, class ValueType>
31 typedef Pair<KeyType, ValueType> MapEntry;
55 ValueType& operator[](const KeyType& key) {
143 iterator find(const KeyType& key) const {
158 size_t hash(const KeyType& key) const { return ((size_t)key) >> 4; }
  /external/pdfium/xfa/src/fxfa/src/common/
xfa_utils.h 150 template <class KeyType>
159 FX_BOOL Lookup(KeyType key) const {
164 FX_BOOL operator[](KeyType key) { return Lookup(key); }
166 void Add(KeyType key) { CFX_MapPtrToPtr::SetAt((void*)key, (void*)key); }
168 FX_BOOL RemoveKey(KeyType key) {
178 void GetNextAssoc(FX_POSITION& rNextPosition, KeyType& rKey) const {
182 rKey = (KeyType)(uintptr_t)pKey;
  /external/google-breakpad/src/processor/
static_map_unittest.cc 42 typedef int KeyType;
43 typedef google_breakpad::StaticMap< KeyType, ValueType > TestMap;
44 typedef std::map< KeyType, ValueType > StdMap;
107 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType));
124 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType));
129 KeyType* keys = reinterpret_cast<KeyType*>(
174 sizeof(uint32_t) + sizeof(KeyType) + sizeof(ValueType);
240 void FindTester(int test_case, const KeyType &key) {
246 void LowerBoundTester(int test_case, const KeyType &key)
    [all...]
  /system/tpm/attestation/server/
key_store.h 65 KeyType key_type,
  /external/vixl/src/vixl/
invalset.h 69 // 'ElementType' and 'KeyType' are respectively the types of the elements and
76 class KeyType, \
77 KeyType INVALID_KEY, \
83 KeyType, INVALID_KEY, RECLAIM_FROM, RECLAIM_FACTOR
93 static const KeyType kInvalidKey = INVALID_KEY;
114 KeyType min_element_key();
117 static KeyType Key(const ElementType& element);
118 static void SetKey(ElementType* element, KeyType key);
188 KeyType cached_min_key_; // Valid iff `valid_cached_min_` is true.
220 typedef KeyType _KeyType
    [all...]
  /system/update_engine/common/
utils.h 275 template<typename KeyType, typename ValueType>
276 bool MapContainsKey(const std::map<KeyType, ValueType>& m, const KeyType& k) {
279 template<typename KeyType>
280 bool SetContainsKey(const std::set<KeyType>& s, const KeyType& k) {

Completed in 641 milliseconds

1 2 3 4