Lines Matching refs:sqlite3_pcache
6881 ** The sqlite3_pcache type is opaque. It is implemented by
6884 ** sqlite3_pcache object except by holding and passing pointers
6889 typedef struct sqlite3_pcache sqlite3_pcache;
7056 ** calling the xDestroy() method, SQLite considers the [sqlite3_pcache*]
7072 sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable);
7073 void (*xCachesize)(sqlite3_pcache*, int nCachesize);
7074 int (*xPagecount)(sqlite3_pcache*);
7075 sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
7076 void (*xUnpin)(sqlite3_pcache*, sqlite3_pcache_page*, int discard);
7077 void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*,
7079 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
7080 void (*xDestroy)(sqlite3_pcache*);
7081 void (*xShrink)(sqlite3_pcache*);
7094 sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable);
7095 void (*xCachesize)(sqlite3_pcache*, int nCachesize);
7096 int (*xPagecount)(sqlite3_pcache*);
7097 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
7098 void (*xUnpin)(sqlite3_pcache*, void*, int discard);
7099 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
7100 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
7101 void (*xDestroy)(sqlite3_pcache*);
36068 sqlite3_pcache *pCache; /* Pluggable cache module */
36268 /* If the pluggable cache (sqlite3_pcache*) has not been allocated,
36272 sqlite3_pcache *p;
36675 ** sqlite3_pcache interface). It also contains part of the implementation
36724 ** opaque sqlite3_pcache* handles.
37185 /******** sqlite3_pcache Methods **********************************************/
37188 ** Implementation of the sqlite3_pcache.xInit method.
37204 ** Implementation of the sqlite3_pcache.xShutdown method.
37215 ** Implementation of the sqlite3_pcache.xCreate method.
37219 static sqlite3_pcache *pcache1Create(int szPage, int szExtra, int bPurgeable){
37266 return (sqlite3_pcache *)pCache;
37270 ** Implementation of the sqlite3_pcache.xCachesize method.
37274 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
37289 ** Implementation of the sqlite3_pcache.xShrink method.
37293 static void pcache1Shrink(sqlite3_pcache *p){
37308 ** Implementation of the sqlite3_pcache.xPagecount method.
37310 static int pcache1Pagecount(sqlite3_pcache *p){
37320 ** Implementation of the sqlite3_pcache.xFetch method.
37374 sqlite3_pcache *p,
37487 ** Implementation of the sqlite3_pcache.xUnpin method.
37492 sqlite3_pcache *p,
37529 ** Implementation of the sqlite3_pcache.xRekey method.
37532 sqlite3_pcache *p,
37565 ** Implementation of the sqlite3_pcache.xTruncate method.
37571 static void pcache1Truncate(sqlite3_pcache *p, unsigned int iLimit){
37582 ** Implementation of the sqlite3_pcache.xDestroy method.
37586 static void pcache1Destroy(sqlite3_pcache *p){