HomeSort by relevance Sort by last modified time
    Searched refs:pCache (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
pcache.c 19 struct PCache {
29 sqlite3_pcache *pCache; /* Pluggable cache module */
49 ** Check that the pCache->pSynced variable is set correctly. If it
53 ** expensive_assert( pcacheCheckSynced(pCache) );
55 static int pcacheCheckSynced(PCache *pCache){
57 for(p=pCache->pDirtyTail; p!=pCache->pSynced; p=p->pDirtyPrev){
68 PCache *p = pPage->pCache;
    [all...]
pcache1.c 27 /* Each page cache (or PCache) belongs to a PGroup. A PGroup is a set
34 ** (1) Every PCache is the sole member of its own PGroup. There is
35 ** one PGroup per PCache.
40 ** Mode 1 uses more memory (since PCache instances are not able to rob
92 ** structure. A buffer of PgHdr1.pCache->szPage bytes is allocated
99 PCache1 *pCache; /* Cache that currently owns this page */
125 int nSlot; /* The number of pcache slots */
130 int nFreeSlot; /* Number of unused pcache slots */
156 ** assert( PGHDR1_TO_PAGE(PAGE_TO_PGHDR1(pCache, X))==X );
158 #define PGHDR1_TO_PAGE(p) (void*)(((char*)p) - p->pCache->szPage
    [all...]
test_pcache.c 18 ** default pcache. This alternative pager cache will throw
81 ** If testing with in-memory temp tables, provide a larger pcache.
161 static void testpcacheCachesize(sqlite3_pcache *pCache, int newSize){
162 testpcache *p = (testpcache*)pCache;
173 static int testpcachePagecount(sqlite3_pcache *pCache){
174 testpcache *p = (testpcache*)pCache;
185 sqlite3_pcache *pCache,
189 testpcache *p = (testpcache*)pCache;
282 sqlite3_pcache *pCache,
286 testpcache *p = (testpcache*)pCache;
    [all...]
pcache.h 19 typedef struct PCache PCache;
37 ** Elements above are public. All that follows is private to pcache.c
41 PCache *pCache; /* Cache that owns this page */
74 PCache *pToInit /* Preallocated space for the PCache */
78 void sqlite3PcacheSetPageSize(PCache *, int);
80 /* Return the size in bytes of a PCache object. Used to preallocate
88 int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**)
    [all...]
  /dalvik/libdex/
DexProto.cpp 36 void dexStringCacheAlloc(DexStringCache* pCache, size_t length) {
37 if (pCache->allocatedSize != 0) {
38 if (pCache->allocatedSize >= length) {
41 free((void*) pCache->value);
44 if (length <= sizeof(pCache->buffer)) {
45 pCache->value = pCache->buffer;
46 pCache->allocatedSize = 0;
48 pCache->value = (char*) malloc(length);
49 pCache->allocatedSize = length
    [all...]
DexProto.h 43 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)
129 return dexProtoGetMethodDescriptor(&proto, pCache);
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c 10773 sqlite3_pcache_methods pcache; \/* Low-level page-cache interface *\/ member in struct:Sqlite3Config
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
threadtest3.c 412 Statement *pCache; /* Linked list of cached statements */
533 for(pIter=pDb->pCache; pIter; pIter=pNext){
567 for(pRet=pDb->pCache; pRet; pRet=pRet->pNext){
581 pRet->pNext = pDb->pCache;
582 pDb->pCache = pRet;
    [all...]

Completed in 796 milliseconds