Home
last modified time | relevance | path

Searched refs:pCache (Results 1 – 5 of 5) sorted by relevance

/dalvik/vm/
DAtomicCache.cpp89 , 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 …]
DAtomicCache.h164 , AtomicCache* pCache
171 void dvmDumpAtomicCacheStats(const AtomicCache* pCache);
/dalvik/libdex/
DDexProto.cpp36 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 = (char*) malloc(length); in dexStringCacheAlloc()
49 pCache->allocatedSize = length; in dexStringCacheAlloc()
57 void dexStringCacheInit(DexStringCache* pCache) { in dexStringCacheInit() argument
[all …]
DDexProto.h43 void dexStringCacheAlloc(DexStringCache* pCache, size_t length);
49 void dexStringCacheInit(DexStringCache* pCache);
55 void dexStringCacheRelease(DexStringCache* pCache);
64 char* dexStringCacheEnsureCopy(DexStringCache* pCache, const char* value);
73 char* dexStringCacheAbandon(DexStringCache* pCache, const char* value);
104 DexStringCache* pCache);
118 DexStringCache* pCache);
124 const DexMethodId* pMethodId, DexStringCache* pCache) in dexGetDescriptorFromMethodId() argument
129 return dexProtoGetMethodDescriptor(&proto, pCache); in dexGetDescriptorFromMethodId()
/dalvik/vm/oo/
DClass.h193 DexStringCache *pCache) in dvmCopyDescriptorStringFromMethod() argument
196 dexProtoGetMethodDescriptor(&method->prototype, pCache); in dvmCopyDescriptorStringFromMethod()
197 return dexStringCacheEnsureCopy(pCache, result); in dvmCopyDescriptorStringFromMethod()