Searched defs:createFlag (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dpcache.c207 int createFlag, /* If true, create page if it does not exist already */
214 assert( createFlag==1 || createFlag==0 );
220 if( !pCache->pCache && createFlag ){
232 eCreate = createFlag * (1 + (!pCache->bPurgeable || !pCache->pDirty));
204 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
H A Dpcache1.c634 ** the value of the createFlag argument. 0 means do not allocate a new
639 ** database) there is really no difference between createFlag 1 and 2. So
640 ** the calling function (pcache.c) will never have a createFlag of 1 on
644 ** depending on the value of parameter createFlag (which may be 0, 1 or 2).
646 ** 1. Regardless of the value of createFlag, the cache is searched for a
649 ** 2. If createFlag==0 and the page is not already in the cache, NULL is
652 ** 3. If createFlag is 1, and the page is not already in the cache, then
682 static void *pcache1Fetch(sqlite3_pcache *p, unsigned int iKey, int createFlag){ argument
688 assert( pCache->bPurgeable || createFlag!=1 );
700 /* Step 2: Abort if no existing page is found and createFlag i
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c6341 ** cache implementation should use the value of the createFlag
6345 ** <tr><th> createFlag <th> Behaviour when page is not already in cache
6353 ** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
6354 ** will only use a createFlag of 2 after a prior call with a createFlag of 1
6397 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
8565 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
34529 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
35596 pcache1Fetch(sqlite3_pcache *p, unsigned int iKey, int createFlag) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c6736 ** cache implementation should use the value of the createFlag
6740 ** <tr><th> createFlag <th> Behavior when page is not already in cache
6748 ** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
6749 ** will only use a createFlag of 2 after a prior call with a createFlag of 1
6802 sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
6824 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
9885 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
38148 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c6736 ** cache implementation should use the value of the createFlag
6740 ** <tr><th> createFlag <th> Behavior when page is not already in cache
6748 ** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
6749 ** will only use a createFlag of 2 after a prior call with a createFlag of 1
6802 sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
6824 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
9885 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
38168 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
[all...]

Completed in 459 milliseconds