Home | History | Annotate | Download | only in orig

Lines Matching defs:Fts3Expr

116564 typedef struct Fts3Expr Fts3Expr;
116654 Fts3Expr *pExpr; /* Parsed MATCH query string */
116744 ** If Fts3Expr.eType is FTSQUERY_PHRASE and isLoaded is true, then aDoclist
116762 struct Fts3Expr {
116765 Fts3Expr *pParent; /* pParent->pLeft==this or pParent->pRight==this */
116766 Fts3Expr *pLeft; /* Left operand */
116767 Fts3Expr *pRight; /* Right operand */
116877 SQLITE_PRIVATE int sqlite3Fts3EvalPhraseStats(Fts3Cursor *, Fts3Expr *, u32 *);
116897 char **, int, int, int, const char *, int, Fts3Expr **
116899 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *);
116918 SQLITE_PRIVATE char *sqlite3Fts3EvalPhrasePoslist(Fts3Cursor *, Fts3Expr *, int iCol);
120243 Fts3Expr *pExpr, /* Allocate readers for this expression */
120651 ** expression. Also the Fts3Expr.bDeferred variable is set to true for any
120665 Fts3Expr *pExpr, /* Expression to initialize phrases in */
120703 Fts3Expr *pRoot; /* Root of NEAR/AND cluster */
120717 Fts3Expr *pRoot, /* Root of current AND/NEAR cluster */
120718 Fts3Expr *pExpr, /* Expression to consider */
120720 Fts3Expr ***ppOr, /* Write new OR root to *(*ppOr)++ */
120832 Fts3Expr *pRoot, /* Consider tokens with this root node */
120971 Fts3Expr **apOr;
120974 + sizeof(Fts3Expr *) * nOr * 2
120976 apOr = (Fts3Expr **)&aTC[nToken];
120983 Fts3Expr **ppOr = apOr;
121081 ** Fts3Expr
121082 ** Fts3Expr.iDocid (valid if bEof==0. The docid of the next row)
121088 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
121089 ** FTs3Expr.pPhrase->doclist.pList (pointer to position list)
121114 Fts3Expr *pExpr, /* Expr. to advance to next matching row */
121125 Fts3Expr *pLeft = pExpr->pLeft;
121126 Fts3Expr *pRight = pExpr->pRight;
121161 Fts3Expr *pLeft = pExpr->pLeft;
121162 Fts3Expr *pRight = pExpr->pRight;
121189 Fts3Expr *pLeft = pExpr->pLeft;
121190 Fts3Expr *pRight = pExpr->pRight;
121228 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
121237 static int fts3EvalNearTest(Fts3Expr *pExpr, int *pRc){
121265 Fts3Expr *p;
121321 Fts3Expr *pExpr, /* Expr to test. May or may not be root. */
121354 Fts3Expr *p;
121459 Fts3Expr *pExpr = pCsr->pExpr;
121490 Fts3Expr *pExpr,
121519 ** After allocating the Fts3Expr.aMI[] array for each phrase in the
121522 ** the values in Fts3Expr.aMI[] according to the position-list currently
121523 ** found in Fts3Expr.pPhrase->doclist.pList for each of the phrase
121526 static void fts3EvalUpdateCounts(Fts3Expr *pExpr){
121562 ** populates the Fts3Expr.aMI[] array for expression pExpr. If pExpr is part
121571 Fts3Expr *pExpr /* FTSQUERY_PHRASE expression */
121578 Fts3Expr *pRoot; /* Root of NEAR expression */
121579 Fts3Expr *p; /* Iterator used for several purposes */
121596 Fts3Expr *pE = (p->eType==FTSQUERY_PHRASE?p:p->pRight);
121683 Fts3Expr *pExpr, /* Phrase expression */
121731 Fts3Expr *pExpr, /* Phrase to return doclist for */
122447 ** and other information (column names etc.) in pParse. Create an Fts3Expr
122452 ** Fts3Expr structure (if any) by passing it to sqlite3_free().
122461 Fts3Expr **ppExpr, /* OUT: expression */
122468 Fts3Expr *pRet = 0;
122479 nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase) + nToken;
122480 pRet = (Fts3Expr *)fts3MallocZero(nByte);
122540 ** input buffer and create an Fts3Expr structure of type FTSQUERY_PHRASE
122544 ** allocated Fts3Expr structure. Otherwise, either SQLITE_NOMEM (out of memory
122551 Fts3Expr **ppExpr /* OUT: expression */
122556 Fts3Expr *p = 0;
122561 const int nSpace = sizeof(Fts3Expr) + sizeof(Fts3Phrase);
122564 /* The final Fts3Expr data structure, including the Fts3Phrase,
122573 ** Buffer p: Points to the Fts3Expr structure, followed by the Fts3Phrase
122580 ** appends buffer zTemp to buffer p, and fills in the Fts3Expr and Fts3Phrase
122662 static int fts3ExprParse(ParseContext *, const char *, int, Fts3Expr **, int *);
122665 ** The output variable *ppExpr is populated with an allocated Fts3Expr
122675 Fts3Expr **ppExpr, /* OUT: expression */
122693 Fts3Expr *pRet = 0;
122743 pRet = (Fts3Expr *)fts3MallocZero(sizeof(Fts3Expr));
122826 ** The argument is an Fts3Expr structure for a binary operator (any type
122844 static int opPrecedence(Fts3Expr *p){
122866 Fts3Expr **ppHead, /* Pointer to the root node of a tree */
122867 Fts3Expr *pPrev, /* Node most recently inserted into the tree */
122868 Fts3Expr *pNew /* New binary node to insert into expression tree */
122870 Fts3Expr *pSplit = pPrev;
122899 Fts3Expr **ppExpr, /* OUT: Parsed query structure */
122902 Fts3Expr *pRet = 0;
122903 Fts3Expr *pPrev = 0;
122904 Fts3Expr *pNotBranch = 0; /* Only used in legacy parse mode */
122911 Fts3Expr *p = 0;
122921 Fts3Expr *pNot = fts3MallocZero(sizeof(Fts3Expr));
122951 Fts3Expr *pAnd;
122953 pAnd = fts3MallocZero(sizeof(Fts3Expr));
123013 Fts3Expr *pIter = pNotBranch;
123037 ** query expression and create a tree of Fts3Expr structures representing the
123066 Fts3Expr **ppExpr /* OUT: Parsed query structure */
123101 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *p){
123159 static char *exprToString(Fts3Expr *pExpr, char *zBuf){
123226 Fts3Expr *pExpr;
128649 ** Fts3Expr.aDoclist[]/nDoclist.
128749 Fts3Expr *pExpr, /* Expression to iterate phrases of */
128751 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
128781 Fts3Expr *pExpr, /* Expression to iterate phrases of */
128782 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
128791 ** for each phrase into Fts3Expr.aDoclist[]/nDoclist. See also
128794 static int fts3ExprLoadDoclistsCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
128831 static int fts3ExprPhraseCountCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
128837 static int fts3ExprPhraseCount(Fts3Expr *pExpr){
128969 static int fts3SnippetFindPositions(Fts3Expr *pExpr, int iPhrase, void *ctx){
129363 Fts3Expr *pExpr, /* Phrase expression node */
129379 Fts3Expr *pExpr, /* Phrase expression node */
129478 Fts3Expr *pExpr; /* Pointer to phrase expression */
129491 Fts3Expr *pExpr, /* Phrase expression node */
129688 Fts3Expr *pExpr;
129905 static int fts3ExprTermOffsetInit(Fts3Expr *pExpr, int iPhrase, void *ctx){