• Home
  • Raw
  • Download

Lines Matching refs:pCursor

13520   BtCursor *pCursor                    /* Space to write cursor structure */
18741 BtCursor *pCursor; /* CURTYPE_BTREE or _PSEUDO. Btree cursor */ member
59829 BtCursor *pCursor; /* A list of all open cursors */
60676 for(p=pBtree->pBt->pCursor; p; p=p->pNext){
60930 for(p=pBt->pCursor; p; p=p->pNext){
60959 for(p=pBtree->pBt->pCursor; p; p=p->pNext){
61159 for(p=pBt->pCursor; p; p=p->pNext){
62834 pBt->pCursor = 0;
63057 pCur = pBt->pCursor;
63084 assert( !pBt->pCursor );
63217 assert( !pBt->pCursor );
63589 for(pCur=pBt->pCursor; pCur; pCur=pCur->pNext){
64464 for(p=pBtree->pBt->pCursor; p; p=p->pNext){
64717 for(pX=pBt->pCursor; pX; pX=pX->pNext){
64723 pCur->pNext = pBt->pCursor;
64724 pBt->pCursor = pCur;
64779 assert( pBt->pCursor!=0 );
64780 if( pBt->pCursor==pCur ){
64781 pBt->pCursor = pCur->pNext;
64783 BtCursor *pPrev = pBt->pCursor;
75061 assert( pCx->uc.pCursor!=0 );
75062 sqlite3BtreeCloseCursor(pCx->uc.pCursor);
76068 rc = sqlite3BtreeMovetoUnpacked(p->uc.pCursor, 0, p->movetoTarget, 0, &res);
76089 assert( p->uc.pCursor!=0 );
76090 assert( sqlite3BtreeCursorHasMoved(p->uc.pCursor) );
76091 rc = sqlite3BtreeCursorRestore(p->uc.pCursor, &isDifferentRow);
76103 if( sqlite3BtreeCursorHasMoved(p->uc.pCursor) ){
76134 if( sqlite3BtreeCursorHasMoved(p->uc.pCursor) ){
77484 pCur = pC->uc.pCursor;
79503 nRec = sqlite3BtreePayloadSize(p->pCsr->uc.pCursor);
79506 rc = sqlite3BtreePayload(p->pCsr->uc.pCursor, 0, nRec, aRec);
80137 pCx->uc.pCursor = (BtCursor*)
80139 sqlite3BtreeCursorZero(pCx->uc.pCursor);
82372 sqlite3VdbeMemSetInt64(pOut, sqlite3BtreeOffset(pC->uc.pCursor));
82455 pCrsr = pC->uc.pCursor;
82524 rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, 0, aOffset[0], &sMem);
82647 rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, aOffset[p2], len, pDest);
82889 pCrsr = p->apCsr[pOp->p1]->uc.pCursor;
83480 rc = sqlite3BtreeCursor(pX, p2, wrFlag, pKeyInfo, pCur->uc.pCursor);
83495 sqlite3BtreeCursorHintFlags(pCur->uc.pCursor,
83523 pCx->pKeyInfo, pCx->uc.pCursor);
83595 pKeyInfo, pCx->uc.pCursor);
83600 0, pCx->uc.pCursor);
83682 pCx->uc.pCursor = sqlite3BtreeFakeValidCursor();
83826 assert( pC->uc.pCursor!=0 );
83836 assert( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ)==0
83881 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
83891 if( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ) ){
83925 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, &r, 0, 0, &res);
83942 rc = sqlite3BtreeNext(pC->uc.pCursor, 0);
83958 rc = sqlite3BtreePrevious(pC->uc.pCursor, 0);
83971 res = sqlite3BtreeEof(pC->uc.pCursor);
84070 assert( pC->uc.pCursor!=0 );
84107 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, pIdxKey, 0, 0, &res);
84197 pCrsr = pC->uc.pCursor;
84269 assert( pC->uc.pCursor!=0 );
84297 rc = sqlite3BtreeLast(pC->uc.pCursor, &res);
84304 assert( sqlite3BtreeCursorIsValid(pC->uc.pCursor) );
84305 v = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84355 }while( ((rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)v,
84432 assert( pC->uc.pCursor!=0 );
84484 rc = sqlite3BtreeInsert(pC->uc.pCursor, &x,
84548 assert( pC->uc.pCursor!=0 );
84556 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84572 pC->movetoTarget = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84614 rc = sqlite3BtreeDelete(pC->uc.pCursor, pOp->p5);
84744 assert( pC->uc.pCursor!=0 );
84745 pCrsr = pC->uc.pCursor;
84813 assert( pC->uc.pCursor!=0 );
84820 v = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84841 assert( pC->uc.pCursor!=0 );
84842 sqlite3BtreeClearCursor(pC->uc.pCursor);
84879 pCrsr = pC->uc.pCursor;
84918 pCrsr = pC->uc.pCursor;
84991 pCrsr = pC->uc.pCursor;
85108 rc = pOp->p4.xAdvance(pC->uc.pCursor, pOp->p3);
85184 rc = sqlite3BtreeInsert(pC->uc.pCursor, &x,
85214 pCrsr = pC->uc.pCursor;
85271 assert( pC->uc.pCursor!=0 );
85287 rc = sqlite3VdbeIdxRowid(db, pC->uc.pCursor, &rowid);
85296 assert( pTabCur->uc.pCursor!=0 );
85372 assert( pC->uc.pCursor!=0);
85522 rc = sqlite3BtreeClearTableOfCursor(pC->uc.pCursor);
87183 sqlite3BtreeCursorHint(pC->uc.pCursor, BTREE_HINT_RANGE,
87398 p->pCsr = pC->uc.pCursor;
148350 int (*xClose)(sqlite3_tokenizer_cursor *pCursor);
148377 sqlite3_tokenizer_cursor *pCursor, /* Tokenizer cursor */
150541 static int fts3CloseMethod(sqlite3_vtab_cursor *pCursor){
150542 Fts3Cursor *pCsr = (Fts3Cursor *)pCursor;
151949 static int fts3NextMethod(sqlite3_vtab_cursor *pCursor){
151951 Fts3Cursor *pCsr = (Fts3Cursor *)pCursor;
151961 rc = fts3EvalNext((Fts3Cursor *)pCursor);
152011 sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */
152020 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
152021 Fts3Cursor *pCsr = (Fts3Cursor *)pCursor;
152116 return fts3NextMethod(pCursor);
152123 static int fts3EofMethod(sqlite3_vtab_cursor *pCursor){
152124 Fts3Cursor *pCsr = (Fts3Cursor*)pCursor;
152138 static int fts3RowidMethod(sqlite3_vtab_cursor *pCursor, sqlite_int64 *pRowid){
152139 Fts3Cursor *pCsr = (Fts3Cursor *) pCursor;
152156 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
152161 Fts3Cursor *pCsr = (Fts3Cursor *) pCursor;
152162 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
152480 Fts3Cursor *pCursor; /* Cursor handle passed through apVal[0] */
152485 if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return;
152486 p = (Fts3Table *)pCursor->base.pVtab;
155023 static int fts3auxCloseMethod(sqlite3_vtab_cursor *pCursor){
155024 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
155025 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor;
155055 static int fts3auxNextMethod(sqlite3_vtab_cursor *pCursor){
155056 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor;
155057 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
155150 sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */
155156 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor;
155157 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
155237 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
155244 static int fts3auxEofMethod(sqlite3_vtab_cursor *pCursor){
155245 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor;
155253 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
155257 Fts3auxCursor *p = (Fts3auxCursor *)pCursor;
155294 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
155297 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor;
155527 sqlite3_tokenizer_cursor *pCursor;
155538 rc = sqlite3Fts3OpenTokenizer(pTokenizer, pParse->iLangid, z, i, &pCursor);
155544 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition);
155584 pModule->xClose(pCursor);
155625 sqlite3_tokenizer_cursor *pCursor = 0;
155652 pTokenizer, pParse->iLangid, zInput, nInput, &pCursor);
155658 rc = pModule->xNext(pCursor, &zByte, &nByte, &iBegin, &iEnd, &iPos);
155682 pModule->xClose(pCursor);
155683 pCursor = 0;
155717 if( pCursor ){
155718 pModule->xClose(pCursor);
157161 static int porterClose(sqlite3_tokenizer_cursor *pCursor){
157162 porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor;
157634 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by porterOpen */
157641 porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor;
158369 static int simpleClose(sqlite3_tokenizer_cursor *pCursor){
158370 simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor;
158381 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */
158388 simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor;
158389 simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer;
158759 static int fts3tokCloseMethod(sqlite3_vtab_cursor *pCursor){
158760 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
158770 static int fts3tokNextMethod(sqlite3_vtab_cursor *pCursor){
158771 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
158772 Fts3tokTable *pTab = (Fts3tokTable *)(pCursor->pVtab);
158793 sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */
158800 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
158801 Fts3tokTable *pTab = (Fts3tokTable *)(pCursor->pVtab);
158823 return fts3tokNextMethod(pCursor);
158829 static int fts3tokEofMethod(sqlite3_vtab_cursor *pCursor){
158830 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
158838 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
158842 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
158870 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
158873 Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor;
159721 int (*xNext)(sqlite3_tokenizer_cursor *pCursor,
164700 Fts3Cursor *pCursor; /* FTS3 Cursor */
165470 Fts3Table *pTab = (Fts3Table *)p->pCursor->base.pVtab;
165507 if( pExpr->bEof==0 && pExpr->iDocid==p->pCursor->iPrevId ){
165551 p->pCursor, pExpr, &p->aMatchinfo[3*iPhrase*p->nCol]
165572 rc = sqlite3Fts3EvalPhrasePoslist(p->pCursor, pExpr, i, &pCsr);
165936 sInfo.pCursor = pCsr;
166620 static int unicodeClose(sqlite3_tokenizer_cursor *pCursor){
166621 unicode_cursor *pCsr = (unicode_cursor *) pCursor;
172049 static int icuClose(sqlite3_tokenizer_cursor *pCursor){
172050 IcuCursor *pCsr = (IcuCursor *)pCursor;
172061 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */
172068 IcuCursor *pCsr = (IcuCursor *)pCursor;
177963 static int statClose(sqlite3_vtab_cursor *pCursor){
177964 StatCursor *pCsr = (StatCursor *)pCursor;
178114 static int statNext(sqlite3_vtab_cursor *pCursor){
178118 StatCursor *pCsr = (StatCursor *)pCursor;
178119 StatTable *pTab = (StatTable *)pCursor->pVtab;
178185 if( pCsr->iPage==0 ) return statNext(pCursor);
178247 static int statEof(sqlite3_vtab_cursor *pCursor){
178248 StatCursor *pCsr = (StatCursor *)pCursor;
178253 sqlite3_vtab_cursor *pCursor,
178257 StatCursor *pCsr = (StatCursor *)pCursor;
178258 StatTable *pTab = (StatTable*)(pCursor->pVtab);
178267 sqlite3_free(pCursor->pVtab->zErrMsg);
178268 pCursor->pVtab->zErrMsg = sqlite3_mprintf("no such schema: %s", zDbase);
178269 return pCursor->pVtab->zErrMsg ? SQLITE_ERROR : SQLITE_NOMEM_BKPT;
178292 rc = statNext(pCursor);
178298 sqlite3_vtab_cursor *pCursor,
178302 StatCursor *pCsr = (StatCursor *)pCursor;
178344 static int statRowid(sqlite3_vtab_cursor *pCursor, sqlite_int64 *pRowid){
178345 StatCursor *pCsr = (StatCursor *)pCursor;
178570 static int dbpageClose(sqlite3_vtab_cursor *pCursor){
178571 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
178580 static int dbpageNext(sqlite3_vtab_cursor *pCursor){
178582 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
178587 static int dbpageEof(sqlite3_vtab_cursor *pCursor){
178588 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
178603 sqlite3_vtab_cursor *pCursor,
178607 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
178608 DbpageTable *pTab = (DbpageTable *)pCursor->pVtab;
178649 sqlite3_vtab_cursor *pCursor,
178653 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
178679 static int dbpageRowid(sqlite3_vtab_cursor *pCursor, sqlite_int64 *pRowid){
178680 DbpageCursor *pCsr = (DbpageCursor *)pCursor;
201508 static int fts5CloseMethod(sqlite3_vtab_cursor *pCursor){
201509 if( pCursor ){
201510 Fts5Table *pTab = (Fts5Table*)(pCursor->pVtab);
201511 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
201622 static int fts5NextMethod(sqlite3_vtab_cursor *pCursor){
201623 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
201917 sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */
201923 Fts5Table *pTab = (Fts5Table*)(pCursor->pVtab);
201925 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
202045 rc = fts5NextMethod(pCursor);
202057 static int fts5EofMethod(sqlite3_vtab_cursor *pCursor){
202058 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
202083 static int fts5RowidMethod(sqlite3_vtab_cursor *pCursor, sqlite_int64 *pRowid){
202084 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
203112 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
203116 Fts5Table *pTab = (Fts5Table*)(pCursor->pVtab);
203118 Fts5Cursor *pCsr = (Fts5Cursor*)pCursor;
207020 static int fts5VocabCloseMethod(sqlite3_vtab_cursor *pCursor){
207021 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;
207081 static int fts5VocabNextMethod(sqlite3_vtab_cursor *pCursor){
207082 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;
207083 Fts5VocabTable *pTab = (Fts5VocabTable*)pCursor->pVtab;
207203 sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */
207209 Fts5VocabTable *pTab = (Fts5VocabTable*)pCursor->pVtab;
207210 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;
207261 rc = fts5VocabNextMethod(pCursor);
207271 static int fts5VocabEofMethod(sqlite3_vtab_cursor *pCursor){
207272 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;
207277 sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */
207281 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;
207283 int eType = ((Fts5VocabTable*)(pCursor->pVtab))->eType;
207349 sqlite3_vtab_cursor *pCursor,
207352 Fts5VocabCursor *pCsr = (Fts5VocabCursor*)pCursor;