Searched refs:pCache (Results 1 – 5 of 5) sorted by relevance
/dalvik/vm/ |
D | AtomicCache.c | 89 , AtomicCache* pCache in dvmUpdateAtomicCache() argument 117 pCache->fail++; in dvmUpdateAtomicCache() 128 pCache->fills++; in dvmUpdateAtomicCache() 130 pCache->misses++; in dvmUpdateAtomicCache() 168 void dvmDumpAtomicCacheStats(const AtomicCache* pCache) in dvmDumpAtomicCacheStats() argument 170 if (pCache == NULL) in dvmDumpAtomicCacheStats() 174 pCache->trivial, pCache->fail, pCache->hits, in dvmDumpAtomicCacheStats() 175 pCache->misses, pCache->fills, in dvmDumpAtomicCacheStats() 176 (pCache->hits == 0) ? 0 : in dvmDumpAtomicCacheStats() 177 pCache->hits * 100 / in dvmDumpAtomicCacheStats() [all …]
|
D | AtomicCache.h | 164 , AtomicCache* pCache 171 void dvmDumpAtomicCacheStats(const AtomicCache* pCache);
|
/dalvik/libdex/ |
D | DexProto.c | 36 static void dexStringCacheAlloc(DexStringCache* pCache, size_t length) { in dexStringCacheAlloc() argument 37 if (pCache->allocatedSize != 0) { in dexStringCacheAlloc() 38 if (pCache->allocatedSize >= length) { in dexStringCacheAlloc() 41 free((void*) pCache->value); in dexStringCacheAlloc() 44 if (length <= sizeof(pCache->buffer)) { in dexStringCacheAlloc() 45 pCache->value = pCache->buffer; in dexStringCacheAlloc() 46 pCache->allocatedSize = 0; in dexStringCacheAlloc() 48 pCache->value = malloc(length); in dexStringCacheAlloc() 49 pCache->allocatedSize = length; in dexStringCacheAlloc() 57 void dexStringCacheInit(DexStringCache* pCache) { in dexStringCacheInit() argument [all …]
|
D | DexProto.h | 43 void dexStringCacheInit(DexStringCache* pCache); 49 void dexStringCacheRelease(DexStringCache* pCache); 58 char* dexStringCacheEnsureCopy(DexStringCache* pCache, const char* value); 67 char* dexStringCacheAbandon(DexStringCache* pCache, const char* value); 98 DexStringCache* pCache); 112 DexStringCache* pCache); 118 const DexMethodId* pMethodId, DexStringCache* pCache) in dexGetDescriptorFromMethodId() argument 123 return dexProtoGetMethodDescriptor(&proto, pCache); in dexGetDescriptorFromMethodId()
|
/dalvik/vm/oo/ |
D | Class.h | 190 DexStringCache *pCache) in dvmCopyDescriptorStringFromMethod() argument 193 dexProtoGetMethodDescriptor(&method->prototype, pCache); in dvmCopyDescriptorStringFromMethod() 194 return dexStringCacheEnsureCopy(pCache, result); in dvmCopyDescriptorStringFromMethod()
|