Home | History | Annotate | Download | only in dist

Lines Matching defs:Fts3Expr

116600 typedef struct Fts3Expr Fts3Expr;
116690 Fts3Expr *pExpr; /* Parsed MATCH query string */
116780 ** If Fts3Expr.eType is FTSQUERY_PHRASE and isLoaded is true, then aDoclist
116798 struct Fts3Expr {
116801 Fts3Expr *pParent; /* pParent->pLeft==this or pParent->pRight==this */
116802 Fts3Expr *pLeft; /* Left operand */
116803 Fts3Expr *pRight; /* Right operand */
116913 SQLITE_PRIVATE int sqlite3Fts3EvalPhraseStats(Fts3Cursor *, Fts3Expr *, u32 *);
116933 char **, int, int, int, const char *, int, Fts3Expr **
116935 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *);
116954 SQLITE_PRIVATE char *sqlite3Fts3EvalPhrasePoslist(Fts3Cursor *, Fts3Expr *, int iCol);
120289 Fts3Expr *pExpr, /* Allocate readers for this expression */
120697 ** expression. Also the Fts3Expr.bDeferred variable is set to true for any
120711 Fts3Expr *pExpr, /* Expression to initialize phrases in */
120749 Fts3Expr *pRoot; /* Root of NEAR/AND cluster */
120763 Fts3Expr *pRoot, /* Root of current AND/NEAR cluster */
120764 Fts3Expr *pExpr, /* Expression to consider */
120766 Fts3Expr ***ppOr, /* Write new OR root to *(*ppOr)++ */
120878 Fts3Expr *pRoot, /* Consider tokens with this root node */
121017 Fts3Expr **apOr;
121020 + sizeof(Fts3Expr *) * nOr * 2
121022 apOr = (Fts3Expr **)&aTC[nToken];
121029 Fts3Expr **ppOr = apOr;
121127 ** Fts3Expr.bEof (non-zero if EOF - there is no next row)
121128 ** Fts3Expr.iDocid (valid if bEof==0. The docid of the next row)
121134 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
121135 ** FTs3Expr.pPhrase->doclist.pList (pointer to position list)
121160 Fts3Expr *pExpr, /* Expr. to advance to next matching row */
121171 Fts3Expr *pLeft = pExpr->pLeft;
121172 Fts3Expr *pRight = pExpr->pRight;
121207 Fts3Expr *pLeft = pExpr->pLeft;
121208 Fts3Expr *pRight = pExpr->pRight;
121235 Fts3Expr *pLeft = pExpr->pLeft;
121236 Fts3Expr *pRight = pExpr->pRight;
121274 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
121283 static int fts3EvalNearTest(Fts3Expr *pExpr, int *pRc){
121311 Fts3Expr *p;
121367 Fts3Expr *pExpr, /* Expr to test. May or may not be root. */
121400 Fts3Expr *p;
121505 Fts3Expr *pExpr = pCsr->pExpr;
121536 Fts3Expr *pExpr,
121565 ** After allocating the Fts3Expr.aMI[] array for each phrase in the
121568 ** the values in Fts3Expr.aMI[] according to the position-list currently
121569 ** found in Fts3Expr.pPhrase->doclist.pList for each of the phrase
121572 static void fts3EvalUpdateCounts(Fts3Expr *pExpr){
121608 ** populates the Fts3Expr.aMI[] array for expression pExpr. If pExpr is part
121617 Fts3Expr *pExpr /* FTSQUERY_PHRASE expression */
121624 Fts3Expr *pRoot; /* Root of NEAR expression */
121625 Fts3Expr *p; /* Iterator used for several purposes */
121642 Fts3Expr *pE = (p->eType==FTSQUERY_PHRASE?p:p->pRight);
121729 Fts3Expr *pExpr, /* Phrase expression */
121777 Fts3Expr *pExpr, /* Phrase to return doclist for */
122493 ** and other information (column names etc.) in pParse. Create an Fts3Expr
122498 ** Fts3Expr structure (if any) by passing it to sqlite3_free().
122507 Fts3Expr **ppExpr, /* OUT: expression */
122514 Fts3Expr *pRet = 0;
122525 nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase) + nToken;
122526 pRet = (Fts3Expr *)fts3MallocZero(nByte);
122586 ** input buffer and create an Fts3Expr structure of type FTSQUERY_PHRASE
122590 ** allocated Fts3Expr structure. Otherwise, either SQLITE_NOMEM (out of memory
122597 Fts3Expr **ppExpr /* OUT: expression */
122602 Fts3Expr *p = 0;
122607 const int nSpace = sizeof(Fts3Expr) + sizeof(Fts3Phrase);
122610 /* The final Fts3Expr data structure, including the Fts3Phrase,
122619 ** Buffer p: Points to the Fts3Expr structure, followed by the Fts3Phrase
122626 ** appends buffer zTemp to buffer p, and fills in the Fts3Expr and Fts3Phrase
122708 static int fts3ExprParse(ParseContext *, const char *, int, Fts3Expr **, int *);
122711 ** The output variable *ppExpr is populated with an allocated Fts3Expr
122721 Fts3Expr **ppExpr, /* OUT: expression */
122739 Fts3Expr *pRet = 0;
122789 pRet = (Fts3Expr *)fts3MallocZero(sizeof(Fts3Expr));
122872 ** The argument is an Fts3Expr structure for a binary operator (any type
122890 static int opPrecedence(Fts3Expr *p){
122912 Fts3Expr **ppHead, /* Pointer to the root node of a tree */
122913 Fts3Expr *pPrev, /* Node most recently inserted into the tree */
122914 Fts3Expr *pNew /* New binary node to insert into expression tree */
122916 Fts3Expr *pSplit = pPrev;
122945 Fts3Expr **ppExpr, /* OUT: Parsed query structure */
122948 Fts3Expr *pRet = 0;
122949 Fts3Expr *pPrev = 0;
122950 Fts3Expr *pNotBranch = 0; /* Only used in legacy parse mode */
122957 Fts3Expr *p = 0;
122967 Fts3Expr *pNot = fts3MallocZero(sizeof(Fts3Expr));
122997 Fts3Expr *pAnd;
122999 pAnd = fts3MallocZero(sizeof(Fts3Expr));
123059 Fts3Expr *pIter = pNotBranch;
123083 ** query expression and create a tree of Fts3Expr structures representing the
123112 Fts3Expr **ppExpr /* OUT: Parsed query structure */
123147 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *p){
123205 static char *exprToString(Fts3Expr *pExpr, char *zBuf){
123272 Fts3Expr *pExpr;
128695 ** Fts3Expr.aDoclist[]/nDoclist.
128795 Fts3Expr *pExpr, /* Expression to iterate phrases of */
128797 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
128827 Fts3Expr *pExpr, /* Expression to iterate phrases of */
128828 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
128837 ** for each phrase into Fts3Expr.aDoclist[]/nDoclist. See also
128840 static int fts3ExprLoadDoclistsCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
128877 static int fts3ExprPhraseCountCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
128883 static int fts3ExprPhraseCount(Fts3Expr *pExpr){
129015 static int fts3SnippetFindPositions(Fts3Expr *pExpr, int iPhrase, void *ctx){
129409 Fts3Expr *pExpr, /* Phrase expression node */
129425 Fts3Expr *pExpr, /* Phrase expression node */
129524 Fts3Expr *pExpr; /* Pointer to phrase expression */
129537 Fts3Expr *pExpr, /* Phrase expression node */
129734 Fts3Expr *pExpr;
129951 static int fts3ExprTermOffsetInit(Fts3Expr *pExpr, int iPhrase, void *ctx){