• Home
  • Raw
  • Download

Lines Matching refs:eState

39087   u8 eState;                  /* Pager state (OPEN, READER, WRITER_LOCKED..) */
39261 assert( p->eState==PAGER_OPEN
39262 || p->eState==PAGER_READER
39263 || p->eState==PAGER_WRITER_LOCKED
39264 || p->eState==PAGER_WRITER_CACHEMOD
39265 || p->eState==PAGER_WRITER_DBMOD
39266 || p->eState==PAGER_WRITER_FINISHED
39267 || p->eState==PAGER_ERROR
39296 assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN );
39306 switch( p->eState ){
39408 , p->eState==PAGER_OPEN ? "OPEN" :
39409 p->eState==PAGER_READER ? "READER" :
39410 p->eState==PAGER_WRITER_LOCKED ? "WRITER_LOCKED" :
39411 p->eState==PAGER_WRITER_CACHEMOD ? "WRITER_CACHEMOD" :
39412 p->eState==PAGER_WRITER_DBMOD ? "WRITER_DBMOD" :
39413 p->eState==PAGER_WRITER_FINISHED ? "WRITER_FINISHED" :
39414 p->eState==PAGER_ERROR ? "ERROR" : "?error?"
39621 assert( pPager->eState!=PAGER_ERROR );
40181 assert( pPager->eState==PAGER_READER
40182 || pPager->eState==PAGER_OPEN
40183 || pPager->eState==PAGER_ERROR
40193 pPager->eState = PAGER_OPEN;
40221 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
40229 assert( pPager->errCode || pPager->eState!=PAGER_ERROR );
40231 pPager->eState = PAGER_OPEN;
40243 pPager->eState = PAGER_OPEN;
40281 pPager->eState = PAGER_ERROR;
40357 assert( pPager->eState!=PAGER_ERROR );
40358 if( pPager->eState<PAGER_WRITER_LOCKED && pPager->eLock<RESERVED_LOCK ){
40431 pPager->eState = PAGER_READER;
40455 if( pPager->eState!=PAGER_ERROR && pPager->eState!=PAGER_OPEN ){
40457 if( pPager->eState>=PAGER_WRITER_LOCKED ){
40462 assert( pPager->eState==PAGER_READER );
40580 assert( pPager->eState>=PAGER_WRITER_CACHEMOD
40581 || (pPager->eState==PAGER_OPEN && pPager->eLock==EXCLUSIVE_LOCK)
40583 assert( pPager->eState>=PAGER_WRITER_CACHEMOD || isMainJrnl );
40670 assert( pPager->eState!=PAGER_OPEN || pPg==0 );
40681 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
40927 assert( pPager->eState!=PAGER_ERROR );
40928 assert( pPager->eState!=PAGER_READER );
40931 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
41225 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
41268 assert( pPager->eState>=PAGER_READER && !MEMDB );
41488 assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER );
41524 assert( pPager->eState==PAGER_OPEN );
41579 assert( pPager->eState==PAGER_OPEN );
41651 assert( pPager->eState!=PAGER_ERROR );
41652 assert( pPager->eState>=PAGER_WRITER_LOCKED );
41964 if( pPager->eState>PAGER_OPEN && isOpen(pPager->fd) ){
42015 assert( pPager->eState!=PAGER_OPEN ); /* Called only by OP_MaxPgcnt */
42087 assert( pPager->eState>=PAGER_READER );
42088 assert( pPager->eState!=PAGER_WRITER_FINISHED );
42168 assert( pPager->eState>=PAGER_WRITER_CACHEMOD );
42319 assert( pPager->eState==PAGER_WRITER_CACHEMOD
42320 || pPager->eState==PAGER_WRITER_DBMOD
42422 pPager->eState = PAGER_WRITER_DBMOD;
42464 assert( pPager->eState==PAGER_WRITER_DBMOD );
42670 || pPager->eState==PAGER_WRITER_CACHEMOD
42946 pPager->eState = PAGER_READER;
43075 assert( pPager->eState==PAGER_OPEN );
43194 assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER );
43197 if( !pagerUseWal(pPager) && pPager->eState==PAGER_OPEN ){
43282 pPager->eState = PAGER_OPEN;
43309 assert( pPager->eState==PAGER_OPEN );
43369 if( pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
43377 assert( pPager->eState==PAGER_OPEN );
43379 pPager->eState = PAGER_READER;
43457 assert( pPager->eState>=PAGER_READER );
43566 assert( pPager->eState>=PAGER_READER && pPager->eState!=PAGER_ERROR );
43613 assert( pPager->eState==PAGER_WRITER_LOCKED );
43668 assert( pPager->eState==PAGER_WRITER_LOCKED );
43669 pPager->eState = PAGER_WRITER_CACHEMOD;
43696 assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR );
43699 if( ALWAYS(pPager->eState==PAGER_READER) ){
43742 pPager->eState = PAGER_WRITER_LOCKED;
43749 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
43750 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
43774 assert( pPager->eState==PAGER_WRITER_LOCKED
43775 || pPager->eState==PAGER_WRITER_CACHEMOD
43776 || pPager->eState==PAGER_WRITER_DBMOD
43799 if( pPager->eState==PAGER_WRITER_LOCKED ){
43803 assert( pPager->eState>=PAGER_WRITER_CACHEMOD );
43869 if( pPager->eState!=PAGER_WRITER_DBMOD ){
43917 assert( pPager->eState>=PAGER_WRITER_LOCKED );
43918 assert( pPager->eState!=PAGER_ERROR );
44061 assert( pPager->eState==PAGER_WRITER_CACHEMOD
44062 || pPager->eState==PAGER_WRITER_DBMOD
44163 assert( pPager->eState==PAGER_WRITER_CACHEMOD
44164 || pPager->eState==PAGER_WRITER_DBMOD
44165 || pPager->eState==PAGER_WRITER_LOCKED
44207 assert( pPager->eState==PAGER_WRITER_LOCKED
44208 || pPager->eState==PAGER_WRITER_CACHEMOD
44209 || pPager->eState==PAGER_WRITER_DBMOD
44210 || pPager->eState==PAGER_ERROR
44221 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
44366 assert( pPager->eState==PAGER_WRITER_DBMOD );
44381 pPager->eState = PAGER_WRITER_FINISHED;
44410 assert( pPager->eState==PAGER_WRITER_LOCKED
44411 || pPager->eState==PAGER_WRITER_FINISHED
44412 || (pagerUseWal(pPager) && pPager->eState==PAGER_WRITER_CACHEMOD)
44427 if( pPager->eState==PAGER_WRITER_LOCKED
44432 pPager->eState = PAGER_READER;
44476 if( pPager->eState==PAGER_ERROR ) return pPager->errCode;
44477 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
44484 }else if( !isOpen(pPager->jfd) || pPager->eState==PAGER_WRITER_LOCKED ){
44485 int eState = pPager->eState;
44487 if( !MEMDB && eState>PAGER_WRITER_LOCKED ){
44493 pPager->eState = PAGER_ERROR;
44500 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
44553 a[3] = pPager->eState==PAGER_OPEN ? -1 : (int) pPager->dbSize;
44554 a[4] = pPager->eState;
44611 assert( pPager->eState>=PAGER_WRITER_LOCKED );
44827 assert( pPager->eState==PAGER_WRITER_CACHEMOD
44828 || pPager->eState==PAGER_WRITER_DBMOD
45044 assert( pPager->eState!=PAGER_ERROR );
45074 int state = pPager->eState;
45079 if( pPager->eState==PAGER_READER ){
45091 assert( state==pPager->eState );
45114 if( pPager->eState>=PAGER_WRITER_CACHEMOD ) return 0;
45260 assert( pPager->eState==PAGER_OPEN || pbOpen );
45261 assert( pPager->eState==PAGER_READER || !pbOpen );
45274 pPager->eState = PAGER_OPEN;
45337 assert( pPager->eState==PAGER_READER );
48974 u8 eState; /* One of the CURSOR_XXX constants (see below) */
49868 p->eState = CURSOR_INVALID;
49961 assert( CURSOR_VALID==pCur->eState );
49996 pCur->eState = CURSOR_REQUIRESEEK;
50014 p->eState==CURSOR_VALID ){
50031 pCur->eState = CURSOR_INVALID;
50078 assert( pCur->eState>=CURSOR_REQUIRESEEK );
50079 if( pCur->eState==CURSOR_FAULT ){
50082 pCur->eState = CURSOR_INVALID;
50087 assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID );
50093 (p->eState>=CURSOR_REQUIRESEEK ? \
50113 if( pCur->eState!=CURSOR_VALID || pCur->skipNext!=0 ){
52649 if( pCur->wrFlag && pCur->eState!=CURSOR_FAULT ) r++;
52679 p->eState = CURSOR_FAULT;
52894 pCur->eState = CURSOR_INVALID;
53052 return pCur && pCur->eState==CURSOR_VALID;
53070 assert( pCur->eState==CURSOR_INVALID || pCur->eState==CURSOR_VALID );
53071 if( pCur->eState!=CURSOR_VALID ){
53094 assert( pCur->eState==CURSOR_VALID );
53251 assert( pCur->eState==CURSOR_VALID );
53416 assert( pCur->eState==CURSOR_VALID );
53435 if ( pCur->eState==CURSOR_INVALID ){
53443 assert( pCur->eState==CURSOR_VALID );
53481 assert( pCur->eState==CURSOR_VALID );
53526 if( ALWAYS(pCur->eState==CURSOR_VALID) ){
53535 if( ALWAYS(pCur->eState==CURSOR_VALID) ){
53558 assert( pCur->eState==CURSOR_VALID );
53607 assert( pCur->eState==CURSOR_VALID );
53662 if( pCur->eState>=CURSOR_REQUIRESEEK ){
53663 if( pCur->eState==CURSOR_FAULT ){
53677 pCur->eState = CURSOR_INVALID;
53682 pCur->eState = CURSOR_INVALID;
53716 pCur->eState = CURSOR_VALID;
53719 pCur->eState = ((pRoot->nCell>0)?CURSOR_VALID:CURSOR_INVALID);
53737 assert( pCur->eState==CURSOR_VALID );
53762 assert( pCur->eState==CURSOR_VALID );
53787 if( pCur->eState==CURSOR_INVALID ){
53810 if( CURSOR_VALID==pCur->eState && pCur->atLast ){
53826 if( CURSOR_INVALID==pCur->eState ){
53830 assert( pCur->eState==CURSOR_VALID );
53883 if( pCur->eState==CURSOR_VALID && pCur->validNKey
53902 assert( pCur->eState==CURSOR_INVALID || pCur->apPage[pCur->iPage]->nCell>0 );
53903 if( pCur->eState==CURSOR_INVALID ){
54060 return (CURSOR_VALID!=pCur->eState);
54080 if( CURSOR_INVALID==pCur->eState ){
54115 pCur->eState = CURSOR_INVALID;
54154 if( CURSOR_INVALID==pCur->eState ){
54177 pCur->eState = CURSOR_INVALID;
56167 if( pCur->eState==CURSOR_FAULT ){
56208 assert( pCur->eState==CURSOR_VALID || (pCur->eState==CURSOR_INVALID && loc) );
56280 pCur->eState = CURSOR_INVALID;
56309 || NEVER(pCur->eState!=CURSOR_VALID)
57585 assert( pCsr->eState!=CURSOR_REQUIRESEEK );
57586 if( pCsr->eState!=CURSOR_VALID ){
114363 int eState; /* Parser state when parsing URI */
114401 eState = 0;
114418 && (eState!=0 || c!='?')
114419 && (eState!=1 || (c!='=' && c!='&'))
114420 && (eState!=2 || c!='&')
114427 }else if( eState==1 && (c=='&' || c=='=') ){
114436 eState = 2;
114439 }else if( (eState==0 && c=='?') || (eState==2 && c=='&') ){
114441 eState = 1;
114445 if( eState==1 ) zFile[iOut++] = '\0';
122115 int eState = 0;
122134 switch( eState ){
122138 eState = 1;
122155 eState = 2;
122160 eState = 0;
122162 eState = 3;
122170 default: assert( eState==3 );
122174 eState = 2;