/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringHash.h | 41 uint32_t operator()(const llvm::StringRef& pKey) const in operator() 54 uint32_t operator()(const llvm::StringRef& pKey) const 60 for(unsigned int i = 0; i < pKey.size(); ++i) { 61 hash_val = hash_val * a + pKey[i]; 74 uint32_t operator()(const llvm::StringRef& pKey) const 78 for(unsigned int i = 0; i < pKey.size(); ++i) { 79 hash_val ^= ((hash_val << 5) + pKey[i] + (hash_val >> 2)); 91 uint32_t operator()(const llvm::StringRef& pKey) const 100 for(unsigned int i = 0; i < pKey.size(); ++i) { 101 hash_val = (hash_val << OneEighth) + pKey[i]; [all …]
|
D | HashTable.h | 73 entry_type* insert(const key_type& pKey, bool& pExist); 76 size_type erase(const key_type& pKey); 81 iterator find(const key_type& pKey); 85 const_iterator find(const key_type& pKey) const; 87 size_type count(const key_type& pKey) const; 107 chain_iterator begin(const key_type& pKey); 108 chain_iterator end(const key_type& pKey); 109 const_chain_iterator begin(const key_type& pKey) const; 110 const_chain_iterator end(const key_type& pKey) const;
|
D | HashTable.tcc | 65 const typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::key_type& pKey, in insert() argument 68 unsigned int index = BaseTy::lookUpBucketFor(pKey); in insert() 82 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert() 96 const typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::key_type& pKey) in erase() argument 99 if (-1 == (index = BaseTy::findKey(pKey))) in erase() 117 const typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::key_type& pKey) in find() argument 120 if (-1 == (index = BaseTy::findKey(pKey))) in find() 130 const typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::key_type& pKey) const in find() 133 if (-1 == (index = BaseTy::findKey(pKey))) in find() 143 const typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::key_type& pKey) const in count() [all …]
|
D | HashEntry.tcc | 13 HashEntry<KeyType, ValueType, KeyCompare>::HashEntry(const KeyType& pKey) in HashEntry() argument 14 : m_Key(pKey) { in HashEntry() 23 bool HashEntry<KeyType, ValueType, KeyCompare>::compare(const KeyType& pKey) in compare() argument 26 return comparator(m_Key, pKey); in compare() 49 EntryFactory<HashEntryTy>::produce(const typename EntryFactory<HashEntryTy>::key_type& pKey) in produce() argument 51 return new HashEntryTy(pKey); in produce()
|
D | StringEntry.tcc | 18 StringEntry<DataType>::StringEntry(const StringEntry::key_type& pKey) in StringEntry() argument 19 : m_KeyLen(pKey.size()) { in StringEntry() 47 StringEntryFactory<DataType>::produce(const typename StringEntryFactory<DataType>::key_type& pKey) in produce() argument 50 malloc(sizeof(StringEntry<DataType>) + pKey.size() + 1)); in produce() 55 size_t len = pKey.size(); in produce() 57 std::memcpy(result->m_Key, pKey.data(), len); in produce()
|
D | HashBase.tcc | 129 const typename HashTableImpl<HashEntryTy, HashFunctionTy>::key_type& pKey) in lookUpBucketFor() argument 136 unsigned int full_hash = m_Hasher(pKey); in lookUpBucketFor() 162 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor() 177 const typename HashTableImpl<HashEntryTy, HashFunctionTy>::key_type& pKey) const in findKey() 182 unsigned int full_hash = m_Hasher(pKey); in findKey() 198 if (bucket.Entry->compare(pKey)) in findKey()
|
D | HashEntry.h | 45 HashEntry(const KeyType& pKey); 64 bool compare(const key_type& pKey); 83 HashEntryTy* produce(const key_type& pKey);
|
D | HashEntryFactory.h | 26 entry_type* produce(const key_type& pKey) in produce() argument 27 { return HashEntryTy::Create(pKey); } in produce()
|
D | HashIterator.h | 33 ChainIteratorBase(HashTableImplTy* pTable, const key_type& pKey) in ChainIteratorBase() argument 36 m_HashValue = pTable->hash()(pKey); in ChainIteratorBase() 45 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase() 289 const typename IteratorBase::key_type& pKey, in HashIterator() argument 291 : IteratorBase(pTable, pKey) in HashIterator()
|
D | StringEntry.h | 62 StringEntry(const key_type& pKey); 116 StringEntry(const key_type& pKey); 140 StringEntry<DataType>* produce(const key_type& pKey);
|
D | HashBase.h | 107 unsigned int lookUpBucketFor(const key_type& pKey); 111 int findKey(const key_type& pKey) const;
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | KeyEntryMap.h | 58 const EntryType* lookUp(const KeyType& pKey) const; 59 EntryType* lookUp(const KeyType& pKey); 62 const EntryType* lookUpFirstEntry(const KeyType& pKey) const; 63 EntryType* lookUpFirstEntry(const KeyType& pKey); 66 const EntryType* lookUpSecondEntry(const KeyType& pKey) const; 67 EntryType* lookUpSecondEntry(const KeyType& pKey); 69 void record(const KeyType& pKey, EntryType& pEntry); 70 void record(const KeyType& pKey, 93 KeyEntryMap<KeyType, EntryType>::lookUp(const KeyType& pKey) const in lookUp() argument 97 if (mapping->key == &pKey) { in lookUp() [all …]
|
D | GNULDBackend.h | 508 size_t operator()(const LDSymbol* pKey) const in operator() 510 return (unsigned((uintptr_t)pKey) >> 4) ^ in operator() 511 (unsigned((uintptr_t)pKey) >> 9); in operator()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | UniqueGCFactory.h | 43 DataType* find(const KeyType& pKey) { in find() argument 44 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in find() 50 const DataType* find(const KeyType& pKey) const { in find() argument 51 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey); in find() 57 DataType* produce(const KeyType& pKey, bool& pExist) { in produce() argument 58 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce() 65 f_KeyMap.insert(std::make_pair(pKey, data)); in produce() 70 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) { in produce() argument 71 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce() 78 f_KeyMap.insert(std::make_pair(pKey, data)); in produce()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | Archive.h | 63 size_t operator()(uint32_t pKey) const in operator() 65 pKey ^= pKey >> 16; in operator() 66 pKey *= 0x85ebca6b; in operator() 67 pKey ^= pKey >> 13; in operator() 68 pKey *= 0xc2b2ae35; in operator() 69 pKey ^= pKey >> 16; in operator() 70 return pKey; in operator()
|
D | SectionSymbolSet.h | 59 size_t operator()(const LDSection* pKey) const in operator() 61 return (unsigned((uintptr_t)pKey) >> 4) ^ in operator() 62 (unsigned((uintptr_t)pKey) >> 9); in operator()
|
D | ResolveInfo.h | 95 static ResolveInfo* Create(const key_type& pKey); 218 bool compare(const key_type& pKey);
|
/frameworks/compile/mclinker/lib/LD/ |
D | ResolveInfo.cpp | 245 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) in compare() argument 248 if (length != pKey.size()) in compare() 250 return (0 == std::memcmp(m_Name, pKey.data(), length)); in compare() 271 ResolveInfo* ResolveInfo::Create(const ResolveInfo::key_type& pKey) in Create() argument 274 malloc(sizeof(ResolveInfo)+pKey.size()+1)); in Create() 279 std::memcpy(info->m_Name, pKey.data(), pKey.size()); in Create() 280 info->m_Name[pKey.size()] = '\0'; in Create() 282 info->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET); in Create()
|
/frameworks/wilhelm/src/itf/ |
D | IMetadataExtraction.c | 72 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/ |
D | HashTableTest.cpp | 57 size_t operator()(const int* pKey) const in operator ()() 59 return (unsigned((uintptr_t)pKey) >> 4) ^ in operator ()() 60 (unsigned((uintptr_t)pKey) >> 9); in operator ()() 66 size_t operator()(int pKey) const in operator ()() 67 { return pKey; } in operator ()() 72 size_t operator()(int pKey) const in operator ()() 73 { return pKey % 3; } in operator ()() 297 size_t operator()(int pKey) const { in operator ()()
|
/frameworks/compile/mclinker/lib/ADT/ |
D | StringEntry.cpp | 20 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) in StringEntry() argument
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.h | 104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
|
D | AudioPlayer_to_android.cpp | 1902 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) { in android_audioPlayer_metadata_getKey() argument 1915 (char*)pKey->data)))) { in android_audioPlayer_metadata_getKey() 1919 pKey->encoding = SL_CHARACTERENCODING_UTF8; in android_audioPlayer_metadata_getKey() 1920 memcpy((char *) pKey->langCountry, "en", 3); in android_audioPlayer_metadata_getKey() 1921 pKey->size = strlen((char*)pKey->data) + 1; in android_audioPlayer_metadata_getKey()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 1325 XAMetadataInfo * pKey 1341 const void * pKey, 1362 XAMetadataInfo * pKey, 1394 XAMetadataInfo * pKey 1405 XAMetadataInfo * pKey,
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 779 SLMetadataInfo *pKey 795 const void *pKey,
|