• Home
  • Raw
  • Download

Lines Matching refs:eState

43651   u8 eState;                  /* Pager state (OPEN, READER, WRITER_LOCKED..) */
43850 assert( p->eState==PAGER_OPEN
43851 || p->eState==PAGER_READER
43852 || p->eState==PAGER_WRITER_LOCKED
43853 || p->eState==PAGER_WRITER_CACHEMOD
43854 || p->eState==PAGER_WRITER_DBMOD
43855 || p->eState==PAGER_WRITER_FINISHED
43856 || p->eState==PAGER_ERROR
43885 assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN );
43895 switch( p->eState ){
43997 , p->eState==PAGER_OPEN ? "OPEN" :
43998 p->eState==PAGER_READER ? "READER" :
43999 p->eState==PAGER_WRITER_LOCKED ? "WRITER_LOCKED" :
44000 p->eState==PAGER_WRITER_CACHEMOD ? "WRITER_CACHEMOD" :
44001 p->eState==PAGER_WRITER_DBMOD ? "WRITER_DBMOD" :
44002 p->eState==PAGER_WRITER_FINISHED ? "WRITER_FINISHED" :
44003 p->eState==PAGER_ERROR ? "ERROR" : "?error?"
44213 assert( pPager->eState!=PAGER_ERROR );
44706 assert( pPager->eState>PAGER_OPEN );
44768 assert( pPager->eState==PAGER_READER
44769 || pPager->eState==PAGER_OPEN
44770 || pPager->eState==PAGER_ERROR
44780 pPager->eState = PAGER_OPEN;
44808 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
44816 assert( pPager->errCode || pPager->eState!=PAGER_ERROR );
44818 pPager->eState = PAGER_OPEN;
44830 pPager->eState = PAGER_OPEN;
44869 pPager->eState = PAGER_ERROR;
44947 assert( pPager->eState!=PAGER_ERROR );
44948 if( pPager->eState<PAGER_WRITER_LOCKED && pPager->eLock<RESERVED_LOCK ){
45045 pPager->eState = PAGER_READER;
45069 if( pPager->eState!=PAGER_ERROR && pPager->eState!=PAGER_OPEN ){
45071 if( pPager->eState>=PAGER_WRITER_LOCKED ){
45076 assert( pPager->eState==PAGER_READER );
45208 assert( pPager->eState>=PAGER_WRITER_CACHEMOD
45209 || (pPager->eState==PAGER_OPEN && pPager->eLock==EXCLUSIVE_LOCK)
45211 assert( pPager->eState>=PAGER_WRITER_CACHEMOD || isMainJrnl );
45298 assert( pPager->eState!=PAGER_OPEN || pPg==0 );
45309 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
45555 assert( pPager->eState!=PAGER_ERROR );
45556 assert( pPager->eState!=PAGER_READER );
45559 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
45864 && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN)
45910 assert( pPager->eState>=PAGER_READER && !MEMDB );
46136 assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER );
46173 assert( pPager->eState==PAGER_OPEN );
46227 assert( pPager->eState==PAGER_OPEN );
46300 assert( pPager->eState!=PAGER_ERROR );
46301 assert( pPager->eState>=PAGER_WRITER_LOCKED );
46650 if( pPager->eState>PAGER_OPEN && isOpen(pPager->fd) ){
46706 assert( pPager->eState!=PAGER_OPEN ); /* Called only by OP_MaxPgcnt */
46778 assert( pPager->eState>=PAGER_READER );
46779 assert( pPager->eState!=PAGER_WRITER_FINISHED );
46864 assert( pPager->eState>=PAGER_WRITER_CACHEMOD );
47100 assert( pPager->eState==PAGER_WRITER_CACHEMOD
47101 || pPager->eState==PAGER_WRITER_DBMOD
47203 pPager->eState = PAGER_WRITER_DBMOD;
47245 assert( pPager->eState==PAGER_WRITER_DBMOD );
47463 || pPager->eState==PAGER_WRITER_CACHEMOD
47722 pPager->eState = PAGER_READER; /* Pretend we already have a lock */
47875 assert( pPager->eState==PAGER_OPEN );
47996 assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER );
47999 if( !pagerUseWal(pPager) && pPager->eState==PAGER_OPEN ){
48089 pPager->eState = PAGER_OPEN;
48116 assert( pPager->eState==PAGER_OPEN );
48184 if( pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
48192 assert( pPager->eState==PAGER_OPEN );
48194 pPager->eState = PAGER_READER;
48280 && (pPager->eState==PAGER_READER || (flags & PAGER_GET_READONLY))
48293 assert( pPager->eState>=PAGER_READER );
48317 if( pPager->eState>PAGER_READER ){
48506 assert( pPager->eState==PAGER_WRITER_LOCKED );
48567 assert( pPager->eState==PAGER_WRITER_LOCKED );
48568 pPager->eState = PAGER_WRITER_CACHEMOD;
48595 assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR );
48598 if( ALWAYS(pPager->eState==PAGER_READER) ){
48641 pPager->eState = PAGER_WRITER_LOCKED;
48648 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
48649 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
48725 assert( pPager->eState==PAGER_WRITER_LOCKED
48726 || pPager->eState==PAGER_WRITER_CACHEMOD
48727 || pPager->eState==PAGER_WRITER_DBMOD
48743 if( pPager->eState==PAGER_WRITER_LOCKED ){
48747 assert( pPager->eState>=PAGER_WRITER_CACHEMOD );
48768 if( pPager->eState!=PAGER_WRITER_DBMOD ){
48906 assert( pPager->eState>=PAGER_WRITER_LOCKED );
48907 assert( pPager->eState!=PAGER_ERROR );
48980 assert( pPager->eState==PAGER_WRITER_CACHEMOD
48981 || pPager->eState==PAGER_WRITER_DBMOD
49088 assert( pPager->eState==PAGER_WRITER_CACHEMOD
49089 || pPager->eState==PAGER_WRITER_DBMOD
49090 || pPager->eState==PAGER_WRITER_LOCKED
49132 assert( pPager->eState==PAGER_WRITER_LOCKED
49133 || pPager->eState==PAGER_WRITER_CACHEMOD
49134 || pPager->eState==PAGER_WRITER_DBMOD
49135 || pPager->eState==PAGER_ERROR
49146 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
49262 assert( pPager->eState==PAGER_WRITER_DBMOD );
49277 pPager->eState = PAGER_WRITER_FINISHED;
49306 assert( pPager->eState==PAGER_WRITER_LOCKED
49307 || pPager->eState==PAGER_WRITER_FINISHED
49308 || (pagerUseWal(pPager) && pPager->eState==PAGER_WRITER_CACHEMOD)
49323 if( pPager->eState==PAGER_WRITER_LOCKED
49328 pPager->eState = PAGER_READER;
49373 if( pPager->eState==PAGER_ERROR ) return pPager->errCode;
49374 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
49381 }else if( !isOpen(pPager->jfd) || pPager->eState==PAGER_WRITER_LOCKED ){
49382 int eState = pPager->eState;
49384 if( !MEMDB && eState>PAGER_WRITER_LOCKED ){
49390 pPager->eState = PAGER_ERROR;
49397 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
49454 a[3] = pPager->eState==PAGER_OPEN ? -1 : (int) pPager->dbSize;
49455 a[4] = pPager->eState;
49513 assert( pPager->eState>=PAGER_WRITER_LOCKED );
49553 assert( pPager->eState>=PAGER_WRITER_LOCKED );
49725 return pPager->eState;
49762 assert( pPager->eState==PAGER_WRITER_CACHEMOD
49763 || pPager->eState==PAGER_WRITER_DBMOD
49991 assert( pPager->eState!=PAGER_ERROR );
50021 int state = pPager->eState;
50026 if( pPager->eState==PAGER_READER ){
50038 assert( state==pPager->eState );
50063 if( pPager->eState>=PAGER_WRITER_CACHEMOD ) return 0;
50211 assert( pPager->eState==PAGER_OPEN || pbOpen );
50212 assert( pPager->eState==PAGER_READER || !pbOpen );
50225 pPager->eState = PAGER_OPEN;
50291 assert( pPager->eState>=PAGER_READER );
54024 u8 eState; /* One of the CURSOR_XXX constants (see below) */
55003 p->eState = CURSOR_INVALID;
55112 assert( CURSOR_VALID==pCur->eState );
55151 assert( CURSOR_VALID==pCur->eState || CURSOR_SKIPNEXT==pCur->eState );
55155 if( pCur->eState==CURSOR_SKIPNEXT ){
55156 pCur->eState = CURSOR_VALID;
55164 pCur->eState = CURSOR_REQUIRESEEK;
55219 if( p->eState==CURSOR_VALID || p->eState==CURSOR_SKIPNEXT ){
55241 pCur->eState = CURSOR_INVALID;
55293 assert( pCur->eState>=CURSOR_REQUIRESEEK );
55294 if( pCur->eState==CURSOR_FAULT ){
55297 pCur->eState = CURSOR_INVALID;
55302 assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID );
55304 if( pCur->skipNext && pCur->eState==CURSOR_VALID ){
55305 pCur->eState = CURSOR_SKIPNEXT;
55312 (p->eState>=CURSOR_REQUIRESEEK ? \
55329 return pCur->eState!=CURSOR_VALID;
55349 assert( pCur->eState!=CURSOR_VALID );
55355 if( pCur->eState!=CURSOR_VALID ){
57480 && pCur->eState!=CURSOR_FAULT ) r++;
58360 if( p->eState==CURSOR_VALID || p->eState==CURSOR_SKIPNEXT ){
58369 p->eState = CURSOR_FAULT;
58605 pCur->eState = CURSOR_INVALID;
58721 return pCur && pCur->eState==CURSOR_VALID;
58739 assert( pCur->eState==CURSOR_VALID );
58759 assert( pCur->eState==CURSOR_VALID );
58924 assert( pCur->eState==CURSOR_VALID );
59112 assert( pCur->eState==CURSOR_VALID );
59131 if ( pCur->eState==CURSOR_INVALID ){
59139 assert( pCur->eState==CURSOR_VALID );
59172 assert( pCur->eState==CURSOR_VALID );
59221 assert( pCur->eState==CURSOR_VALID );
59267 assert( pCur->eState==CURSOR_VALID );
59310 if( pCur->eState>=CURSOR_REQUIRESEEK ){
59311 if( pCur->eState==CURSOR_FAULT ){
59324 pCur->eState = CURSOR_INVALID;
59331 pCur->eState = CURSOR_INVALID;
59360 pCur->eState = CURSOR_VALID;
59365 pCur->eState = CURSOR_VALID;
59368 pCur->eState = CURSOR_INVALID;
59386 assert( pCur->eState==CURSOR_VALID );
59411 assert( pCur->eState==CURSOR_VALID );
59435 if( pCur->eState==CURSOR_INVALID ){
59458 if( CURSOR_VALID==pCur->eState && (pCur->curFlags & BTCF_AtLast)!=0 ){
59474 if( CURSOR_INVALID==pCur->eState ){
59478 assert( pCur->eState==CURSOR_VALID );
59537 if( pCur->eState==CURSOR_VALID && (pCur->curFlags & BTCF_ValidNKey)!=0
59567 assert( pCur->eState==CURSOR_INVALID || pCur->apPage[pCur->iPage]->nCell>0 );
59568 if( pCur->eState==CURSOR_INVALID ){
59749 return (CURSOR_VALID!=pCur->eState);
59779 assert( pCur->skipNext==0 || pCur->eState!=CURSOR_VALID );
59781 if( pCur->eState!=CURSOR_VALID ){
59787 if( CURSOR_INVALID==pCur->eState ){
59792 assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_SKIPNEXT );
59793 pCur->eState = CURSOR_VALID;
59822 pCur->eState = CURSOR_INVALID;
59845 assert( pCur->skipNext==0 || pCur->eState!=CURSOR_VALID );
59849 if( pCur->eState!=CURSOR_VALID ) return btreeNext(pCur, pRes);
59890 assert( pCur->skipNext==0 || pCur->eState!=CURSOR_VALID );
59893 if( pCur->eState!=CURSOR_VALID ){
59898 if( CURSOR_INVALID==pCur->eState ){
59903 assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_SKIPNEXT );
59904 pCur->eState = CURSOR_VALID;
59923 pCur->eState = CURSOR_INVALID;
59946 assert( pCur->skipNext==0 || pCur->eState!=CURSOR_VALID );
59950 if( pCur->eState!=CURSOR_VALID
62426 if( pCur->eState==CURSOR_FAULT ){
62480 assert( pCur->eState==CURSOR_VALID || (pCur->eState==CURSOR_INVALID && loc) );
62550 pCur->eState = CURSOR_INVALID;
62585 assert( pCur->eState==CURSOR_VALID );
62700 pCur->eState = CURSOR_SKIPNEXT;
62710 pCur->eState = CURSOR_REQUIRESEEK;
64048 assert( pCsr->eState!=CURSOR_REQUIRESEEK );
64049 if( pCsr->eState!=CURSOR_VALID ){
133254 int eState; /* Parser state when parsing URI */
133304 eState = 0;
133321 && (eState!=0 || c!='?')
133322 && (eState!=1 || (c!='=' && c!='&'))
133323 && (eState!=2 || c!='&')
133330 }else if( eState==1 && (c=='&' || c=='=') ){
133339 eState = 2;
133342 }else if( (eState==0 && c=='?') || (eState==2 && c=='&') ){
133344 eState = 1;
133348 if( eState==1 ) zFile[iOut++] = '\0';
142066 int eState = 0;
142085 switch( eState ){
142089 eState = 1;
142106 eState = 2;
142111 eState = 0;
142113 eState = 3;
142121 default: assert( eState==3 );
142125 eState = 2;
176426 int eState; /* See above */
176453 if( pCtx->eState==2 ){
176457 pCtx->eState = 1;
176460 pCtx->eState = 0;
176469 if( pCtx->eState ){
176477 pCtx->eState = 2;
176480 pCtx->eState = fts5IndexColsetTest(pCtx->pColset, iCol);
176481 if( pCtx->eState ){
176510 sCtx.eState = pColset ? fts5IndexColsetTest(pColset, 0) : 1;
176511 assert( sCtx.eState==0 || sCtx.eState==1 );
178275 int eState; /* 0==closed, 1==open, 2==synced */
178467 assert( p->ts.eState==0 );
178468 p->ts.eState = 1;
178473 assert( p->ts.eState==1 );
178474 p->ts.eState = 2;
178478 assert( p->ts.eState==2 );
178479 p->ts.eState = 0;
178483 assert( p->ts.eState==1 || p->ts.eState==2 || p->ts.eState==0 );
178484 p->ts.eState = 0;
178488 assert( p->ts.eState==1 );
178495 assert( p->ts.eState==1 );
178502 assert( p->ts.eState==1 );
179620 assert( pTab->ts.eState==1 );