Searched refs:pKey (Results 1 - 21 of 21) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
H A DResolveInfoFactory.cpp18 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 DResolveInfo.cpp221 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 DStringHash.h43 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 DHashTable.h77 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 DHashEntry.h48 HashEntry(const KeyType& pKey);
67 bool compare(const key_type& pKey);
86 HashEntryTy* produce(const key_type& pKey);
H A DHashBase.h108 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 DStringEntry.h65 StringEntry(const key_type& pKey);
119 StringEntry(const key_type& pKey);
143 StringEntry<DataType>* produce(const key_type& pKey);
H A DHashIterator.h36 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 DUniqueGCFactory.h46 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 DResolveInfoFactory.h29 entry_type* produce(const key_type& pKey);
H A DStringUnorderedMap.h42 void operator()(KeyType &pKey, ValueType &pValue, argument
44 ::new ((void*)&pKey) KeyStorageType(pStr);
H A DArchive.h64 size_t operator()(uint32_t pKey) const
H A DResolveInfo.h204 bool compare(const key_type& pKey);
/frameworks/wilhelm/src/itf/
H A DIMetadataExtraction.c72 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 DStringEntry.cpp19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) argument
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp57 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 DAudioPlayer_to_android.h92 * input pointers != NULL (pItemCount, pKeySize, pKey, pValueSize, pValue)
104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
H A DAudioPlayer_to_android.cpp1835 // 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 DGNULDBackend.h44 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 DOpenMAXAL.h1325 XAMetadataInfo * pKey
1341 const void * pKey,
1362 XAMetadataInfo * pKey,
1394 XAMetadataInfo * pKey
1405 XAMetadataInfo * pKey,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h779 SLMetadataInfo *pKey
795 const void *pKey,

Completed in 2095 milliseconds