Searched refs:pEntry (Results 1 – 5 of 5) sorted by relevance
/dalvik/vm/ |
D | Hash.c | 178 HashEntry* pEntry; in dvmHashTableLookup() local 187 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; in dvmHashTableLookup() 189 while (pEntry->data != NULL) { in dvmHashTableLookup() 190 if (pEntry->data != HASH_TOMBSTONE && in dvmHashTableLookup() 191 pEntry->hashValue == itemHash && in dvmHashTableLookup() 192 (*cmpFunc)(pEntry->data, item) == 0) in dvmHashTableLookup() 199 pEntry++; in dvmHashTableLookup() 200 if (pEntry == pEnd) { /* wrap around to start */ in dvmHashTableLookup() 203 pEntry = pHashTable->pEntries; in dvmHashTableLookup() 209 if (pEntry->data == NULL) { in dvmHashTableLookup() [all …]
|
D | AtomicCache.h | 97 AtomicCacheEntry* pEntry; \ 104 pEntry = (_cache)->entries + hash; \ 107 firstVersion = pEntry->version; \ 109 if (pEntry->key1 == (u4)(_key1) && pEntry->key2 == (u4)(_key2)) { \ 116 value = pEntry->value; /* must grab before next check */ \ 118 if ((firstVersion & 0x01) != 0 || firstVersion != pEntry->version) \ 141 dvmUpdateAtomicCache((u4) (_key1), (u4) (_key2), value, pEntry, \ 163 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry,
|
D | AtomicCache.c | 86 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry, in dvmUpdateAtomicCache() argument 108 !ATOMIC_CMP_SWAP((volatile s4*) &pEntry->version, in dvmUpdateAtomicCache() 125 if (pEntry->key1 == 0) in dvmUpdateAtomicCache() 132 pEntry->version++; in dvmUpdateAtomicCache() 135 pEntry->key1 = key1; in dvmUpdateAtomicCache() 136 pEntry->key2 = key2; in dvmUpdateAtomicCache() 137 pEntry->value = value; in dvmUpdateAtomicCache() 140 pEntry->version++; in dvmUpdateAtomicCache() 148 if (!ATOMIC_CMP_SWAP((volatile s4*) &pEntry->version, in dvmUpdateAtomicCache()
|
D | Native.c | 391 static bool checkOnLoadResult(SharedLib* pEntry) in checkOnLoadResult() argument 394 if (pEntry->onLoadThreadId == self->threadId) { in checkOnLoadResult() 400 self->threadId, pEntry->pathName); in checkOnLoadResult() 404 LOGV("+++ retrieving %s OnLoad status\n", pEntry->pathName); in checkOnLoadResult() 407 dvmLockMutex(&pEntry->onLoadLock); in checkOnLoadResult() 408 while (pEntry->onLoadResult == kOnLoadPending) { in checkOnLoadResult() 410 self->threadId, pEntry->pathName); in checkOnLoadResult() 412 pthread_cond_wait(&pEntry->onLoadCond, &pEntry->onLoadLock); in checkOnLoadResult() 415 if (pEntry->onLoadResult == kOnLoadOkay) { in checkOnLoadResult() 416 LOGV("+++ earlier OnLoad(%s) okay\n", pEntry->pathName); in checkOnLoadResult() [all …]
|
/dalvik/vm/jdwp/ |
D | JdwpSocket.c | 392 struct hostent* pEntry; in establishConnection() local 409 &pEntry, &h_errno); in establishConnection() 418 pEntry = gethostbyname(state->params.host); in establishConnection() 419 if (pEntry == NULL) { in establishConnection() 427 memcpy(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); in establishConnection() 428 addr.addrInet.sin_family = pEntry->h_addrtype; in establishConnection()
|