Home
last modified time | relevance | path

Searched refs:pKey (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h30 uint32_t operator()(const llvm::StringRef pKey) const { in operator()
42 uint32_t operator()(const llvm::StringRef pKey) const {
47 for (unsigned int i = 0; i < pKey.size(); ++i) {
48 hash_val = hash_val * a + pKey[i];
61 uint32_t operator()(const llvm::StringRef pKey) const {
64 for (unsigned int i = 0; i < pKey.size(); ++i) {
65 hash_val ^= ((hash_val << 5) + pKey[i] + (hash_val >> 2));
77 uint32_t operator()(const llvm::StringRef pKey) const {
88 for (unsigned int i = 0; i < pKey.size(); ++i) {
89 hash_val = (hash_val << OneEighth) + pKey[i];
[all …]
DHashTable.h71 entry_type* insert(const key_type& pKey, bool& pExist);
74 size_type erase(const key_type& pKey);
79 iterator find(const key_type& pKey);
83 const_iterator find(const key_type& pKey) const;
85 size_type count(const key_type& pKey) const;
105 chain_iterator begin(const key_type& pKey);
106 chain_iterator end(const key_type& pKey);
107 const_chain_iterator begin(const key_type& pKey) const;
108 const_chain_iterator end(const key_type& pKey) const;
DHashTable.tcc65 EntryFactoryTy>::key_type& pKey, in insert() argument
67 unsigned int index = BaseTy::lookUpBucketFor(pKey); in insert()
81 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert()
97 EntryFactoryTy>::key_type& pKey) { in erase() argument
99 if ((index = BaseTy::findKey(pKey)) == -1) in erase()
119 EntryFactoryTy>::key_type& pKey) { in find() argument
121 if ((index = BaseTy::findKey(pKey)) == -1) in find()
133 EntryFactoryTy>::key_type& pKey) const { in find()
135 if ((index = BaseTy::findKey(pKey)) == -1) in find()
147 EntryFactoryTy>::key_type& pKey) const { in count()
[all …]
DHashEntry.tcc13 HashEntry<KeyType, ValueType, KeyCompare>::HashEntry(const KeyType& pKey) in HashEntry() argument
14 : m_Key(pKey) { in HashEntry()
22 bool HashEntry<KeyType, ValueType, KeyCompare>::compare(const KeyType& pKey) { in compare() argument
24 return comparator(m_Key, pKey); in compare()
44 const typename EntryFactory<HashEntryTy>::key_type& pKey) { in produce() argument
45 return new HashEntryTy(pKey); in produce()
DStringEntry.tcc18 StringEntry<DataType>::StringEntry(const StringEntry::key_type& pKey) in StringEntry() argument
19 : m_KeyLen(pKey.size()) { in StringEntry()
44 const typename StringEntryFactory<DataType>::key_type& pKey) { in produce() argument
46 malloc(sizeof(StringEntry<DataType>) + pKey.size() + 1)); in produce()
51 size_t len = pKey.size(); in produce()
53 std::memcpy(result->m_Key, pKey.data(), len); in produce()
DHashBase.tcc114 const typename HashTableImpl<HashEntryTy, HashFunctionTy>::key_type& pKey) { in lookUpBucketFor() argument
120 unsigned int full_hash = m_Hasher(pKey); in lookUpBucketFor()
145 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor()
158 const typename HashTableImpl<HashEntryTy, HashFunctionTy>::key_type& pKey) in findKey()
163 unsigned int full_hash = m_Hasher(pKey); in findKey()
178 if (bucket.Entry->compare(pKey)) in findKey()
DHashEntry.h44 explicit HashEntry(const KeyType& pKey);
58 bool compare(const key_type& pKey);
76 HashEntryTy* produce(const key_type& pKey);
DHashEntryFactory.h25 entry_type* produce(const key_type& pKey) { in produce() argument
26 return HashEntryTy::Create(pKey); in produce()
DHashIterator.h31 ChainIteratorBase(HashTableImplTy* pTable, const key_type& pKey) in ChainIteratorBase() argument
33 m_HashValue = pTable->hash()(pKey); in ChainIteratorBase()
41 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase()
271 const typename IteratorBase::key_type& pKey, in HashIterator() argument
273 : IteratorBase(pTable, pKey) {} in HashIterator()
DStringEntry.h53 explicit StringEntry(const key_type& pKey);
96 explicit StringEntry(const key_type& pKey);
119 StringEntry<DataType>* produce(const key_type& pKey);
DHashBase.h100 unsigned int lookUpBucketFor(const key_type& pKey);
104 int findKey(const key_type& pKey) const;
/frameworks/compile/mclinker/include/mcld/Target/
DKeyEntryMap.h56 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);
68 void record(const KeyType& pKey, EntryType& pEntry1, EntryType& pEntry2);
89 const KeyType& pKey) const { in lookUp() argument
92 if (mapping->key == &pKey) { in lookUp()
[all …]
DGNULDBackend.h502 size_t operator()(const LDSymbol* pKey) const { in operator()
503 return (unsigned((uintptr_t)pKey) >> 4) ^ in operator()
504 (unsigned((uintptr_t)pKey) >> 9); in operator()
/frameworks/compile/mclinker/include/mcld/Support/
DUniqueGCFactory.h40 DataType* find(const KeyType& pKey) { in find() argument
41 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in find()
47 const DataType* find(const KeyType& pKey) const { in find() argument
48 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey); in find()
54 DataType* produce(const KeyType& pKey, bool& pExist) { in produce() argument
55 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce()
62 f_KeyMap.insert(std::make_pair(pKey, data)); in produce()
67 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) { in produce() argument
68 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce()
75 f_KeyMap.insert(std::make_pair(pKey, data)); in produce()
/frameworks/compile/mclinker/include/mcld/LD/
DArchive.h58 size_t operator()(uint32_t pKey) const { in operator()
59 pKey ^= pKey >> 16; in operator()
60 pKey *= 0x85ebca6b; in operator()
61 pKey ^= pKey >> 13; in operator()
62 pKey *= 0xc2b2ae35; in operator()
63 pKey ^= pKey >> 16; in operator()
64 return pKey; in operator()
DSectionSymbolSet.h56 size_t operator()(const LDSection* pKey) const { in operator()
57 return (unsigned((uintptr_t)pKey) >> 4) ^ in operator()
58 (unsigned((uintptr_t)pKey) >> 9); in operator()
DResolveInfo.h79 static ResolveInfo* Create(const key_type& pKey);
192 bool compare(const key_type& pKey);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/
DObjectPKeyEntity.java27 public String pKey; field in ObjectPKeyEntity
30 public ObjectPKeyEntity(String pKey, String data) { in ObjectPKeyEntity() argument
31 this.pKey = pKey; in ObjectPKeyEntity()
DIntAutoIncPKeyEntity.java25 public int pKey; field in IntAutoIncPKeyEntity
DIntegerAutoIncPKeyEntity.java25 public Integer pKey; field in IntegerAutoIncPKeyEntity
/frameworks/compile/mclinker/lib/LD/
DResolveInfo.cpp213 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) { in compare() argument
215 if (length != pKey.size()) in compare()
217 return (std::memcmp(m_Name, pKey.data(), length) == 0); in compare()
236 ResolveInfo* ResolveInfo::Create(const ResolveInfo::key_type& pKey) { in Create() argument
238 static_cast<ResolveInfo*>(malloc(sizeof(ResolveInfo) + pKey.size() + 1)); in Create()
243 std::memcpy(info->m_Name, pKey.data(), pKey.size()); in Create()
244 info->m_Name[pKey.size()] = '\0'; in Create()
246 info->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET); in Create()
/frameworks/wilhelm/src/itf/
DIMetadataExtraction.cpp72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) in IMetadataExtraction_GetKey() argument
76 if (NULL == pKey) { in IMetadataExtraction_GetKey()
83 index, keySize, pKey); in IMetadataExtraction_GetKey()
147 SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, in IMetadataExtraction_AddKeyFilter() argument
152 if (NULL == pKey || NULL == pValueLangCountry || (filterMask & ~(SL_METADATA_FILTER_KEY | in IMetadataExtraction_AddKeyFilter()
159 thiz->mKey = pKey; in IMetadataExtraction_AddKeyFilter()
/frameworks/compile/mclinker/unittests/
DHashTableTest.cpp47 size_t operator()(const int* pKey) const { in operator ()()
48 return (unsigned((uintptr_t)pKey) >> 4) ^ (unsigned((uintptr_t)pKey) >> 9); in operator ()()
53 size_t operator()(int pKey) const { return pKey; } in operator ()()
57 size_t operator()(int pKey) const { return pKey % 3; } in operator ()()
283 size_t operator()(int pKey) const { return 10; } in operator ()()
/frameworks/compile/mclinker/lib/ADT/
DStringEntry.cpp19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) { in StringEntry() argument
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.h104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);

12