• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:createFlag

5777 ** createFlag parameter passed to xFetch, according to the following table:
5780 ** <tr><th> createFlag <th> Behaviour when page is not already in cache
5788 ** SQLite will normally invoke xFetch() with a createFlag of 0 or 1. If
5789 ** a call to xFetch() with createFlag==1 returns NULL, then SQLite will
5793 ** a createFlag of 2.
5833 void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag);
7721 SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
29642 int createFlag, /* If true, create page if it does not exist already */
29649 assert( createFlag==1 || createFlag==0 );
29655 if( !pCache->pCache && createFlag ){
29667 eCreate = createFlag * (1 + (!pCache->bPurgeable || !pCache->pDirty));
30494 ** the value of the createFlag argument. 0 means do not allocate a new
30499 ** database) there is really no difference between createFlag 1 and 2. So
30500 ** the calling function (pcache.c) will never have a createFlag of 1 on
30504 ** depending on the value of parameter createFlag (which may be 0, 1 or 2).
30506 ** 1. Regardless of the value of createFlag, the cache is searched for a
30509 ** 2. If createFlag==0 and the page is not already in the cache, NULL is
30512 ** 3. If createFlag is 1, and the page is not already in the cache,
30537 static void *pcache1Fetch(sqlite3_pcache *p, unsigned int iKey, int createFlag){
30542 assert( pCache->bPurgeable || createFlag!=1 );
30544 if( createFlag==1 ) sqlite3BeginBenignMalloc();
30552 if( pPage || createFlag==0 ){
30559 if( createFlag==1 && (
30608 if( createFlag==1 ) sqlite3EndBenignMalloc();
32262 /* It is not possible for a call to PcacheFetch() with createFlag==0 to
70228 ** If the createFlag argument is true, then a new (blank) FuncDef
70230 ** no matching function previously existed. When createFlag is true
70234 ** If createFlag is false and nArg is -1, then the first valid
70238 ** If createFlag is false, then a function with the required name and
70248 int createFlag /* Create new entry if true and does not otherwise exist */
70273 ** Except, if createFlag is true, that means that we are trying to
70279 if( !createFlag && !pBest ){
70292 /* If the createFlag parameter is true and the search did not reveal an
70296 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
70306 if( pBest && (pBest->xStep || pBest->xFunc || createFlag) ){