/frameworks/compile/mclinker/lib/LD/ |
H A D | ResolveInfoFactory.cpp | 18 ResolveInfoFactory::produce(const ResolveInfoFactory::key_type& pKey) argument 21 malloc(sizeof(entry_type)+pKey.size()+1)); 26 std::memcpy(result->m_Name, pKey.data(), pKey.size()); 27 result->m_Name[pKey.size()] = '\0'; 29 result->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET);
|
H A D | ResolveInfo.cpp | 221 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) argument 224 if (length != pKey.size()) 226 return (0 == std::memcmp(m_Name, pKey.data(), length));
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringHash.h | 43 size_t operator()(const llvm::StringRef& pKey) const 55 size_t operator()(const llvm::StringRef& pKey) const 61 for(unsigned int i = 0; i < pKey.size(); ++i) { 62 hash_val = hash_val * a + pKey[i]; 75 size_t operator()(const llvm::StringRef& pKey) const 79 for(unsigned int i = 0; i < pKey.size(); ++i) { 80 hash_val ^= ((hash_val << 5) + pKey[i] + (hash_val >> 2)); 92 size_t operator()(const llvm::StringRef& pKey) const 101 for(unsigned int i = 0; i < pKey.size(); ++i) { 102 hash_val = (hash_val << OneEighth) + pKey[ [all...] |
H A D | HashTable.h | 77 entry_type* insert(const key_type& pKey, bool& pExist); 80 size_type erase(const key_type& pKey); 83 /// find - finds an element with key pKey 85 iterator find(const key_type& pKey); 87 /// find - finds an element with key pKey, constant version 89 const_iterator find(const key_type& pKey) const; 91 size_type count(const key_type& pKey) const; 111 chain_iterator begin(const key_type& pKey); 112 chain_iterator end(const key_type& pKey); 113 const_chain_iterator begin(const key_type& pKey) cons [all...] |
H A D | HashEntry.h | 48 HashEntry(const KeyType& pKey); 67 bool compare(const key_type& pKey); 86 HashEntryTy* produce(const key_type& pKey);
|
H A D | HashBase.h | 108 unsigned int lookUpBucketFor(const key_type& pKey); 110 /// findKey - finds an element with key pKey 112 int findKey(const key_type& pKey) const;
|
H A D | StringEntry.h | 65 StringEntry(const key_type& pKey); 119 StringEntry(const key_type& pKey); 143 StringEntry<DataType>* produce(const key_type& pKey);
|
H A D | HashIterator.h | 36 ChainIteratorBase(HashTableImplTy* pTable, const key_type& pKey) argument 39 m_HashValue = pTable->hash()(pKey); 48 if (bucket.Entry->compare(pKey)) { 292 const typename IteratorBase::key_type& pKey, 294 : IteratorBase(pTable, pKey) 291 HashIterator(typename IteratorBase::hash_table* pTable, const typename IteratorBase::key_type& pKey, int) argument
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | UniqueGCFactory.h | 46 DataType* find(const KeyType& pKey) { argument 47 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); 53 const DataType* find(const KeyType& pKey) const { 54 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey); 60 DataType* produce(const KeyType& pKey, bool& pExist) { argument 61 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); 68 f_KeyMap.insert(std::make_pair(pKey, data)); 73 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) { argument 74 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); 81 f_KeyMap.insert(std::make_pair(pKey, dat [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ResolveInfoFactory.h | 29 entry_type* produce(const key_type& pKey);
|
H A D | StringUnorderedMap.h | 42 void operator()(KeyType &pKey, ValueType &pValue, argument 44 ::new ((void*)&pKey) KeyStorageType(pStr);
|
H A D | Archive.h | 64 size_t operator()(uint32_t pKey) const
|
H A D | ResolveInfo.h | 204 bool compare(const key_type& pKey);
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataExtraction.c | 72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) 76 if (NULL == pKey) { 83 index, keySize, pKey); 147 SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, 152 if (NULL == pKey || NULL == pValueLangCountry || (filterMask & ~(SL_METADATA_FILTER_KEY | 159 thiz->mKey = pKey; 71 IMetadataExtraction_GetKey(SLMetadataExtractionItf self, SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) argument 146 IMetadataExtraction_AddKeyFilter(SLMetadataExtractionItf self, SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, const SLchar *pValueLangCountry, SLuint32 valueEncoding, SLuint8 filterMask) argument
|
/frameworks/compile/mclinker/lib/ADT/ |
H A D | StringEntry.cpp | 19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) argument
|
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 57 size_t operator()(const int* pKey) const 59 return (unsigned((uintptr_t)pKey) >> 4) ^ 60 (unsigned((uintptr_t)pKey) >> 9); 66 size_t operator()(int pKey) const 67 { return pKey; } 72 size_t operator()(int pKey) const 73 { return pKey % 3; } 298 size_t operator()(int pKey) const {
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.h | 92 * input pointers != NULL (pItemCount, pKeySize, pKey, pValueSize, pValue) 104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
|
H A D | AudioPlayer_to_android.cpp | 1835 // pKey != NULL 1837 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) { 1850 (char*)pKey->data)))) { 1854 pKey->encoding = SL_CHARACTERENCODING_UTF8; 1855 memcpy((char *) pKey->langCountry, "en", 3); 1856 pKey->size = strlen((char*)pKey->data) + 1; 1836 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | GNULDBackend.h | 44 size_t operator()(const LDSymbol* pKey) const 46 return (unsigned((uintptr_t)pKey) >> 4) ^ 47 (unsigned((uintptr_t)pKey) >> 9);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1325 XAMetadataInfo * pKey 1341 const void * pKey, 1362 XAMetadataInfo * pKey, 1394 XAMetadataInfo * pKey 1405 XAMetadataInfo * pKey,
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 779 SLMetadataInfo *pKey 795 const void *pKey,
|