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

/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringHash.h30 uint32_t operator()(const llvm::StringRef pKey) const {
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[
[all...]
H A DHashEntryFactory.h25 entry_type* produce(const key_type& pKey) { argument
26 return HashEntryTy::Create(pKey);
H A DHashTable.h71 entry_type* insert(const key_type& pKey, bool& pExist);
74 size_type erase(const key_type& pKey);
77 /// find - finds an element with key pKey
79 iterator find(const key_type& pKey);
81 /// find - finds an element with key pKey, constant version
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) cons
[all...]
H A DHashEntry.h44 explicit HashEntry(const KeyType& pKey);
58 bool compare(const key_type& pKey);
76 HashEntryTy* produce(const key_type& pKey);
H A DHashBase.h100 unsigned int lookUpBucketFor(const key_type& pKey);
102 /// findKey - finds an element with key pKey
104 int findKey(const key_type& pKey) const;
H A DStringEntry.h53 explicit StringEntry(const key_type& pKey);
96 explicit StringEntry(const key_type& pKey);
119 StringEntry<DataType>* produce(const key_type& pKey);
H A DHashIterator.h31 ChainIteratorBase(HashTableImplTy* pTable, const key_type& pKey) argument
33 m_HashValue = pTable->hash()(pKey);
41 if (bucket.Entry->compare(pKey)) {
271 const typename IteratorBase::key_type& pKey,
273 : IteratorBase(pTable, pKey) {}
270 HashIterator(typename IteratorBase::hash_table* pTable, const typename IteratorBase::key_type& pKey, int) argument
/frameworks/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h40 DataType* find(const KeyType& pKey) { argument
41 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
47 const DataType* find(const KeyType& pKey) const {
48 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey);
54 DataType* produce(const KeyType& pKey, bool& pExist) { argument
55 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
62 f_KeyMap.insert(std::make_pair(pKey, data));
67 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) { argument
68 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
75 f_KeyMap.insert(std::make_pair(pKey, dat
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DKeyEntryMap.h55 /// lookUp - look up the entry mapping to pKey
56 const EntryType* lookUp(const KeyType& pKey) const;
57 EntryType* lookUp(const KeyType& pKey);
59 /// lookUpFirstEntry - look up the first entry mapping to pKey
60 const EntryType* lookUpFirstEntry(const KeyType& pKey) const;
61 EntryType* lookUpFirstEntry(const KeyType& pKey);
63 /// lookUpSecondEntry - look up the second entry mapping to pKey
64 const EntryType* lookUpSecondEntry(const KeyType& pKey) const;
65 EntryType* lookUpSecondEntry(const KeyType& pKey);
67 void record(const KeyType& pKey, EntryTyp
101 lookUp(const KeyType& pKey) argument
126 lookUpFirstEntry( const KeyType& pKey) argument
152 lookUpSecondEntry( const KeyType& pKey) argument
165 record(const KeyType& pKey, EntryType& pEntry) argument
174 record(const KeyType& pKey, EntryType& pEntry1, EntryType& pEntry2) argument
[all...]
H A DGNULDBackend.h502 size_t operator()(const LDSymbol* pKey) const {
503 return (unsigned((uintptr_t)pKey) >> 4) ^
504 (unsigned((uintptr_t)pKey) >> 9);
/frameworks/compile/mclinker/include/mcld/LD/
H A DSectionSymbolSet.h56 size_t operator()(const LDSection* pKey) const {
57 return (unsigned((uintptr_t)pKey) >> 4) ^
58 (unsigned((uintptr_t)pKey) >> 9);
H A DArchive.h58 size_t operator()(uint32_t pKey) const {
59 pKey ^= pKey >> 16;
60 pKey *= 0x85ebca6b;
61 pKey ^= pKey >> 13;
62 pKey *= 0xc2b2ae35;
63 pKey ^= pKey >> 16;
64 return pKey;
[all...]
H A DResolveInfo.h79 static ResolveInfo* Create(const key_type& pKey);
192 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/LD/
H A DResolveInfo.cpp213 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) { argument
215 if (length != pKey.size())
217 return (std::memcmp(m_Name, pKey.data(), length) == 0);
236 ResolveInfo* ResolveInfo::Create(const ResolveInfo::key_type& pKey) { argument
238 static_cast<ResolveInfo*>(malloc(sizeof(ResolveInfo) + pKey.size() + 1));
243 std::memcpy(info->m_Name, pKey.data(), pKey.size());
244 info->m_Name[pKey.size()] = '\0';
246 info->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET);
/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.cpp47 size_t operator()(const int* pKey) const {
48 return (unsigned((uintptr_t)pKey) >> 4) ^ (unsigned((uintptr_t)pKey) >> 9);
53 size_t operator()(int pKey) const { return pKey; }
57 size_t operator()(int pKey) const { return pKey % 3; }
283 size_t operator()(int pKey) const { return 10; }
/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.cpp1899 // pKey != NULL
1901 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) {
1914 (char*)pKey->data)))) {
1918 pKey->encoding = SL_CHARACTERENCODING_UTF8;
1919 memcpy((char *) pKey->langCountry, "en", 3);
1920 pKey->size = strlen((char*)pKey->data) + 1;
1900 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp629 char *pKey = new char[strlen(key)+1]; local
630 strcpy(pKey, key);
631 pragmaKeys[i] = pKey;
636 //ALOGE("Pragma %zu: Key: '%s' Value: '%s'", i, pKey, pValue);
/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 272 milliseconds