Lines Matching refs:pCnt
70437 static int walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int *pCnt){ argument
70466 (*pCnt)++;
70467 if( *pCnt>5 ){
70469 int cnt = (*pCnt & ~WAL_RETRY_BLOCKED_MASK);
70474 if( *pCnt>=10 ) nDelay = (cnt-9)*(cnt-9)*39;
70489 if( *pCnt & WAL_RETRY_BLOCKED_MASK ) nDelay = 1;
70493 *pCnt &= ~WAL_RETRY_BLOCKED_MASK;
70504 *pCnt |= WAL_RETRY_BLOCKED_MASK;
70634 *pCnt |= WAL_RETRY_BLOCKED_MASK;
228756 sqlite3_stmt *pCnt = 0;
228757 p->rc = prepareAndCollectError(p->dbRbu, &pCnt, &p->zErrmsg,
228761 && sqlite3_step(pCnt)==SQLITE_ROW
228762 && 1==sqlite3_column_int(pCnt, 0)
228766 rc2 = sqlite3_finalize(pCnt);
262134 int *pCnt = (int*)pContext; local
262138 (*pCnt)++;
264648 sqlite3_stmt *pCnt = 0; local
264649 rc = sqlite3_prepare_v2(pConfig->db, zSql, -1, &pCnt, 0);
264651 if( SQLITE_ROW==sqlite3_step(pCnt) ){
264652 *pnRow = sqlite3_column_int64(pCnt, 0);
264654 rc = sqlite3_finalize(pCnt);