/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringHash.h | 30 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 …]
|
D | HashTable.h | 71 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;
|
D | HashTable.tcc | 65 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 …]
|
D | HashEntry.tcc | 13 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()
|
D | StringEntry.tcc | 18 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()
|
D | HashBase.tcc | 114 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()
|
D | HashEntry.h | 44 explicit HashEntry(const KeyType& pKey); 58 bool compare(const key_type& pKey); 76 HashEntryTy* produce(const key_type& pKey);
|
D | HashEntryFactory.h | 25 entry_type* produce(const key_type& pKey) { in produce() argument 26 return HashEntryTy::Create(pKey); in produce()
|
D | HashIterator.h | 31 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()
|
D | StringEntry.h | 53 explicit StringEntry(const key_type& pKey); 96 explicit StringEntry(const key_type& pKey); 119 StringEntry<DataType>* produce(const key_type& pKey);
|
D | HashBase.h | 100 unsigned int lookUpBucketFor(const key_type& pKey); 104 int findKey(const key_type& pKey) const;
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | KeyEntryMap.h | 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); 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 …]
|
D | GNULDBackend.h | 502 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/ |
D | UniqueGCFactory.h | 40 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/ |
D | Archive.h | 58 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()
|
D | SectionSymbolSet.h | 56 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()
|
D | ResolveInfo.h | 79 static ResolveInfo* Create(const key_type& pKey); 192 bool compare(const key_type& pKey);
|
/frameworks/compile/mclinker/lib/LD/ |
D | ResolveInfo.cpp | 213 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/ |
D | IMetadataExtraction.cpp | 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 | 47 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/ |
D | StringEntry.cpp | 19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) { in StringEntry() argument
|
/frameworks/native/libs/binder/tests/include_tls_test_utils/binder/ |
D | RpcTlsTestUtils.h | 34 bssl::UniquePtr<X509> makeSelfSignedCert(EVP_PKEY* pKey, uint32_t validSeconds);
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.h | 104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
|
D | AudioPlayer_to_android.cpp | 2084 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) { in android_audioPlayer_metadata_getKey() argument 2097 (char*)pKey->data)))) { in android_audioPlayer_metadata_getKey() 2101 pKey->encoding = SL_CHARACTERENCODING_UTF8; in android_audioPlayer_metadata_getKey() 2102 memcpy((char *) pKey->langCountry, "en", 3); in android_audioPlayer_metadata_getKey() 2103 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,
|